@automateinc/fleet-types 1.0.35 → 1.0.36-dev.c39fc8d

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
+ }
@@ -158,3 +158,7 @@ export * from "./leave-type";
158
158
  export * from "./leave-event";
159
159
  export * from "./leave";
160
160
  export * from "./company-file";
161
+ export * from "./position-patrol";
162
+ export * from "./position-patrol-point";
163
+ export * from "./attendance-patrol";
164
+ export * from "./attendance-patrol-point";
@@ -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.35",
4
+ "version": "1.0.36-dev.c39fc8d",
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",