@evercam/api 1.0.0-e1ad6ae1b → 1.0.0-e424632fd

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 (120) hide show
  1. package/README.md +2 -0
  2. package/dist/api/{3dFirebaseApi.d.ts → api/3dFirebaseApi.d.ts} +8 -1
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +87 -83
  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/{client → api/client}/swr/Swr.d.ts +1 -1
  8. package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +118 -94
  9. package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +6 -4
  10. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
  11. package/dist/api/api/index.d.ts +13 -0
  12. package/dist/api/api/ingestApi.d.ts +148 -0
  13. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  14. package/dist/api/api/videoWallApi.d.ts +9 -0
  15. package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
  16. package/dist/api/index.d.ts +3 -13
  17. package/dist/api/types/360.d.ts +276 -0
  18. package/dist/api/types/aconex.d.ts +143 -0
  19. package/dist/api/types/admin.d.ts +51 -0
  20. package/dist/{types → api/types}/analytics.d.ts +141 -41
  21. package/dist/{types → api/types}/anpr.d.ts +19 -2
  22. package/dist/{types → api/types}/auditLogs.d.ts +1 -1
  23. package/dist/api/types/authz.d.ts +61 -0
  24. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  25. package/dist/api/types/automation.d.ts +95 -0
  26. package/dist/{types → api/types}/axios.d.ts +10 -5
  27. package/dist/{types → api/types}/bim.d.ts +11 -5
  28. package/dist/{types → api/types}/camera.d.ts +97 -78
  29. package/dist/{types → api/types}/comments.d.ts +4 -8
  30. package/dist/{types → api/types}/company.d.ts +42 -1
  31. package/dist/{types → api/types}/compare.d.ts +20 -5
  32. package/dist/{types → api/types}/connector.d.ts +3 -5
  33. package/dist/{types → api/types}/coolify.d.ts +18 -2
  34. package/dist/{types → api/types}/copilot.d.ts +11 -6
  35. package/dist/{types → api/types}/credentials.d.ts +1 -0
  36. package/dist/{types → api/types}/detections.d.ts +20 -22
  37. package/dist/{types → api/types}/drone.d.ts +1 -0
  38. package/dist/{types → api/types}/gateReport.d.ts +48 -157
  39. package/dist/{types → api/types}/hdd.d.ts +26 -1
  40. package/dist/{types → api/types}/index.d.ts +7 -1
  41. package/dist/api/types/ingest.d.ts +147 -0
  42. package/dist/{types → api/types}/kit.d.ts +33 -5
  43. package/dist/{types → api/types}/media.d.ts +2 -1
  44. package/dist/api/types/notification.d.ts +57 -0
  45. package/dist/api/types/oauth.d.ts +62 -0
  46. package/dist/api/types/planner.d.ts +79 -0
  47. package/dist/api/types/posthog.d.ts +33 -0
  48. package/dist/{types → api/types}/procore.d.ts +13 -6
  49. package/dist/{types → api/types}/progressPhoto.d.ts +6 -32
  50. package/dist/api/types/project.d.ts +246 -0
  51. package/dist/{types → api/types}/recording.d.ts +4 -3
  52. package/dist/{types → api/types}/recycleBin.d.ts +1 -1
  53. package/dist/api/types/ring.d.ts +53 -0
  54. package/dist/{types → api/types}/router.d.ts +20 -1
  55. package/dist/{types → api/types}/shared.d.ts +16 -4
  56. package/dist/api/types/shares.d.ts +58 -0
  57. package/dist/{types → api/types}/sim.d.ts +6 -6
  58. package/dist/api/types/siteAnalytics.d.ts +287 -0
  59. package/dist/api/types/smartSeach.d.ts +5 -0
  60. package/dist/{types → api/types}/snapshots.d.ts +36 -4
  61. package/dist/api/types/storageProvider.d.ts +19 -0
  62. package/dist/api/types/storyblok.d.ts +40 -0
  63. package/dist/{types → api/types}/streaming.d.ts +3 -3
  64. package/dist/{types → api/types}/tag.d.ts +1 -1
  65. package/dist/api/types/time.d.ts +7 -0
  66. package/dist/{types → api/types}/timelapse.d.ts +12 -5
  67. package/dist/{types → api/types}/user.d.ts +105 -31
  68. package/dist/api/types/videoWall.d.ts +66 -0
  69. package/dist/{types → api/types}/weather.d.ts +75 -11
  70. package/dist/{types → api/types}/widget.d.ts +72 -11
  71. package/dist/{types → api/types}/xweather.d.ts +4 -4
  72. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  73. package/dist/index.d.ts +2 -3
  74. package/dist/index.js +1104 -917
  75. package/dist/index.js.map +1 -1
  76. package/dist/index.umd.cjs +1 -1
  77. package/dist/index.umd.cjs.map +1 -1
  78. package/dist/shared/api/index.d.ts +3 -0
  79. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  80. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  81. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  82. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  83. package/dist/shared/types/components.d.ts +301 -0
  84. package/dist/shared/types/imagePlayer.d.ts +34 -0
  85. package/dist/shared/types/index.d.ts +5 -0
  86. package/dist/shared/types/rbac.d.ts +67 -0
  87. package/dist/shared/types/timeline.d.ts +10 -0
  88. package/package.json +4 -4
  89. package/dist/api/aiApi.d.ts +0 -146
  90. package/dist/api/authzApi.d.ts +0 -21
  91. package/dist/api/ingestApi.d.ts +0 -88
  92. package/dist/api/videoWallApi.d.ts +0 -9
  93. package/dist/types/360.d.ts +0 -139
  94. package/dist/types/aconex.d.ts +0 -45
  95. package/dist/types/automation.d.ts +0 -10
  96. package/dist/types/ingest.d.ts +0 -47
  97. package/dist/types/notification.d.ts +0 -27
  98. package/dist/types/planner.d.ts +0 -32
  99. package/dist/types/posthog.d.ts +0 -18
  100. package/dist/types/project.d.ts +0 -129
  101. package/dist/types/shares.d.ts +0 -196
  102. package/dist/types/siteAnalytics.d.ts +0 -142
  103. package/dist/types/storageServers.d.ts +0 -4
  104. package/dist/types/time.d.ts +0 -21
  105. package/dist/types/videoWall.d.ts +0 -33
  106. /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
  107. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  108. /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
  109. /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
  110. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  111. /package/dist/{types → api/types}/countries.d.ts +0 -0
  112. /package/dist/{types → api/types}/errors.d.ts +0 -0
  113. /package/dist/{types → api/types}/map.d.ts +0 -0
  114. /package/dist/{types → api/types}/nvr.d.ts +0 -0
  115. /package/dist/{types → api/types}/roi.d.ts +0 -0
  116. /package/dist/{types → api/types}/routeParams.d.ts +0 -0
  117. /package/dist/{types → api/types}/sso.d.ts +0 -0
  118. /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
  119. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  120. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -1,28 +1,25 @@
