@evercam/api 1.0.0-5d719caa4 → 1.0.0-5fab6756e
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.
- package/README.md +2 -0
- package/dist/api/api/3dFirebaseApi.d.ts +8 -1
- package/dist/api/api/adminApi.d.ts +86 -83
- package/dist/api/api/aiApi.d.ts +62 -80
- package/dist/api/api/authzApi.d.ts +32 -15
- package/dist/api/api/client/axios.d.ts +2 -1
- package/dist/api/api/client/swr/Swr.d.ts +1 -1
- package/dist/api/api/evercamApi.d.ts +122 -100
- package/dist/api/api/evercamLabsApi.d.ts +6 -4
- package/dist/api/api/exNvrApi.d.ts +1 -1
- package/dist/api/api/ingestApi.d.ts +107 -33
- package/dist/api/api/ptzApi.d.ts +12 -3
- package/dist/api/api/videoWallApi.d.ts +7 -7
- package/dist/api/api/weatherApi.d.ts +2 -2
- package/dist/api/types/360.d.ts +184 -7
- package/dist/api/types/aconex.d.ts +104 -6
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/api/types/analytics.d.ts +143 -40
- package/dist/api/types/anpr.d.ts +24 -13
- package/dist/api/types/auditLogs.d.ts +1 -1
- package/dist/api/types/authz.d.ts +60 -0
- package/dist/api/types/autodesk.d.ts +7 -7
- package/dist/api/types/automation.d.ts +86 -1
- package/dist/api/types/axios.d.ts +10 -4
- package/dist/api/types/bim.d.ts +11 -5
- package/dist/api/types/camera.d.ts +98 -78
- package/dist/api/types/comments.d.ts +4 -8
- package/dist/api/types/company.d.ts +42 -1
- package/dist/api/types/compare.d.ts +20 -5
- package/dist/api/types/connector.d.ts +3 -5
- package/dist/api/types/coolify.d.ts +20 -2
- package/dist/api/types/copilot.d.ts +11 -6
- package/dist/api/types/credentials.d.ts +1 -0
- package/dist/api/types/detections.d.ts +20 -22
- package/dist/api/types/gateReport.d.ts +46 -150
- package/dist/api/types/hdd.d.ts +26 -1
- package/dist/api/types/index.d.ts +7 -1
- package/dist/api/types/ingest.d.ts +89 -2
- package/dist/api/types/kit.d.ts +33 -5
- package/dist/api/types/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +32 -2
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +48 -1
- package/dist/api/types/posthog.d.ts +15 -0
- package/dist/api/types/procore.d.ts +13 -6
- package/dist/api/types/progressPhoto.d.ts +6 -32
- package/dist/api/types/project.d.ts +131 -18
- package/dist/api/types/recording.d.ts +3 -3
- package/dist/api/types/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/api/types/routeParams.d.ts +2 -1
- package/dist/api/types/router.d.ts +20 -1
- package/dist/api/types/shared.d.ts +11 -4
- package/dist/api/types/shares.d.ts +6 -144
- package/dist/api/types/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +191 -46
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/api/types/snapshots.d.ts +10 -1
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/api/types/streaming.d.ts +3 -3
- package/dist/api/types/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +4 -18
- package/dist/api/types/timelapse.d.ts +3 -4
- package/dist/api/types/user.d.ts +105 -31
- package/dist/api/types/videoWall.d.ts +47 -14
- package/dist/api/types/weather.d.ts +77 -11
- package/dist/api/types/widget.d.ts +76 -15
- package/dist/api/types/xweather.d.ts +4 -4
- package/dist/api/utils.d.ts +1 -0
- package/dist/index.js +1084 -873
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/shared/types/components.d.ts +88 -11
- package/dist/shared/types/imagePlayer.d.ts +2 -2
- package/dist/shared/types/timeline.d.ts +2 -1
- package/package.json +4 -4
- package/dist/api/types/storageServers.d.ts +0 -4
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
import type { AxiosRequestConfig } from "axios";
|
|
2
|
-
import
|
|
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<
|
|
6
|
+
getApiStatus(): Promise<void>;
|
|
6
7
|
};
|
|
7
8
|
users: {
|
|
8
|
-
signup(payload: SignupUserRequestPayload): Promise<
|
|
9
|
+
signup(payload: SignupUserRequestPayload): Promise<User>;
|
|
9
10
|
fetchAccessFeatures(email: string): Promise<{
|
|
10
|
-
features:
|
|
11
|
+
features: UserFeatureFlag[];
|
|
11
12
|
}>;
|
|
12
|
-
impersonationLogin(token: string): Promise<
|
|
13
|
-
fetchLoginOptions(email: string): Promise<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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:
|
|
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:
|
|
39
|
-
deleteActiveSession(sessionId: string, payload
|
|
40
|
-
getActiveSessions(
|
|
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:
|
|
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<
|
|
51
|
-
markAllAsRead(
|
|
52
|
-
|
|
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,15 +66,10 @@ export declare const EvercamApi: {
|
|
|
64
66
|
cameras: {
|
|
65
67
|
getCameras(params: {
|
|
66
68
|
params?: Partial<FetchCameraQueryParams>;
|
|
67
|
-
config?:
|
|
69
|
+
config?: SwrRequestConfig<CamerasResponsePayload>;
|
|
68
70
|
}): Promise<CamerasResponsePayload>;
|
|
69
71
|
getCameraById(cameraId: string, params?: ApiCredentials): Promise<CamerasResponsePayload>;
|
|
70
72
|
getCameraLastPublicNote(cameraId: string): Promise<CameraLogsResponsePayload>;
|
|
71
|
-
portCheck(payload: {
|
|
72
|
-
params: CheckCameraPortPayload;
|
|
73
|
-
}): Promise<CheckCameraPortPayload & {
|
|
74
|
-
open: boolean;
|
|
75
|
-
}>;
|
|
76
73
|
getNvrStreamingToken({ cameraExid, token, }: {
|
|
77
74
|
cameraExid: string;
|
|
78
75
|
token: string;
|
|
@@ -83,19 +80,22 @@ export declare const EvercamApi: {
|
|
|
83
80
|
to: string;
|
|
84
81
|
};
|
|
85
82
|
}): Promise<CameraStatusLog[]>;
|
|
86
|
-
updateCamera(exid: string, params: CameraUpdateRequestPayload): Promise<CamerasResponsePayload>;
|
|
83
|
+
updateCamera(exid: string, params: Partial<CameraUpdateRequestPayload>): Promise<CamerasResponsePayload>;
|
|
87
84
|
};
|
|
88
85
|
projects: {
|
|
89
|
-
index({ params, config, }
|
|
86
|
+
index({ params, config, }?: {
|
|
90
87
|
params?: ApiCredentials;
|
|
91
|
-
config
|
|
92
|
-
}): Promise<
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
88
|
+
config?: SwrRequestConfig<Project[]>;
|
|
89
|
+
}): Promise<Project[]>;
|
|
90
|
+
create(params: {
|
|
91
|
+
name: string;
|
|
92
|
+
}): Promise<{
|
|
93
|
+
project: ProjectCreateResponse;
|
|
96
94
|
}>;
|
|
95
|
+
getLogos(projectId: string): Promise<ProjectLogoResponsePayload>;
|
|
96
|
+
createLogo(projectId: string, formData: FormData): Promise<Logo>;
|
|
97
97
|
deleteLogo(projectId: string, id: number): Promise<void>;
|
|
98
|
-
updateLogo(projectId: string, id: number, name: string): Promise<
|
|
98
|
+
updateLogo(projectId: string, id: number, name: string): Promise<Logo>;
|
|
99
99
|
updateThumbnail(projectExid: string, params: {
|
|
100
100
|
cameraExid?: string;
|
|
101
101
|
uploadedThumbnail?: string;
|
|
@@ -103,23 +103,28 @@ export declare const EvercamApi: {
|
|
|
103
103
|
message: string;
|
|
104
104
|
}>;
|
|
105
105
|
getThumbnailData(projectExid: string): Promise<ThumbnailData>;
|
|
106
|
-
updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<
|
|
106
|
+
updateCamerasRestriction(projectExid: ProjectExid, payload: UpdateCameraRestrictionPayload): Promise<void>;
|
|
107
107
|
updatePlaceholderThumbnail(projectExid: string, params: {
|
|
108
108
|
placeholder?: string;
|
|
109
109
|
}): Promise<{
|
|
110
110
|
message: string;
|
|
111
111
|
}>;
|
|
112
|
-
getPlaceholderThumbnailData(projectExid: string): Promise<
|
|
112
|
+
getPlaceholderThumbnailData(projectExid: string): Promise<PlaceholderThumbnailData>;
|
|
113
113
|
transferOwnership(projectExid: string, newOwnerId: number): Promise<{
|
|
114
114
|
message: string;
|
|
115
115
|
}>;
|
|
116
|
-
getUsers(projectExid: string): Promise<
|
|
116
|
+
getUsers(projectExid: string): Promise<ProjectUsersResponsePayload>;
|
|
117
117
|
getCameras(projectExid: string): Promise<{
|
|
118
118
|
cameras: Camera[];
|
|
119
119
|
}>;
|
|
120
120
|
getCameraRefs(projectExid: string): Promise<{
|
|
121
121
|
cameras: Camera[];
|
|
122
122
|
}>;
|
|
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>;
|
|
123
128
|
};
|
|
124
129
|
timelapse: {
|
|
125
130
|
getSnapshotRange(cameraId: string, payload: TimelapseSnapshotRequestPayload, extraParams?: AxiosRequestConfig): Promise<TimelapseSnapshotResponsePayload>;
|
|
@@ -141,10 +146,11 @@ export declare const EvercamApi: {
|
|
|
141
146
|
};
|
|
142
147
|
aconex: {
|
|
143
148
|
authenticate(payload: AconexAuthCallbackParams): Promise<void>;
|
|
144
|
-
getUserProjects(): Promise<
|
|
149
|
+
getUserProjects(): Promise<AconexUserProject[]>;
|
|
145
150
|
revoke(): Promise<void>;
|
|
146
151
|
uploadEditedSnapshot(projectId: number, payload: AconexEditedImageUploadRequestPayload): Promise<void>;
|
|
147
|
-
getDocumentSchema(projectId: number): Promise<
|
|
152
|
+
getDocumentSchema(projectId: number): Promise<AconexDocumentSchema[]>;
|
|
153
|
+
getDocumentTypeSchema(projectId: number, documentTypeId: string): Promise<AconexDocumentTypeSchema[]>;
|
|
148
154
|
};
|
|
149
155
|
procore: {
|
|
150
156
|
getUserCompanies(): Promise<ProcoreUserCompaniesResponsePayload>;
|
|
@@ -159,35 +165,46 @@ export declare const EvercamApi: {
|
|
|
159
165
|
getAssignees(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationAssignee>>;
|
|
160
166
|
getDistributionMembers(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationDistributionMember>>;
|
|
161
167
|
createObservation(formData: FormData): Promise<void>;
|
|
162
|
-
getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<
|
|
163
|
-
getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<
|
|
168
|
+
getContributingBehaviors(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
|
|
169
|
+
getContributingConditions(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
|
|
164
170
|
getTrades(payload: ProcoreCompanyRequestPayload): Promise<Array<ProcoreObservationTrades>>;
|
|
165
|
-
getHazards(payload: ProcoreCompanyRequestPayload): Promise<
|
|
171
|
+
getHazards(payload: ProcoreCompanyRequestPayload): Promise<ProcoreObservationDefaultList>;
|
|
166
172
|
getLocations(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationLocation>>;
|
|
167
173
|
getSpecificationSections(payload: ProcoreProjectRequestPayload): Promise<Array<ProcoreObservationSpecificationSection>>;
|
|
168
|
-
getCustomFieldOptions(payload:
|
|
169
|
-
options: {
|
|
170
|
-
[key: string]: string[];
|
|
171
|
-
};
|
|
172
|
-
}>;
|
|
174
|
+
getCustomFieldOptions(payload: ProcoreCustomFieldOptionsRequestPayload): Promise<Array<ProcoreObservationListItem>>;
|
|
173
175
|
};
|
|
174
176
|
autodesk: {
|
|
175
177
|
sendRevoke(): Promise<void>;
|
|
176
|
-
getUserHubs(): Promise<
|
|
177
|
-
getProjects(hubId: string): Promise<
|
|
178
|
-
getFolders(hubId: string, projectId: string): Promise<Array<
|
|
179
|
-
getSubFolders(projectId: string, parentFolderId: string, getDerivatives:
|
|
180
|
-
getFolder(projectId: string, folderId: string): Promise<
|
|
181
|
-
uploadEditedSnapshot(payload:
|
|
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>;
|
|
182
184
|
fetchViewerToken(exid: string): Promise<AutodeskTokenResponsePayload>;
|
|
183
185
|
};
|
|
184
186
|
voyageControl: {
|
|
185
|
-
connect(payload: VoyageControlConnectorPayload): Promise<
|
|
186
|
-
sendRevoke(): Promise<
|
|
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>;
|
|
187
204
|
};
|
|
188
205
|
xweather: {
|
|
189
206
|
connect(projectExid: string, payload: XWeatherCreatePayload): Promise<XWeatherResponse>;
|
|
190
|
-
revoke(projectExid: string): Promise<
|
|
207
|
+
revoke(projectExid: string): Promise<void>;
|
|
191
208
|
};
|
|
192
209
|
recordings: {
|
|
193
210
|
oldest(cameraId: string, payload?: ApiCredentials): Promise<Snapshot>;
|
|
@@ -199,10 +216,10 @@ export declare const EvercamApi: {
|
|
|
199
216
|
getSnapshotRange(cameraId: string, payload: SnapshotRangeRequestPayload): Promise<SnapshotRangeResponsePayload>;
|
|
200
217
|
};
|
|
201
218
|
progressPhotos: {
|
|
202
|
-
index(): Promise<ProgressPhotosResponsePayload>;
|
|
203
|
-
show(id: string): Promise<
|
|
219
|
+
index(projectId: string): Promise<ProgressPhotosResponsePayload>;
|
|
220
|
+
show(id: string): Promise<ProgressPhotoItemResponsePayload>;
|
|
204
221
|
create(payload: ProgressPhotosCreateUpdateRequestPayload): Promise<ProgressPhotosResponsePayload>;
|
|
205
|
-
update(id: string, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<
|
|
222
|
+
update(id: string | number, payload: ProgressPhotosCreateUpdateRequestPayload): Promise<Automation>;
|
|
206
223
|
unsubscribe(progressPhotoId: string, params: ProgressPhotosUnSubscribeParams): Promise<ProgressPhotosResponsePayload>;
|
|
207
224
|
delete(id: string, params?: ApiCredentials): Promise<void>;
|
|
208
225
|
};
|
|
@@ -210,42 +227,21 @@ export declare const EvercamApi: {
|
|
|
210
227
|
getAllMedia(projectExid: string, params: MediaFilterQueryParams): Promise<PaginatedItems<Media>>;
|
|
211
228
|
getAllMediaUsers(projectExid: string): Promise<MediaUsersResponsePayload>;
|
|
212
229
|
cShow(projectExid: string, id: string): Promise<Media>;
|
|
213
|
-
cCreate(projectExid: string, payload: MediaCreateRequestPayload): Promise<Media>;
|
|
214
|
-
cUpdate(projectExid:
|
|
215
|
-
cDelete(projectExid:
|
|
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>;
|
|
216
233
|
};
|
|
217
234
|
shares: {
|
|
218
|
-
updateShareRights(cameraExid: CameraExid, payload: {
|
|
219
|
-
email: string;
|
|
220
|
-
rights: string;
|
|
221
|
-
}): Promise<Share>;
|
|
222
|
-
updateShareRequestRights(cameraExid: CameraExid, payload: {
|
|
223
|
-
email: string;
|
|
224
|
-
rights: string;
|
|
225
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
226
|
-
cIndex(cameraId: string): Promise<SharesResponsePayload>;
|
|
227
|
-
getShareRequest(cameraId: string, payload: {
|
|
228
|
-
status: string;
|
|
229
|
-
}): Promise<ShareRequestsResponsePayload>;
|
|
230
|
-
deleteShare(cameraId: string, payload: {
|
|
231
|
-
[key: string]: ShareDeletionRequestPayload;
|
|
232
|
-
}): Promise<void>;
|
|
233
|
-
deleteRequest(cameraId: string, payload: {
|
|
234
|
-
[key: string]: ShareDeletionRequestPayload;
|
|
235
|
-
}): Promise<void>;
|
|
236
235
|
deleteShareRequest(payload: {
|
|
237
236
|
params: ShareDeletionRequestPayload;
|
|
238
237
|
}): Promise<void>;
|
|
239
238
|
getSharedUsers(cameraId: string): Promise<SharedUsersResponsePayload>;
|
|
240
|
-
cCreate(cameraId: string, payload: ShareCreateRequestPayload): Promise<ShareCreateResponsePayload>;
|
|
241
|
-
shareProjectCameras(projectExid: ProjectExid, payload: ShareProjectCamerasRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
242
239
|
getShareRequestByKey(key: string): Promise<Pick<ShareCreateResponsePayload, "shareRequests">>;
|
|
243
|
-
resendShareRequest(cameraId: string, data: ResendShareRequestPayload): Promise<void>;
|
|
244
|
-
getProjectShares(exid: string): Promise<ProjectShareResponse>;
|
|
245
|
-
updateUserRestriction(projectExid: ProjectExid, payload: UpdateUserRestrictionPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
246
240
|
};
|
|
247
241
|
company: {
|
|
248
|
-
show(companyId: string | undefined, params?:
|
|
242
|
+
show(companyId: string | undefined, params?: {
|
|
243
|
+
with_zoho?: boolean;
|
|
244
|
+
}): Promise<CompanySummary>;
|
|
249
245
|
getCompanyUsers(params: {
|
|
250
246
|
params: {
|
|
251
247
|
page: number;
|
|
@@ -258,7 +254,9 @@ export declare const EvercamApi: {
|
|
|
258
254
|
limit: number;
|
|
259
255
|
};
|
|
260
256
|
}): Promise<PaginatedItems<CompanyProject>>;
|
|
261
|
-
getCompanyCameras(params:
|
|
257
|
+
getCompanyCameras(params: PaginationParams | {
|
|
258
|
+
params: PaginationParams;
|
|
259
|
+
}): Promise<PaginatedItems<CompanyCameraSummary>>;
|
|
262
260
|
getCompanyKits(params: {
|
|
263
261
|
params: {
|
|
264
262
|
page: number;
|
|
@@ -278,11 +276,11 @@ export declare const EvercamApi: {
|
|
|
278
276
|
}): Promise<BatteryVoltage[]>;
|
|
279
277
|
};
|
|
280
278
|
layers: {
|
|
281
|
-
getLayer(cameraId: string, params: BimLayersQueryParams, extraParams?:
|
|
282
|
-
getLayersById(cameraId: string, id: number, params:
|
|
279
|
+
getLayer(cameraId: string, params: BimLayersQueryParams, extraParams?: AxiosRequestConfig): Promise<BIMLayer>;
|
|
280
|
+
getLayersById(cameraId: string, id: number, params: ApiCredentials): Promise<BIMLayer>;
|
|
283
281
|
getLayers(cameraId: string, params: BimLayersQueryParams): Promise<BIMLayer[]>;
|
|
284
282
|
createLayer(cameraId: string, params: BIMLayerPostPayload): Promise<BIMLayer>;
|
|
285
|
-
deleteLayer(cameraId: string, id: number, params
|
|
283
|
+
deleteLayer(cameraId: string, id: number, params?: ApiCredentials): Promise<void>;
|
|
286
284
|
updateLayer(cameraId: string, id: number, params: Partial<BIMLayerPostPayload>): Promise<BIMLayer>;
|
|
287
285
|
};
|
|
288
286
|
comments: {
|
|
@@ -295,21 +293,45 @@ export declare const EvercamApi: {
|
|
|
295
293
|
getStory(params: {
|
|
296
294
|
route: string;
|
|
297
295
|
params: string;
|
|
298
|
-
}): Promise<
|
|
296
|
+
}): Promise<StoryblokResponse>;
|
|
299
297
|
};
|
|
300
298
|
mailing: {
|
|
301
299
|
unsubscribe(params: {
|
|
302
300
|
key: string;
|
|
303
|
-
}): Promise<
|
|
301
|
+
}): Promise<void>;
|
|
304
302
|
};
|
|
305
303
|
widgets: {
|
|
306
304
|
index(params: Partial<WidgetsListRequestPayload>): Promise<PaginatedItems<Widget>>;
|
|
307
305
|
show(id: number): Promise<WidgetFull>;
|
|
308
306
|
getByKeys(): Promise<WidgetFull>;
|
|
309
|
-
setSessionSettings(params:
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
setSessionSettings(params: WidgetSessionSettingsPayload): Promise<WidgetFull>;
|
|
308
|
+
setStatus(id: number, params: {
|
|
309
|
+
active: boolean;
|
|
310
|
+
}): Promise<WidgetFull>;
|
|
311
|
+
create(payload: WidgetPayload): Promise<WidgetFull>;
|
|
312
312
|
update(id: number, payload: WidgetPayload): Promise<WidgetFull>;
|
|
313
|
-
delete(id: number): Promise<
|
|
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>;
|
|
314
336
|
};
|
|
315
337
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
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
|
|
20
|
+
submitMessageFeedback({ conversationId, messageId, ...params }: FeedbackPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
-
|
|
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, }: {
|
|
@@ -1,73 +1,147 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
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 } from "@evercam/api/types";
|
|
3
5
|
export declare const getIngestApiUrl: (version: string) => string | undefined | null;
|
|
4
6
|
export declare const IngestApi: {
|
|
5
7
|
drone: {
|
|
6
8
|
createUpload(projectId: string, params: {
|
|
7
9
|
uploadedBy: string;
|
|
8
|
-
}): Promise<
|
|
9
|
-
reprocessDrone(id: number, params
|
|
10
|
+
}): Promise<IngestUploadInitResponse>;
|
|
11
|
+
reprocessDrone(id: number, params?: JsonObject): Promise<void>;
|
|
10
12
|
getDrones(params: {
|
|
11
13
|
params: Partial<DronesQueryParams>;
|
|
12
|
-
}): Promise<
|
|
14
|
+
}): Promise<DroneUploadsResponse>;
|
|
13
15
|
getArchive(id: number, params: {
|
|
14
16
|
dataType: string;
|
|
15
|
-
}): Promise<
|
|
16
|
-
deleteUpload(id: number): Promise<
|
|
17
|
+
}): Promise<Blob>;
|
|
18
|
+
deleteUpload(id: number): Promise<void>;
|
|
17
19
|
prepareForUpload(projectId: string, params: {
|
|
18
20
|
uploadedBy: string;
|
|
19
21
|
token: string;
|
|
20
|
-
}): Promise<
|
|
22
|
+
}): Promise<void>;
|
|
21
23
|
upload(projectId: string, params: {
|
|
22
24
|
uploadedBy: string;
|
|
23
25
|
token: string;
|
|
24
|
-
}, payload: DroneUploadUpdateRequestPayload): Promise<
|
|
26
|
+
}, payload: DroneUploadUpdateRequestPayload): Promise<void>;
|
|
25
27
|
verifyToken(projectId: string, params: {
|
|
26
28
|
token: string;
|
|
27
|
-
}): Promise<
|
|
28
|
-
calculateMeasuringOperation(projectId: string, params: CalculateMeasuringOperationRequestPayload): Promise<
|
|
29
|
-
inspectionTool(projectId: string, params: InspectionToolRequestPayload): Promise<
|
|
30
|
-
isInspectionEnabled(projectId: string, params
|
|
31
|
-
getDroneQueueSize(version?: IngestVersions): Promise<
|
|
32
|
-
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<
|
|
33
|
-
checkFlightAvailableFeatures(projectId: string, params:
|
|
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(version?: IngestVersions): Promise<DroneQueueResponse>;
|
|
34
|
+
getFlightImages(projectId: string, params: FlightImagesQueryParams): Promise<JsonObject>;
|
|
35
|
+
checkFlightAvailableFeatures(projectId: string, params: JsonObject): Promise<JsonObject>;
|
|
34
36
|
};
|
|
35
37
|
assets360: {
|
|
36
38
|
get360Assets(params: {
|
|
37
39
|
params: Partial<_360AssetsQueryParams>;
|
|
38
|
-
}, version?: IngestVersions): Promise<
|
|
40
|
+
}, version?: IngestVersions): Promise<_360AssetsResponse>;
|
|
39
41
|
get360AssetsCounts(projectId: string, params: {
|
|
40
42
|
uploadedBy: string;
|
|
41
|
-
}, version?: IngestVersions): Promise<
|
|
42
|
-
get360AssetLink(projectId: string, date: string, floor: string, assetType: string, marker: string | null): Promise<
|
|
43
|
-
|
|
43
|
+
}, version?: IngestVersions): 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, version?: IngestVersions): Promise<_360WalkV2>;
|
|
46
|
+
update360ByProjectDateName(projectId: string, date: string, floor: string, payload: _360AssetsRequestPayload, version?: IngestVersions): Promise<_360WalkV2>;
|
|
47
|
+
deleteUpload(id: number, version?: IngestVersions): Promise<void>;
|
|
44
48
|
getArchive(id: number, params: {
|
|
45
49
|
dateType: string;
|
|
46
|
-
}): Promise<
|
|
47
|
-
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<
|
|
48
|
-
upload(id: number, params:
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
}, version?: IngestVersions): Promise<Blob>;
|
|
51
|
+
createUpload(projectId: string, params: _360AssetsRequestPayload, version?: IngestVersions): Promise<IngestUploadInitResponse>;
|
|
52
|
+
upload(id: number, params: JsonObject, payload: _360AssetsUploadPayload, version?: IngestVersions): Promise<_360WalkV2>;
|
|
53
|
+
reprocess360(id: number, version?: IngestVersions): Promise<void>;
|
|
54
|
+
drawingExists(payload: {
|
|
55
|
+
params: {
|
|
56
|
+
name: string;
|
|
57
|
+
project_id: string;
|
|
58
|
+
};
|
|
59
|
+
}, version?: IngestVersions): Promise<JsonObject>;
|
|
60
|
+
getDrawings(payload: {
|
|
61
|
+
params: DrawingsRequestPayload;
|
|
62
|
+
config?: SwrRequestConfig<_360FloorsResponse>;
|
|
63
|
+
}, version?: IngestVersions): Promise<_360FloorsResponse>;
|
|
64
|
+
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<_360FloorV2>;
|
|
65
|
+
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<_360FloorV2>;
|
|
66
|
+
deleteDrawing(id: number, version?: IngestVersions): Promise<void>;
|
|
67
|
+
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<void>;
|
|
68
|
+
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<_360FloorV2>;
|
|
69
|
+
fetchDrawingOverlay(id: number, params: {
|
|
70
|
+
view: boolean;
|
|
71
|
+
}, onDownloadProgress: (progress: ProgressEvent) => void, version?: IngestVersions): Promise<Blob>;
|
|
72
|
+
getFloorArchive(id: number, version?: IngestVersions): Promise<string>;
|
|
73
|
+
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<JsonObject>;
|
|
74
|
+
get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<_360QueueResponse>;
|
|
51
75
|
};
|
|
52
76
|
bim: {
|
|
53
77
|
createUpload(projectId: string, params: {
|
|
54
78
|
uploadedBy: string;
|
|
55
|
-
}): Promise<
|
|
79
|
+
}): Promise<IngestUploadInitResponse>;
|
|
56
80
|
getBIMs(params: {
|
|
57
81
|
params: Partial<BimUploadsQueryParams>;
|
|
58
|
-
}): Promise<
|
|
59
|
-
getArchive(id: number): Promise<
|
|
60
|
-
deleteUpload(id: number): Promise<
|
|
82
|
+
}): Promise<BimUploadsResponse>;
|
|
83
|
+
getArchive(id: number): Promise<Blob>;
|
|
84
|
+
deleteUpload(id: number): Promise<void>;
|
|
61
85
|
upload(projectId: string, params: {
|
|
62
86
|
id: string;
|
|
63
87
|
name: string;
|
|
64
|
-
}, payload: BimUploadPayload): Promise<
|
|
88
|
+
}, payload: BimUploadPayload): Promise<void>;
|
|
65
89
|
};
|
|
66
90
|
mobileCapture: {
|
|
67
|
-
getProjectMobileAssets(params:
|
|
68
|
-
getMobileAssetPhoto(assetId: string | number, params:
|
|
91
|
+
getProjectMobileAssets(params: MobileAssetsQueryParams, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureAssetsResponse>;
|
|
92
|
+
getMobileAssetPhoto(assetId: string | number, params: {
|
|
93
|
+
projectId?: string;
|
|
94
|
+
project_id?: string;
|
|
95
|
+
isThumbnail?: boolean;
|
|
96
|
+
is_thumbnail?: boolean;
|
|
97
|
+
}, version?: IngestVersions): Promise<string>;
|
|
98
|
+
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<void>;
|
|
69
99
|
};
|
|
70
100
|
utils: {
|
|
71
|
-
loadAllAssetsInQueue(): Promise<
|
|
101
|
+
loadAllAssetsInQueue(): Promise<({
|
|
102
|
+
ingestVersion: string;
|
|
103
|
+
archive: string;
|
|
104
|
+
date: string;
|
|
105
|
+
deviceSerial: string | null;
|
|
106
|
+
endPosition: unknown | null;
|
|
107
|
+
floor: string;
|
|
108
|
+
floorId: number;
|
|
109
|
+
id: number;
|
|
110
|
+
images: string[];
|
|
111
|
+
insertedAt: string;
|
|
112
|
+
mobileAudios: string[];
|
|
113
|
+
mobileAudiosArchive: string;
|
|
114
|
+
mobilePhotos: string[];
|
|
115
|
+
mobilePhotosArchive: string;
|
|
116
|
+
model: string;
|
|
117
|
+
name: string;
|
|
118
|
+
processingStatus: string;
|
|
119
|
+
projectId: string;
|
|
120
|
+
report: string;
|
|
121
|
+
route: unknown | null;
|
|
122
|
+
startPosition: unknown | null;
|
|
123
|
+
tusLinks: unknown | null;
|
|
124
|
+
updatedAt: string;
|
|
125
|
+
uploadedBy: string;
|
|
126
|
+
videoArchive: string;
|
|
127
|
+
videos: string[];
|
|
128
|
+
} | {
|
|
129
|
+
ingestVersion: string;
|
|
130
|
+
id: number;
|
|
131
|
+
projectId: string;
|
|
132
|
+
consumed: boolean;
|
|
133
|
+
token: string;
|
|
134
|
+
flightDate: string;
|
|
135
|
+
flightGeolocation: string;
|
|
136
|
+
modelZip: string;
|
|
137
|
+
orthomosaicZip: string;
|
|
138
|
+
reportPdf: string;
|
|
139
|
+
uploadedBy: string;
|
|
140
|
+
processingStatus: import("@evercam/api/types").IngestProcessingStatus | string;
|
|
141
|
+
modelCesiumAssetId: string;
|
|
142
|
+
updatedAt: string;
|
|
143
|
+
hasTusLinks: boolean;
|
|
144
|
+
})[]>;
|
|
145
|
+
choose360IngestVersion(): Promise<IngestVersions>;
|
|
72
146
|
};
|
|
73
147
|
};
|
package/dist/api/api/ptzApi.d.ts
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { MoveParams, ZoomParams } from "
|
|
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<
|
|
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;
|