@automateinc/fleet-types 1.0.37 → 1.0.38-dev.42167ca

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.
@@ -0,0 +1,14 @@
1
+ export interface IAttendancePatrolPoint {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+
6
+ notes?: string;
7
+ status: "PENDING" | "COMPLETED" | "SKIPPED";
8
+
9
+ positionPatrolPointId: string;
10
+ attendancePatrolId: string;
11
+ fileId?: string;
12
+
13
+ patrolId: string;
14
+ }
@@ -0,0 +1,9 @@
1
+ export interface IAttendancePatrol {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+
6
+ positionPatrolId: string;
7
+ attendanceId: string;
8
+ reportId?: string;
9
+ }
@@ -159,3 +159,7 @@ export * from "./leave-event";
159
159
  export * from "./leave";
160
160
  export * from "./company-file";
161
161
  export * from "./employee-label-assignment";
162
+ export * from "./position-patrol";
163
+ export * from "./position-patrol-point";
164
+ export * from "./attendance-patrol";
165
+ export * from "./attendance-patrol-point";
@@ -3,9 +3,10 @@ export interface INFCTag {
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
5
 
6
- type: "SITE_INFORMATION" | "EMPLOYEE";
6
+ type: "SITE_INFORMATION" | "EMPLOYEE" | "PATROLLING";
7
7
  uri: string;
8
8
  data?: any;
9
- siteId?: number;
10
- employeeId?: number;
9
+ siteId?: string;
10
+ employeeId?: string;
11
+ positionPatrolPointId?: string;
11
12
  }
@@ -0,0 +1,12 @@
1
+ export interface IPositionPatrolPoint {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+
6
+ name: string;
7
+ description?: string;
8
+ order: number;
9
+ type: "CLOSE_ENDED_QUESTION" | "OPEN_ENDED_QUESTION" | "NO_ACTION" | "PHOTO" | "VIDEO";
10
+
11
+ patrolId: string;
12
+ }
@@ -0,0 +1,11 @@
1
+ export interface IPositionPatrol {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt?: string;
5
+
6
+ name: string;
7
+ description?: string;
8
+ flow: "SEQUENTIAL" | "RANDOM";
9
+
10
+ positionId: string;
11
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.37",
4
+ "version": "1.0.38-dev.42167ca",
5
5
  "description": "Reusable TypeScript types and interfaces for Fleet API.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",