@automateinc/fleet-types 1.0.40 → 1.0.41

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,31 @@
1
+ import { ICoords } from "./coords";
2
+ import { IDayOfWeek } from "./day-of-week";
3
+
4
+ export interface IClientContract {
5
+ id: string;
6
+ createdAt: string;
7
+ updatedAt: string;
8
+
9
+ status: "INACTIVE" | "ACTIVE" | "TERMINATED";
10
+ clientId: string;
11
+ companyId: string;
12
+ startDate: string;
13
+ endDate?: string;
14
+ duration?: number | "ONGOING";
15
+
16
+ geolocation: ICoords;
17
+ coverage: IDayOfWeek[];
18
+ nationalities: string[];
19
+ requirements: string[];
20
+ costPerHead: number;
21
+ shiftCoverage: number;
22
+ monthlyAmount: number;
23
+ paymentDate: string;
24
+ performanceBondAmount: number;
25
+ thirdPartyLiabilityInsurance: boolean;
26
+ notes: string;
27
+ supplementalAgreementId?: string;
28
+ personInChargeId?: string;
29
+
30
+ metadata?: any;
31
+ }
@@ -0,0 +1,15 @@
1
+ export interface IClientSubContract {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ status: "INACTIVE" | "ACTIVE" | "TERMINATED";
7
+ contractId: string;
8
+ startDate: string;
9
+ endDate?: string;
10
+ duration?: number | "ONGOING";
11
+ manPower?: number;
12
+ notes: string;
13
+
14
+ metadata?: any;
15
+ }
@@ -0,0 +1 @@
1
+ export type IDayOfWeek = "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY" | "SUNDAY";
@@ -165,3 +165,6 @@ export * from "./attendance-patrol";
165
165
  export * from "./attendance-patrol-point";
166
166
  export * from "./position-template";
167
167
  export * from "./position-template-item";
168
+ export * from "./day-of-week";
169
+ export * from "./client-contract";
170
+ export * from "./client-sub-contract";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.40",
4
+ "version": "1.0.41",
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",