1
1
  import type { AxiosRequestConfig } from "axios";
2
- import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProjectsResponsePayload, 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, 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";
2
+ import { Automation, GeoJSONPolygon, ProgressPhotoItemResponsePayload, Project, SwrRequestConfig, UserFeatureFlag } from "@evercam/api/types";
3
+ import type { AconexAuthCallbackParams, AconexEditedImageUploadRequestPayload, AconexUserProject, AconexDocumentSchema, AconexDocumentTypeSchema, ApiCredentials, AutodeskFolder, AutodeskProject, AutodeskTokenResponsePayload, AutodeskSnapshot, AutodeskUserHub, AvailableDaysRequestPayload, AvailableDaysResponsePayload, AvailableHoursRequestPayload, AvailableHoursResponsePayload, BatteryReading, BatteryVoltage, BimCompareExportRequestPayload, BimCreationPayload, BIMLayer, BIMLayerPostPayload, BimLayersQueryParams, BimModelRequestPayload, BimModelResponsePayload, BimPendingImage, BimSnapshotRequestPayload, BimSnapshotResponsePayload, BimUploadCameraParameters, CameraLogsResponsePayload, CamerasResponsePayload, CameraStatusLog, CameraUpdateRequestPayload, Comment, CommentCreationRequestPayload, CommentsRequestPayload, CompanyCameraSummary, CompanyProject, CompanyKit, CompanySummary, CompanyUser, Compare, CompareRequestPayload, ConnectorResponsePayload, Credentials, FetchCameraQueryParams, GoogleAuthRequestPayload, LoginRequestPayload, User, 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, ProcoreObservationDefaultList, ProcoreObservationListItem, ProcoreCustomFieldOptionsRequestPayload, ProgressPhotosCreateUpdateRequestPayload, ProgressPhotosResponsePayload, ProgressPhotosUnSubscribeParams, ProjectBatteryReading, ProjectCreateResponse, ProjectExid, ProjectLogoResponsePayload, ProjectMembersResponsePayload, ProjectMembersRequestPayload, ProjectInviteMembersResponsePayload, RemotePasswordUpdateRequestPayload, SessionsListRequestPayload, ShareCreateResponsePayload, ShareDeletionRequestPayload, SharedUsersResponsePayload, UpdateCameraRestrictionPayload, SignupUserRequestPayload, Snapshot, SnapshotRangeRequestPayload, SnapshotRangeResponsePayload, ThumbnailData, TimelapseCreationRequestPayload, TimelapseCreationResponsePayload, TimelapseSnapshotRequestPayload, TimelapseSnapshotResponsePayload, UpdatePasswordRequestPayload, UserDeleteRequestPayload, UserSession, UserUpdateRequestPayload, VoyageControlConnectorPayload, RingDevicesResponsePayload, RingImportDevicesPayload, RingImportResponsePayload, RingMoveDevicePayload, RingMoveDeviceResponsePayload, RingLiveViewPayload, RingLiveViewResponse, RingStopLiveViewResponse, AuthOptionsResponsePayload, AuthProviderConfigPayload, ConfirmUserRequestPayload, DeleteActiveSessionRequestPayload, ProjectContactsResponsePayload, XWeatherCreatePayload, XWeatherResponse, Widget, WidgetFull, WidgetPayload, WidgetSessionSettingsPayload, WidgetsListRequestPayload, Camera, ProcoreNextObservationAvailableNumber, OAuthClient, OAuthClientWithSecret, OAuthConsentInfo, OAuthConsentPayload, OAuthConsentResponse, CreateOAuthClientPayload, UpdateOAuthClientPayload, PaginationParams, StoryblokResponse, Notification, PlaceholderThumbnailData, ProjectUsersResponsePayload, ProjectMember } from "@evercam/api/types";
3
4
  export declare const EvercamApi: {
4
5
  apiStatus: {
5
- getApiStatus(): Promise<import("axios").AxiosResponse<any, any>>;
6
+ getApiStatus(): Promise<void>;
6
7
  };
7
8
  users: {
8
- signup(payload: SignupUserRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
9
+ signup(payload: SignupUserRequestPayload): Promise<User>;
9
10
  fetchAccessFeatures(email: string): Promise<{
10
- features: string[];
11
+ features: UserFeatureFlag[];
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>;
20
- login(params: LoginRequestPayload): Promise<LoginResponsePayload>;
21
- loginWithApiCredentials(apiId: String, apiKey: String): Promise<LoginResponsePayload>;
22
- loginWithWidgetCredentials(widgetId: String, widgetKey: String): Promise<LoginResponsePayload>;
23
- loginWithProvider(provider: string, payload: GoogleAuthRequestPayload): Promise<LoginResponsePayload>;
13
+ impersonationLogin(token: string): Promise<User>;
14
+ fetchLoginOptions(email: string): Promise<AuthOptionsResponsePayload>;
15
+ fetchSignupOptions(email: string): Promise<AuthOptionsResponsePayload>;
16
+ fetchProviderConfig(provider: string): Promise<AuthProviderConfigPayload>;
17
+ login(params: LoginRequestPayload): Promise<User>;
18
+ loginWithApiCredentials(apiId: string, apiKey: string): Promise<User>;
19
+ loginWithWidgetCredentials(widgetId: string, widgetKey: string): Promise<User>;
20
+ loginWithProvider(provider: string, payload: GoogleAuthRequestPayload): Promise<User>;
24
21
  show(email: string): Promise<{
25
- users: LoginResponsePayload[];
22
+ users: User[];
26
23
  }>;
27
24
  logout(payload: LogoutParams, config?: Partial<AxiosRequestConfig>): Promise<void>;
28
25
  resetPassword(email: string): Promise<{
@@ -35,21 +32,26 @@ export declare const EvercamApi: {
35
32
  remotePasswordUpdate(email: string, payload: RemotePasswordUpdateRequestPayload): Promise<{
36
33
  message: string;
37
34
  }>;
38
- confirm(email: string, payload: any): Promise<LoginResponsePayload>;
39
- deleteActiveSession(sessionId: string, payload?: any): Promise<void>;
40
- getActiveSessions(payload: SessionsListRequestPayload): Promise<PaginatedItems<UserSession>>;
35
+ confirm(email: string, payload: ConfirmUserRequestPayload): Promise<User>;
36
+ deleteActiveSession(sessionId: string, payload: DeleteActiveSessionRequestPayload): Promise<void>;
37
+ getActiveSessions(params: AxiosRequestConfig & {
38
+ params: SessionsListRequestPayload;
39
+ }): Promise<PaginatedItems<UserSession>>;
41
40
  update(email: string, params?: Partial<UserUpdateRequestPayload>): Promise<{
42
- users: LoginResponsePayload[];
41
+ users: User[];
43
42
  }>;
44
43
  delete(email: string, params: UserDeleteRequestPayload): Promise<void>;
45
44
  fetchPermissions(): Promise<{
46
45
  permissions: string[];
47
46
  }>;
47
+ getProjectContacts(projectExid: ProjectExid): Promise<ProjectContactsResponsePayload>;
48
48
  };
49
49
  notifications: {
50
- get(): Promise<import("axios").AxiosResponse<any, any>>;
51
- markAllAsRead(id: string): Promise<import("axios").AxiosResponse<any, any>>;
52
- markAsRead(): Promise<import("axios").AxiosResponse<any, any>>;
50
+ get(): Promise<PaginatedItems<Notification>>;
51
+ markAllAsRead(): Promise<{
52
+ message: string;
53
+ }>;
54
+ markAsRead(id: number): Promise<Notification>;
53
55
  };
54
56
  bim: {
55
57
  getBimSnapshot(cameraId: string, dateTime: string, payload: Partial<BimSnapshotRequestPayload>, extraParams?: AxiosRequestConfig): Promise<BimSnapshotResponsePayload>;
@@ -64,7 +66,7 @@ export declare const EvercamApi: {
64
66
  cameras: {
65
67
  getCameras(params: {
66
68
  params?: Partial<FetchCameraQueryParams>;
67
- config?: AxiosRequestConfig;
69
+ config?: SwrRequestConfig<CamerasResponsePayload>;
68
70
  }): Promise<CamerasResponsePayload>;
69
71
  getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
70
72
  getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
@@ -78,19 +80,22 @@ export declare const EvercamApi: {
78
80
  to: string;
79
81
  };
80
82
  }): Promise<CameraStatusLog[]>;
81
- updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
83
+ updateCamera(exid: string, params: Partial<CameraUpdateRequestPayload>): Promise<CamerasResponsePayload>;
82
84
  };
83
85
  projects: {
84
- index({ params, config, }: {
86
+ index({ params, config, }?: {
85
87
  params?: ApiCredentials;
86
- config: AxiosRequestConfig;
87
- }): Promise<ProjectResponsePayload>;
88
- getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
89
- createLogo(projectId: string, formData: FormData): Promise<Logo & {
90
- id: number;
88
+ config?: SwrRequestConfig<Project[]>;
89
+ }): Promise<Project[]>;
90
+ create(params: {
91
+ name: string;
92
+ }): Promise<{
93
+ project: ProjectCreateResponse;
91
94
  }>;
95
+ getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
96
+ createLogo(projectId: string, formData: FormData): Promise<Logo>;
92
97
  deleteLogo(projectId: string, id: number): Promise<void>;
93
- updateLogo(projectId: string, id: number, name: string): Promise<import("axios").AxiosResponse<any, any>>;
98
+ updateLogo(projectId: string, id: number, name: string): Promise<Logo>;
94
99
  updateThumbnail(projectExid: string, params: {
95
100
  cameraExid?: string;
96
101
  uploadedThumbnail?: string;
@@ -98,24 +103,28 @@ export declare const EvercamApi: {
98
103
  message: string;
99
104
  }>;
100
105
  getThumbnailData(projectExid: string): Promise<ThumbnailData>;
101
- updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
106
+ updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<void>;
102
107
  updatePlaceholderThumbnail(projectExid: string, params: {
103
108
  placeholder?: string;
104
109
  }): Promise<{
105
110
  message: string;
106
111
  }>;
107
- getPlaceholderThumbnailData(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
112
+ getPlaceholderThumbnailData(projectExid: string): Promise<PlaceholderThumbnailData>;
108
113
  transferOwnership(projectExid: string, newOwnerId: number): Promise<{
109
114
  message: string;
110
115
  }>;
111
- getUsers(projectExid: string): Promise<import("axios").AxiosResponse<any, any>>;
116
+ getUsers(projectExid: string): Promise<ProjectUsersResponsePayload>;
112
117
  getCameras(projectExid: string): Promise<{
113
118
  cameras: Camera[];
114
119
  }>;
115
120
  getCameraRefs(projectExid: string): Promise<{
116
121
  cameras: Camera[];
117
122
  }>;
118
- getTeamMembers(): Promise<import("axios").AxiosResponse<any, any>>;
123
+ getTeamMembers(): Promise<ProjectMember[]>;
124
+ getMembers(projectExid: string): Promise<ProjectMembersResponsePayload>;
125
+ inviteMembers(projectExid: string, payload: ProjectMembersRequestPayload): Promise<ProjectInviteMembersResponsePayload>;
126
+ removeMembers(projectExid: string, emails: string[]): Promise<void>;
127
+ updateMembersRole(projectExid: string, payload: ProjectMembersRequestPayload): Promise<void>;
119
128
  };
120
129
  timelapse: {
121
130
  getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
@@ -137,10 +146,11 @@ export declare const EvercamApi: {
137
146
  };
138
147
  aconex: {
139
148
  authenticate(payload: AconexAuthCallbackParams): Promise<void>;
140
- getUserProjects(): Promise<AconexUserProjectsResponsePayload>;
149
+ getUserProjects(): Promise<AconexUserProject[]>;
141
150
  revoke(): Promise<void>;
142
151
  uploadEditedSnapshot(projectId: number, payload: AconexEditedImageUploadRequestPayload): Promise<void>;
143
- getDocumentSchema(projectId: number): Promise<void>;
152
+ getDocumentSchema(projectId: number): Promise<AconexDocumentSchema[]>;
153
+ getDocumentTypeSchema(projectId: number, documentTypeId: string): Promise<AconexDocumentTypeSchema[]>;
144
154
  };
145
155
  procore: {
146
156
  getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
@@ -155,35 +165,46 @@ export declare const EvercamApi: {
155
165
  getAssignees(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationAssignee>>;
156
166
  getDistributionMembers(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationDistributionMember>>;
157
167
  createObservation(formData: FormData): Promise<void>;
158
- getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
159
- getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
168
+ getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
169
+ getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
160
170
  getTrades(payload: ProcoreCompanyRequestPayload): Promise<Array<ProcoreObservationTrades>>;
161
- getHazards(payload: ProcoreCompanyRequestPayload): Promise<ProcoreProjectRequestPayload>;
171
+ getHazards(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
162
172
  getLocations(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationLocation>>;
163
173
  getSpecificationSections(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationSpecificationSection>>;
164
- getCustomFieldOptions(payload: ProcoreProjectRequestPayload): Promise<{
165
- options: {
166
- [key: string]: string[];
167
- };
168
- }>;
174
+ getCustomFieldOptions(payload: ProcoreCustomFieldOptionsRequestPayload): Promise<Array<ProcoreObservationListItem>>;
169
175
  };
170
176
  autodesk: {
171
177
  sendRevoke(): Promise<void>;
172
- getUserHubs(): Promise<AutodeskUserHubsResponsePayload>;
173
- getProjects(hubId: string): Promise<AutodeskProjectsResponsePayload>;
174
- getFolders(hubId: string, projectId: string): Promise<Array<AutodeskFolderResponsePayload>>;
175
- getSubFolders(projectId: string, parentFolderId: string, getDerivatives: Boolean): Promise<Array<AutodeskFolderResponsePayload>>;
176
- getFolder(projectId: string, folderId: string): Promise<AutodeskFolderResponsePayload>;
177
- uploadEditedSnapshot(payload: AutodeskUploadSnapshotPayload): Promise<null>;
178
+ getUserHubs(): Promise<AutodeskUserHub[]>;
179
+ getProjects(hubId: string): Promise<AutodeskProject[]>;
180
+ getFolders(hubId: string, projectId: string): Promise<Array<AutodeskFolder>>;
181
+ getSubFolders(projectId: string, parentFolderId: string, getDerivatives: boolean): Promise<Array<AutodeskFolder>>;
182
+ getFolder(projectId: string, folderId: string): Promise<AutodeskFolder>;
183
+ uploadEditedSnapshot(payload: AutodeskSnapshot): Promise<null>;
178
184
  fetchViewerToken(exid: string): Promise<AutodeskTokenResponsePayload>;
179
185
  };
180
186
  voyageControl: {
181
- connect(payload: VoyageControlConnectorPayload): Promise<unknown>;
182
- sendRevoke(): Promise<null>;
187
+ connect(payload: VoyageControlConnectorPayload): Promise<void>;
188
+ sendRevoke(): Promise<void>;
189
+ };
190
+ ring: {
191
+ authenticate(payload: {
192
+ code: string;
193
+ }): Promise<void>;
194
+ getDevices(): Promise<RingDevicesResponsePayload>;
195
+ importDevices(payload: RingImportDevicesPayload): Promise<RingImportResponsePayload>;
196
+ moveDevice(cameraExid: string, payload: RingMoveDevicePayload): Promise<RingMoveDeviceResponsePayload>;
197
+ deleteDevice(cameraExid: string): Promise<{
198
+ status: string;
199
+ cameraExid: string;
200
+ }>;
201
+ disconnect(): Promise<void>;
202
+ startLiveView(cameraExid: string, payload: RingLiveViewPayload): Promise<RingLiveViewResponse>;
203
+ stopLiveView(cameraExid: string, sessionId: string): Promise<RingStopLiveViewResponse>;
183
204
  };
184
205
  xweather: {
185
206
  connect(projectExid: string, payload: XWeatherCreatePayload): Promise<XWeatherResponse>;
186
- revoke(projectExid: string): Promise<null>;
207
+ revoke(projectExid: string): Promise<void>;
187
208
  };
188
209
  recordings: {
189
210
  oldest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
@@ -195,10 +216,10 @@ export declare const EvercamApi: {
195
216
  getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
196
217
  };
197
218
  progressPhotos: {
198
- index(): Promise<ProgressPhotosResponsePayload>;
199
- show(id: string): Promise<ProgressPhotosResponsePayload>;
219
+ index(projectId: string): Promise<ProgressPhotosResponsePayload>;
220
+ show(id: string): Promise<ProgressPhotoItemResponsePayload>;
200
221
  create(payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
201
- update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
222
+ update(id: string | number, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<Automation>;
202
223
  unsubscribe(progressPhotoId: string, params: ProgressPhotosUnSubscribeParams): Promise<ProgressPhotosResponsePayload>;
203
224
  delete(id: string, params?: ApiCredentials): Promise<void>;
204
225
  };
@@ -206,42 +227,21 @@ export declare const EvercamApi: {
206
227
  getAllMedia(projectExid: string, params: MediaFilterQueryParams): Promise<PaginatedItems<Media>>;
207
228
  getAllMediaUsers(projectExid: string): Promise<MediaUsersResponsePayload>;
208
229
  cShow(projectExid: string, id: string): Promise<Media>;
209
- cCreate(projectExid: string, payload: MediaCreateRequestPayload): Promise<Media>;
210
- cUpdate(projectExid: number, id: number, payload: MediaUpdateRequestPayload): Promise<Media>;
211
- cDelete(projectExid: number, id: number): Promise<void>;
230
+ cCreate(projectExid: string, payload: FormData | MediaCreateRequestPayload, onUploadProgress?: (progressEvent: any) => void): Promise<Media>;
231
+ cUpdate(projectExid: string, id: string, payload: MediaUpdateRequestPayload): Promise<Media>;
232
+ cDelete(projectExid: string, id: string): Promise<void>;
212
233
  };
213
234
  shares: {
214
- updateShareRights(cameraExid: CameraExid, payload: {
215
- email: string;
216
- rights: string;
217
- }): Promise<Share>;
218
- updateShareRequestRights(cameraExid: CameraExid, payload: {
219
- email: string;
220
- rights: string;
221
- }): Promise<import("axios").AxiosResponse<any, any>>;
222
- cIndex(cameraId: string): Promise<SharesResponsePayload>;
223
- getShareRequest(cameraId: string, payload: {
224
- status: string;
225
- }): Promise<ShareRequestsResponsePayload>;
226
- deleteShare(cameraId: string, payload: {
227
- [key: string]: ShareDeletionRequestPayload;
228
- }): Promise<void>;
229
- deleteRequest(cameraId: string, payload: {
230
- [key: string]: ShareDeletionRequestPayload;
231
- }): Promise<void>;
232
235
  deleteShareRequest(payload: {
233
236
  params: ShareDeletionRequestPayload;
234
237
  }): Promise<void>;
235
238
  getSharedUsers(cameraId: string): Promise<SharedUsersResponsePayload>;
236
- cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
237
- shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
238
239
  getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
239
- resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
240
- getProjectShares(exid: string): Promise<ProjectShareResponse>;
241
- updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
242
240
  };
243
241
  company: {
244
- show(companyId: string | undefined, params?: Record<string, string>): Promise<Company>;
242
+ show(companyId: string | undefined, params?: {
243
+ with_zoho?: boolean;
244
+ }): Promise<CompanySummary>;
245
245
  getCompanyUsers(params: {
246
246
  params: {
247
247
  page: number;
@@ -254,7 +254,9 @@ export declare const EvercamApi: {
254
254
  limit: number;
255
255
  };
256
256
  }): Promise<PaginatedItems<CompanyProject>>;
257
- getCompanyCameras(params: Record<string, string>): Promise<import("axios").AxiosResponse<any, any>>;
257
+ getCompanyCameras(params: PaginationParams | {
258
+ params: PaginationParams;
259
+ }): Promise<PaginatedItems<CompanyCameraSummary>>;
258
260
  getCompanyKits(params: {
259
261
  params: {
260
262
  page: number;
@@ -274,11 +276,11 @@ export declare const EvercamApi: {
274
276
  }): Promise<BatteryVoltage[]>;
275
277
  };
276
278
  layers: {
277
- getLayer(cameraId: string, params: BimLayersQueryParams, extraParams?: Record<string, string>): Promise<BIMLayer[]>;
278
- getLayersById(cameraId: string, id: number, params: Record<string, string>): Promise<BIMLayer>;
279
+ getLayer(cameraId: string, params: BimLayersQueryParams, extraParams?: AxiosRequestConfig): Promise<BIMLayer>;
280
+ getLayersById(cameraId: string, id: number, params: ApiCredentials): Promise<BIMLayer>;
279
281
  getLayers(cameraId: string, params: BimLayersQueryParams): Promise<BIMLayer[]>;
280
282
  createLayer(cameraId: string, params: BIMLayerPostPayload): Promise<BIMLayer>;
281
- deleteLayer(cameraId: string, id: number, params: Record<string, unknown>): Promise<void>;
283
+ deleteLayer(cameraId: string, id: number, params?: ApiCredentials): Promise<void>;
282
284
  updateLayer(cameraId: string, id: number, params: Partial<BIMLayerPostPayload>): Promise<BIMLayer>;
283
285
  };
284
286
  comments: {
@@ -291,23 +293,45 @@ export declare const EvercamApi: {
291
293
  getStory(params: {
292
294
  route: string;
293
295
  params: string;
294
- }): Promise<import("axios").AxiosResponse<any, any>>;
296
+ }): Promise<StoryblokResponse>;
295
297
  };
296
298
  mailing: {
297
299
  unsubscribe(params: {
298
300
  key: string;
299
- }): Promise<import("axios").AxiosResponse<any, any>>;
301
+ }): Promise<void>;
300
302
  };
301
303
  widgets: {
302
304
  index(params: Partial<WidgetsListRequestPayload>): Promise<PaginatedItems<Widget>>;
303
305
  show(id: number): Promise<WidgetFull>;
304
306
  getByKeys(): Promise<WidgetFull>;
305
- setSessionSettings(params: any): Promise<WidgetFull>;
307
+ setSessionSettings(params: WidgetSessionSettingsPayload): Promise<WidgetFull>;
306
308
  setStatus(id: number, params: {
307
309
  active: boolean;
308
310
  }): Promise<WidgetFull>;
309
311
  create(payload: WidgetPayload): Promise<WidgetFull>;
310
312
  update(id: number, payload: WidgetPayload): Promise<WidgetFull>;
311
- delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
313
+ delete(id: number): Promise<void>;
314
+ };
315
+ developerApps: {
316
+ index(): Promise<{
317
+ items: OAuthClient[];
318
+ }>;
319
+ show(clientId: string): Promise<OAuthClient>;
320
+ create(payload: CreateOAuthClientPayload): Promise<OAuthClientWithSecret>;
321
+ update(clientId: string, payload: UpdateOAuthClientPayload): Promise<OAuthClient>;
322
+ delete(clientId: string): Promise<void>;
323
+ regenerateSecret(clientId: string): Promise<OAuthClientWithSecret>;
324
+ };
325
+ oauth: {
326
+ getClientInfo(clientId: string, scope: string): Promise<OAuthConsentInfo>;
327
+ submitConsent(payload: OAuthConsentPayload): Promise<OAuthConsentResponse>;
328
+ };
329
+ zoho: {
330
+ getDealLocation(dealId: string): Promise<{
331
+ geographicBounds: GeoJSONPolygon | null;
332
+ }>;
333
+ updateDealLocation(dealId: string, payload: {
334
+ geographicBounds: GeoJSONPolygon;
335
+ }): Promise<void>;
312
336
  };
313
337
  };
@@ -1,5 +1,6 @@
1
- import type { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, SegmentsCountsParams, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, SegmentsPresenceByLabel, ActiveUsersResponsePayload, ActiveUsersRequestPayload } from "@evercam/api/types";
1
+ import { CameraExid, CopilotConversation, CopilotMessage, CopilotMessageStep, FeedbackPayload, GrafanaKitMetrics, LabsPaginationParams, LuminanceReading, PaginatedItems, ActiveUsersResponsePayload, ActiveUsersRequestPayload, HeatmapIntersectionsRequestParams, SmartSearchHeatmapPoint, SiteAnalyticsProcessingStatusPayload, SiteAnalyticsProcessingStatus } from "@evercam/api/types";
2
2
  import { GrafanaMetricId, KitMetricPeriod } from "@evercam/api/types";
3
+ import type { SwrRequestConfig } from "@evercam/api/types";
3
4
  export declare function getLabsBaseUrl(): string | null | undefined;
4
5
  export declare const EvercamLabsApi: {
5
6
  posthog: {
@@ -16,10 +17,11 @@ export declare const EvercamLabsApi: {
16
17
  getOneConversation(conversationId: number): Promise<PaginatedItems<CopilotConversation>>;
17
18
  getConversationMessages(conversationId: number, params: LabsPaginationParams): Promise<PaginatedItems<CopilotMessage>>;
18
19
  getMessageSteps(message: CopilotMessage): Promise<CopilotMessageStep[]>;
19
- submitMessageFeedback<T>({ conversationId, messageId, ...params }: FeedbackPayload<T>): Promise<import("axios").AxiosResponse<any, any>>;
20
+ submitMessageFeedback({ conversationId, messageId, ...params }: FeedbackPayload): Promise<import("axios").AxiosResponse<any, any>>;
20
21
  };
21
- detections: {
22
- getSegmentsDateIntervals({ cameraExid, fromDate, toDate, precision, }: SegmentsCountsParams): Promise<SegmentsPresenceByLabel>;
22
+ siteAnalytics: {
23
+ getProcessingStatus(params?: SiteAnalyticsProcessingStatusPayload, config?: SwrRequestConfig<SiteAnalyticsProcessingStatus[]>): Promise<SiteAnalyticsProcessingStatus[]>;
24
+ getIntersectionsHeatmapData(params: HeatmapIntersectionsRequestParams): Promise<SmartSearchHeatmapPoint[]>;
23
25
  };
24
26
  googleCloudStorage: {
25
27
  listFiles(prefix?: string): Promise<{
@@ -1,4 +1,4 @@
1
- import { ExNvrDeviceConfig, ExNvrLoginResponse, ExNvrRecordingInterval, ExNvrSystemStatus } from "@evercam/api/types/";
1
+ import { ExNvrDeviceConfig, ExNvrLoginResponse, ExNvrRecordingInterval, ExNvrSystemStatus } from "@evercam/api/types";
2
2
  export declare const ExNvrApi: {
3
3
  users: {
4
4
  login({ apiUrl, username, password, }: {
@@ -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,148 @@
1
+ import type { AxiosRequestConfig } from "axios";
2
+ import type { SwrRequestConfig } from "@evercam/api/types";
3
+ import type { _360AssetsQueryParams, _360AssetsRequestPayload, _360QueueQueryParams, _360AssetsUploadPayload, _360AssetsResponse, _360AssetsCountsResponse, _360QueueResponse, _360FloorsResponse, DroneQueueResponse, DroneUploadsResponse, IngestUploadInitResponse, BimUploadsResponse, MobileAssetsQueryParams, MobileCaptureAssetsResponse, BimUploadPayload, BimUploadsQueryParams, CalculateMeasuringOperationRequestPayload, DrawingsRequestPayload, DronesQueryParams, DroneUploadUpdateRequestPayload, FlightImagesQueryParams, Generate360MapRequestPayload, GenerateFloorPayload, InspectionToolRequestPayload, JsonObject, _360WalkV2, _360FloorV2 } from "@evercam/api/types";
4
+ import { IngestVersions, IngestTypes } from "@evercam/api/types";
5
+ export declare const getIngestApiUrls: (type: string) => string[];
6
+ export declare const IngestApi: {
7
+ drone: {
8
+ createUpload(projectId: string, params: {
9
+ uploadedBy: string;
10
+ }): Promise<IngestUploadInitResponse>;
11
+ reprocessDrone(id: number, params?: JsonObject): Promise<void>;
12
+ getDrones(params: {
13
+ params: Partial<DronesQueryParams>;
14
+ }): Promise<DroneUploadsResponse>;
15
+ getArchive(id: number, params: {
16
+ dataType: string;
17
+ }): Promise<Blob>;
18
+ deleteUpload(id: number): Promise<void>;
19
+ prepareForUpload(projectId: string, params: {
20
+ uploadedBy: string;
21
+ token: string;
22
+ }): Promise<void>;
23
+ upload(projectId: string, params: {
24
+ uploadedBy: string;
25
+ token: string;
26
+ }, payload: DroneUploadUpdateRequestPayload): Promise<void>;
27
+ verifyToken(projectId: string, params: {
28
+ token: string;
29
+ }): Promise<JsonObject>;
30
+ calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<JsonObject>;
31
+ inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<JsonObject>;
32
+ isInspectionEnabled(projectId: string, params?: JsonObject): Promise<JsonObject>;
33
+ getDroneQueueSize(droneUrl: string): Promise<DroneQueueResponse>;
34
+ getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
35
+ checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
36
+ };
37
+ assets360: {
38
+ get360Assets(params: {
39
+ params: Partial<_360AssetsQueryParams>;
40
+ }): Promise<_360AssetsResponse>;
41
+ get360AssetsCounts(projectId: string, params: {
42
+ uploadedBy: string;
43
+ }): Promise<_360AssetsCountsResponse>;
44
+ get360AssetLink(projectId: string, date: string, floor: string, assetType: string, drawingId: string, marker: string | null): Promise<string>;
45
+ update360(id: number, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
46
+ update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload): Promise<_360WalkV2>;
47
+ deleteUpload(id: number): Promise<void>;
48
+ getArchive(id: number, params: {
49
+ dateType: string;
50
+ }): Promise<Blob>;
51
+ createUpload(projectId: string, params: _360AssetsRequestPayload): Promise<IngestUploadInitResponse>;
52
+ upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload): Promise<_360WalkV2>;
53
+ reprocess360(id: number): Promise<void>;
54
+ drawingExists(payload: {
55
+ params: {
56
+ name: string;
57
+ project_id: string;
58
+ };
59
+ }): Promise<JsonObject>;
60
+ getDrawings(payload: {
61
+ params: DrawingsRequestPayload;
62
+ config?: SwrRequestConfig<_360FloorsResponse>;
63
+ }): Promise<_360FloorsResponse>;
64
+ getDrawingById(id: number, projectExid: string): Promise<_360FloorV2>;
65
+ updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload): Promise<_360FloorV2>;
66
+ deleteDrawing(id: number): Promise<void>;
67
+ transferWalks(sourceId: number, targetId: number, projectExid: string): Promise<void>;
68
+ createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string): Promise<_360FloorV2>;
69
+ fetchDrawingOverlay(id: number, params: {
70
+ view: boolean;
71
+ }, onDownloadProgress: (progress: ProgressEvent) => void): Promise<Blob>;
72
+ getFloorArchive(id: number): Promise<string>;
73
+ generate360map(projectId: string, params: Generate360MapRequestPayload): Promise<JsonObject>;
74
+ get360QueueSize(ingestUrl: string, params?: _360QueueQueryParams): Promise<_360QueueResponse>;
75
+ };
76
+ bim: {
77
+ createUpload(projectId: string, params: {
78
+ uploadedBy: string;
79
+ }): Promise<IngestUploadInitResponse>;
80
+ getBIMs(params: {
81
+ params: Partial<BimUploadsQueryParams>;
82
+ }): Promise<BimUploadsResponse>;
83
+ getArchive(id: number): Promise<Blob>;
84
+ deleteUpload(id: number): Promise<void>;
85
+ upload(projectId: string, params: {
86
+ id: string;
87
+ name: string;
88
+ }, payload: BimUploadPayload): Promise<void>;
89
+ };
90
+ mobileCapture: {
91
+ getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig): Promise<MobileCaptureAssetsResponse>;
92
+ getMobileAssetPhoto(assetId: string | number, params: {
93
+ projectId?: string;
94
+ project_id?: string;
95
+ isThumbnail?: boolean;
96
+ is_thumbnail?: boolean;
97
+ }): Promise<string>;
98
+ deleteAsset(assetId: string | number): Promise<void>;
99
+ };
100
+ utils: {
101
+ loadAllAssetsInQueue(): Promise<({
102
+ ingestVersion: string;
103
+ id: number;
104
+ projectId: string;
105
+ consumed: boolean;
106
+ token: string;
107
+ flightDate: string;
108
+ flightGeolocation: string;
109
+ modelZip: string;
110
+ orthomosaicZip: string;
111
+ reportPdf: string;
112
+ uploadedBy: string;
113
+ processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
114
+ modelCesiumAssetId: string;
115
+ updatedAt: string;
116
+ hasTusLinks: boolean;
117
+ } | {
118
+ ingestVersion: string;
119
+ archive: string;
120
+ date: string;
121
+ deviceSerial: string | null;
122
+ endPosition: unknown | null;
123
+ floor: string;
124
+ floorId: number;
125
+ id: number;
126
+ images: string[];
127
+ insertedAt: string;
128
+ mobileAudios: string[];
129
+ mobileAudiosArchive: string;
130
+ mobilePhotos: string[];
131
+ mobilePhotosArchive: string;
132
+ model: string;
133
+ name: string;
134
+ processingStatus: string;
135
+ projectId: string;
136
+ report: string;
137
+ route: unknown | null;
138
+ startPosition: unknown | null;
139
+ tusLinks: unknown | null;
140
+ updatedAt: string;
141
+ uploadedBy: string;
142
+ videoArchive: string;
143
+ videos: string[];
144
+ })[]>;
145
+ getIngestVersion(ingestUrl: string): IngestVersions;
146
+ chooseIngestApiUrl(type: IngestTypes): Promise<string>;
147
+ };
148
+ };
@@ -1,9 +1,14 @@
1
- import { MoveParams, ZoomParams } from "@/types";
1
+ import { MoveParams, ZoomParams } from "@evercam/api/types";
2
2
  export declare const PtzApi: {
3
3
  presets: {
4
- index({ cameraExid }: {
4
+ index({ cameraExid, }: {
5
5
  cameraExid: string;
6
- }): Promise<import("axios").AxiosResponse<any, any>>;
6
+ }): Promise<{
7
+ presets: Array<{
8
+ name: string;
9
+ token: string;
10
+ }>;
11
+ }>;
7
12
  go({ cameraExid, presetId, }: {
8
13
  cameraExid: string;
9
14
  presetId: string | number;
@@ -21,6 +26,10 @@ export declare const PtzApi: {
21
26
  presetId: string | number;
22
27
  presetName: string;
23
28
  }): Promise<import("axios").AxiosResponse<any, any>>;
29
+ updateHome({ cameraExid, presetName, }: {
30
+ cameraExid: string;
31
+ presetName: string;
32
+ }): Promise<import("axios").AxiosResponse<any, any>>;
24
33
  delete({ cameraExid, presetId, }: {
25
34
  cameraExid: string;
26
35
  presetId: string | number;
@@ -0,0 +1,9 @@
1
+ import { type PaginatedItems } from "@evercam/shared/types";
2
+ import { VideoWall, VideoWallListParams, VideoWallCreateUpdatePayload } from "@evercam/api/types/videoWall";
3
+ export declare const VideoWallApi: {
4
+ list(params?: VideoWallListParams): Promise<import("axios").AxiosResponse<PaginatedItems<VideoWall>, any>>;
5
+ create(body: VideoWallCreateUpdatePayload): Promise<import("axios").AxiosResponse<VideoWall, any>>;
6
+ get(exid: string | number): Promise<import("axios").AxiosResponse<VideoWall, any>>;
7
+ update(exid: string | number, body: Partial<VideoWallCreateUpdatePayload>): Promise<import("axios").AxiosResponse<VideoWall, any>>;
8
+ delete(exid: string | number): Promise<import("axios").AxiosResponse<any, any>>;
9
+ };
@@ -1,9 +1,9 @@
1
- import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherResponsePayload } from "@evercam/api/types";
1
+ import { CurrentWeatherRequestPayload, HistoryWeatherRequestPayload, WeatherDataResponse, WeatherReportRequestPayload, WeatherResponsePayload } from "@evercam/api/types";
2
2
  import { AxiosRequestConfig } from "axios";
3
3
  export declare const WeatherApi: {
4
4
  current(projectExid: string, payload: CurrentWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
5
5
  historical(projectExid: string, payload: HistoryWeatherRequestPayload): Promise<WeatherResponsePayload> | undefined;
6
- report(projectExid: string, payload: HistoryWeatherRequestPayload, config?: AxiosRequestConfig): Promise<{
6
+ report(projectExid: string, payload: WeatherReportRequestPayload, config?: AxiosRequestConfig): Promise<{
7
7
  data: WeatherDataResponse[];
8
8
  }> | undefined;
9
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";