@automateinc/fleet-types 1.0.37-dev.3cd1bcb → 1.0.38-dev.108f3b7
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.
- package/dist/types/attendance-patrol-point.d.ts +14 -0
- package/dist/types/attendance-patrol.d.ts +9 -0
- package/dist/types/employee-label-assignment.d.ts +10 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/nfc-tag.d.ts +5 -3
- package/dist/types/position-patrol-point.d.ts +16 -0
- package/dist/types/position-patrol.d.ts +12 -0
- package/package.json +1 -1
|
@@ -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
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -158,3 +158,8 @@ export * from "./leave-type";
|
|
|
158
158
|
export * from "./leave-event";
|
|
159
159
|
export * from "./leave";
|
|
160
160
|
export * from "./company-file";
|
|
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";
|
package/dist/types/nfc-tag.d.ts
CHANGED
|
@@ -3,9 +3,11 @@ export interface INFCTag {
|
|
|
3
3
|
createdAt: string;
|
|
4
4
|
updatedAt: string;
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
name?: string;
|
|
7
|
+
type: "SITE_INFORMATION" | "EMPLOYEE" | "PATROLLING";
|
|
7
8
|
uri: string;
|
|
8
9
|
data?: any;
|
|
9
|
-
siteId?:
|
|
10
|
-
employeeId?:
|
|
10
|
+
siteId?: string;
|
|
11
|
+
employeeId?: string;
|
|
12
|
+
positionPatrolPointId?: string;
|
|
11
13
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
reportNotesTrigger?: string;
|
|
11
|
+
|
|
12
|
+
patrolId: string;
|
|
13
|
+
nfcTagId?: string;
|
|
14
|
+
reportTypeId?: string;
|
|
15
|
+
reportCategoryId?: string;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automateinc/fleet-types",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.38-dev.108f3b7",
|
|
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",
|