@evercam/api 1.0.0-ae97ae0a0 → 1.0.0-api-fixes-7de7fc3dd

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 (40) hide show
  1. package/dist/api/api/adminApi.d.ts +61 -57
  2. package/dist/api/api/aiApi.d.ts +1 -0
  3. package/dist/api/api/evercamApi.d.ts +26 -29
  4. package/dist/api/api/ingestApi.d.ts +3 -0
  5. package/dist/api/types/aconex.d.ts +2 -1
  6. package/dist/api/types/admin.d.ts +20 -4
  7. package/dist/api/types/analytics.d.ts +2 -1
  8. package/dist/api/types/anpr.d.ts +0 -1
  9. package/dist/api/types/auditLogs.d.ts +44 -37
  10. package/dist/api/types/bim.d.ts +48 -37
  11. package/dist/api/types/camera.d.ts +56 -43
  12. package/dist/api/types/comments.d.ts +24 -16
  13. package/dist/api/types/company.d.ts +23 -12
  14. package/dist/api/types/compare.d.ts +27 -23
  15. package/dist/api/types/hdd.d.ts +58 -24
  16. package/dist/api/types/kit.d.ts +19 -15
  17. package/dist/api/types/media.d.ts +13 -0
  18. package/dist/api/types/notification.d.ts +34 -28
  19. package/dist/api/types/nvr.d.ts +28 -0
  20. package/dist/api/types/oauth.d.ts +1 -0
  21. package/dist/api/types/progressPhoto.d.ts +24 -21
  22. package/dist/api/types/project.d.ts +57 -14
  23. package/dist/api/types/recording.d.ts +4 -3
  24. package/dist/api/types/roi.d.ts +2 -1
  25. package/dist/api/types/router.d.ts +23 -2
  26. package/dist/api/types/shared.d.ts +50 -43
  27. package/dist/api/types/sim.d.ts +1 -4
  28. package/dist/api/types/snapshots.d.ts +55 -8
  29. package/dist/api/types/storageProvider.d.ts +15 -3
  30. package/dist/api/types/timelapse.d.ts +38 -12
  31. package/dist/api/types/user.d.ts +76 -64
  32. package/dist/api/types/videoWall.d.ts +8 -8
  33. package/dist/api/types/weather.d.ts +90 -16
  34. package/dist/api/types/widget.d.ts +56 -47
  35. package/dist/index.js +259 -238
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.umd.cjs +1 -1
  38. package/dist/index.umd.cjs.map +1 -1
  39. package/dist/shared/types/components.d.ts +6 -1
  40. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { CameraExid, CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Router, Schedule, Tag } from "@evercam/api/types";
