@evercam/api 1.0.0-eabc633d1 → 1.0.0-eb137e485

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 (157) hide show
  1. package/README.md +4 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +224 -0
  3. package/dist/api/api/adminApi.d.ts +379 -0
  4. package/dist/api/api/aiApi.d.ts +251 -0
  5. package/dist/api/api/authzApi.d.ts +40 -0
  6. package/dist/api/{client → api/client}/axios.d.ts +2 -1
  7. package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
  8. package/dist/api/{client → api/client}/interceptors.d.ts +1 -1
  9. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  10. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  11. package/dist/api/api/evercamApi.d.ts +353 -0
  12. package/dist/api/api/evercamLabsApi.d.ts +37 -0
  13. package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +2 -2
  14. package/dist/api/api/index.d.ts +14 -0
  15. package/dist/api/api/ingestApi.d.ts +170 -0
  16. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +12 -3
  17. package/dist/api/api/reportsApi.d.ts +15 -0
  18. package/dist/api/api/videoWallApi.d.ts +9 -0
  19. package/dist/api/api/weatherApi.d.ts +9 -0
  20. package/dist/api/index.d.ts +3 -13
  21. package/dist/api/types/360.d.ts +368 -0
  22. package/dist/api/types/aconex.d.ts +143 -0
  23. package/dist/api/types/admin.d.ts +85 -0
  24. package/dist/api/types/aiConfigs.d.ts +244 -0
  25. package/dist/{types → api/types}/analytics.d.ts +288 -120
  26. package/dist/{types → api/types}/anpr.d.ts +65 -19
  27. package/dist/api/types/apiKey.d.ts +70 -0
  28. package/dist/api/types/auditLogs.d.ts +257 -0
  29. package/dist/api/types/authz.d.ts +132 -0
  30. package/dist/{types → api/types}/autodesk.d.ts +7 -7
  31. package/dist/api/types/automation.d.ts +123 -0
  32. package/dist/{types → api/types}/axios.d.ts +32 -11
  33. package/dist/{types → api/types}/bim.d.ts +65 -16
  34. package/dist/api/types/camera.d.ts +660 -0
  35. package/dist/api/types/comments.d.ts +96 -0
  36. package/dist/api/types/company.d.ts +121 -0
  37. package/dist/{types → api/types}/compare.d.ts +21 -6
  38. package/dist/api/types/connector.d.ts +21 -0
  39. package/dist/api/types/coolify.d.ts +36 -0
  40. package/dist/{types → api/types}/countries.d.ts +0 -7
  41. package/dist/{types → api/types}/credentials.d.ts +1 -0
  42. package/dist/api/types/detections.d.ts +120 -0
  43. package/dist/api/types/drone.d.ts +106 -0
  44. package/dist/api/types/emailMessages.d.ts +27 -0
  45. package/dist/{types → api/types}/errors.d.ts +31 -1
  46. package/dist/{types → api/types}/gateReport.d.ts +51 -169
  47. package/dist/api/types/gateReportManagement.d.ts +170 -0
  48. package/dist/api/types/hammertech.d.ts +98 -0
  49. package/dist/{types → api/types}/hdd.d.ts +27 -2
  50. package/dist/{types → api/types}/index.d.ts +25 -5
  51. package/dist/api/types/ingest.d.ts +314 -0
  52. package/dist/{types → api/types}/kit.d.ts +172 -108
  53. package/dist/api/types/map.d.ts +16 -0
  54. package/dist/{types → api/types}/media.d.ts +33 -4
  55. package/dist/api/types/notification.d.ts +107 -0
  56. package/dist/api/types/nvr.d.ts +67 -0
  57. package/dist/api/types/oauth.d.ts +62 -0
  58. package/dist/api/types/observationEvents.d.ts +167 -0
  59. package/dist/api/types/observations.d.ts +89 -0
  60. package/dist/api/types/planner.d.ts +125 -0
  61. package/dist/api/types/posthog.d.ts +89 -0
  62. package/dist/api/types/procore.d.ts +229 -0
  63. package/dist/{types → api/types}/progressPhoto.d.ts +41 -40
  64. package/dist/api/types/project.d.ts +293 -0
  65. package/dist/{types → api/types}/recording.d.ts +10 -16
  66. package/dist/api/types/recycleBin.d.ts +20 -0
  67. package/dist/api/types/reports.d.ts +109 -0
  68. package/dist/api/types/ring.d.ts +53 -0
  69. package/dist/{types → api/types}/roi.d.ts +2 -9
  70. package/dist/{types → api/types}/routeParams.d.ts +5 -2
  71. package/dist/{types → api/types}/router.d.ts +34 -10
  72. package/dist/{types → api/types}/shared.d.ts +47 -44
  73. package/dist/api/types/shares.d.ts +45 -0
  74. package/dist/{types → api/types}/sim.d.ts +23 -11
  75. package/dist/api/types/siteAnalytics.d.ts +285 -0
  76. package/dist/api/types/siteAnalyticsManagement.d.ts +127 -0
  77. package/dist/api/types/siteView.d.ts +80 -0
  78. package/dist/api/types/smartSeach.d.ts +5 -0
  79. package/dist/api/types/snapshots.d.ts +144 -0
  80. package/dist/api/types/socket.d.ts +4 -0
  81. package/dist/api/types/sso.d.ts +29 -0
  82. package/dist/api/types/storageProvider.d.ts +30 -0
  83. package/dist/api/types/storyblok.d.ts +27 -0
  84. package/dist/api/types/streaming.d.ts +97 -0
  85. package/dist/api/types/systemCheck.d.ts +11 -0
  86. package/dist/api/types/tag.d.ts +12 -0
  87. package/dist/api/types/time.d.ts +7 -0
  88. package/dist/{types → api/types}/timelapse.d.ts +7 -11
  89. package/dist/{types → api/types}/user.d.ts +143 -59
  90. package/dist/api/types/videoWall.d.ts +66 -0
  91. package/dist/api/types/weather.d.ts +153 -0
  92. package/dist/{types → api/types}/widget.d.ts +108 -19
  93. package/dist/api/types/xweather.d.ts +12 -0
  94. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  95. package/dist/index.d.ts +2 -3
  96. package/dist/index.js +3234 -1184
  97. package/dist/index.js.map +1 -1
  98. package/dist/index.umd.cjs +1 -1
  99. package/dist/index.umd.cjs.map +1 -1
  100. package/dist/shared/api/index.d.ts +3 -0
  101. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  102. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  103. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  104. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  105. package/dist/shared/types/components.d.ts +763 -0
  106. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  107. package/dist/shared/types/droneUpload.d.ts +93 -0
  108. package/dist/shared/types/imagePlayer.d.ts +41 -0
  109. package/dist/shared/types/index.d.ts +9 -0
  110. package/dist/shared/types/observations.d.ts +25 -0
  111. package/dist/shared/types/rbac.d.ts +67 -0
  112. package/dist/shared/types/report.d.ts +107 -0
  113. package/dist/shared/types/timeline.d.ts +10 -0
  114. package/dist/shared/utils/datePickerValue.d.ts +36 -0
  115. package/dist/shared/utils/datePresets.d.ts +31 -0
  116. package/package.json +8 -5
  117. package/dist/api/3dFirebaseApi.d.ts +0 -9
  118. package/dist/api/adminApi.d.ts +0 -304
  119. package/dist/api/aiApi.d.ts +0 -110
  120. package/dist/api/authzApi.d.ts +0 -21
  121. package/dist/api/evercamApi.d.ts +0 -266
  122. package/dist/api/evercamLabsApi.d.ts +0 -46
  123. package/dist/api/ingestApi.d.ts +0 -65
  124. package/dist/api/videoWallApi.d.ts +0 -9
  125. package/dist/api/weatherApi.d.ts +0 -25
  126. package/dist/types/360.d.ts +0 -83
  127. package/dist/types/aconex.d.ts +0 -45
  128. package/dist/types/auditLogs.d.ts +0 -99
  129. package/dist/types/automation.d.ts +0 -6
  130. package/dist/types/camera.d.ts +0 -565
  131. package/dist/types/comments.d.ts +0 -36
  132. package/dist/types/company.d.ts +0 -46
  133. package/dist/types/connector.d.ts +0 -16
  134. package/dist/types/coolify.d.ts +0 -18
  135. package/dist/types/copilot.d.ts +0 -157
  136. package/dist/types/detections.d.ts +0 -76
  137. package/dist/types/devices.d.ts +0 -228
  138. package/dist/types/drone.d.ts +0 -17
  139. package/dist/types/ingest.d.ts +0 -43
  140. package/dist/types/map.d.ts +0 -4
  141. package/dist/types/notification.d.ts +0 -27
  142. package/dist/types/nvr.d.ts +0 -36
  143. package/dist/types/procore.d.ts +0 -76
  144. package/dist/types/project.d.ts +0 -120
  145. package/dist/types/shares.d.ts +0 -192
  146. package/dist/types/siteAnalytics.d.ts +0 -84
  147. package/dist/types/sitePlanner.d.ts +0 -28
  148. package/dist/types/snapshots.d.ts +0 -50
  149. package/dist/types/storageServers.d.ts +0 -4
  150. package/dist/types/streaming.d.ts +0 -119
  151. package/dist/types/time.d.ts +0 -19
  152. package/dist/types/vendorModel.d.ts +0 -15
  153. package/dist/types/videoWall.d.ts +0 -33
  154. package/dist/types/weather.d.ts +0 -83
  155. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  156. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  157. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -0,0 +1,80 @@
