@evercam/api 1.0.0-003a1ed80

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 (95) hide show
  1. package/README.md +3 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +20 -0
  3. package/dist/api/api/adminApi.d.ts +355 -0
  4. package/dist/api/api/aiApi.d.ts +146 -0
  5. package/dist/api/api/authzApi.d.ts +21 -0
  6. package/dist/api/api/client/axios.d.ts +13 -0
  7. package/dist/api/api/client/customErrors.d.ts +90 -0
  8. package/dist/api/api/client/index.d.ts +5 -0
  9. package/dist/api/api/client/interceptors.d.ts +10 -0
  10. package/dist/api/api/client/swr/Swr.d.ts +14 -0
  11. package/dist/api/api/client/swr/SwrStore.d.ts +10 -0
  12. package/dist/api/api/evercamApi.d.ts +315 -0
  13. package/dist/api/api/evercamLabsApi.d.ts +43 -0
  14. package/dist/api/api/exNvrApi.d.ts +43 -0
  15. package/dist/api/api/index.d.ts +13 -0
  16. package/dist/api/api/ingestApi.d.ts +73 -0
  17. package/dist/api/api/ptzApi.d.ts +36 -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/api/webRtcApi.d.ts +22 -0
  21. package/dist/api/index.d.ts +3 -0
  22. package/dist/api/types/360.d.ts +99 -0
  23. package/dist/api/types/aconex.d.ts +45 -0
  24. package/dist/api/types/analytics.d.ts +489 -0
  25. package/dist/api/types/anpr.d.ts +103 -0
  26. package/dist/api/types/auditLogs.d.ts +99 -0
  27. package/dist/api/types/autodesk.d.ts +29 -0
  28. package/dist/api/types/automation.d.ts +10 -0
  29. package/dist/api/types/axios.d.ts +65 -0
  30. package/dist/api/types/bim.d.ts +147 -0
  31. package/dist/api/types/camera.d.ts +531 -0
  32. package/dist/api/types/comments.d.ts +59 -0
  33. package/dist/api/types/company.d.ts +74 -0
  34. package/dist/api/types/compare.d.ts +57 -0
  35. package/dist/api/types/connector.d.ts +21 -0
  36. package/dist/api/types/coolify.d.ts +18 -0
  37. package/dist/api/types/copilot.d.ts +157 -0
  38. package/dist/api/types/countries.d.ts +500 -0
  39. package/dist/api/types/credentials.d.ts +5 -0
  40. package/dist/api/types/detections.d.ts +126 -0
  41. package/dist/api/types/drone.d.ts +17 -0
  42. package/dist/api/types/errors.d.ts +48 -0
  43. package/dist/api/types/gateReport.d.ts +441 -0
  44. package/dist/api/types/hdd.d.ts +63 -0
  45. package/dist/api/types/index.d.ts +57 -0
  46. package/dist/api/types/ingest.d.ts +47 -0
  47. package/dist/api/types/kit.d.ts +355 -0
  48. package/dist/api/types/map.d.ts +4 -0
  49. package/dist/api/types/media.d.ts +114 -0
  50. package/dist/api/types/notification.d.ts +27 -0
  51. package/dist/api/types/nvr.d.ts +36 -0
  52. package/dist/api/types/planner.d.ts +32 -0
  53. package/dist/api/types/posthog.d.ts +18 -0
  54. package/dist/api/types/procore.d.ts +222 -0
  55. package/dist/api/types/progressPhoto.d.ts +104 -0
  56. package/dist/api/types/project.d.ts +129 -0
  57. package/dist/api/types/recording.d.ts +123 -0
  58. package/dist/api/types/roi.d.ts +27 -0
  59. package/dist/api/types/routeParams.d.ts +51 -0
  60. package/dist/api/types/router.d.ts +67 -0
  61. package/dist/api/types/shared.d.ts +194 -0
  62. package/dist/api/types/shares.d.ts +196 -0
  63. package/dist/api/types/sim.d.ts +114 -0
  64. package/dist/api/types/siteAnalytics.d.ts +142 -0
  65. package/dist/api/types/snapshots.d.ts +50 -0
  66. package/dist/api/types/sso.d.ts +55 -0
  67. package/dist/api/types/storageServers.d.ts +4 -0
  68. package/dist/api/types/streaming.d.ts +97 -0
  69. package/dist/api/types/systemCheck.d.ts +11 -0
  70. package/dist/api/types/tag.d.ts +12 -0
  71. package/dist/api/types/time.d.ts +21 -0
  72. package/dist/api/types/timelapse.d.ts +99 -0
  73. package/dist/api/types/user.d.ts +271 -0
  74. package/dist/api/types/vendorModel.d.ts +15 -0
  75. package/dist/api/types/videoWall.d.ts +33 -0
  76. package/dist/api/types/voyageControl.d.ts +6 -0
  77. package/dist/api/types/weather.d.ts +87 -0
  78. package/dist/api/types/widget.d.ts +191 -0
  79. package/dist/api/types/xweather.d.ts +12 -0
  80. package/dist/api/utils.d.ts +9 -0
  81. package/dist/index.d.ts +2 -0
  82. package/dist/index.js +2971 -0
  83. package/dist/index.js.map +1 -0
  84. package/dist/index.umd.cjs +2 -0
  85. package/dist/index.umd.cjs.map +1 -0
  86. package/dist/shared/api/index.d.ts +3 -0
  87. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  88. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  89. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  90. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  91. package/dist/shared/types/components.d.ts +193 -0
  92. package/dist/shared/types/imagePlayer.d.ts +34 -0
  93. package/dist/shared/types/index.d.ts +4 -0
  94. package/dist/shared/types/timeline.d.ts +9 -0
  95. package/package.json +50 -0
