@evercam/api 1.0.0-51caa5700 → 1.0.0-53d3bfead

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 +1 -0
  2. package/dist/api/api/3dFirebaseApi.d.ts +201 -15
  3. package/dist/api/api/adminApi.d.ts +89 -71
  4. package/dist/api/api/aiApi.d.ts +146 -86
  5. package/dist/api/api/authzApi.d.ts +29 -17
  6. package/dist/api/api/client/axios.d.ts +2 -1
  7. package/dist/api/api/client/swr/Swr.d.ts +1 -1
  8. package/dist/api/api/evercamApi.d.ts +136 -100
  9. package/dist/api/api/evercamLabsApi.d.ts +7 -6
  10. package/dist/api/api/exNvrApi.d.ts +1 -1
  11. package/dist/api/api/ingestApi.d.ts +113 -46
  12. package/dist/api/api/ptzApi.d.ts +12 -3
  13. package/dist/api/api/videoWallApi.d.ts +2 -2
  14. package/dist/api/api/weatherApi.d.ts +2 -2
  15. package/dist/api/types/360.d.ts +258 -45
  16. package/dist/api/types/aconex.d.ts +9 -9
  17. package/dist/api/types/admin.d.ts +51 -0
  18. package/dist/api/types/aiConfigs.d.ts +242 -0
  19. package/dist/api/types/analytics.d.ts +120 -67
  20. package/dist/api/types/anpr.d.ts +48 -2
  21. package/dist/api/types/auditLogs.d.ts +19 -1
  22. package/dist/api/types/authz.d.ts +116 -6
  23. package/dist/api/types/autodesk.d.ts +7 -7
  24. package/dist/api/types/automation.d.ts +56 -3
  25. package/dist/api/types/axios.d.ts +19 -14
  26. package/dist/api/types/bim.d.ts +38 -9
  27. package/dist/api/types/camera.d.ts +95 -100
  28. package/dist/api/types/comments.d.ts +10 -11
  29. package/dist/api/types/company.d.ts +42 -1
  30. package/dist/api/types/compare.d.ts +20 -5
  31. package/dist/api/types/connector.d.ts +5 -5
  32. package/dist/api/types/coolify.d.ts +18 -2
  33. package/dist/api/types/copilot.d.ts +11 -9
  34. package/dist/api/types/detections.d.ts +23 -18
  35. package/dist/api/types/drone.d.ts +95 -6
  36. package/dist/api/types/errors.d.ts +13 -1
  37. package/dist/api/types/gateReport.d.ts +49 -168
  38. package/dist/api/types/gateReportManagement.d.ts +170 -0
  39. package/dist/api/types/hammertech.d.ts +98 -0
  40. package/dist/api/types/hdd.d.ts +26 -1
  41. package/dist/api/types/index.d.ts +14 -2
  42. package/dist/api/types/ingest.d.ts +187 -4
  43. package/dist/api/types/kit.d.ts +72 -56
  44. package/dist/api/types/map.d.ts +12 -0
  45. package/dist/api/types/media.d.ts +10 -3
  46. package/dist/api/types/notification.d.ts +72 -3
  47. package/dist/api/types/oauth.d.ts +62 -0
  48. package/dist/api/types/observationEvents.d.ts +61 -0
  49. package/dist/api/types/observations.d.ts +84 -0
  50. package/dist/api/types/planner.d.ts +97 -8
  51. package/dist/api/types/posthog.d.ts +35 -0
  52. package/dist/api/types/procore.d.ts +13 -6
  53. package/dist/api/types/progressPhoto.d.ts +6 -2
  54. package/dist/api/types/project.d.ts +108 -22
  55. package/dist/api/types/recording.d.ts +9 -15
  56. package/dist/api/types/recycleBin.d.ts +1 -1
  57. package/dist/api/types/ring.d.ts +53 -0
  58. package/dist/api/types/roi.d.ts +3 -11
  59. package/dist/api/types/routeParams.d.ts +1 -0
  60. package/dist/api/types/router.d.ts +20 -1
  61. package/dist/api/types/shared.d.ts +29 -22
  62. package/dist/api/types/shares.d.ts +6 -157
  63. package/dist/api/types/sim.d.ts +6 -6
  64. package/dist/api/types/siteAnalytics.d.ts +169 -47
  65. package/dist/api/types/siteAnalyticsManagement.d.ts +117 -0
  66. package/dist/api/types/siteView.d.ts +73 -0
  67. package/dist/api/types/smartSeach.d.ts +5 -0
  68. package/dist/api/types/snapshots.d.ts +49 -4
  69. package/dist/api/types/socket.d.ts +4 -0
  70. package/dist/api/types/storageProvider.d.ts +19 -0
  71. package/dist/api/types/storyblok.d.ts +27 -0
  72. package/dist/api/types/streaming.d.ts +3 -3
  73. package/dist/api/types/tag.d.ts +1 -1
  74. package/dist/api/types/time.d.ts +0 -18
  75. package/dist/api/types/timelapse.d.ts +7 -11
  76. package/dist/api/types/user.d.ts +102 -35
  77. package/dist/api/types/videoWall.d.ts +21 -21
  78. package/dist/api/types/weather.d.ts +75 -11
  79. package/dist/api/types/widget.d.ts +71 -12
  80. package/dist/api/types/xweather.d.ts +4 -4
  81. package/dist/api/utils.d.ts +0 -1
  82. package/dist/index.js +2270 -1088
  83. package/dist/index.js.map +1 -1
  84. package/dist/index.umd.cjs +1 -1
  85. package/dist/index.umd.cjs.map +1 -1
  86. package/dist/shared/types/components.d.ts +211 -34
  87. package/dist/shared/types/customDataTableFilters.d.ts +10 -0
  88. package/dist/shared/types/imagePlayer.d.ts +9 -2
  89. package/dist/shared/types/index.d.ts +3 -0
  90. package/dist/shared/types/observations.d.ts +25 -0
  91. package/dist/shared/types/rbac.d.ts +67 -0
  92. package/dist/shared/types/timeline.d.ts +2 -1
  93. package/package.json +4 -2
  94. package/dist/api/types/storageServers.d.ts +0 -4
  95. package/dist/api/types/vendorModel.d.ts +0 -15