1
+ import { ForgeView } from "@evercam/api/types/360";
2
+ import { Point2D, Point3D } from "@evercam/api/types/shared";
3
+ import { DroneProvider } from "@evercam/api/types/drone";
4
+ export declare enum SiteViewSoftwareType {
5
+ Revit = "Revit",
6
+ Navisworks = "Navisworks",
7
+ Drone = "Drone",
8
+ Synchro = "Synchro"
9
+ }
10
+ export declare enum SiteViewerType {
11
+ ITwin = "iTwin",
12
+ Cesium = "Cesium",
13
+ Forge = "Forge"
14
+ }
15
+ export type SiteViewCameraListItem = {
16
+ projectId: string;
17
+ projectName: string;
18
+ software: SiteViewSoftwareType;
19
+ type: SiteViewerType;
20
+ uniqueId: string;
21
+ integrationType?: DroneProvider;
22
+ };
23
+ export type ForgeUrn = {
24
+ id?: string;
25
+ displayName: string;
26
+ urn: string;
27
+ isModelHostedByEvercamACC?: boolean;
28
+ is4D?: boolean;
29
+ savedViews?: Record<string, ForgeView>;
30
+ };
31
+ export type ForgeAccAlignmentData = {
32
+ bbox: {
33
+ min: Point2D;
34
+ max: Point2D;
35
+ };
36
+ transform: number[];
37
+ coordinateSystem?: {
38
+ context?: {
39
+ type?: string;
40
+ };
41
+ } | null;
42
+ };
43
+ export type TimelineItem = {
44
+ taskNumber: number;
45
+ taskID: string;
46
+ actualStartDate: string;
47
+ actualEndDate: string;
48
+ plannedStartDate: string;
49
+ plannedEndDate: string;
50
+ objectIDs: number[];
51
+ };
52
+ export type ForgeMarkerTransform = {
53
+ position?: Point3D;
54
+ hidden?: boolean;
55
+ };
56
+ export type ForgeMarker = {
57
+ name: string;
58
+ cameraExid: string;
59
+ type: string;
60
+ transforms: Record<string, ForgeMarkerTransform>;
61
+ };
62
+ export type ForgeProjectData = {
63
+ urns?: ForgeUrn[];
64
+ accDrawingsAlignments?: Record<string, ForgeAccAlignmentData>;
65
+ timeline?: TimelineItem[];
66
+ cameraMarkers?: Record<string, ForgeMarker>;
67
+ };
68
+ export type ItwinModel = {
69
+ name: string;
70
+ iTwinId: string;
71
+ iModelId: string;
72
+ changeSetId?: string;
73
+ isIModel: boolean;
74
+ height?: number;
75
+ cesiumId?: number;
76
+ markerDistanceThreshold: number;
77
+ };
78
+ export type ItwinProjectData = {
79
+ models: ItwinModel[];
80
+ };
@@ -0,0 +1,5 @@
1
+ import { CameraExid } from "@evercam/api/types";
2
+ export type SmartSearchQueriesRequestPayload = {
3
+ camerasExid: CameraExid[];
4
+ name?: string;
5
+ };
@@ -0,0 +1,144 @@
1
+ import { CameraExid, DateType, PaginationParams, Schedule } from "@evercam/api/types";
2
+ export type SnapshotExtractionQueryParams = PaginationParams & {
3
+ camera: string;
4
+ cameraExid: CameraExid;
5
+ status: SnapshotExtractionStatus;
6
+ requestor: string;
7
+ type: SnapshotExtractionType;
8
+ from: string;
9
+ to: string;
10
+ };
11
+ export declare enum SnapshotExtractionStatus {
12
+ Cancelling = "canceling",
13
+ Cancelled = "cancelled",
14
+ Completed = "completed",
15
+ Failed = "failed",
16
+ Pending = "pending",
17
+ Processing = "processing"
18
+ }
19
+ export declare enum SnapshotExtractionType {
20
+ Cloud = "cloud",
21
+ Local = "local",
22
+ Timelapse = "timelapse"
23
+ }
24
+ export type SnapshotExtraction = {
25
+ id: number;
26
+ cameraId: number;
27
+ cameraExid: CameraExid;
28
+ cameraName: string;
29
+ fromDate: DateType;
30
+ toDate: DateType;
31
+ type: SnapshotExtractionType;
32
+ notes: string | null;
33
+ status: SnapshotExtractionStatus;
34
+ interval: number;
35
+ requestor: string | null;
36
+ jpegsToDropbox: boolean | null;
37
+ injectToCr: boolean | null;
38
+ schedule: Schedule;
39
+ createdAt: DateType;
40
+ jpegCount: number;
41
+ expectedCount: number;
42
+ uploadCounts: Record<string, number>;
43
+ obanJobId: number | null;
44
+ };
45
+ export type CreatedSnapshotExtraction = {
46
+ id: number;
47
+ cameraExid: CameraExid;
48
+ cameraName: string;
49
+ cameraTimezone: string;
50
+ fromDate: DateType;
51
+ toDate: DateType;
52
+ type: SnapshotExtractionType;
53
+ status: SnapshotExtractionStatus;
54
+ interval: number;
55
+ requestor: string | null;
56
+ schedule: Schedule;
57
+ createdAt: DateType;
58
+ updatedAt: DateType;
59
+ jpegCount: number;
60
+ expectedCount: number;
61
+ uploadCounts: Record<string, number>;
62
+ };
63
+ export type SnapshotExtractionCreatePayload = {
64
+ camera: string;
65
+ fromDate: DateType;
66
+ toDate: DateType;
67
+ schedule: Schedule | string;
68
+ interval: number;
69
+ jpegsToDropbox: boolean;
70
+ injectToCr: boolean;
71
+ requestor: string;
72
+ type: SnapshotExtractionType;
73
+ ignoreCasingFromParams?: string[];
74
+ };
75
+ export type SnapshotTestPayload = {
76
+ cameraExid?: CameraExid;
77
+ camUsername: string;
78
+ camPassword: string;
79
+ externalUrl: string;
80
+ jpgUrl: string;
81
+ model?: string | null;
82
+ };
83
+ export type SnapshotTestResponse = {
84
+ status: string;
85
+ data: string;
86
+ };
87
+ export type SnapshotEmailDeliveryRequestPayload = {
88
+ snapshot: string;
89
+ recipients?: string[];
90
+ message?: string;
91
+ };
92
+ export type SnapshotEmailDeliveryResponsePayload = {
93
+ warning?: string;
94
+ };
95
+ export type DeleteSnapshotQueryParams = {
96
+ fromDate: DateType;
97
+ toDate: DateType;
98
+ };
99
+ export type SnapshotTransfer = {
100
+ id: number;
101
+ sourceCamera: SnapshotTransferCamera;
102
+ targetCamera: SnapshotTransferCamera;
103
+ fromDate: DateType;
104
+ toDate: DateType;
105
+ overwriteExisting?: boolean | null;
106
+ deleteSource?: boolean | null;
107
+ requestor: SnapshotTransferRequestor;
108
+ status: SnapshotTransferStatus;
109
+ insertedAt: DateType;
110
+ attempts?: number | null;
111
+ errorMessage?: string | null;
112
+ snapshotsTransferred?: number | null;
113
+ };
114
+ export type SnapshotTransferCamera = {
115
+ id: number;
116
+ exid: CameraExid;
117
+ name: string;
118
+ };
119
+ export type SnapshotTransferRequestor = {
120
+ id: number;
121
+ email: string;
122
+ firstname: string;
123
+ lastname: string;
124
+ };
125
+ export declare enum SnapshotTransferStatus {
126
+ Completed = "completed",
127
+ Failed = "failed",
128
+ Processing = "processing",
129
+ Pending = "pending",
130
+ Cancelled = "cancelled"
131
+ }
132
+ export type TransferCloudRecordingsQueryParams = PaginationParams & {
133
+ targetCameraExid: CameraExid;
134
+ fromDate: DateType;
135
+ toDate: DateType;
136
+ overwriteExisting?: boolean;
137
+ deleteSource?: boolean;
138
+ };
139
+ export type SnapshotTransfersQueryParams = PaginationParams & {
140
+ sourceCamera?: string;
141
+ targetCamera?: string;
142
+ requestor?: string;
143
+ status?: string;
144
+ };
@@ -0,0 +1,4 @@
1
+ export type SocketAuthResponsePayload = {
2
+ wsToken: string;
3
+ expiresIn: number;
4
+ };
@@ -0,0 +1,29 @@
1
+ export type SsoUserInfoMappings = {
2
+ id: string;
3
+ email: string;
4
+ firstname: string;
5
+ lastname: string;
6
+ };
7
+ export type SsoProvider = {
8
+ id: number;
9
+ name: string;
10
+ exid: string;
11
+ clientId: string;
12
+ clientSecret: string;
13
+ scope: string;
14
+ responseType: string;
15
+ loginUrl: string;
16
+ iconUrl: string;
17
+ options: {
18
+ showOnLogin: boolean;
19
+ showOnSignup: boolean;
20
+ };
21
+ tokenUri: string;
22
+ tokenIntrospectionUri: string;
23
+ userInfoUri: string;
24
+ prompt: string;
25
+ userInfoMappings: SsoUserInfoMappings;
26
+ createdAt: string;
27
+ };
28
+ export type SsoUpdatePayload = Omit<SsoProvider, "id" | "createdAt">;
29
+ export type SsoCreatePayload = Omit<SsoProvider, "id" | "createdAt">;
@@ -0,0 +1,30 @@
1
+ import type { DateType } from "@evercam/api/types";
2
+ import type { CameraExid } from "@evercam/api/types/camera";
3
+ export type StorageProviderS3Config = {
4
+ bucket?: string;
5
+ accessKeyId?: string;
6
+ secretAccessKey?: string;
7
+ region?: string;
8
+ vendor?: string;
9
+ };
10
+ export type StorageProviderSeaweedfsConfig = {
11
+ jwtSigningKey?: string;
12
+ jwtReadSigningKey?: string;
13
+ };
14
+ export type StorageProviderConfig = StorageProviderS3Config & StorageProviderSeaweedfsConfig;
15
+ export type StorageProvider = {
16
+ id?: number;
17
+ cameraId: number | CameraExid;
18
+ type: string;
19
+ provider: string;
20
+ url: string;
21
+ startDate: DateType;
22
+ endDate: DateType;
23
+ config: StorageProviderConfig;
24
+ insertedAt?: DateType;
25
+ updatedAt?: DateType;
26
+ };
27
+ export declare enum ProjectStorageProvider {
28
+ Seaweedfs = "seaweedfs",
29
+ S3 = "s3"
30
+ }
@@ -0,0 +1,27 @@
1
+ import type { JsonObject, JsonValue } from "@evercam/api/types";
2
+ export type StoryblokStory<TContent extends JsonObject = JsonObject> = {
3
+ id: number;
4
+ uuid: string;
5
+ name: string;
6
+ slug: string;
7
+ fullSlug: string;
8
+ content: TContent;
9
+ createdAt: string;
10
+ publishedAt: string | null;
11
+ updatedAt: string;
12
+ position: number;
13
+ tagList: string[];
14
+ isStartpage: boolean;
15
+ parentId: number | null;
16
+ groupId: string;
17
+ firstPublishedAt: string | null;
18
+ releaseId: number | null;
19
+ lang: string;
20
+ path: string;
21
+ };
22
+ export type StoryblokResponse<TContent extends JsonObject = JsonObject> = {
23
+ story: StoryblokStory<TContent>;
24
+ cv: number;
25
+ rels: JsonValue[];
26
+ links: JsonValue[];
27
+ };
@@ -0,0 +1,97 @@
1
+ import { KitMetricData } from "@evercam/api/types";
2
+ export type ExNvrLoginResponse = {
3
+ accessToken: string;
4
+ };
5
+ export type ExNvrRecordingInterval = {
6
+ active: boolean;
7
+ startDate: string;
8
+ endDate: string;
9
+ };
10
+ export type ExNvrDeviceConfig = {
11
+ id: string;
12
+ name: string;
13
+ type: string;
14
+ state: ExNvrDeviceState;
15
+ credentials: {
16
+ password: string;
17
+ username: string;
18
+ };
19
+ mac: string;
20
+ url: string;
21
+ insertedAt: string;
22
+ updatedAt: string;
23
+ settings: {
24
+ storageAddress: string;
25
+ overrideOnFullDisk: boolean;
26
+ overrideOnFullDiskThreshold: number;
27
+ generateBif: boolean;
28
+ };
29
+ vendor: string;
30
+ model: string;
31
+ streamConfig: {
32
+ filename: string | null;
33
+ duration: string | null;
34
+ temporaryPath: string | null;
35
+ snapshotUri: string;
36
+ streamUri: string;
37
+ subStreamUri: string;
38
+ };
39
+ timezone: string;
40
+ };
41
+ export declare enum ExNvrFootageAvailableStatus {
42
+ Available = "Available",
43
+ NotAvailable = "Not Available"
44
+ }
45
+ export declare enum ExNvrDeviceState {
46
+ Recording = "recording",
47
+ Failed = "failed",
48
+ Stopped = "stopped"
49
+ }
50
+ export type ExNvrCpuStatus = {
51
+ load: number[];
52
+ numCores: number;
53
+ };
54
+ export type ExNvrMemoryStatus = {
55
+ systemTotalMemory: number;
56
+ freeMemory: number;
57
+ totalMemory: number;
58
+ bufferedMemory: number;
59
+ cachedMemory: number;
60
+ totalSwap: number;
61
+ freeSwap: number;
62
+ availableMemory: number;
63
+ };
64
+ export type ExNvrSolarChargerStatus = {
65
+ v: number;
66
+ vpv: number;
67
+ ppv: number;
68
+ i: number;
69
+ il: number;
70
+ load: string;
71
+ relayState: string;
72
+ offReason: number;
73
+ h19: number;
74
+ h20: number;
75
+ h21: number;
76
+ h22: number;
77
+ h23: number;
78
+ err: number;
79
+ cs: string;
80
+ fw: string;
81
+ pid: string;
82
+ serialNumber: string;
83
+ };
84
+ export type ExNvrSystemStatus = {
85
+ version: string;
86
+ cpu: ExNvrCpuStatus;
87
+ memory: ExNvrMemoryStatus;
88
+ solarCharger: ExNvrSolarChargerStatus;
89
+ };
90
+ export declare enum ExNvrMetricId {
91
+ CpuLoad = "cpu_load",
92
+ RamUsage = "ram_usage"
93
+ }
94
+ export type ExNvrMetric = KitMetricData & {
95
+ metricId: ExNvrMetricId;
96
+ value: number;
97
+ };
@@ -0,0 +1,11 @@
1
+ export declare enum PerformanceStatus {
2
+ Pending = "pending",
3
+ Done = "done"
4
+ }
5
+ export declare enum WebGLExtensions {
6
+ OESTextureFloat = "OES_texture_float",
7
+ EXTFloatBlend = "EXT_float_blend",
8
+ EXTTextureFilterAnisotropic = "EXT_texture_filter_anisotropic",
9
+ OESElementIndexUint = "OES_element_index_uint",
10
+ WEBGLDebugRendererInfo = "WEBGL_debug_renderer_info"
11
+ }
@@ -0,0 +1,12 @@
1
+ import { Kit } from "@evercam/api/types/kit";
2
+ export type Tag<T = string> = {
3
+ id?: number;
4
+ name: T;
5
+ description?: string;
6
+ createdAt?: string;
7
+ updatedAt?: string;
8
+ };
9
+ export type KitTag = {
10
+ kit: Kit;
11
+ tag: Tag;
12
+ };
@@ -0,0 +1,7 @@
1
+ import { Moment } from "moment-timezone";
2
+ export type DateType = Date | string | number;
3
+ export type ExtendedDateType = Moment | DateType;
4
+ export type DateRangeFilter = {
5
+ fromDate: DateType;
6
+ toDate: DateType;
7
+ };
@@ -1,4 +1,4 @@
1
- import { DateType, Schedule } from "@/types";
1
+ import { Point2D, Schedule } from "@evercam/api/types";
2
2
  export declare enum TimelapseStatus {
3
3
  Pending = 11,
4
4
  Completed = 5,
@@ -7,7 +7,8 @@ export declare enum TimelapseStatus {
7
7
  export declare enum TimelapseDuration {
8
8
  ThirtySeconds = 30,
9
9
  SixtySeconds = 60,
10
- NintySeconds = 90
10
+ NintySeconds = 90,
11
+ TwoMinutes = 120
11
12
  }
12
13
  export type TimelapseVideoOptions = {
13
14
  width?: number;
@@ -15,7 +16,9 @@ export type TimelapseVideoOptions = {
15
16
  removeTimestamp: boolean;
16
17
  smoothTransition: boolean;
17
18
  evercamWatermark: boolean;
19
+ sectionBlur?: boolean;
18
20
  timestampPosition?: TimestampPositionCoordinates;
21
+ blurRegions?: BlurRegionCoordinates[];
19
22
  };
20
23
  export type TimestampPositionCoordinates = {
21
24
  x: number;
@@ -23,14 +26,14 @@ export type TimestampPositionCoordinates = {
23
26
  w: number;
24
27
  h: number;
25
28
  };
29
+ export type BlurRegionCoordinates = Point2D[];
26
30
  export type TimelapseLogoOptions = {
27
- id: number;
31
+ id?: number;
28
32
  x: number;
29
33
  y: number;
30
34
  width: number;
31
35
  height: number;
32
36
  };
33
- export type TimelapseSchedules = string | Schedule;
34
37
  export declare enum TimelapseScheduleType {
35
38
  Continuous = "continuous",
36
39
  WorkingHours = "workingHours",
@@ -51,13 +54,6 @@ export declare enum TimelapseType {
51
54
  Year = "year",
52
55
  FullProject = "full_project"
53
56
  }
54
- export type TimelapseFilterQueryParams = {
55
- from?: DateType;
56
- to?: DateType;
57
- period?: TimelapsePeriod;
58
- duration?: number;
59
- schedule?: TimelapseSchedules;
60
- };
61
57
  export type TimelapseCreationRequestPayload = {
62
58
  title: string;
63
59
  duration: number;