@@ -0,0 +1,222 @@
1
+ export type ProcoreUserCompaniesResponsePayload = Array<{
2
+ id: number;
3
+ isActive?: boolean;
4
+ name: string;
5
+ }>;
6
+ export type ProcoreCompanyRequestPayload = {
7
+ companyId: number;
8
+ };
9
+ export type ProcoreProjectRequestPayload = {
10
+ companyId: number;
11
+ projectId: number;
12
+ };
13
+ export type ProcoreObservationListItem = {
14
+ id: number;
15
+ name: string;
16
+ };
17
+ export type ProcoreObservationDefaultList = Array<ProcoreObservationListItem & {
18
+ active: boolean;
19
+ global: boolean;
20
+ createdAt: string;
21
+ updatedAt: string;
22
+ }>;
23
+ export type ProcoreObservationAssignee = ProcoreObservationListItem & {
24
+ vendor: ProcoreObservationListItem;
25
+ };
26
+ export type ProcoreObservationDistributionMember = ProcoreObservationListItem & {
27
+ login: string;
28
+ };
29
+ export type ProcoreObservationTrades = ProcoreObservationListItem & {
30
+ active: boolean;
31
+ updatedAt: string;
32
+ };
33
+ export type ProcoreObservationLocation = ProcoreObservationListItem & {
34
+ nodeName: string;
35
+ parentId: number;
36
+ createdAt: string;
37
+ updatedAt: string;
38
+ code: string;
39
+ };
40
+ export type ProcoreObservationSpecificationSection = {
41
+ id: number;
42
+ number: string;
43
+ description: string;
44
+ label: string;
45
+ currentRevisionId: number;
46
+ };
47
+ export type ProcoreUserProjectsResponsePayload = Array<{
48
+ accountingProjectNumber?: number;
49
+ active: boolean;
50
+ address: string;
51
+ city: string;
52
+ company: {
53
+ id: number;
54
+ name: string;
55
+ };
56
+ completionDate: string;
57
+ countryCode: string;
58
+ county: string;
59
+ createdAt: string;
60
+ customFields?: object;
61
+ designatedMarketArea: string;
62
+ displayName: string;
63
+ estimatedValue: string;
64
+ id: number;
65
+ isDemo: boolean;
66
+ latitude: number;
67
+ longitude: number;
68
+ name: string;
69
+ originCode: string | number | null;
70
+ originData: string | null;
71
+ originId: number | null;
72
+ ownersProjectId: number | null;
73
+ parentJobId: number | null;
74
+ phone: string | number;
75
+ photoId: number;
76
+ projectBidTypeId: number | null;
77
+ projectNumber: string;
78
+ projectOwnerTypeId: number | null;
79
+ projectRegionId: number | null;
80
+ stage: string;
81
+ startDate: string;
82
+ stateCode: string;
83
+ storeNumber?: string;
84
+ timeZone: string;
85
+ totalValue: string;
86
+ updatedAt: string;
87
+ zip: number;
88
+ }>;
89
+ export type ProcoreToolUserAccessLevel = {
90
+ id: ProcoreToolUserAccessLevelIds;
91
+ name: string;
92
+ };
93
+ export type ProcoreToolPermittedAction = {
94
+ id: number;
95
+ actionName: string;
96
+ label: string;
97
+ toolName: string;
98
+ };
99
+ export type ProcoreToolPermissions = {
100
+ id: number;
101
+ name: string;
102
+ friendlyName: string;
103
+ domainId: number;
104
+ tabGroup: string;
105
+ availableForUser: boolean;
106
+ url: string;
107
+ userAccessLevel: ProcoreToolUserAccessLevel;
108
+ permittedActions: Array<ProcoreToolPermittedAction>;
109
+ createUrl: string;
110
+ canCreate: boolean;
111
+ trial: boolean;
112
+ };
113
+ export type ProcoreUserProjectPermissionsResponsePayload = {
114
+ tools: Array<ProcoreToolPermissions>;
115
+ };
116
+ export type ProcoreEditedImageUploadRequestPayload = {
117
+ projectExid: string;
118
+ companyId: number;
119
+ projectId: number;
120
+ snapshot: string;
121
+ categoryId?: number;
122
+ };
123
+ export type ProcoreProjectsAlbumsPayload = Array<{
124
+ count: number;
125
+ coverPhoto: string | null;
126
+ createdAt: string;
127
+ id: number;
128
+ links: {
129
+ delete: string;
130
+ show: string;
131
+ update: string;
132
+ };
133
+ name: string;
134
+ position: number;
135
+ private: boolean;
136
+ updatedAt: string;
137
+ }>;
138
+ export type ProcoreObservationTypesResponsePayload = Array<{
139
+ id: number;
140
+ name: string;
141
+ localizedName: string;
142
+ category: string;
143
+ categoryKey: string;
144
+ companyActive: boolean;
145
+ active: boolean;
146
+ kind: string;
147
+ parentInactive: boolean;
148
+ isUse: boolean;
149
+ nameTranslations: string;
150
+ }>;
151
+ export type ProcoreObservationFormRequestPayload = {
152
+ projectId: number;
153
+ companyId: number;
154
+ observationType: string;
155
+ };
156
+ export type ProcoreObservationForm = Record<string, ProcoreObservationField | ProcoreObservationCustomField>;
157
+ export type ProcoreObservationField = {
158
+ name: string;
159
+ required: boolean;
160
+ visible: boolean;
161
+ };
162
+ export type ProcoreObservationCustomField = {
163
+ id: number;
164
+ required: boolean;
165
+ visible: boolean;
166
+ name: string;
167
+ label: string;
168
+ description: string;
169
+ customFieldDefinitionId: number;
170
+ dataType: ProcoreObservationCustomFieldDataType;
171
+ variant: string;
172
+ position: number;
173
+ row: number;
174
+ column: number;
175
+ columnWidth: number;
176
+ optionsUrl: string | null;
177
+ defaultValue: string | null;
178
+ };
179
+ export type ProcoreNextObservationAvailableNumber = {
180
+ nextAvailableNumber: number;
181
+ };
182
+ export declare enum ProcoreObservationCustomFieldDataType {
183
+ RichText = "rich_text",
184
+ Date = "date",
185
+ DateTime = "datetime",
186
+ LovEntry = "lov_entry",
187
+ LovEntries = "lov_entries",
188
+ Boolean = "boolean",
189
+ Vendor = "vendor",
190
+ Decimal = "decimal",
191
+ String = "string",
192
+ LoginInformation = "login_information",
193
+ LoginInformations = "login_informations",
194
+ Dropdown = "dropdown"
195
+ }
196
+ export declare enum ProcoreObservationDefaultFieldNames {
197
+ Number = "number",
198
+ Name = "name",
199
+ Status = "status",
200
+ Trade = "tradeId",
201
+ Assignee = "assigneeId",
202
+ DueDate = "dueDate",
203
+ SpecificationSection = "specificationSectionId",
204
+ Priority = "priority",
205
+ Location = "locationId",
206
+ DistributionMembers = "distributionMemberIds",
207
+ Personal = "personal",
208
+ Hazard = "hazardId",
209
+ ContributingBehavior = "contributingBehaviorId",
210
+ ContributingCondition = "contributingConditionId",
211
+ Description = "description"
212
+ }
213
+ export declare enum ProcoreTools {
214
+ Observations = "observations",
215
+ ProgressPhotos = "images"
216
+ }
217
+ export declare enum ProcoreToolUserAccessLevelIds {
218
+ NoAccess = 1,
219
+ ReadOnly = 2,
220
+ Standard = 3,
221
+ Admin = 4
222
+ }
@@ -0,0 +1,104 @@
1
+ import { AutomationType, DateTime, DateType, PaginationParams } from "@/types";
2
+ export type Automation = {
3
+ name?: string;
4
+ cameraIds: string;
5
+ cameraNames: number;
6
+ cameraExids?: string[];
7
+ createdAt: string;
8
+ id: number;
9
+ provider: string;
10
+ type: AutomationType;
11
+ config: Partial<{
12
+ recipients: string | Record<string, string>[];
13
+ companyId: number;
14
+ compareDelay: number;
15
+ categoryId: string;
16
+ hubId: string;
17
+ folderId: string;
18
+ projectId: number;
19
+ }>;
20
+ isPaused: boolean;
21
+ notifyDays: string | string[];
22
+ notifyTime: string;
23
+ requesterEmail: string;
24
+ requesterName: string;
25
+ timezone: string;
26
+ title: string;
27
+ compareDelay?: number;
28
+ selectedProvider?: string;
29
+ restrictedCameraExids?: string[];
30
+ recipients?: string | string[];
31
+ };
32
+ export type ProgressPhotosCreateUpdateRequestPayload = {
33
+ cameraExids?: string;
34
+ notifyDays?: string;
35
+ compareDelay?: AutomationType;
36
+ notifyTime?: string;
37
+ provider?: string;
38
+ type?: string;
39
+ config?: {
40
+ compareDelay?: AutomationType;
41
+ recipients?: string;
42
+ projectId?: number;
43
+ companyId?: number;
44
+ catergoryId?: string;
45
+ };
46
+ subject?: string;
47
+ isPaused?: boolean;
48
+ timezone?: string;
49
+ };
50
+ export type ProgressPhotosUnSubscribeParams = {
51
+ email: string;
52
+ token?: string;
53
+ };
54
+ export type ProgressPhotosResponsePayload = {
55
+ progressPhotos: Automation[];
56
+ };
57
+ export declare enum AutomationDialogType {
58
+ Create = "create",
59
+ Edit = "edit",
60
+ Pause = "pause"
61
+ }
62
+ export type CameraOption = {
63
+ exid: string;
64
+ name: string;
65
+ };
66
+ export interface ProgressPhotoItem {
67
+ id: number;
68
+ cameras: CameraOption[] | string[] | string;
69
+ insertedAt: string;
70
+ provider: string;
71
+ config: {
72
+ recipients: string | string[];
73
+ sendSnapshotAs: string;
74
+ };
75
+ isPaused: boolean;
76
+ notifyDays: string | string[];
77
+ notifyTime: string;
78
+ api_id: string;
79
+ api_key: string;
80
+ timezone: string;
81
+ exid: string;
82
+ fullname: string;
83
+ }
84
+ export type ProgressPhotosQueryParams = PaginationParams & {
85
+ fullname: string;
86
+ recipients: string;
87
+ notifyTime: string;
88
+ timezone: string;
89
+ cameras: string;
90
+ };
91
+ export type progressPhotosHistoryQueryParams = {
92
+ insertedAt: DateType[];
93
+ recipients: string;
94
+ subject: string;
95
+ cameraId: string;
96
+ failedCameraId: string;
97
+ };
98
+ export type ProgressPhotosHistory = {
99
+ id: number;
100
+ cameraIds: string;
101
+ failedCameraIds: string;
102
+ subject: string;
103
+ recipients: DateTime;
104
+ };
@@ -0,0 +1,129 @@
1
+ import { AdminCamera, Camera, CameraExid, DateTime, DateType, EntityByExid, Exid, PaginationParams } from "@/types";
2
+ export type ProjectExid = Exid;
3
+ export type ProjectsByExid = EntityByExid<Project>;
4
+ export type Project = {
5
+ id: string | number;
6
+ exid: ProjectExid;
7
+ name: string;
8
+ status?: ProjectStatus;
9
+ insertedAt?: string;
10
+ startedAt?: string;
11
+ timezone?: string;
12
+ zohoId?: string;
13
+ userId?: number;
14
+ cameras?: Array<Camera | AdminCamera>;
15
+ unrestrictedCameras?: Array<Camera | AdminCamera>;
16
+ featureFlags: Array<ProjectFeatureFlag>;
17
+ owner?: {
18
+ email?: string;
19
+ };
20
+ ownerEmail?: string;
21
+ ownerName?: string;
22
+ camerasRestrictionType?: string;
23
+ };
24
+ export declare enum ProjectStatus {
25
+ ToStart = "To Start",
26
+ InProgress = "In Progress",
27
+ Completed = "Completed",
28
+ NotAplicable = "Not Applicable"
29
+ }
30
+ export declare enum ProjectArchiveTier {
31
+ Full = "Full",
32
+ Partial = "Partial",
33
+ Minimal = "Minimal",
34
+ ScheduledForDeletion = "Scheduled for Deletion"
35
+ }
36
+ export type ProjectResponsePayload = {
37
+ data?: Project[];
38
+ };
39
+ export type UpdateCameraRestrictionPayload = {
40
+ isAccessRestricted?: boolean;
41
+ };
42
+ export type Logo = {
43
+ name: string;
44
+ url: string;
45
+ };
46
+ export type ProjectLogoResponsePayload = Logo[];
47
+ export declare enum ProjectFeatureFlag {
48
+ AnprLegacy = "anpr_legacy",
49
+ DroneView = "drone_view",
50
+ Bim = "4d_bim",
51
+ BimItwin = "4d_bim_itwin",
52
+ BimForge = "4d_bim_forge",
53
+ ThreeSixtyView = "360_view",
54
+ NdaMc = "NDA/MC",
55
+ GateReport = "gate_report",
56
+ GateReportAutoVerify = "auto_publish",
57
+ GateReportMotionDetection = "motion_detection",
58
+ FullEmpty = "full_empty",
59
+ MediaHubSharing = "archives_sharing",
60
+ GateReportAnprBased = "anpr_sourced",
61
+ NoLicensePlate = "no_license_plate",
62
+ DefaultToProjectApp = "default_to_project_app",
63
+ SmartSearch = "smart_search",
64
+ PpeMonitoring = "ppe_monitoring"
65
+ }
66
+ export type ProjectBatteryReading = {
67
+ exid: number;
68
+ voltage: number;
69
+ lastSeen: DateType;
70
+ };
71
+ export type ThumbnailData = {
72
+ cameraExid: CameraExid;
73
+ custom: boolean;
74
+ image: string;
75
+ };
76
+ export type ProjectsQueryParams = PaginationParams & {
77
+ name: string;
78
+ exid: string;
79
+ status: ProjectStatus;
80
+ cameras: string;
81
+ featureFlags: Array<ProjectFeatureFlag>;
82
+ archived: string;
83
+ };
84
+ export type ProjectCreateRequestPayload = {
85
+ projectExid?: string;
86
+ projectName: string;
87
+ ownerId: number;
88
+ cameras: string[];
89
+ };
90
+ export type ProjectCreateResponse = {
91
+ name: string;
92
+ exid: string;
93
+ id: number;
94
+ userId: number;
95
+ zohoId: string;
96
+ };
97
+ export type ProjectUpdateRequestPayload = {
98
+ name: string;
99
+ timezone: string;
100
+ featureFlags: ProjectFeatureFlag[];
101
+ cameras: string[];
102
+ };
103
+ export type ProjectStatusStats = {
104
+ nil: number;
105
+ Completed: number;
106
+ "In Progress": number;
107
+ "Not Applicable": number;
108
+ "To Start": number;
109
+ };
110
+ export type ProjectUserProperty = {
111
+ active: boolean;
112
+ activeOneMonth: boolean;
113
+ cameraExid: string;
114
+ cameraName: string;
115
+ cameraRights: string;
116
+ email: string;
117
+ eventsCount: number;
118
+ fullname: string;
119
+ id: number;
120
+ lastSeenAt: DateTime;
121
+ persona: string;
122
+ };
123
+ export type ProjectUsers = {
124
+ cameras: {
125
+ exid: string;
126
+ name: string;
127
+ }[];
128
+ users: Record<string, ProjectUserProperty[]>;
129
+ };
@@ -0,0 +1,123 @@
1
+ import { ApiCredentials } from "@/types";
2
+ import { CancelToken } from "axios";
3
+ export type Snapshot = {
4
+ createdAt: string;
5
+ data: string;
6
+ status?: string;
7
+ };
8
+ export type NearestSnapshotRequestPayload = {
9
+ apiKey?: string;
10
+ apiId?: string;
11
+ token?: string;
12
+ cancelToken?: object;
13
+ };
14
+ export type AvailableDaysRequestPayload = {
15
+ cameraId: string;
16
+ year: string;
17
+ month: string;
18
+ payload?: ApiCredentials;
19
+ };
20
+ export type AvailableDaysResponsePayload = {
21
+ days: Array<number>;
22
+ };
23
+ export type AvailableHoursRequestPayload = {
24
+ cameraId: string;
25
+ year: string;
26
+ month: string;
27
+ day: string;
28
+ payload?: ApiCredentials;
29
+ cancelToken?: CancelToken;
30
+ };
31
+ export type AvailableHoursResponsePayload = {
32
+ hours: Array<number>;
33
+ };
34
+ export type NearestSnapshotResponsePayload = {
35
+ snapshots: Array<{
36
+ createdAt: string;
37
+ data: string;
38
+ notes?: string;
39
+ }>;
40
+ };
41
+ export type SnapshotRangeRequestPayload = {
42
+ from: string;
43
+ to: string;
44
+ limit?: number;
45
+ page?: number;
46
+ schedule?: boolean;
47
+ count?: number;
48
+ };
49
+ export type SnapshotInstance = {
50
+ createdAt: string;
51
+ notes?: string;
52
+ data?: string;
53
+ };
54
+ export type SnapshotRangeResponsePayload = {
55
+ snapshots: Array<SnapshotInstance>;
56
+ };
57
+ export declare enum BrainTool {
58
+ Detections = "detections",
59
+ Segmentation = "sam"
60
+ }
61
+ export declare enum CloudRecordingFrequency {
62
+ EverySecond = 60,
63
+ Every2Seconds = 30,
64
+ Every5Seconds = 12,
65
+ Every10Seconds = 6,
66
+ Every15Seconds = 4,
67
+ Every30Seconds = 2,
68
+ Every60Seconds = 1,
69
+ Every5Minutes = 5,
70
+ Every10Minutes = 10
71
+ }
72
+ export declare enum CloudRecordingDuration {
73
+ Infinity = -1,
74
+ Day = 1,
75
+ Week = 7,
76
+ Month = 30,
77
+ ThreeMonths = 90
78
+ }
79
+ export declare enum CloudRecordingStatus {
80
+ On = "on",
81
+ Off = "off",
82
+ Paused = "paused",
83
+ OnScheduled = "on-scheduled"
84
+ }
85
+ export declare enum SnapshotExtractionInterval {
86
+ EverySecond = 1,
87
+ Every5Seconds = 5,
88
+ Every10Seconds = 10,
89
+ Every15Seconds = 15,
90
+ Every20Seconds = 20,
91
+ Every30Second = 30,
92
+ EveryMinute = 60,
93
+ Every5Minutes = 300,
94
+ Every10Minutes = 600,
95
+ Every15Minutes = 900,
96
+ Every20Minutes = 1200,
97
+ Every30Minutes = 1800,
98
+ EveryHour = 3600,
99
+ Every2Hours = 7200,
100
+ Every6Hours = 21600,
101
+ Every12Hours = 43200,
102
+ Every24Hours = 86400
103
+ }
104
+ export declare enum VpnServer {
105
+ None = "None",
106
+ OpenVPN1 = "OpenVPN1",
107
+ OpenVPN2 = "OpenVPN2",
108
+ OpenVPN3 = "OpenVPN3",
109
+ OpenVPN4 = "OpenVPN4",
110
+ OpenVPN5 = "OpenVPN5",
111
+ PPTP1 = "PPTP1",
112
+ PPTP2 = "PPTP2",
113
+ WireGuard1 = "WireGuard1",
114
+ WireGuard2 = "WireGuard2",
115
+ WireGuard3 = "WireGuard3",
116
+ WireGuard4 = "WireGuard4",
117
+ WireGuard5 = "WireGuard5",
118
+ WireGuard6 = "WireGuard6",
119
+ WireGuard7 = "WireGuard7",
120
+ WireGuard8 = "WireGuard8",
121
+ WireGuard9 = "WireGuard9",
122
+ WireGuard10 = "WireGuard10"
123
+ }
@@ -0,0 +1,27 @@
1
+ export declare enum RoiType {
2
+ Gate = "gate",
3
+ AnprContext = "anpr_context",
4
+ ExclusionZone = "exclusion_zone",
5
+ WorkflowArea = "workflow_area",
6
+ SiteAnalytics = "site_analytics"
7
+ }
8
+ export declare enum RoiShapeType {
9
+ Polygon = "polygon",
10
+ Line = "line",
11
+ Direction = "direction",
12
+ Rectangle = "rectangle",
13
+ ROIBox = "ROIBox"
14
+ }
15
+ export type RoiShape = {
16
+ id: number | null;
17
+ name: string;
18
+ x1: number;
19
+ x2: number;
20
+ y1: number;
21
+ y2: number;
22
+ };
23
+ export declare enum RoiDirection {
24
+ Arrived = "arrived",
25
+ Left = "left",
26
+ Bidirectional = "arrived,left"
27
+ }
@@ -0,0 +1,51 @@
1
+ export type RouteParams = {
2
+ projectExid?: string;
3
+ cameraExid?: string;
4
+ timestamp?: string;
5
+ fromDate?: string;
6
+ toDate?: string;
7
+ };
8
+ export declare enum UrlParamValue {
9
+ True = "true",
10
+ False = "false"
11
+ }
12
+ export declare enum TimelineUrlParam {
13
+ CameraExid = "cameraExid",
14
+ Timestamp = "timestamp",
15
+ FromDate = "fromDate",
16
+ ToDate = "toDate",
17
+ Live = "live",
18
+ Video = "video",
19
+ OverlayType = "overlayType",
20
+ ShowOverlay = "showOverlay",
21
+ ShowCompare = "showCompare",
22
+ Sidebar = "sidebar",
23
+ ThreeSixtyId = "_360Id",
24
+ DroneId = "droneId",
25
+ MediaId = "mediaId"
26
+ }
27
+ export declare enum Timeline360UrlParams {
28
+ Show360 = "show360"
29
+ }
30
+ export declare enum TimelineDroneUrlParams {
31
+ ShowDrone = "showDrone"
32
+ }
33
+ export declare enum TimelineMediaUrlParams {
34
+ ShowMedia = "showMedia"
35
+ }
36
+ export declare enum TimelineBimUrlParams {
37
+ ShowBim = "showBim"
38
+ }
39
+ export declare enum TimelineExNvrRecordingsUrlParams {
40
+ ShowExNvrRecordings = "showExNvrRecordings"
41
+ }
42
+ export declare enum TimelineAnprUrlParams {
43
+ ShowAnpr = "showAnpr"
44
+ }
45
+ export declare enum TimelineMobileCaptureUrlParams {
46
+ ShowMobileCapture = "showMobileCapture"
47
+ }
48
+ export declare enum TimelineCommentsUrlParams {
49
+ ShowComments = "showComments"
50
+ }
51
+ export type TimelineUrlParams = Record<TimelineUrlParam | TimelineMediaUrlParams | TimelineBimUrlParams | TimelineExNvrRecordingsUrlParams | TimelineAnprUrlParams | TimelineMobileCaptureUrlParams | TimelineCommentsUrlParams, string | null>;