@evercam/api 1.0.0-233a53dac → 1.0.0-24463ad20
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/dist/api/api/3dFirebaseApi.d.ts +176 -0
- package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +87 -83
- package/dist/api/api/aiApi.d.ts +128 -0
- package/dist/api/api/authzApi.d.ts +37 -0
- package/dist/api/{client → api/client}/axios.d.ts +2 -1
- package/dist/api/{client → api/client}/swr/Swr.d.ts +1 -1
- package/dist/api/{evercamApi.d.ts → api/evercamApi.d.ts} +121 -95
- package/dist/api/{evercamLabsApi.d.ts → api/evercamLabsApi.d.ts} +4 -3
- package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +1 -1
- package/dist/api/api/index.d.ts +13 -0
- package/dist/api/api/ingestApi.d.ts +148 -0
- package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
- package/dist/api/api/videoWallApi.d.ts +9 -0
- package/dist/api/{weatherApi.d.ts → api/weatherApi.d.ts} +2 -2
- package/dist/api/index.d.ts +3 -13
- package/dist/api/types/360.d.ts +281 -0
- package/dist/{types → api/types}/aconex.d.ts +9 -9
- package/dist/api/types/admin.d.ts +51 -0
- package/dist/{types → api/types}/analytics.d.ts +152 -51
- package/dist/{types → api/types}/anpr.d.ts +17 -2
- package/dist/{types → api/types}/auditLogs.d.ts +19 -1
- package/dist/api/types/authz.d.ts +61 -0
- package/dist/{types → api/types}/autodesk.d.ts +7 -7
- package/dist/{types → api/types}/automation.d.ts +37 -3
- package/dist/{types → api/types}/axios.d.ts +11 -5
- package/dist/{types → api/types}/bim.d.ts +28 -5
- package/dist/{types → api/types}/camera.d.ts +98 -99
- package/dist/{types → api/types}/comments.d.ts +8 -10
- package/dist/{types → api/types}/company.d.ts +42 -1
- package/dist/{types → api/types}/compare.d.ts +20 -5
- package/dist/{types → api/types}/connector.d.ts +3 -5
- package/dist/{types → api/types}/coolify.d.ts +18 -2
- package/dist/{types → api/types}/copilot.d.ts +11 -6
- package/dist/{types → api/types}/credentials.d.ts +1 -0
- package/dist/{types → api/types}/detections.d.ts +20 -17
- package/dist/api/types/drone.d.ts +107 -0
- package/dist/{types → api/types}/gateReport.d.ts +49 -158
- package/dist/{types → api/types}/hdd.d.ts +26 -1
- package/dist/{types → api/types}/index.d.ts +8 -1
- package/dist/api/types/ingest.d.ts +147 -0
- package/dist/{types → api/types}/kit.d.ts +33 -5
- package/dist/api/types/map.d.ts +16 -0
- package/dist/{types → api/types}/media.d.ts +2 -1
- package/dist/api/types/notification.d.ts +57 -0
- package/dist/api/types/oauth.d.ts +62 -0
- package/dist/api/types/planner.d.ts +132 -0
- package/dist/api/types/posthog.d.ts +33 -0
- package/dist/{types → api/types}/procore.d.ts +13 -6
- package/dist/{types → api/types}/progressPhoto.d.ts +6 -2
- package/dist/api/types/project.d.ts +247 -0
- package/dist/{types → api/types}/recording.d.ts +6 -4
- package/dist/{types → api/types}/recycleBin.d.ts +1 -1
- package/dist/api/types/ring.d.ts +53 -0
- package/dist/{types → api/types}/roi.d.ts +2 -2
- package/dist/{types → api/types}/router.d.ts +20 -1
- package/dist/{types → api/types}/shared.d.ts +30 -4
- package/dist/api/types/shares.d.ts +58 -0
- package/dist/{types → api/types}/sim.d.ts +6 -6
- package/dist/api/types/siteAnalytics.d.ts +287 -0
- package/dist/api/types/siteView.d.ts +74 -0
- package/dist/api/types/smartSeach.d.ts +5 -0
- package/dist/{types → api/types}/snapshots.d.ts +44 -4
- package/dist/api/types/storageProvider.d.ts +19 -0
- package/dist/api/types/storyblok.d.ts +40 -0
- package/dist/{types → api/types}/streaming.d.ts +3 -3
- package/dist/{types → api/types}/tag.d.ts +1 -1
- package/dist/api/types/time.d.ts +7 -0
- package/dist/{types → api/types}/timelapse.d.ts +8 -5
- package/dist/{types → api/types}/user.d.ts +105 -31
- package/dist/api/types/videoWall.d.ts +66 -0
- package/dist/{types → api/types}/weather.d.ts +75 -11
- package/dist/{types → api/types}/widget.d.ts +72 -11
- package/dist/{types → api/types}/xweather.d.ts +4 -4
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1577 -986
- 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/api/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
- package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
- package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
- package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
- package/dist/shared/types/components.d.ts +322 -0
- package/dist/shared/types/imagePlayer.d.ts +41 -0
- package/dist/shared/types/index.d.ts +5 -0
- package/dist/shared/types/rbac.d.ts +67 -0
- package/dist/shared/types/timeline.d.ts +10 -0
- package/package.json +2 -2
- package/dist/api/3dFirebaseApi.d.ts +0 -21
- package/dist/api/aiApi.d.ts +0 -155
- package/dist/api/authzApi.d.ts +0 -21
- package/dist/api/ingestApi.d.ts +0 -95
- package/dist/api/videoWallApi.d.ts +0 -9
- package/dist/types/360.d.ts +0 -141
- package/dist/types/drone.d.ts +0 -17
- package/dist/types/ingest.d.ts +0 -51
- package/dist/types/map.d.ts +0 -4
- package/dist/types/notification.d.ts +0 -27
- package/dist/types/planner.d.ts +0 -32
- package/dist/types/posthog.d.ts +0 -18
- package/dist/types/project.d.ts +0 -132
- package/dist/types/shares.d.ts +0 -196
- package/dist/types/siteAnalytics.d.ts +0 -163
- package/dist/types/storageServers.d.ts +0 -4
- package/dist/types/time.d.ts +0 -25
- package/dist/types/videoWall.d.ts +0 -33
- /package/dist/api/{client → api/client}/customErrors.d.ts +0 -0
- /package/dist/api/{client → api/client}/index.d.ts +0 -0
- /package/dist/api/{client → api/client}/interceptors.d.ts +0 -0
- /package/dist/api/{client → api/client}/swr/SwrStore.d.ts +0 -0
- /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
- /package/dist/{types → api/types}/countries.d.ts +0 -0
- /package/dist/{types → api/types}/errors.d.ts +0 -0
- /package/dist/{types → api/types}/nvr.d.ts +0 -0
- /package/dist/{types → api/types}/routeParams.d.ts +0 -0
- /package/dist/{types → api/types}/sso.d.ts +0 -0
- /package/dist/{types → api/types}/systemCheck.d.ts +0 -0
- /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
- /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
- /package/dist/{utils.d.ts → api/utils.d.ts} +0 -0
package/dist/api/aiApi.d.ts
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { AnprQueryParams, AnprEvent, EventCountRequestPayload, EventCountResponsePayload, EventsExportRequestParameters, EventsRequestPayload, EventsResponsePayload, GateReportROI, PaginatedItems, GateReportVerifiedDay, ProjectExid, CameraExid, AnprCountsQueryParams, AnprCount, AnprBasedGateReportExportRequestParams, GateReportResponsePayload, GatReportRequestPayload, AnalyticsParameters, VerifiedDaysQueryParams, EventUpdateRequestPayload, VerifyDayUpdateRequestPayload, ProcessedDaysQueryParams, GateReportEventType, DateTime, RoisQueryParams, GateReportROICreateRequestPayload, SegmentsSimilaritySearchParams, DetectionsFilters, TrackingsByLabel, SegmentsByLabel, DetectionsCountsParams, DetectionsPresenceByLabel, SmartSearchQueryParams, SavedQuery, DateType, DetectionsRequestParams, DetectionsGroup, DetectionsCountsByPeriod, DetectionsExportRequestParams, SegmentsFilters, DownloadFileType, SmartSearchQuery, Schedule, SmartSearchHeatmapData, SmartSearchOperatorType, DetectionLabel } from "@evercam/api/types";
|
|
2
|
-
import type { AxiosPromise, AxiosRequestConfig } from "axios";
|
|
3
|
-
import { CreateCoolifyAppRequestPayload, SaveCoolifyAppRequestPayload } from "@/types/coolify";
|
|
4
|
-
export declare const getAiApiUrl: () => string | null | undefined;
|
|
5
|
-
export declare const AiApi: {
|
|
6
|
-
analyticsParameters: {
|
|
7
|
-
getParameters(cameraId: CameraExid, params?: Record<string, unknown>): Promise<AnalyticsParameters>;
|
|
8
|
-
createParameters(params: Omit<AnalyticsParameters, "id">): Promise<AnalyticsParameters>;
|
|
9
|
-
updateParameters({ updatedBy, id, ...payload }: Partial<AnalyticsParameters> & {
|
|
10
|
-
updatedBy: string;
|
|
11
|
-
}): Promise<AnalyticsParameters>;
|
|
12
|
-
};
|
|
13
|
-
anpr: {
|
|
14
|
-
exportAnprLegacyEvents(projectExid: ProjectExid, params: AnprQueryParams): AxiosPromise<any>;
|
|
15
|
-
getAnprEvents(projectExid: ProjectExid, params: AnprQueryParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<AnprEvent>>;
|
|
16
|
-
getAnprCounts(projectExid: ProjectExid, payload: AnprCountsQueryParams, extraParams?: AxiosRequestConfig): Promise<AnprCount[]>;
|
|
17
|
-
updateAnprEvent(anprEventId: string, eventBody: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
bulkUpdateAnprRecords(anprEventsIds: number[], action: "is_plate" | "not_plate" | "is_duplicate" | "not_duplicate"): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
exportAnprEvents(projectExid: string, params: AnprBasedGateReportExportRequestParams): AxiosPromise<string>;
|
|
20
|
-
};
|
|
21
|
-
gateReport: {
|
|
22
|
-
getLastVerified(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
23
|
-
deleteEvent(id: number, params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
24
|
-
dismissEvents(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
25
|
-
exportEvents(projectExid: string, params: EventsExportRequestParameters): AxiosPromise<any>;
|
|
26
|
-
exportEventsProgress(projectExid: string, params: {
|
|
27
|
-
exportDate: string;
|
|
28
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
29
|
-
generateAnprThumbnail(cameraExid: CameraExid, captureTime: DateTime): Promise<import("axios").AxiosResponse<any, any>>;
|
|
30
|
-
getAllEvents(projectExid: ProjectExid, params: EventsRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventsResponsePayload>;
|
|
31
|
-
getEventCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
32
|
-
getVerifiedDays(projectExid: ProjectExid, params: Partial<VerifiedDaysQueryParams>, extraParams?: {}): Promise<PaginatedItems<GateReportVerifiedDay>>;
|
|
33
|
-
updateEventById(eventId: number, { updatedBy, payload, }: {
|
|
34
|
-
updatedBy: string;
|
|
35
|
-
payload: Partial<EventUpdateRequestPayload>;
|
|
36
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
37
|
-
verifyDay(params: VerifyDayUpdateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
38
|
-
regenerateThumbnail(id: number, params: {
|
|
39
|
-
cameraExid: string;
|
|
40
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
41
|
-
getDailyStatus(projectExid: string, params?: Partial<ProcessedDaysQueryParams>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
42
|
-
getEventThumbnail({ cameraExid, eventType, eventTime, token, }: {
|
|
43
|
-
cameraExid: string;
|
|
44
|
-
eventType: GateReportEventType;
|
|
45
|
-
eventTime: DateTime;
|
|
46
|
-
token: string;
|
|
47
|
-
}): string;
|
|
48
|
-
getEventSnapshot({ cameraExid, eventType, eventTime, token, }: {
|
|
49
|
-
cameraExid: string;
|
|
50
|
-
eventType: GateReportEventType;
|
|
51
|
-
eventTime: DateTime;
|
|
52
|
-
token: string;
|
|
53
|
-
}): string;
|
|
54
|
-
getEvents(projectExid: ProjectExid, params: GatReportRequestPayload, extraParams?: AxiosRequestConfig): Promise<GateReportResponsePayload>;
|
|
55
|
-
getCounts(projectExid: string, payload?: EventCountRequestPayload, extraParams?: AxiosRequestConfig): Promise<EventCountResponsePayload>;
|
|
56
|
-
getGateReportApplications(projectExid: string, anprCameraExid: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
57
|
-
getGateReportProjectsInfos(params: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
58
|
-
};
|
|
59
|
-
brainTool: {
|
|
60
|
-
getObjectDetectionsResults(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
61
|
-
getSegments(payload?: {}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
};
|
|
63
|
-
roi: {
|
|
64
|
-
getROIs(projectExid: string, params?: Partial<RoisQueryParams>): Promise<GateReportROI[]>;
|
|
65
|
-
createROI(params: GateReportROICreateRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
-
updateROI({ updatedBy, roi, }: {
|
|
67
|
-
updatedBy: string;
|
|
68
|
-
roi: GateReportROICreateRequestPayload;
|
|
69
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
|
-
deleteROI({ id, updatedBy }: {
|
|
71
|
-
id: number;
|
|
72
|
-
updatedBy: string;
|
|
73
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
74
|
-
};
|
|
75
|
-
detections: {
|
|
76
|
-
getDetections({ projectExid, ...params }: DetectionsRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
77
|
-
getDetectionsCounts({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<DetectionsCountsByPeriod>;
|
|
78
|
-
getDetectionsByTimestamp({ projectExid, ...params }: DetectionsRequestParams, extraParams?: AxiosRequestConfig): Promise<PaginatedItems<DetectionsGroup>>;
|
|
79
|
-
getSimilarSegmentsInTimeIntervals({ cameraExid, iouThreshold, ...params }: SegmentsSimilaritySearchParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
80
|
-
getDetectionsTracking(projectExid: ProjectExid, params: DetectionsFilters): Promise<TrackingsByLabel>;
|
|
81
|
-
getSegmentsMasks(cameraExid: CameraExid, params: SegmentsFilters): Promise<SegmentsByLabel>;
|
|
82
|
-
getDetectionsPresenceDateIntervals({ projectExid, ...params }: DetectionsCountsParams): Promise<DetectionsPresenceByLabel>;
|
|
83
|
-
requestExport({ projectExid, ...params }: DetectionsExportRequestParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
84
|
-
};
|
|
85
|
-
siteAnalytics: {
|
|
86
|
-
smartSearch({ cameraExid, payload, fromDate, toDate, page, pageSize, }: {
|
|
87
|
-
cameraExid: CameraExid;
|
|
88
|
-
payload: Record<string, unknown>;
|
|
89
|
-
fromDate?: string;
|
|
90
|
-
toDate?: string;
|
|
91
|
-
page?: number;
|
|
92
|
-
pageSize?: number;
|
|
93
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
94
|
-
saveQuery(payload: SmartSearchQueryParams): Promise<import("axios").AxiosResponse<any, any>>;
|
|
95
|
-
getQueries(cameraExid: CameraExid, params: {
|
|
96
|
-
name?: string;
|
|
97
|
-
}): Promise<SavedQuery[]>;
|
|
98
|
-
getQueryById(cameraExid: CameraExid, queryId: number): Promise<SmartSearchQueryParams>;
|
|
99
|
-
updateQuery(cameraExid: CameraExid, queryId: number, payload: Partial<SavedQuery>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
100
|
-
deleteQuery(cameraExid: CameraExid, queryId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
101
|
-
getProcessedTimes({ projectExid, cameraExids, granularity, endDate, startDate, }: {
|
|
102
|
-
projectExid: string;
|
|
103
|
-
cameraExids: string[];
|
|
104
|
-
granularity?: "day" | "hour";
|
|
105
|
-
startDate?: DateType;
|
|
106
|
-
endDate?: DateType;
|
|
107
|
-
}): Promise<Record<string, string[]>>;
|
|
108
|
-
exportResultsData({ cameraExid, fromDate, toDate, query, fileType, directDownload, payload, }: {
|
|
109
|
-
cameraExid: CameraExid;
|
|
110
|
-
fromDate?: DateType;
|
|
111
|
-
toDate?: DateType;
|
|
112
|
-
query: string;
|
|
113
|
-
fileType: DownloadFileType;
|
|
114
|
-
directDownload?: boolean;
|
|
115
|
-
payload: {
|
|
116
|
-
req: SmartSearchQuery;
|
|
117
|
-
timeSchedule?: Schedule;
|
|
118
|
-
columns?: string[];
|
|
119
|
-
};
|
|
120
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
121
|
-
getDetectionsHeatmapData(cameraExid: CameraExid, params: {
|
|
122
|
-
fromDate: DateType | string;
|
|
123
|
-
toDate: DateType | string;
|
|
124
|
-
labels: DetectionLabel[];
|
|
125
|
-
operator?: SmartSearchOperatorType;
|
|
126
|
-
}): Promise<{
|
|
127
|
-
results: SmartSearchHeatmapData[];
|
|
128
|
-
sqlQuery: string;
|
|
129
|
-
}>;
|
|
130
|
-
};
|
|
131
|
-
coolify: {
|
|
132
|
-
getCoolifyServers(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
133
|
-
createAppOnCoolify(payload: CreateCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
134
|
-
saveAppOnCoolify(projectExid: string, cameraExid: string, payload: SaveCoolifyAppRequestPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
135
|
-
updateApp({ appUuid, appId, payload, cameraExid, projectExid, }: {
|
|
136
|
-
projectExid: string;
|
|
137
|
-
cameraExid: string;
|
|
138
|
-
appId: string;
|
|
139
|
-
appUuid: string;
|
|
140
|
-
payload: Partial<SaveCoolifyAppRequestPayload>;
|
|
141
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
142
|
-
deleteApp({ appUuid, appId, cameraExid, projectExid, }: {
|
|
143
|
-
projectExid: string;
|
|
144
|
-
cameraExid: string;
|
|
145
|
-
appId: string;
|
|
146
|
-
appUuid: string;
|
|
147
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
148
|
-
startService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
149
|
-
pauseService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
150
|
-
restartService(serviceId: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
151
|
-
};
|
|
152
|
-
fovChanges: {
|
|
153
|
-
getCameraFovChanges(cameraExid: string, extraConfig?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
154
|
-
};
|
|
155
|
-
};
|
package/dist/api/authzApi.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare const AuthzApi: {
|
|
2
|
-
roles: {
|
|
3
|
-
get(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
-
getRoleDetails(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
createRole(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
updateRole(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
|
-
deleteRole(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
|
-
addPermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
-
deletePermission(id: number, action: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
|
-
getRoleUsers(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
|
-
assignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
|
-
unassignUsers(id: number, emails: Array<string>, resource_id: string): Promise<import("axios").AxiosResponse<any, any>>;
|
|
13
|
-
getUserRoles(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
14
|
-
};
|
|
15
|
-
scopes: {
|
|
16
|
-
get(): Promise<import("axios").AxiosResponse<any, any>>;
|
|
17
|
-
create(params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
18
|
-
delete(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
19
|
-
update(id: number, params: any): Promise<import("axios").AxiosResponse<any, any>>;
|
|
20
|
-
};
|
|
21
|
-
};
|
package/dist/api/ingestApi.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
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): Promise<import("axios").AxiosResponse<any, any>>;
|
|
47
|
-
getArchive(id: number, params: {
|
|
48
|
-
dateType: string;
|
|
49
|
-
}): 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): 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
|
-
}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
62
|
-
getDrawingById(id: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
63
|
-
updateDrawing(id: number, projectExid: string, payload: GenerateFloorPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
64
|
-
deleteDrawing(id: number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
65
|
-
transferWalks(sourceId: number, targetId: number, projectExid: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
66
|
-
createDrawing(projectExid: string, payload: GenerateFloorPayload, createdBy: string, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
67
|
-
fetchDrawingOverlay(id: number, params: {
|
|
68
|
-
view: boolean;
|
|
69
|
-
}, onDownloadProgress: (_progress: any) => {}, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
70
|
-
generate360map(projectId: string, params: Generate360MapRequestPayload, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
71
|
-
get360QueueSize(params: _360QueueQueryParams, version?: IngestVersions): Promise<Record<string, any>>;
|
|
72
|
-
};
|
|
73
|
-
bim: {
|
|
74
|
-
createUpload(projectId: string, params: {
|
|
75
|
-
uploadedBy: string;
|
|
76
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
77
|
-
getBIMs(params: {
|
|
78
|
-
params: Partial<BimUploadsQueryParams>;
|
|
79
|
-
}): Promise<import("axios").AxiosResponse<any, any>>;
|
|
80
|
-
getArchive(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
81
|
-
deleteUpload(id: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
82
|
-
upload(projectId: string, params: {
|
|
83
|
-
id: string;
|
|
84
|
-
name: string;
|
|
85
|
-
}, payload: BimUploadPayload): Promise<import("axios").AxiosResponse<any, any>>;
|
|
86
|
-
};
|
|
87
|
-
mobileCapture: {
|
|
88
|
-
getProjectMobileAssets(params: Record<string, unknown>, extraConfig?: AxiosRequestConfig, version?: IngestVersions): Promise<MobileCaptureSnapshot[]>;
|
|
89
|
-
getMobileAssetPhoto(assetId: string | number, params: Record<string, unknown>, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
90
|
-
deleteAsset(assetId: string | number, version?: IngestVersions): Promise<import("axios").AxiosResponse<any, any>>;
|
|
91
|
-
};
|
|
92
|
-
utils: {
|
|
93
|
-
loadAllAssetsInQueue(): Promise<any[]>;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VideoWallPreset } from "@evercam/api/types";
|
|
2
|
-
export declare const VideoWallApi: {
|
|
3
|
-
presets: {
|
|
4
|
-
getProjectPresets(email: string, projectId: number): Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
|
-
saveProjectPreset(email: string, projectId: string, payload: Record<string, unknown>): Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
|
-
getGlobalPreset(email: string): Promise<VideoWallPreset>;
|
|
7
|
-
saveGlobalPreset(email: string, payload: VideoWallPreset): Promise<void>;
|
|
8
|
-
};
|
|
9
|
-
};
|
package/dist/types/360.d.ts
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import { DateType } from "@/types/time";
|
|
2
|
-
export type _360CameraParams = {
|
|
3
|
-
azimuthAngle: number;
|
|
4
|
-
polarAngle: number;
|
|
5
|
-
};
|
|
6
|
-
export type _360Floor = {
|
|
7
|
-
floorID: string;
|
|
8
|
-
name: string;
|
|
9
|
-
};
|
|
10
|
-
export type _360Scene = {
|
|
11
|
-
date: string;
|
|
12
|
-
dateID: string;
|
|
13
|
-
floors: _360Floor[];
|
|
14
|
-
polarAngle: number;
|
|
15
|
-
azimuthAngle: number;
|
|
16
|
-
};
|
|
17
|
-
export type _360ProjectJsonResponse = {
|
|
18
|
-
dates: _360Scene[];
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
export type MobileCaptureSnapshot = {
|
|
22
|
-
id: string;
|
|
23
|
-
uploadedBy: string;
|
|
24
|
-
updatedAt: string;
|
|
25
|
-
assetType: string;
|
|
26
|
-
thumbnailUrl: string;
|
|
27
|
-
};
|
|
28
|
-
export declare enum _360UrlParams {
|
|
29
|
-
DateId = "date_id",
|
|
30
|
-
Floor = "floor",
|
|
31
|
-
Marker = "marker",
|
|
32
|
-
PolarAngle = "polarAngle",
|
|
33
|
-
AzimuthAngle = "azimuthAngle"
|
|
34
|
-
}
|
|
35
|
-
export declare enum _360AssetType {
|
|
36
|
-
Video = "video",
|
|
37
|
-
Image = "image",
|
|
38
|
-
Model = "model",
|
|
39
|
-
Route = "route",
|
|
40
|
-
MobilePhoto = "mobile_photos",
|
|
41
|
-
MobileAudio = "mobile_audios"
|
|
42
|
-
}
|
|
43
|
-
export declare enum _360AssetLabel {
|
|
44
|
-
Walks = "walks",
|
|
45
|
-
MobilePhotos = "mobilePhotos"
|
|
46
|
-
}
|
|
47
|
-
export declare enum _360Feature {
|
|
48
|
-
BIM = "BIM",
|
|
49
|
-
Minimap = "Minimap",
|
|
50
|
-
Minimodel = "Minimodel"
|
|
51
|
-
}
|
|
52
|
-
export declare enum _360IntergrationType {
|
|
53
|
-
Evercam = "Evercam",
|
|
54
|
-
Matterport = "Matterport",
|
|
55
|
-
OpenSpace = "Openspace",
|
|
56
|
-
HoloBuilder = "Holobuilder",
|
|
57
|
-
DroneDeploy = "Dronedeploy"
|
|
58
|
-
}
|
|
59
|
-
export declare enum PathMarkerColor {
|
|
60
|
-
Start = "#00e74c",
|
|
61
|
-
End = "#fd7567",
|
|
62
|
-
Default = "#2196F3"
|
|
63
|
-
}
|
|
64
|
-
export type _360AssetsQueryParams = {
|
|
65
|
-
page: number;
|
|
66
|
-
limit: number;
|
|
67
|
-
projectID: string;
|
|
68
|
-
date: DateType;
|
|
69
|
-
floor: string;
|
|
70
|
-
id: string;
|
|
71
|
-
};
|
|
72
|
-
export type _360AssetsRequestPayload = {
|
|
73
|
-
projectId: string;
|
|
74
|
-
date: DateType;
|
|
75
|
-
floor: string;
|
|
76
|
-
uploadedBy?: string;
|
|
77
|
-
};
|
|
78
|
-
export type DrawingsRequestPayload = {
|
|
79
|
-
projectId?: string;
|
|
80
|
-
name?: string;
|
|
81
|
-
changedBy?: string;
|
|
82
|
-
mapStyle?: string;
|
|
83
|
-
startDate?: string;
|
|
84
|
-
endDate?: string;
|
|
85
|
-
id?: number;
|
|
86
|
-
page?: number;
|
|
87
|
-
limit?: number;
|
|
88
|
-
paginate?: boolean;
|
|
89
|
-
};
|
|
90
|
-
export type GenerateFloorPayload = {
|
|
91
|
-
overlay?: {
|
|
92
|
-
url: string;
|
|
93
|
-
title: string;
|
|
94
|
-
fileExtension: string;
|
|
95
|
-
};
|
|
96
|
-
changedBy: string;
|
|
97
|
-
name?: string;
|
|
98
|
-
mapStyle?: string;
|
|
99
|
-
overlayPositionCorners: {
|
|
100
|
-
northEast: {
|
|
101
|
-
lat: number;
|
|
102
|
-
lng: number;
|
|
103
|
-
};
|
|
104
|
-
northWest: {
|
|
105
|
-
lat: number;
|
|
106
|
-
lng: number;
|
|
107
|
-
};
|
|
108
|
-
southWest: {
|
|
109
|
-
lat: number;
|
|
110
|
-
lng: number;
|
|
111
|
-
};
|
|
112
|
-
southEast: {
|
|
113
|
-
lat: number;
|
|
114
|
-
lng: number;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
export type _360QueueQueryParams = {
|
|
119
|
-
projectId?: string;
|
|
120
|
-
};
|
|
121
|
-
export type _360AssetsUploadPayload = {
|
|
122
|
-
targetPointsCount: number;
|
|
123
|
-
assetType: string;
|
|
124
|
-
upload: {
|
|
125
|
-
url: string;
|
|
126
|
-
title: string;
|
|
127
|
-
fileExtension: string;
|
|
128
|
-
}[];
|
|
129
|
-
deviceSerial: string;
|
|
130
|
-
startPosition: string;
|
|
131
|
-
endPosition: string;
|
|
132
|
-
isTimelapse: boolean;
|
|
133
|
-
isImagesOnly: boolean;
|
|
134
|
-
};
|
|
135
|
-
export type Generate360MapRequestPayload = {
|
|
136
|
-
dateId: string;
|
|
137
|
-
floorId: string;
|
|
138
|
-
cameraOffset: string;
|
|
139
|
-
startPoint: string;
|
|
140
|
-
endPoint: string;
|
|
141
|
-
};
|
package/dist/types/drone.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type DroneModel = {
|
|
2
|
-
cesiumId: string;
|
|
3
|
-
cesiumId2D: string;
|
|
4
|
-
date: string;
|
|
5
|
-
cesiumPointCloudId: string;
|
|
6
|
-
pointSize: string;
|
|
7
|
-
maximumScreenSpaceError: string;
|
|
8
|
-
link: string;
|
|
9
|
-
trueIndex: number;
|
|
10
|
-
};
|
|
11
|
-
export type DroneProjectJsonResponse = {
|
|
12
|
-
models: DroneModel[];
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
};
|
|
15
|
-
export declare enum DroneUrlParams {
|
|
16
|
-
Date = "date"
|
|
17
|
-
}
|
package/dist/types/ingest.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { PaginationParams, DateType } from "@/types";
|
|
2
|
-
export declare enum IngestProcessingStatus {
|
|
3
|
-
Completed = "completed",
|
|
4
|
-
Uploading = "uploading",
|
|
5
|
-
Created = "created",
|
|
6
|
-
Failed = "failed",
|
|
7
|
-
Aborted = "aborted",
|
|
8
|
-
Paused = "paused",
|
|
9
|
-
InProgress = "inprogress",
|
|
10
|
-
Pending = "pending"
|
|
11
|
-
}
|
|
12
|
-
export declare enum MobileAssetsType {
|
|
13
|
-
Audio = "mobile_audios",
|
|
14
|
-
Photo = "mobile_photos"
|
|
15
|
-
}
|
|
16
|
-
export declare enum IngestVersions {
|
|
17
|
-
V1 = "v1",
|
|
18
|
-
V2 = "v2"
|
|
19
|
-
}
|
|
20
|
-
export type DronesQueryParams = Omit<PaginationParams, "sort"> & {
|
|
21
|
-
projectId: string;
|
|
22
|
-
consumed: string;
|
|
23
|
-
token: string;
|
|
24
|
-
processingStatus: IngestProcessingStatus;
|
|
25
|
-
};
|
|
26
|
-
export type DroneUploadUpdateRequestPayload = {
|
|
27
|
-
flightMetadata: {
|
|
28
|
-
dateTime: string;
|
|
29
|
-
gpsAltitude: string;
|
|
30
|
-
gpsCoordinates: string;
|
|
31
|
-
};
|
|
32
|
-
upload: {
|
|
33
|
-
url: string;
|
|
34
|
-
title: string;
|
|
35
|
-
fileExtension: string;
|
|
36
|
-
}[];
|
|
37
|
-
projectName: string;
|
|
38
|
-
};
|
|
39
|
-
export type CalculateMeasuringOperationRequestPayload = {
|
|
40
|
-
date: DateType;
|
|
41
|
-
points: [number, number][];
|
|
42
|
-
operation: string;
|
|
43
|
-
};
|
|
44
|
-
export type FlightImagesQueryParams = Partial<Omit<PaginationParams, "sort">> & {
|
|
45
|
-
date: DateType;
|
|
46
|
-
};
|
|
47
|
-
export type InspectionToolRequestPayload = {
|
|
48
|
-
date: DateType;
|
|
49
|
-
gpsAltitude: string;
|
|
50
|
-
gpsCoordinates: string;
|
|
51
|
-
};
|
package/dist/types/map.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export declare enum NotificationType {
|
|
2
|
-
CameraShare = "camera_share",
|
|
3
|
-
CameraStatusChange = "camera_status_changed",
|
|
4
|
-
Mention = "mention",
|
|
5
|
-
TimelapseCreated = "timelapse_created",
|
|
6
|
-
TimelapseFailed = "timelapse_failed",
|
|
7
|
-
DroneProcessing = "drone_processing_done",
|
|
8
|
-
Processing360 = "three_sixty_done"
|
|
9
|
-
}
|
|
10
|
-
export interface CameraShareContext {
|
|
11
|
-
cameraExid: string;
|
|
12
|
-
projectExid: string;
|
|
13
|
-
shareId: number;
|
|
14
|
-
}
|
|
15
|
-
export type Notification = {
|
|
16
|
-
id: number;
|
|
17
|
-
type: NotificationType;
|
|
18
|
-
insertedAt: string;
|
|
19
|
-
initiatorId: number;
|
|
20
|
-
initiatorFullname: string;
|
|
21
|
-
initiatorEmail: string;
|
|
22
|
-
targetId: number;
|
|
23
|
-
targetFullname: string;
|
|
24
|
-
targetEmail: string;
|
|
25
|
-
readTimestamp: string | null;
|
|
26
|
-
context: CameraShareContext;
|
|
27
|
-
};
|
package/dist/types/planner.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare enum EDistortImageModes {
|
|
2
|
-
FreeRotate = "freeRotate",
|
|
3
|
-
Lock = "lock"
|
|
4
|
-
}
|
|
5
|
-
export declare enum EMapTypes {
|
|
6
|
-
Blank = "Blank",
|
|
7
|
-
Satellite = "Satellite",
|
|
8
|
-
Street = "Street",
|
|
9
|
-
GoogleSatellite = "hybrid",
|
|
10
|
-
GoogleStreet = "roadmap",
|
|
11
|
-
GoogleTerrain = "terrain"
|
|
12
|
-
}
|
|
13
|
-
export declare enum EMarkers {
|
|
14
|
-
CameraMarker = "cameraMarker",
|
|
15
|
-
ThreeSixtyMarker = "threeSixtyMarkers"
|
|
16
|
-
}
|
|
17
|
-
export declare enum EPageType {
|
|
18
|
-
List = "list",
|
|
19
|
-
Item = "item"
|
|
20
|
-
}
|
|
21
|
-
export declare enum EPaths {
|
|
22
|
-
Home = "/",
|
|
23
|
-
Session = "/session"
|
|
24
|
-
}
|
|
25
|
-
export declare enum EProjectItems {
|
|
26
|
-
Camera = "camera",
|
|
27
|
-
Overlay = "overlay"
|
|
28
|
-
}
|
|
29
|
-
export declare enum ERoles {
|
|
30
|
-
Admin = "admin",
|
|
31
|
-
User = "user"
|
|
32
|
-
}
|
package/dist/types/posthog.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type ActiveUsersRequestPayload = {
|
|
2
|
-
from?: string;
|
|
3
|
-
to?: string;
|
|
4
|
-
companyExid?: string;
|
|
5
|
-
projectExid?: string;
|
|
6
|
-
cameraExid?: string;
|
|
7
|
-
};
|
|
8
|
-
export type ActiveUsersResponsePayload = Array<{
|
|
9
|
-
date?: string;
|
|
10
|
-
dau?: number;
|
|
11
|
-
wau?: number;
|
|
12
|
-
mau?: number;
|
|
13
|
-
}>;
|
|
14
|
-
export declare enum ActiveUsersMetric {
|
|
15
|
-
DAU = "dau",
|
|
16
|
-
WAU = "wau",
|
|
17
|
-
MAU = "mau"
|
|
18
|
-
}
|