@evercam/api 1.0.0-a405572ff → 1.0.0-a59703ab2

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 (113) hide show
  1. package/README.md +4 -1
  2. package/dist/api/api/3dFirebaseApi.d.ts +27 -0
  3. package/dist/api/{adminApi.d.ts → api/adminApi.d.ts} +120 -54
  4. package/dist/api/api/aiApi.d.ts +124 -0
  5. package/dist/api/{authzApi.d.ts → api/authzApi.d.ts} +10 -1
  6. package/dist/api/{client → api/client}/axios.d.ts +1 -0
  7. package/dist/api/{client → api/client}/customErrors.d.ts +10 -0
  8. package/dist/api/{client → api/client}/interceptors.d.ts +3 -2
  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/{evercamApi.d.ts → api/evercamApi.d.ts} +89 -57
  12. package/dist/api/api/evercamLabsApi.d.ts +46 -0
  13. package/dist/api/api/index.d.ts +13 -0
  14. package/dist/api/api/ingestApi.d.ts +96 -0
  15. package/dist/api/{ptzApi.d.ts → api/ptzApi.d.ts} +5 -1
  16. package/dist/api/api/videoWallApi.d.ts +9 -0
  17. package/dist/api/api/weatherApi.d.ts +9 -0
  18. package/dist/api/index.d.ts +3 -13
  19. package/dist/api/types/360.d.ts +274 -0
  20. package/dist/api/types/aconex.d.ts +143 -0
  21. package/dist/{types → api/types}/analytics.d.ts +151 -71
  22. package/dist/{types → api/types}/anpr.d.ts +16 -17
  23. package/dist/api/types/authz.d.ts +28 -0
  24. package/dist/api/types/automation.d.ts +61 -0
  25. package/dist/{types → api/types}/axios.d.ts +16 -1
  26. package/dist/{types → api/types}/camera.d.ts +32 -58
  27. package/dist/api/types/comments.d.ts +59 -0
  28. package/dist/{types → api/types}/company.d.ts +29 -1
  29. package/dist/{types → api/types}/connector.d.ts +6 -1
  30. package/dist/api/types/coolify.d.ts +20 -0
  31. package/dist/{types → api/types}/copilot.d.ts +11 -9
  32. package/dist/{types → api/types}/countries.d.ts +0 -7
  33. package/dist/{types → api/types}/credentials.d.ts +1 -0
  34. package/dist/api/types/detections.d.ts +112 -0
  35. package/dist/{types → api/types}/errors.d.ts +13 -0
  36. package/dist/{types → api/types}/gateReport.d.ts +54 -102
  37. package/dist/api/types/hdd.d.ts +63 -0
  38. package/dist/{types → api/types}/index.d.ts +10 -2
  39. package/dist/{types → api/types}/ingest.d.ts +8 -0
  40. package/dist/{types → api/types}/kit.d.ts +115 -10
  41. package/dist/{types → api/types}/nvr.d.ts +2 -1
  42. package/dist/{types/sitePlanner.d.ts → api/types/planner.d.ts} +13 -1
  43. package/dist/api/types/posthog.d.ts +18 -0
  44. package/dist/api/types/procore.d.ts +222 -0
  45. package/dist/{types → api/types}/progressPhoto.d.ts +6 -22
  46. package/dist/{types → api/types}/project.d.ts +56 -3
  47. package/dist/{types → api/types}/recording.d.ts +2 -2
  48. package/dist/api/types/recycleBin.d.ts +14 -0
  49. package/dist/{types → api/types}/roi.d.ts +2 -1
  50. package/dist/{types → api/types}/routeParams.d.ts +4 -2
  51. package/dist/{types → api/types}/router.d.ts +19 -0
  52. package/dist/{types → api/types}/shared.d.ts +3 -17
  53. package/dist/api/types/shares.d.ts +58 -0
  54. package/dist/api/types/siteAnalytics.d.ts +247 -0
  55. package/dist/{types → api/types}/snapshots.d.ts +9 -0
  56. package/dist/api/types/sso.d.ts +55 -0
  57. package/dist/{types → api/types}/streaming.d.ts +4 -27
  58. package/dist/api/types/systemCheck.d.ts +11 -0
  59. package/dist/api/types/tag.d.ts +12 -0
  60. package/dist/{types → api/types}/time.d.ts +6 -0
  61. package/dist/{types → api/types}/timelapse.d.ts +15 -0
  62. package/dist/{types → api/types}/user.d.ts +19 -7
  63. package/dist/api/types/videoWall.d.ts +66 -0
  64. package/dist/{types → api/types}/weather.d.ts +8 -2
  65. package/dist/{types → api/types}/widget.d.ts +38 -11
  66. package/dist/api/types/xweather.d.ts +12 -0
  67. package/dist/{utils.d.ts → api/utils.d.ts} +1 -0
  68. package/dist/index.d.ts +2 -3
  69. package/dist/index.js +1605 -934
  70. package/dist/index.js.map +1 -1
  71. package/dist/index.umd.cjs +1 -1
  72. package/dist/index.umd.cjs.map +1 -1
  73. package/dist/shared/api/index.d.ts +3 -0
  74. package/dist/shared/components/timelinePlayer/providers/index.d.ts +3 -0
  75. package/dist/shared/components/timelinePlayer/providers/timelineAnprProvider.d.ts +17 -0
  76. package/dist/shared/components/timelinePlayer/providers/timelineDataProvider.d.ts +13 -0
  77. package/dist/shared/components/timelinePlayer/providers/timelineLuminanceProvider.d.ts +16 -0
  78. package/dist/shared/types/components.d.ts +199 -0
  79. package/dist/shared/types/imagePlayer.d.ts +34 -0
  80. package/dist/shared/types/index.d.ts +4 -0
  81. package/dist/shared/types/timeline.d.ts +9 -0
  82. package/package.json +10 -8
  83. package/dist/api/3dFirebaseApi.d.ts +0 -9
  84. package/dist/api/aiApi.d.ts +0 -73
  85. package/dist/api/evercamLabsApi.d.ts +0 -50
  86. package/dist/api/ingestApi.d.ts +0 -65
  87. package/dist/api/videoWallApi.d.ts +0 -9
  88. package/dist/api/weatherApi.d.ts +0 -25
  89. package/dist/types/360.d.ts +0 -83
  90. package/dist/types/aconex.d.ts +0 -45
  91. package/dist/types/automation.d.ts +0 -6
  92. package/dist/types/comments.d.ts +0 -36
  93. package/dist/types/detections.d.ts +0 -62
  94. package/dist/types/devices.d.ts +0 -228
  95. package/dist/types/procore.d.ts +0 -76
  96. package/dist/types/shares.d.ts +0 -192
  97. package/dist/types/siteAnalytics.d.ts +0 -5
  98. package/dist/types/videoWall.d.ts +0 -33
  99. /package/dist/api/{client → api/client}/index.d.ts +0 -0
  100. /package/dist/api/{exNvrApi.d.ts → api/exNvrApi.d.ts} +0 -0
  101. /package/dist/api/{webRtcApi.d.ts → api/webRtcApi.d.ts} +0 -0
  102. /package/dist/{types → api/types}/auditLogs.d.ts +0 -0
  103. /package/dist/{types → api/types}/autodesk.d.ts +0 -0
  104. /package/dist/{types → api/types}/bim.d.ts +0 -0
  105. /package/dist/{types → api/types}/compare.d.ts +0 -0
  106. /package/dist/{types → api/types}/drone.d.ts +0 -0
  107. /package/dist/{types → api/types}/map.d.ts +0 -0
  108. /package/dist/{types → api/types}/media.d.ts +0 -0
  109. /package/dist/{types → api/types}/notification.d.ts +0 -0
  110. /package/dist/{types → api/types}/sim.d.ts +0 -0
  111. /package/dist/{types → api/types}/storageServers.d.ts +0 -0
  112. /package/dist/{types → api/types}/vendorModel.d.ts +0 -0
  113. /package/dist/{types → api/types}/voyageControl.d.ts +0 -0