1
+ import { CountryCode, CountryId, DateType, Nvr, PaginationParams, PowerType, Project, Router, Schedule, Tag } from "@evercam/api/types";
2
2
  export type Kit = {
3
3
  alarms: KitAlarm[];
4
4
  countryCode: CountryCode;
@@ -307,10 +307,16 @@ export type KitCreatePayload = {
307
307
  };
308
308
  export type KitMetricStatsEntry = {
309
309
  timestamp: string;
310
- voltage: number;
311
- current: number;
312
- panelVoltage: number;
313
- panelPower: number;
310
+ voltage?: number;
311
+ current?: number;
312
+ panelVoltage?: number;
313
+ panelPower?: number;
314
+ yieldTotal?: number;
315
+ yieldToday?: number;
316
+ yieldYesterday?: number;
317
+ maxPowerToday?: number;
318
+ maxPowerYesterday?: number;
319
+ stateOfCharge?: number;
314
320
  };
315
321
  export type KitUpdatePayload = {
316
322
  countryId: number;
@@ -332,12 +338,8 @@ export type KitStorage = {
332
338
  serial: string;
333
339
  status: string;
334
340
  type: string;
335
- metadata: {
336
- formFactor: string;
337
- };
341
+ metadata: Record<string, string>;
338
342
  model: string;
339
- insertedAt: string;
340
- updatedAt: string;
341
343
  vendor: string;
342
344
  kitId: number;
343
345
  capacity: number;
@@ -345,8 +347,8 @@ export type KitStorage = {
345
347
  tran: KitStorageTransport;
346
348
  };
347
349
  export type KitFootageRequestPayload = {
348
- cameraId: CameraExid;
349
- storageId: number;
350
+ cameraId?: number;
351
+ storageId?: number;
350
352
  };
351
353
  export type KitFootage = {
352
354
  id: number;
@@ -367,6 +369,7 @@ export type KitBox = {
367
369
  gatewaySerial: string;
368
370
  gatewayMac: string;
369
371
  gatewayConfig: Record<string, unknown> | null;
372
+ kitSerials?: string[];
370
373
  insertedAt: string;
371
374
  updatedAt: string;
372
375
  };
@@ -377,7 +380,8 @@ export type KitBoxCreatePayload = {
377
380
  gatewayConfig?: Record<string, unknown>;
378
381
  };
379
382
  export type KitBoxQueryParams = PaginationParams & {
380
- id: string;
381
- gatewaySerial: string;
382
- gatewayMac: string;
383
+ id?: string;
384
+ gatewaySerial?: string;
385
+ gatewayMac?: string;
386
+ hasKits?: boolean;
383
387
  };
@@ -15,6 +15,7 @@ export type Media = {
15
15
  url?: string;
16
16
  exid?: MediaExid;
17
17
  embedCode?: string;
18
+ embedTime?: boolean;
18
19
  fileName?: string;
19
20
  format?: string;
20
21
  frames?: number;
@@ -26,6 +27,12 @@ export type Media = {
26
27
  thumbnailUrl?: string;
27
28
  mediaUrl?: string;
28
29
  camera?: string;
30
+ notes?: string | null;
31
+ category?: string | null;
32
+ isUrgent?: boolean;
33
+ bucket?: string | null;
34
+ sourceProduct?: string | null;
35
+ featureType?: string | null;
29
36
  };
30
37
  export declare enum MediaType {
31
38
  EditedImage = "edit",
@@ -70,8 +77,12 @@ export type MediaFilterQueryParams = {
70
77
  toDate?: string;
71
78
  cameraName?: string;
72
79
  requesterEmail?: string;
80
+ requestorName?: string;
73
81
  type?: MediaType;
82
+ status?: string;
74
83
  cameraExid?: string;
84
+ projectExid?: string;
85
+ projectName?: string;
75
86
  page?: number;
76
87
  limit?: number;
77
88
  camera?: string;
@@ -79,7 +90,9 @@ export type MediaFilterQueryParams = {
79
90
  export type MediaUpdateRequestPayload = {
80
91
  name?: string;
81
92
  title?: string;
93
+ status?: number;
82
94
  public?: boolean;
95
+ url?: string;
83
96
  };
84
97
  export type MediaCreateRequestPayload = {
85
98
  fromDate: DateType;
@@ -5,53 +5,59 @@ export declare enum NotificationType {
5
5
  TimelapseCreated = "timelapse_created",
6
6
  TimelapseFailed = "timelapse_failed",
7
7
  DroneProcessing = "drone_processing_done",
8
- Processing360 = "three_sixty_done"
8
+ Processing360 = "three_sixty_done",
9
+ Other = "other"
9
10
  }
10
- export interface NotificationContextBase {
11
+ export type NotificationContextBase = {
11
12
  cameraExid?: string;
12
13
  projectExid?: string;
13
- }
14
- export interface CameraShareContext extends NotificationContextBase {
14
+ cameraName?: string;
15
+ };
16
+ export type CameraShareContext = NotificationContextBase & {
15
17
  cameraExid: string;
16
18
  projectExid: string;
17
19
  shareId: number;
18
- }
19
- export interface CameraStatusChangeContext extends NotificationContextBase {
20
+ };
21
+ export type CameraStatusChangeContext = NotificationContextBase & {
20
22
  cameraExid: string;
21
23
  projectExid: string;
22
24
  newStatus: string;
23
- }
24
- export interface MentionContext extends NotificationContextBase {
25
- }
26
- export interface TimelapseCreatedContext extends NotificationContextBase {
25
+ };
26
+ export type MentionContext = NotificationContextBase;
27
+ export type TimelapseCreatedContext = NotificationContextBase & {
27
28
  cameraExid: string;
28
29
  projectExid: string;
29
30
  archiveExid: string;
30
- }
31
- export interface TimelapseFailedContext extends NotificationContextBase {
31
+ };
32
+ export type TimelapseFailedContext = NotificationContextBase & {
32
33
  cameraExid: string;
33
34
  projectExid: string;
34
- }
35
- export interface DroneProcessingContext extends NotificationContextBase {
35
+ };
36
+ export type DroneProcessingContext = NotificationContextBase & {
36
37
  projectExid: string;
37
38
  droneDate: string;
38
- }
39
- export interface Processing360Context extends NotificationContextBase {
39
+ };
40
+ export type Processing360Context = NotificationContextBase & {
40
41
  projectExid: string;
41
42
  date: string;
42
43
  floor: string;
43
- }
44
+ };
44
45
  export type NotificationContext = CameraShareContext | CameraStatusChangeContext | MentionContext | TimelapseCreatedContext | TimelapseFailedContext | DroneProcessingContext | Processing360Context;
45
46
  export type Notification = {
46
- id: number;
47
- type: NotificationType;
48
- insertedAt: string;
49
- initiatorId: number;
50
- initiatorFullname: string;
51
- initiatorEmail: string;
52
- targetId: number;
53
- targetFullname: string;
54
- targetEmail: string;
55
- readTimestamp: string | null;
56
- context: NotificationContext;
47
+ id?: number;
48
+ type?: NotificationType;
49
+ insertedAt?: string;
50
+ initiatorId?: number;
51
+ initiatorFullname?: string;
52
+ initiatorEmail?: string;
53
+ targetId?: number;
54
+ targetFullname?: string;
55
+ targetEmail?: string;
56
+ readTimestamp?: string | null;
57
+ context?: NotificationContext;
58
+ };
59
+ export type NotificationsListParams = {
60
+ page?: number;
61
+ limit?: number;
62
+ sort?: string;
57
63
  };
@@ -24,6 +24,34 @@ export declare enum NvrHddStatus {
24
24
  Ok = "ok",
25
25
  Unformatted = "unformatted"
26
26
  }
27
+ export type NvrSetting = {
28
+ exid: string;
29
+ name: string;
30
+ externalHost: string;
31
+ model: string;
32
+ deviceName: string;
33
+ macAddress: string;
34
+ firmwareVersion: string;
35
+ resolution: string;
36
+ bitrateType: string;
37
+ videoQuality: string;
38
+ frameRate: number;
39
+ bitrate: number;
40
+ videoEncoding: string;
41
+ hddName: string;
42
+ hddCapacity: string;
43
+ freeSpace: string;
44
+ hddStatus: string;
45
+ hddProperty: string;
46
+ nvrStatus: string;
47
+ timeMode: string;
48
+ localTime: string;
49
+ timezone: string;
50
+ addressingFormatType: string;
51
+ hostName: string;
52
+ portNo: string;
53
+ synchronizeInterval: string;
54
+ };
27
55
  export type NvrCreatePayload = {
28
56
  serial?: string;
29
57
  httpUrl: string;
@@ -24,6 +24,7 @@ export type CreateOAuthClientPayload = {
24
24
  scopes?: string[];
25
25
  description?: string;
26
26
  logoUrl?: string;
27
+ userId?: number;
27
28
  };
28
29
  export type AdminCreateOAuthClientPayload = CreateOAuthClientPayload & {
29
30
  clientId?: string;
@@ -1,22 +1,19 @@
1
- import { Automation, AutomationType, DateType, PaginationParams } from "@evercam/api/types";
1
+ import { Automation, DateType, PaginationParams } from "@evercam/api/types";
2
2
  export type ProgressPhotosCreateUpdateRequestPayload = {
3
3
  cameraExids?: string;
4
4
  notifyDays?: string;
5
- compareDelay?: AutomationType;
6
5
  notifyTime?: string;
6
+ timezone?: string;
7
+ name?: string;
7
8
  provider?: string;
8
9
  type?: string;
9
10
  config?: {
10
- compareDelay?: AutomationType;
11
- period?: number;
12
11
  recipients?: string;
13
- projectId?: number;
14
12
  companyId?: number;
15
- catergoryId?: string;
13
+ projectId?: number;
14
+ categoryId?: number;
16
15
  };
17
- subject?: string;
18
16
  isPaused?: boolean;
19
- timezone?: string;
20
17
  };
21
18
  export type ProgressPhotosUnSubscribeParams = {
22
19
  email: string;
@@ -37,30 +34,35 @@ export type CameraOption = {
37
34
  exid: string;
38
35
  name: string;
39
36
  };
40
- export interface ProgressPhotoItem {
37
+ export type ProgressPhotoItemConfig = {
38
+ recipients?: string;
39
+ companyId?: number;
40
+ projectId?: number;
41
+ };
42
+ export type ProgressPhotoItem = {
41
43
  id: number;
42
44
  cameras: CameraOption[] | string[] | string;
43
45
  insertedAt: string;
46
+ name: string;
44
47
  provider: string;
45
- config: {
46
- recipients: string | string[];
47
- sendSnapshotAs: string;
48
- };
48
+ config: ProgressPhotoItemConfig;
49
49
  isPaused: boolean;
50
50
  notifyDays: string | string[];
51
51
  notifyTime: string;
52
- api_id: string;
53
- api_key: string;
52
+ apiId: string;
53
+ apiKey: string;
54
54
  timezone: string;
55
55
  exid: string;
56
56
  fullname: string;
57
- }
57
+ };
58
58
  export type ProgressPhotosQueryParams = PaginationParams & {
59
- fullname: string;
60
- recipients: string;
61
- notifyTime: string;
62
- timezone: string;
63
- cameras: string;
59
+ fullname?: string;
60
+ name?: string;
61
+ recipients?: string;
62
+ notifyTime?: string;
63
+ timezone?: string;
64
+ cameras?: string;
65
+ sort?: string;
64
66
  };
65
67
  export type progressPhotosHistoryQueryParams = {
66
68
  insertedAt: DateType[];
@@ -75,4 +77,5 @@ export type ProgressPhotosHistory = {
75
77
  failedCameraIds: string;
76
78
  subject: string;
77
79
  recipients: string;
80
+ insertedAt: string;
78
81
  };
@@ -66,7 +66,7 @@ export declare enum ProjectArchiveTier {
66
66
  No = "No"
67
67
  }
68
68
  export type UpdateCameraRestrictionPayload = {
69
- isAccessRestricted?: boolean;
69
+ isAccessRestricted: boolean;
70
70
  };
71
71
  export type Logo = {
72
72
  id: number;
@@ -95,7 +95,7 @@ export declare enum ProjectFeatureFlag {
95
95
  NoGdpr = "no_gdpr"
96
96
  }
97
97
  export type ProjectBatteryReading = {
98
- exid: number;
98
+ exid: string;
99
99
  voltage: number;
100
100
  lastSeen: DateType;
101
101
  };
@@ -164,11 +164,11 @@ export type ProjectRole = {
164
164
  name: string;
165
165
  };
166
166
  export type ProjectMember = {
167
- id: string;
167
+ id: number;
168
168
  key?: string;
169
169
  email: string;
170
170
  fullname: string;
171
- lastSeenAt?: string;
171
+ lastSeenAt?: string | null;
172
172
  role: ProjectRole;
173
173
  permissions?: string[];
174
174
  subRoles?: Array<{
@@ -178,9 +178,11 @@ export type ProjectMember = {
178
178
  company?: {
179
179
  name: string;
180
180
  } | null;
181
+ telephone?: string | null;
182
+ persona?: string | null;
181
183
  };
182
184
  export type ProjectInvite = {
183
- id?: string;
185
+ id?: number;
184
186
  email: string;
185
187
  role?: ProjectRole;
186
188
  permissions?: string[];
@@ -194,6 +196,7 @@ export type ProjectMembersResponsePayload = {
194
196
  users: ProjectMember[];
195
197
  invites: ProjectInvite[];
196
198
  errors: ProjectUserError[];
199
+ emailFailures?: string[];
197
200
  };
198
201
  export type ProjectMembersRequestPayload = {
199
202
  roleId: number;
@@ -224,19 +227,36 @@ export type ProjectUsersResponsePayload = {
224
227
  errors: ProjectUserError[];
225
228
  };
226
229
  export type ProjectStorageQueryParams = PaginationParams & {
227
- cameraName: string;
228
- cameraExid: CameraExid;
230
+ cameraName?: string;
231
+ cameraExid?: CameraExid;
232
+ projectName?: string;
233
+ projectExid?: string;
234
+ archiveTier?: string;
235
+ status?: ProjectStorageStatus;
236
+ requester?: string;
237
+ createdAtFrom?: string;
238
+ createdAtTo?: string;
239
+ scheduleAtFrom?: string;
240
+ scheduleAtTo?: string;
241
+ sort?: string;
242
+ };
243
+ export type ProjectStorageCamera = {
244
+ archiveId: number;
245
+ name: string;
246
+ exid: string;
247
+ errorMessage?: string;
229
248
  status: ProjectStorageStatus;
230
249
  };
231
250
  export type ProjectStorage = {
232
251
  id: number;
233
- cameraExid: CameraExid;
234
- cameraName: string;
235
- projectExid: string;
236
- projectName: string;
237
- status: ProjectStorageStatus;
238
- requestor: string;
239
- created_at: DateType;
252
+ exid: string;
253
+ name: string;
254
+ requester: string;
255
+ archiveTier: string;
256
+ scheduleAt: string;
257
+ endDate: string;
258
+ insertedAt: string;
259
+ cameras: ProjectStorageCamera[];
240
260
  };
241
261
  export declare enum ProjectStorageStatus {
242
262
  New = "new",
@@ -245,3 +265,26 @@ export declare enum ProjectStorageStatus {
245
265
  Completed = "completed",
246
266
  Failed = "failed"
247
267
  }
268
+ export type ProjectTransferOwnershipResponse = {
269
+ project: {
270
+ id: number;
271
+ exid: string;
272
+ name: string;
273
+ status: string;
274
+ userId: number;
275
+ zohoId: string | null;
276
+ };
277
+ };
278
+ export type ProjectTeamMembersResponse = {
279
+ exid?: string;
280
+ name?: string;
281
+ cameras?: Array<{
282
+ exid?: string;
283
+ name?: string;
284
+ shares?: Array<{
285
+ email?: string;
286
+ fullname?: string;
287
+ rights?: string;
288
+ }>;
289
+ }>;
290
+ };
@@ -2,15 +2,16 @@ import { ApiCredentials } from "@evercam/api/types";
2
2
  import { CancelToken } from "axios";
3
3
  export type Snapshot = {
4
4
  createdAt: string;
5
- data: string;
5
+ data: string | null;
6
6
  status?: string;
7
7
  };
8
- export type NearestSnapshotRequestPayload = {
8
+ export type SnapshotRequestPayload = {
9
9
  apiKey?: string;
10
10
  apiId?: string;
11
11
  token?: string;
12
12
  cancelToken?: object;
13
13
  includeImage?: boolean;
14
+ view?: boolean;
14
15
  };
15
16
  export type AvailableDaysRequestPayload = {
16
17
  cameraId: string;
@@ -36,7 +37,7 @@ export type AvailableHoursResponsePayload = {
36
37
  export type NearestSnapshotResponsePayload = {
37
38
  snapshots: Array<{
38
39
  createdAt: string;
39
- data: string;
40
+ data: string | null;
40
41
  notes?: string;
41
42
  }>;
42
43
  };
@@ -3,7 +3,8 @@ export declare enum RoiType {
3
3
  AnprContext = "anpr_context",
4
4
  ExclusionZone = "exclusion_zone",
5
5
  WorkflowArea = "workflow_area",
6
- SiteAnalytics = "site_analytics"
6
+ SiteAnalytics = "site_analytics",
7
+ Ppe = "ppe_roi"
7
8
  }
8
9
  export declare enum RoiShapeType {
9
10
  Polygon = "polygon",
@@ -8,11 +8,14 @@ export type SimProvider = {
8
8
  export type Router = {
9
9
  id?: number;
10
10
  kitId: number | null;
11
+ kitSerial?: string;
12
+ kitName?: string;
11
13
  routerType: string;
12
14
  routerUserId: string;
13
15
  routerPassword: string;
14
16
  serialNumber: number | null;
15
17
  rmsUrl?: string;
18
+ rmsId?: number;
16
19
  externalHost?: string;
17
20
  routerHttpPort: number | null;
18
21
  vpnPassword: string;
@@ -29,8 +32,12 @@ export type Router = {
29
32
  sims: Array<Pick<Sim, "id" | "number">>;
30
33
  billPayers?: Array<RouterBillPayer>;
31
34
  simProviders?: Array<SimProvider>;
32
- projects?: Pick<Project, "exid" | "id" | "name">[];
33
- cameras?: Pick<Camera, "id" | "name">[];
35
+ projects?: Pick<Project, "exid" | "name">[];
36
+ cameras?: Pick<Camera, "id" | "name"> & {
37
+ exid: string;
38
+ }[];
39
+ lastSms?: string;
40
+ lastSmsAt?: string;
34
41
  };
35
42
  export declare enum PowerType {
36
43
  Mains = "mains",
@@ -55,6 +62,20 @@ export type RouterQueryParams = PaginationParams & {
55
62
  routerType: string;
56
63
  vpnServer: string;
57
64
  serialNumber: string;
65
+ kitSerial: string;
66
+ kitName: string;
67
+ cameras: string;
68
+ projects: string;
69
+ sims: string;
70
+ billPayers: string;
71
+ lastSms: string;
72
+ lastSmsAt: string;
73
+ hasBattery: string;
74
+ powerType: PowerType;
75
+ powerSchedule: PowerSchedule;
76
+ status: RouterStatus;
77
+ routerHttpPort: string;
78
+ sort: string;
58
79
  };
59
80
  export type RouterCreatePayload = {
60
81
  serialNumber: number;
@@ -13,51 +13,58 @@ export type JsonObject = {
13
13
  };
14
14
  export type JsonArray = JsonValue[];
15
15
  export type BatteryReading = {
16
- id: number;
17
- voltage: number;
18
- datetime: DateType;
19
- serialNo: string;
20
- iValue: number;
21
- vpvValue: number;
22
- ppvValue: number;
23
- csValue: number;
24
- errValue: number;
25
- h19Value: number;
26
- h20Value: number;
27
- h21Value: number;
28
- h22Value: number;
29
- h23Value: number;
30
- ilValue: number;
31
- mpptValue: number;
32
- loadValue: number;
33
- pValue: number;
34
- consumedAmphours: number;
35
- socValue: number;
36
- timeToGo: number;
37
- alarm: string;
38
- relay: string;
39
- arValue: number;
40
- bmvValue: number;
41
- h1Value: number;
42
- h2Value: number;
43
- h3Value: number;
44
- h4Value: number;
45
- h5Value: number;
46
- h6Value: number;
47
- h7Value: number;
48
- h8Value: number;
49
- h9Value: number;
50
- h10Value: number;
51
- h11Value: number;
52
- };
53
- export interface PaginatedItems<T> {
16
+ id?: number;
17
+ voltage?: number;
18
+ datetime?: DateType;
19
+ serialNo?: string;
20
+ iValue?: number;
21
+ vpvValue?: number;
22
+ ppvValue?: number;
23
+ csValue?: number;
24
+ errValue?: number;
25
+ h19Value?: number;
26
+ h20Value?: number;
27
+ h21Value?: number;
28
+ h22Value?: number;
29
+ h23Value?: number;
30
+ ilValue?: number;
31
+ mpptValue?: number;
32
+ loadValue?: number;
33
+ pValue?: number;
34
+ consumedAmphours?: number;
35
+ socValue?: number;
36
+ timeToGo?: number;
37
+ alarm?: string;
38
+ relay?: string;
39
+ arValue?: number;
40
+ bmvValue?: number;
41
+ h1Value?: number;
42
+ h2Value?: number;
43
+ h3Value?: number;
44
+ h4Value?: number;
45
+ h5Value?: number;
46
+ h6Value?: number;
47
+ h7Value?: number;
48
+ h8Value?: number;
49
+ h9Value?: number;
50
+ h10Value?: number;
51
+ h11Value?: number;
52
+ };
53
+ export type BatteryReadingRequestPayload = {
54
+ fromDate: string;
55
+ toDate: string;
56
+ sort?: string;
57
+ page?: number;
58
+ limit?: number;
59
+ };
60
+ export type PaginatedItems<T> = {
54
61
  from: number;
55
62
  items: Array<T>;
56
63
  limit: number;
57
64
  page: number;
58
65
  to: number;
59
66
  total: number;
60
- }
67
+ };
61
68
  export declare enum UnitSystem {
62
69
  Imperial = "imperial",
63
70
  Metric = "metric"
@@ -156,14 +163,14 @@ export type Exid = string;
156
163
  export type EntityByExid<Entity extends unknown> = Record<Exid, Entity>;
157
164
  export type BatteryVoltage = {
158
165
  date: DateType;
159
- max_value: number;
160
- min_value: number;
166
+ maxValue: number;
167
+ minValue: number;
161
168
  };
162
169
  export type GlobalSearchQueryParams = PaginationParams & {
163
170
  resource: "projects" | "users" | "cameras" | "companies" | "sims" | "routers";
164
171
  term: string;
165
- email: string;
166
- featureFlag: string;
172
+ email?: string;
173
+ featureFlag?: string;
167
174
  };
168
175
  export type TimelineDateInterval = {
169
176
  fromDate: string;
@@ -83,10 +83,7 @@ export type SmsHistory = {
83
83
  type: string;
84
84
  status: string;
85
85
  text: string;
86
- deliveryDatetime: string;
87
- };
88
- export type SmsHistoryResponse = {
89
- singleSimSms: SmsHistory[];
86
+ deliveredAt: string;
90
87
  };
91
88
  export type Sms = {
92
89
  id: number;