@automateinc/fleet-types 1.0.115 → 1.0.116-dev.2d7d941

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,8 +4,7 @@ export interface IClientQuotationSiteDraft {
4
4
  updatedAt: string;
5
5
 
6
6
  quotationId: string;
7
- clientSiteId?: string | null;
8
- scheduleSiteId?: string | null;
7
+ siteId?: string | null;
9
8
 
10
9
  name: string;
11
10
 
@@ -6,6 +6,7 @@ export interface IClientQuotation {
6
6
  status: "DRAFT" | "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "CHANGES_NEEDED";
7
7
 
8
8
  clientId: string;
9
+ zoneId: string;
9
10
  createdById?: string;
10
11
  approvedById?: string;
11
12
 
@@ -87,7 +87,6 @@ export * from "./client-request-field-visibility-rule";
87
87
  export * from "./client-request-type";
88
88
  export * from "./client-request-value";
89
89
  export * from "./client-request-verification";
90
- export * from "./client-site";
91
90
  export * from "./client-status";
92
91
  export * from "./client-status-check";
93
92
  export * from "./client-status-check-requirement";
@@ -202,11 +201,11 @@ export * from "./schedule-assignment-policy";
202
201
  export * from "./schedule-attendance";
203
202
  export * from "./schedule-day-off";
204
203
  export * from "./schedule-draft";
205
- export * from "./schedule-site";
206
204
  export * from "./scheduling-requirement";
207
205
  export * from "./shift";
208
206
  export * from "./shift-type";
209
207
  export * from "./signing-mode";
208
+ export * from "./site";
210
209
  export * from "./standard-operating-procedure";
211
210
  export * from "./structured-content";
212
211
  export * from "./structured-content-collapse-node";
@@ -65,7 +65,7 @@ export type IModel =
65
65
  | "clientDocumentDefinition"
66
66
  | "zone"
67
67
  | "siteClass"
68
- | "clientSite"
68
+ | "site"
69
69
  | "positionTemplate"
70
70
  | "positionTemplateItem"
71
71
  | "position"
@@ -76,7 +76,6 @@ export type IModel =
76
76
  | "schedule"
77
77
  | "scheduleDraft"
78
78
  | "attendanceDraft"
79
- | "scheduleSite"
80
79
  | "standardOperatingProcedure"
81
80
  | "nFCTag"
82
81
  | "dispatch"
@@ -18,7 +18,6 @@ export interface IRequest {
18
18
  withdrawnAt?: string;
19
19
  folderKey?: string | null;
20
20
  archivedAt?: string | null;
21
- allowSigning?: string | null;
22
21
  employeeId: string;
23
22
  status: "PENDING_APPROVAL" | "APPROVED" | "REJECTED" | "WITHDRAWN" | "PENDING_VERIFICATION" | "ARCHIVED";
24
23
  actionsExecutionStatus: "PENDING" | "COMPLETED" | "PROCESSING" | "FAILED" | "SKIPPED";
@@ -1,12 +1,14 @@
1
- export interface IClientSite {
1
+ export interface ISite {
2
2
  id: string;
3
3
  createdAt: string;
4
4
  updatedAt: string;
5
+ deletedAt?: string | null;
5
6
  name: string;
6
7
  address?: any;
7
8
  geolocation?: { lat: number; lng: number };
8
9
  classId?: string;
9
10
  clientId: string;
11
+ contractId?: string | null;
10
12
  contactId?: string;
11
13
  metadata?: any;
12
14
  }
package/package.json CHANGED
@@ -57,5 +57,5 @@
57
57
  "test": "echo \"Error: no test specified\" && exit 1"
58
58
  },
59
59
  "types": "dist/types/index.d.ts",
60
- "version": "1.0.115"
60
+ "version": "1.0.116-dev.2d7d941"
61
61
  }
@@ -1,11 +0,0 @@
1
- export interface IScheduleSite {
2
- id: string;
3
- createdAt: string;
4
- updatedAt: string;
5
-
6
- shiftsCount: number;
7
- positionsCount: number;
8
- schedulesCount: number;
9
- scheduledSchedulesCount: number;
10
- metadata?: any;
11
- }