@@ -1,192 +0,0 @@
1
- import type { CameraExid, DateTime, DateType } from "@/types";
2
- export type ShareRequest = {
3
- cameraId: string;
4
- createdAt: DateType | number;
5
- email: string;
6
- id: number;
7
- rights: string;
8
- sharerEmail: string;
9
- sharerName: string;
10
- userId: number;
11
- };
12
- export type Share = {
13
- cameraId: string;
14
- createdAt: DateType | number;
15
- email: string;
16
- fullname: string;
17
- id: number;
18
- lastSeenAt: DateType;
19
- rights: string;
20
- sessionCount: number;
21
- sharerEmail: string;
22
- sharerId: number;
23
- sharerName: string;
24
- userId: number;
25
- };
26
- export type ShareRequestsResponsePayload = {
27
- shareRequests: ShareRequest[];
28
- };
29
- export type ShareOwner = {
30
- email: string;
31
- fullname: string;
32
- lastSeenAt: DateType;
33
- sessionCount: number;
34
- };
35
- export type SharesResponsePayload = {
36
- owner: ShareOwner;
37
- shares: Share[];
38
- };
39
- export type ShareDeletionRequestPayload = {
40
- email?: string;
41
- key?: string;
42
- origin?: string;
43
- };
44
- export type SharedUsersResponsePayload = Array<{
45
- email: string;
46
- name: string;
47
- }>;
48
- export type ShareCreateRequestPayload = {
49
- email: string[] | string;
50
- message?: string;
51
- permission?: string;
52
- rights: string;
53
- apiId?: string;
54
- apiKey?: string;
55
- };
56
- export type ShareProjectCamerasRequestPayload = {
57
- email: string[];
58
- cameraExids: CameraExid[];
59
- message: string;
60
- permission?: string;
61
- rights: string;
62
- };
63
- export type ShareCreateResponsePayload = {
64
- shares: Share[];
65
- shareRequests: ShareRequest[];
66
- };
67
- export type ShareRequestByKeyResponsePayload = {
68
- shareRequests: Array<{
69
- id: string;
70
- email: string;
71
- rights: string;
72
- cameraId: string;
73
- sharerName: string;
74
- userId: string;
75
- sharerEmail: string;
76
- createdAt: DateType;
77
- }>;
78
- };
79
- export type ResendShareRequestPayload = {
80
- email: string;
81
- apiId?: string;
82
- apiKey?: string;
83
- };
84
- export declare enum SharePermission {
85
- Minimum = "minimum",
86
- Share = "minimal+share",
87
- Full = "full",
88
- Custom = "custom"
89
- }
90
- export declare enum ShareType {
91
- Share = "share",
92
- Request = "request"
93
- }
94
- export declare enum ShareRequestStatus {
95
- All = "",
96
- Pending = -1,
97
- Cancelled = -2,
98
- Failed = -3,
99
- Used = 1
100
- }
101
- export declare enum ShareVisibility {
102
- PublicDiscoverable = "publicDiscoverable",
103
- PublicUndiscoverable = "publicUndiscoverable",
104
- Private = "private"
105
- }
106
- export type ProjectShare = {
107
- id: number;
108
- projectId: string;
109
- userId: number;
110
- email: string;
111
- fullname: string;
112
- sharerId: number;
113
- sharerEmail: string;
114
- sharerName: string;
115
- role: "member" | "admin";
116
- cameras: Record<string, string>;
117
- message: string | null;
118
- updatedAt: DateType;
119
- insertedAt: DateType;
120
- };
121
- export type ProjectShareRequest = ProjectShare;
122
- export type ProjectShareResponse = {
123
- projectShares: ProjectShare[];
124
- projectShareRequests: ProjectShareRequest[];
125
- };
126
- export type AdminShare = {
127
- sharerId: number;
128
- sharerFullname: string;
129
- sharerApiId: string;
130
- sharerApiKey: string;
131
- shareeId: number;
132
- shareeFullname: string;
133
- shareeApiId: string;
134
- shareeApiKey: string;
135
- shareeEmail: string;
136
- cameraId: number;
137
- exid: string;
138
- projectId: string;
139
- name: string;
140
- id: number;
141
- message: string;
142
- createdAt: DateType;
143
- };
144
- export type CameraShareRequestPayload = {
145
- email: string[];
146
- rights: string;
147
- message?: string;
148
- };
149
- export type ShareQueryParams = {
150
- exid: string;
151
- sharerFullname: string;
152
- shareeFullname: string;
153
- shareeEmail: string;
154
- };
155
- export type CameraShare = {
156
- sharerId: number;
157
- sharerFullname: string;
158
- sharerApiId: string;
159
- sharerApiKey: string;
160
- shareeId: number;
161
- shareeFullname: string;
162
- shareeApiId: string;
163
- shareeApiKey: string;
164
- shareeEmail: string;
165
- cameraId: number;
166
- exid: string;
167
- projectId: string;
168
- name: string;
169
- id: number;
170
- message: string;
171
- createdAt: DateTime;
172
- };
173
- export type CameraShareRequestsQueryParams = {
174
- shareeEmail: string;
175
- camera: string;
176
- sharer: string;
177
- status: string;
178
- };
179
- export type CameraShareRequest = {
180
- id: number;
181
- shareeEmail: string;
182
- camera: string;
183
- sharer: string;
184
- message: number;
185
- rights: string;
186
- status: number;
187
- projectId: string;
188
- cameraExid: string;
189
- apiId: string;
190
- apiKey: number;
191
- createdAt: DateTime;
192
- };
@@ -1,5 +0,0 @@
1
- export declare enum SiteAnalyticsMode {
2
- Cranes = "cranes",
3
- Detections = "detections",
4
- Segments = "segments"
5
- }
@@ -1,33 +0,0 @@
1
- import { Camera, Media } from "@/types";
2
- export declare enum VideoWallItemType {
3
- LiveView = "live",
4
- Video = "video",
5
- Image = "image"
6
- }
7
- export type VideoWallItem<T extends Camera | Media> = {
8
- value: T;
9
- type: VideoWallItemType;
10
- };
11
- export type VideoWallPresetItemConfig = {
12
- camera: Camera;
13
- h: number;
14
- i: string | number;
15
- moved: boolean;
16
- w: number;
17
- x: number;
18
- y: number;
19
- };
20
- export type VideoWallPreset = {
21
- name?: string;
22
- configuration: Array<VideoWallPresetItemConfig>;
23
- };
24
- export type VideoWallPresetItem = {
25
- i: string | number;
26
- x: number;
27
- y: number;
28
- w: number;
29
- h: number;
30
- camera: Camera;
31
- weather?: Record<string, unknown>;
32
- media?: Media;
33
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes