@automateinc/fleet-types 1.0.50 → 1.0.51-dev.058b541

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.
@@ -7,7 +7,7 @@ export interface IAttendancePatrolPoint {
7
7
  status: "PENDING" | "COMPLETED" | "SKIPPED" | "ON_HOLD";
8
8
  order: number;
9
9
 
10
- patrolPointId: string;
10
+ positionPatrolPointId: string;
11
11
  attendancePatrolId: string;
12
12
  fileId?: string;
13
13
  reportId?: string;
@@ -3,7 +3,7 @@ export interface IAttendancePatrol {
3
3
  createdAt: string;
4
4
  updatedAt?: string;
5
5
 
6
- patrolId: string;
6
+ positionPatrolId: string;
7
7
  attendanceId: string;
8
8
  reportId?: string;
9
9
  metadata?: any;
@@ -160,13 +160,11 @@ export * from "./leave-event";
160
160
  export * from "./leave";
161
161
  export * from "./company-file";
162
162
  export * from "./employee-label-assignment";
163
- export * from "./patrol";
164
- export * from "./patrol-point";
163
+ export * from "./position-patrol";
164
+ export * from "./position-patrol-point";
165
165
  export * from "./attendance-patrol";
166
166
  export * from "./attendance-patrol-point";
167
167
  export * from "./position-template";
168
168
  export * from "./position-template-item";
169
169
  export * from "./day-of-week";
170
170
  export * from "./client-contract";
171
- export * from "./cluster-patrol";
172
- export * from "./cluster-patrol-point";
@@ -1,4 +1,4 @@
1
- export interface IPatrolPoint {
1
+ export interface IPositionPatrolPoint {
2
2
  id: string;
3
3
  createdAt: string;
4
4
  updatedAt?: string;
@@ -1,6 +1,4 @@
1
- import { IDayOfWeek } from "./day-of-week";
2
-
3
- export interface IPatrol {
1
+ export interface IPositionPatrol {
4
2
  id: string;
5
3
  createdAt: string;
6
4
  updatedAt?: string;
@@ -9,9 +7,7 @@ export interface IPatrol {
9
7
  description?: string;
10
8
  flow: "SEQUENTIAL" | "RANDOM";
11
9
  frequency: number;
12
- days: IDayOfWeek[];
13
10
 
14
- positionId?: string;
15
- regionId: string;
11
+ positionId: string;
16
12
  metadata?: any;
17
13
  }
@@ -6,5 +6,4 @@ export interface IRecruitmentOtherInformation {
6
6
  updatedAt: string;
7
7
  additionalInformation: IRecruitmentOtherInformationAdditionalInformation[];
8
8
  metadata?: any;
9
- initialClientId?: string;
10
9
  }
@@ -11,5 +11,7 @@ export interface IRequestCategory {
11
11
  updatedAt: string;
12
12
  allowedRequesters: Array<"USER" | "EMPLOYEE">;
13
13
  hidden: boolean;
14
+ info?: string;
15
+ infoType: "INFO" | "WARNING" | "ERROR";
14
16
  metadata?: any;
15
17
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.50",
4
+ "version": "1.0.51-dev.058b541",
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",
@@ -1,17 +0,0 @@
1
- export interface IClusterPatrolPoint {
2
- id: string;
3
- createdAt: string;
4
- updatedAt?: string;
5
-
6
- notes?: string;
7
- status: "PENDING" | "COMPLETED" | "SKIPPED" | "ON_HOLD";
8
- order: number;
9
-
10
- patrolPointId: string;
11
- clusterPatrolId: string;
12
- fileId?: string;
13
- reportId?: string;
14
-
15
- patrolId: string;
16
- metadata?: any;
17
- }
@@ -1,12 +0,0 @@
1
- export interface IClusterPatrol {
2
- id: string;
3
- createdAt: string;
4
- updatedAt?: string;
5
-
6
- patrolId: string;
7
- date: string;
8
- reportId?: string;
9
- employeeId: string;
10
-
11
- metadata?: any;
12
- }