@evercam/api 1.0.0-3ff33d7a8 → 1.0.0-41bb6af5a
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 +56 -16
- package/dist/api/api/adminApi.d.ts +5 -4
- package/dist/api/api/aiApi.d.ts +29 -2
- package/dist/api/api/authzApi.d.ts +4 -1
- package/dist/api/api/evercamApi.d.ts +19 -6
- package/dist/api/api/evercamLabsApi.d.ts +5 -5
- package/dist/api/api/ingestApi.d.ts +9 -2
- package/dist/api/types/360.d.ts +132 -3
- package/dist/api/types/analytics.d.ts +11 -1
- package/dist/api/types/authz.d.ts +46 -0
- package/dist/api/types/axios.d.ts +2 -0
- package/dist/api/types/bim.d.ts +9 -1
- package/dist/api/types/camera.d.ts +1 -0
- package/dist/api/types/comments.d.ts +2 -1
- package/dist/api/types/connector.d.ts +2 -0
- package/dist/api/types/detections.d.ts +1 -0
- package/dist/api/types/hammertech.d.ts +98 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/ingest.d.ts +12 -1
- package/dist/api/types/kit.d.ts +38 -2
- package/dist/api/types/media.d.ts +8 -2
- package/dist/api/types/notification.d.ts +12 -2
- package/dist/api/types/observations.d.ts +85 -0
- package/dist/api/types/posthog.d.ts +20 -0
- package/dist/api/types/project.d.ts +7 -0
- package/dist/api/types/recording.d.ts +2 -1
- package/dist/api/types/roi.d.ts +2 -1
- package/dist/api/types/routeParams.d.ts +1 -0
- package/dist/api/types/siteAnalyticsManagement.d.ts +92 -0
- package/dist/api/types/socket.d.ts +4 -0
- package/dist/api/types/user.d.ts +0 -3
- package/dist/index.js +864 -527
- 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 +74 -2
- package/dist/shared/types/index.d.ts +1 -0
- package/dist/shared/types/observations.d.ts +21 -0
- package/package.json +3 -1
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { CameraExid, DateType, ProjectExid } from "@evercam/api/types";
|
|
2
|
+
export type SiteAnalyticsCoolifyStatus = {
|
|
3
|
+
appUuid: string | null;
|
|
4
|
+
name: string | null;
|
|
5
|
+
serverUuid: string | null;
|
|
6
|
+
serverName: string | null;
|
|
7
|
+
appUrl: string | null;
|
|
8
|
+
status: string | null;
|
|
9
|
+
isRunning: boolean;
|
|
10
|
+
updatedAt: string | null;
|
|
11
|
+
};
|
|
12
|
+
export type SiteAnalyticsProjectMeta = {
|
|
13
|
+
exid: ProjectExid;
|
|
14
|
+
name: string | null;
|
|
15
|
+
timezone: string | null;
|
|
16
|
+
featureFlags: string[] | null;
|
|
17
|
+
};
|
|
18
|
+
export type SiteAnalyticsCameraMeta = {
|
|
19
|
+
exid: CameraExid;
|
|
20
|
+
name: string | null;
|
|
21
|
+
status: string | null;
|
|
22
|
+
featureFlags: string[] | null;
|
|
23
|
+
};
|
|
24
|
+
export type SiteAnalyticsManagedApp = {
|
|
25
|
+
id: number;
|
|
26
|
+
projectExid: ProjectExid;
|
|
27
|
+
cameraExid: CameraExid;
|
|
28
|
+
coolifyAppId: string | null;
|
|
29
|
+
appVersion: string;
|
|
30
|
+
modelId: number | null;
|
|
31
|
+
startDate: DateType | null;
|
|
32
|
+
endDate: DateType | null;
|
|
33
|
+
startHour: number;
|
|
34
|
+
endHour: number;
|
|
35
|
+
source: string;
|
|
36
|
+
override: boolean;
|
|
37
|
+
timeIncreaseFrequency: number;
|
|
38
|
+
insertedAt: DateType | null;
|
|
39
|
+
updatedAt: DateType | null;
|
|
40
|
+
coolify: SiteAnalyticsCoolifyStatus | null;
|
|
41
|
+
project: SiteAnalyticsProjectMeta | null;
|
|
42
|
+
camera: SiteAnalyticsCameraMeta | null;
|
|
43
|
+
lastTrackingAt: DateType | null;
|
|
44
|
+
};
|
|
45
|
+
export type CreateSiteAnalyticsAppPayload = {
|
|
46
|
+
projectExid: ProjectExid;
|
|
47
|
+
cameraExid: CameraExid;
|
|
48
|
+
coolifyServerUuid: string;
|
|
49
|
+
appVersion?: string;
|
|
50
|
+
modelId?: number | null;
|
|
51
|
+
startDate?: DateType | null;
|
|
52
|
+
endDate?: DateType | null;
|
|
53
|
+
startHour?: number;
|
|
54
|
+
endHour?: number;
|
|
55
|
+
source?: string;
|
|
56
|
+
override?: boolean;
|
|
57
|
+
timeIncreaseFrequency?: number;
|
|
58
|
+
};
|
|
59
|
+
export type UpdateSiteAnalyticsAppPayload = Partial<Omit<CreateSiteAnalyticsAppPayload, "projectExid" | "cameraExid" | "coolifyServerUuid">>;
|
|
60
|
+
export type ModelOption = {
|
|
61
|
+
modelId: number;
|
|
62
|
+
version: string;
|
|
63
|
+
};
|
|
64
|
+
export type SiteAnalyticsAppConfigFormValue = {
|
|
65
|
+
appVersion: string;
|
|
66
|
+
modelId: number | null;
|
|
67
|
+
startDate: string | null;
|
|
68
|
+
endDate: string | null;
|
|
69
|
+
startHour: number;
|
|
70
|
+
endHour: number;
|
|
71
|
+
source: string;
|
|
72
|
+
override: boolean;
|
|
73
|
+
timeIncreaseFrequency: number;
|
|
74
|
+
};
|
|
75
|
+
export type SiteAnalyticsManagementListParams = {
|
|
76
|
+
projectExid?: ProjectExid;
|
|
77
|
+
includeStatus?: boolean;
|
|
78
|
+
page?: number;
|
|
79
|
+
limit?: number;
|
|
80
|
+
};
|
|
81
|
+
export type CreateSiteAnalyticsAppResponse = {
|
|
82
|
+
created: boolean;
|
|
83
|
+
id: number | null;
|
|
84
|
+
data: SiteAnalyticsManagedApp | null;
|
|
85
|
+
count: number | null;
|
|
86
|
+
message: string;
|
|
87
|
+
};
|
|
88
|
+
export type DeleteSiteAnalyticsAppResponse = {
|
|
89
|
+
deleted: boolean;
|
|
90
|
+
count: number;
|
|
91
|
+
message: string;
|
|
92
|
+
};
|
package/dist/api/types/user.d.ts
CHANGED
|
@@ -193,9 +193,6 @@ export type UserUpdateRequestPayload = {
|
|
|
193
193
|
country: string;
|
|
194
194
|
persona: string;
|
|
195
195
|
};
|
|
196
|
-
export type UserDeleteRequestPayload = {
|
|
197
|
-
verifEmail: string;
|
|
198
|
-
};
|
|
199
196
|
export type GoogleAuthRequestPayload = {
|
|
200
197
|
code: string;
|
|
201
198
|
redirectUri: string;
|