@@ -5,13 +5,82 @@ 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
+ SmartSearchExportReady = "smart_search_export_ready",
10
+ SmartSearchExportFailed = "smart_search_export_failed",
11
+ GateReportExportReady = "gate_report_export_ready",
12
+ GateReportExportFailed = "gate_report_export_failed",
13
+ PpeExportReady = "ppe_export_ready",
14
+ PpeExportFailed = "ppe_export_failed",
15
+ WeatherExportReady = "weather_export_ready",
16
+ WeatherExportFailed = "weather_export_failed",
17
+ CompareReady = "compare_ready",
18
+ CompareFailed = "compare_failed",
19
+ ClipExportReady = "clip_export_ready",
20
+ ClipExportFailed = "clip_export_failed",
21
+ NvrClipReady = "nvr_clip_ready",
22
+ NvrClipFailed = "nvr_clip_failed",
23
+ UploadComplete = "upload_complete",
24
+ UploadFailed = "upload_failed",
25
+ RingCamerasImported = "ring_cameras_imported",
26
+ StorageWarning = "storage_warning",
27
+ Other = "other"
9
28
  }
10
- export interface CameraShareContext {
29
+ export interface NotificationContextBase {
30
+ cameraExid?: string;
31
+ projectExid?: string;
32
+ }
33
+ export interface CameraShareContext extends NotificationContextBase {
11
34
  cameraExid: string;
12
35
  projectExid: string;
13
36
  shareId: number;
14
37
  }
38
+ export interface CameraStatusChangeContext extends NotificationContextBase {
39
+ cameraExid: string;
40
+ projectExid: string;
41
+ newStatus: string;
42
+ }
43
+ export interface MentionContext extends NotificationContextBase {
44
+ }
45
+ export interface TimelapseCreatedContext extends NotificationContextBase {
46
+ cameraExid: string;
47
+ projectExid: string;
48
+ archiveExid: string;
49
+ }
50
+ export interface TimelapseFailedContext extends NotificationContextBase {
51
+ cameraExid: string;
52
+ projectExid: string;
53
+ }
54
+ export interface DroneProcessingContext extends NotificationContextBase {
55
+ projectExid: string;
56
+ droneDate: string;
57
+ }
58
+ export interface Processing360Context extends NotificationContextBase {
59
+ projectExid: string;
60
+ date: string;
61
+ floor: string;
62
+ }
63
+ export interface ExportNotificationContext extends NotificationContextBase {
64
+ projectExid: string;
65
+ archiveExid?: string;
66
+ compareExid?: string;
67
+ }
68
+ export interface UploadNotificationContext extends NotificationContextBase {
69
+ projectExid: string;
70
+ }
71
+ export interface RingCamerasImportedContext extends NotificationContextBase {
72
+ projectExid: string;
73
+ projectName: string;
74
+ cameras: Array<{
75
+ exid: string;
76
+ name: string;
77
+ }>;
78
+ }
79
+ export interface StorageWarningContext extends NotificationContextBase {
80
+ projectExid: string;
81
+ cameraName: string;
82
+ }
83
+ export type NotificationContext = CameraShareContext | CameraStatusChangeContext | MentionContext | TimelapseCreatedContext | TimelapseFailedContext | DroneProcessingContext | Processing360Context | ExportNotificationContext | UploadNotificationContext | RingCamerasImportedContext | StorageWarningContext;
15
84
  export type Notification = {
16
85
  id: number;
17
86
  type: NotificationType;
@@ -23,5 +92,5 @@ export type Notification = {
23
92
  targetFullname: string;
24
93
  targetEmail: string;
25
94
  readTimestamp: string | null;
26
- context: CameraShareContext;
95
+ context: NotificationContext;
27
96
  };
@@ -0,0 +1,62 @@
1
+ export type OAuthClient = {
2
+ id: number;
3
+ name: string;
4
+ clientId: string;
5
+ redirectUris: string[];
6
+ logoUrl: string | null;
7
+ scopes: string[];
8
+ active: boolean;
9
+ description: string | null;
10
+ owner: {
11
+ id: number;
12
+ name: string;
13
+ email: string;
14
+ } | null;
15
+ createdAt: string;
16
+ updatedAt: string;
17
+ };
18
+ export type OAuthClientWithSecret = OAuthClient & {
19
+ clientSecret: string;
20
+ };
21
+ export type CreateOAuthClientPayload = {
22
+ name: string;
23
+ redirectUris: string[];
24
+ scopes?: string[];
25
+ description?: string;
26
+ logoUrl?: string;
27
+ };
28
+ export type AdminCreateOAuthClientPayload = CreateOAuthClientPayload & {
29
+ clientId?: string;
30
+ clientSecret?: string;
31
+ };
32
+ export type UpdateOAuthClientPayload = {
33
+ name?: string;
34
+ redirectUris?: string[];
35
+ scopes?: string[];
36
+ description?: string;
37
+ logoUrl?: string;
38
+ active?: boolean;
39
+ };
40
+ export type OAuthScopeDetail = {
41
+ scope: string;
42
+ description: string;
43
+ group: string;
44
+ };
45
+ export type OAuthConsentInfo = {
46
+ client: {
47
+ name: string;
48
+ logoUrl: string | null;
49
+ description: string | null;
50
+ };
51
+ scopes: OAuthScopeDetail[];
52
+ };
53
+ export type OAuthConsentPayload = {
54
+ clientId: string;
55
+ scope: string;
56
+ redirectUri: string;
57
+ state: string;
58
+ decision: "allow" | "deny";
59
+ };
60
+ export type OAuthConsentResponse = {
61
+ redirectUrl: string;
62
+ };
@@ -0,0 +1,61 @@
1
+ export declare enum ObservationEventStatus {
2
+ Detected = "detected",
3
+ Approved = "approved",
4
+ Disapproved = "disapproved",
5
+ Unsure = "unsure"
6
+ }
7
+ export interface ObservationEventStatusConfig {
8
+ bg: string;
9
+ fg: string;
10
+ border: string;
11
+ label: string;
12
+ }
13
+ export declare const OBSERVATION_EVENT_STATUS_CONFIGS: Record<ObservationEventStatus, ObservationEventStatusConfig>;
14
+ export interface SiteAnalyticsObservationEvent {
15
+ id: number;
16
+ observationTypeId: number;
17
+ observationName: string | null;
18
+ observationCode: string | null;
19
+ cameraExid: string;
20
+ projectExid: string | null;
21
+ startTime: string;
22
+ endTime: string | null;
23
+ confidence: number | null;
24
+ status: ObservationEventStatus;
25
+ aiEvidence: string | null;
26
+ bbox: number[] | null;
27
+ model: string | null;
28
+ promptId: number | null;
29
+ observationMetadata: Record<string, unknown> | null;
30
+ trigger: string;
31
+ reviewedBy: string | null;
32
+ reviewedAt: string | null;
33
+ insertedAt: string;
34
+ }
35
+ export type ObservationEventQueryParams = {
36
+ cameraExid?: string;
37
+ projectExid?: string;
38
+ observationTypeIds?: string;
39
+ status?: ObservationEventStatus | string;
40
+ sortBy?: string;
41
+ sortDir?: "asc" | "desc";
42
+ page?: number;
43
+ limit?: number;
44
+ };
45
+ export interface ObservationEventListResponse {
46
+ items: SiteAnalyticsObservationEvent[];
47
+ total: number;
48
+ page: number;
49
+ limit: number;
50
+ from: number;
51
+ to: number;
52
+ }
53
+ export type ObservationEventVerdict = ObservationEventStatus.Approved | ObservationEventStatus.Disapproved | ObservationEventStatus.Unsure;
54
+ export interface ObservationEventReviewPayload {
55
+ status: ObservationEventVerdict;
56
+ }
57
+ export interface ObservationEventReviewResponse {
58
+ updated: boolean;
59
+ id: number | string;
60
+ message: string;
61
+ }
@@ -0,0 +1,84 @@
1
+ import { type ProjectExid, type CameraExid, type DateType, type BBox, AiObservationFeasibilityStatus, ObservationEventStatus, DownloadFileType } from "@evercam/api/types";
2
+ export type ObservationApproval = boolean | ObservationEventStatus.Unsure | null;
3
+ export type ObservationEvent = {
4
+ id: number;
5
+ observationTypeId: number;
6
+ observationCode: string | null;
7
+ cameraExid: CameraExid;
8
+ projectExid: ProjectExid | null;
9
+ capturedAt: DateType;
10
+ endTime: DateType | null;
11
+ confidence: number | null;
12
+ status: ObservationEventStatus;
13
+ isApproved: ObservationApproval;
14
+ reason: string | null;
15
+ personBbox: BBox | null;
16
+ modelVersion: string | null;
17
+ observationMetadata: Record<string, unknown> | null;
18
+ trigger: string;
19
+ reviewedBy: string | null;
20
+ reviewedAt: DateType | null;
21
+ };
22
+ export type ObservationType = {
23
+ id: number;
24
+ observationCode: string;
25
+ name: string;
26
+ description: string | null;
27
+ type: string;
28
+ severity: number | null;
29
+ feasibilityStatus: AiObservationFeasibilityStatus;
30
+ };
31
+ export declare enum ObservationMissingItem {
32
+ Helmet = "helmet",
33
+ HighVisVest = "high_vis_vest",
34
+ Gloves = "gloves",
35
+ Glasses = "glasses"
36
+ }
37
+ export type ObservationEventsQueryParams = {
38
+ cameraExid?: CameraExid;
39
+ observationCode?: string;
40
+ fromDate?: string;
41
+ toDate?: string;
42
+ missingItems?: string;
43
+ status?: ObservationEventStatus;
44
+ sort?: string;
45
+ page?: number;
46
+ limit?: number;
47
+ };
48
+ export type ObservationEventsExportQueryParams = {
49
+ cameraExid?: CameraExid;
50
+ fromDate: string;
51
+ toDate: string;
52
+ required?: string;
53
+ compliant?: boolean;
54
+ fileType: DownloadFileType;
55
+ directDownload?: boolean;
56
+ includeInvalid?: boolean;
57
+ };
58
+ export type ObservationApprovalUpdateResponse = {
59
+ updated: boolean;
60
+ id: number | string | null;
61
+ message: string;
62
+ };
63
+ export declare enum ObservationCountsGranularity {
64
+ Day = "day",
65
+ Week = "week",
66
+ Month = "month"
67
+ }
68
+ export type ObservationEventsCountsQueryParams = {
69
+ cameraExid?: CameraExid;
70
+ observationCode?: string;
71
+ fromDate?: string;
72
+ toDate?: string;
73
+ missingItems?: string;
74
+ status?: ObservationEventStatus;
75
+ granularity?: ObservationCountsGranularity;
76
+ };
77
+ export type ObservationEventCount = {
78
+ bucket: DateType;
79
+ total: number;
80
+ };
81
+ export declare enum ObservationRequiredItem {
82
+ Helmet = "has_helmet",
83
+ HighVisVest = "has_high_vis_vest"
84
+ }
@@ -1,3 +1,33 @@
1
+ import { GeoPoint, TuplePoint2D } from "./shared";
2
+ import { MapType } from "./map";
3
+ export type PlannerListItem = {
4
+ id: string;
5
+ projectId: string;
6
+ projectName: string;
7
+ projectLocation: string;
8
+ createdDate: string;
9
+ updatedDate: string;
10
+ owner?: string;
11
+ lastUpdatedBy?: string;
12
+ camerasCount?: number;
13
+ hasPlan?: boolean;
14
+ thumbnailUrl?: string;
15
+ projectMapType?: MapType;
16
+ sessionId?: string;
17
+ };
18
+ export type PolygonPath = TuplePoint2D[];
19
+ export type PolygonCoordinates = PolygonPath[];
20
+ export interface GeoJSONPolygon {
21
+ type: "Polygon";
22
+ coordinates: PolygonCoordinates;
23
+ }
24
+ export declare enum PlannerUrlParams {
25
+ SitePlanId = "site_plan_id",
26
+ IsNewSitePlan = "is_new_site_plan",
27
+ IsBoundsMode = "is_bounds_mode",
28
+ ProjectPosition = "project_position",
29
+ DealId = "deal_id"
30
+ }
1
31
  export declare enum EDistortImageModes {
2
32
  FreeRotate = "freeRotate",
3
33
  Lock = "lock",
@@ -21,15 +51,74 @@ export declare enum EPageType {
21
51
  List = "list",
22
52
  Item = "item"
23
53
  }
24
- export declare enum EPaths {
25
- Home = "/",
26
- Session = "/session"
27
- }
28
- export declare enum EProjectItems {
29
- Camera = "camera",
30
- Overlay = "overlay"
31
- }
32
54
  export declare enum ERoles {
33
55
  Admin = "admin",
34
56
  User = "user"
35
57
  }
58
+ export type PlannerOverlay = {
59
+ imageUrl?: string;
60
+ corners?: {
61
+ topLeft: GeoPoint;
62
+ topRight: GeoPoint;
63
+ bottomLeft: GeoPoint;
64
+ bottomRight: GeoPoint;
65
+ } | null;
66
+ };
67
+ export type PlannerCameraMarker = {
68
+ name?: string;
69
+ location?: GeoPoint;
70
+ heading?: number;
71
+ fovAngle?: number;
72
+ fovRadius?: number;
73
+ isVisible?: boolean;
74
+ color?: string;
75
+ };
76
+ export type SitePlanBounds = {
77
+ northEast: GeoPoint;
78
+ southWest: GeoPoint;
79
+ };
80
+ export type SitePlan = {
81
+ id?: string;
82
+ projectId?: string;
83
+ owner?: string;
84
+ lastUpdatedBy?: string;
85
+ projectName?: string;
86
+ projectLocation?: string;
87
+ projectMapType?: EMapTypes;
88
+ projectBounds?: SitePlanBounds;
89
+ overlay?: PlannerOverlay;
90
+ markers?: PlannerCameraMarker[];
91
+ thumbnailUrl?: string;
92
+ createdDate?: string;
93
+ updatedDate?: string;
94
+ };
95
+ export interface IDrawControl {
96
+ _toolbars: {
97
+ draw: {
98
+ _activeMode: {
99
+ handler: {
100
+ disable(): void;
101
+ completeShape(): void;
102
+ };
103
+ };
104
+ _modes: {
105
+ polygon: {
106
+ handler: {
107
+ enable(): void;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ edit: {
113
+ _modes: {
114
+ edit: {
115
+ handler: {
116
+ enable(): void;
117
+ disable(): void;
118
+ save(): void;
119
+ };
120
+ };
121
+ };
122
+ };
123
+ };
124
+ }
@@ -16,3 +16,38 @@ export declare enum ActiveUsersMetric {
16
16
  WAU = "wau",
17
17
  MAU = "mau"
18
18
  }
19
+ export type PosthogUser = {
20
+ id: string;
21
+ email: string;
22
+ isWeeklyActiveUser: number;
23
+ isMonthlyActiveUser: number;
24
+ eventsCount: number;
25
+ };
26
+ export type PosthogUsersRequestParams = {
27
+ companyExid?: string;
28
+ projectExid?: string;
29
+ cameraExid?: string;
30
+ productsActivityOnly?: boolean;
31
+ afterId?: string;
32
+ size?: number;
33
+ };
34
+ export type PosthogUsersResponse = {
35
+ data: PosthogUser[];
36
+ hasMore: boolean;
37
+ size: number;
38
+ };
39
+ export type PosthogUserParams = {
40
+ firstname?: string;
41
+ lastname?: string;
42
+ email: string;
43
+ telephone?: string;
44
+ country?: string;
45
+ isAdmin?: boolean;
46
+ persona?: string;
47
+ companyExid: string;
48
+ companyName: string;
49
+ isImpersonationLogin: boolean;
50
+ ImpersonatedUserEmail?: string;
51
+ ImpersonatedUserFirstname?: string;
52
+ impersonatedUserLastname?: string;
53
+ };
@@ -44,7 +44,7 @@ export type ProcoreObservationSpecificationSection = {
44
44
  label: string;
45
45
  currentRevisionId: number;
46
46
  };
47
- export type ProcoreUserProjectsResponsePayload = Array<{
47
+ export type ProcoreUserProject = {
48
48
  accountingProjectNumber?: number;
49
49
  active: boolean;
50
50
  address: string;
@@ -85,7 +85,8 @@ export type ProcoreUserProjectsResponsePayload = Array<{
85
85
  totalValue: string;
86
86
  updatedAt: string;
87
87
  zip: number;
88
- }>;
88
+ };
89
+ export type ProcoreUserProjectsResponsePayload = Array<ProcoreUserProject>;
89
90
  export type ProcoreToolUserAccessLevel = {
90
91
  id: ProcoreToolUserAccessLevelIds;
91
92
  name: string;
@@ -120,7 +121,7 @@ export type ProcoreEditedImageUploadRequestPayload = {
120
121
  snapshot: string;
121
122
  categoryId?: number;
122
123
  };
123
- export type ProcoreProjectsAlbumsPayload = Array<{
124
+ export type ProcoreProjectAlbum = {
124
125
  count: number;
125
126
  coverPhoto: string | null;
126
127
  createdAt: string;
@@ -134,8 +135,9 @@ export type ProcoreProjectsAlbumsPayload = Array<{
134
135
  position: number;
135
136
  private: boolean;
136
137
  updatedAt: string;
137
- }>;
138
- export type ProcoreObservationTypesResponsePayload = Array<{
138
+ };
139
+ export type ProcoreProjectsAlbumsPayload = Array<ProcoreProjectAlbum>;
140
+ export type ProcoreObservationType = {
139
141
  id: number;
140
142
  name: string;
141
143
  localizedName: string;
@@ -147,12 +149,17 @@ export type ProcoreObservationTypesResponsePayload = Array<{
147
149
  parentInactive: boolean;
148
150
  isUse: boolean;
149
151
  nameTranslations: string;
150
- }>;
152
+ };
153
+ export type ProcoreObservationTypesResponsePayload = Array<ProcoreObservationType>;
151
154
  export type ProcoreObservationFormRequestPayload = {
152
155
  projectId: number;
153
156
  companyId: number;
154
157
  observationType: string;
155
158
  };
159
+ export type ProcoreCustomFieldOptionsRequestPayload = {
160
+ optionsUrl: string;
161
+ companyId: number;
162
+ };
156
163
  export type ProcoreObservationForm = Record<string, ProcoreObservationField | ProcoreObservationCustomField>;
157
164
  export type ProcoreObservationField = {
158
165
  name: string;
@@ -1,4 +1,4 @@
1
- import { Automation, AutomationType, DateTime, DateType, PaginationParams } from "@/types";
1
+ import { Automation, AutomationType, DateType, PaginationParams } from "@evercam/api/types";
2
2
  export type ProgressPhotosCreateUpdateRequestPayload = {
3
3
  cameraExids?: string;
4
4
  notifyDays?: string;
@@ -8,6 +8,7 @@ export type ProgressPhotosCreateUpdateRequestPayload = {
8
8
  type?: string;
9
9
  config?: {
10
10
  compareDelay?: AutomationType;
11
+ period?: number;
11
12
  recipients?: string;
12
13
  projectId?: number;
13
14
  companyId?: number;
@@ -24,6 +25,9 @@ export type ProgressPhotosUnSubscribeParams = {
24
25
  export type ProgressPhotosResponsePayload = {
25
26
  progressPhotos: Automation[];
26
27
  };
28
+ export type ProgressPhotoItemResponsePayload = {
29
+ progressPhotos: Automation;
30
+ };
27
31
  export declare enum AutomationDialogType {
28
32
  Create = "create",
29
33
  Edit = "edit",
@@ -70,5 +74,5 @@ export type ProgressPhotosHistory = {
70
74
  cameraIds: string;
71
75
  failedCameraIds: string;
72
76
  subject: string;
73
- recipients: DateTime;
77
+ recipients: string;
74
78
  };