@automateinc/fleet-types 1.0.75 → 1.0.77-dev.5920545

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.
@@ -4,7 +4,7 @@ export interface ICallLog {
4
4
  updatedAt: string;
5
5
  deletedAt?: string;
6
6
 
7
- type: "BUILDING" | "CLIENT" | "EMPLOYEE" | "OTHER" | "USER" | null;
7
+ type: "BUILDING" | "CLIENT" | "EMPLOYEE" | "OTHER" | null;
8
8
 
9
9
  direction: "INCOMING" | "OUTGOING";
10
10
 
@@ -5,6 +5,9 @@ export interface IClientQuotationLine {
5
5
 
6
6
  quotationId: string;
7
7
  employeeGroupId: string;
8
+ employeeContractId: string;
9
+ employeeContractSnapshotId: string;
10
+ employeeCompanyId: string;
8
11
  roleId: string;
9
12
 
10
13
  headcount: number;
@@ -3,7 +3,7 @@ export interface IClientQuotation {
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
5
 
6
- status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED";
6
+ status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "CHANGES_NEEDED";
7
7
 
8
8
  clientId: string;
9
9
  createdById?: string;
@@ -13,6 +13,9 @@ export interface IClientQuotation {
13
13
  approvedAt?: string;
14
14
 
15
15
  previousVersionId?: string;
16
+ taxRate: number;
17
+
18
+ reason?: string;
16
19
 
17
20
  metadata?: any;
18
21
  }
@@ -0,0 +1,17 @@
1
+ export interface IContractCost {
2
+ id: string;
3
+ createdAt: string;
4
+ updatedAt: string;
5
+
6
+ name: string;
7
+ value: number;
8
+
9
+ recurrence: "ONE_TIME" | "RECURRING";
10
+
11
+ duration?: number;
12
+ durationType?: "DAY" | "WEEK" | "MONTH" | "YEAR";
13
+
14
+ contractId: string;
15
+
16
+ metadata?: any;
17
+ }
@@ -10,6 +10,7 @@ export interface IContract {
10
10
  updatedAt: Date;
11
11
  dailyHours: number;
12
12
  monthlyDaysOff: number;
13
+ workingDaysPerWeek: number;
13
14
  contractDuration: number;
14
15
  overtimeRate: number;
15
16
  commissionRate: number;
@@ -88,6 +88,7 @@ export * from "./contract";
88
88
  export * from "./contract-allowance";
89
89
  export * from "./contract-benefit";
90
90
  export * from "./contract-deduction";
91
+ export * from "./contract-cost";
91
92
  export * from "./coords";
92
93
  export * from "./day-of-week";
93
94
  export * from "./dispatch";
@@ -3,7 +3,7 @@ export interface IPositionVersion {
3
3
  updatedAt: Date;
4
4
  createdAt: Date;
5
5
 
6
- status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED";
6
+ status: "UNVERIFIED" | "PENDING_VERIFICATION" | "VERIFIED" | "REJECTED" | "CHANGES_NEEDED";
7
7
  version: number;
8
8
  coversSaturday: boolean;
9
9
  coversSunday: boolean;
@@ -16,6 +16,8 @@ export interface IPositionVersion {
16
16
  dailyCoverage: string;
17
17
  weeklyCoverage: string;
18
18
 
19
+ reason?: string;
20
+
19
21
  positionId: string;
20
22
  activePositionId: string;
21
23
  metadata?: any;
package/package.json CHANGED
@@ -52,5 +52,5 @@
52
52
  "test": "echo \"Error: no test specified\" && exit 1"
53
53
  },
54
54
  "types": "dist/types/index.d.ts",
55
- "version": "1.0.75"
55
+ "version": "1.0.77-dev.5920545"
56
56
  }