@automateinc/fleet-types 1.0.118 → 1.0.119

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
 
@@ -11,6 +11,7 @@ export interface IClientQuotation {
11
11
  | "CHANGES_NEEDED";
12
12
 
13
13
  clientId: string;
14
+ zoneId: string;
14
15
  createdById?: string;
15
16
  approvedById?: string;
16
17
 
@@ -109,7 +109,6 @@ export * from "./client-request-field-visibility-rule";
109
109
  export * from "./client-request-type";
110
110
  export * from "./client-request-value";
111
111
  export * from "./client-request-verification";
112
- export * from "./client-site";
113
112
  export * from "./client-status";
114
113
  export * from "./client-status-check";
115
114
  export * from "./client-status-check-requirement";
@@ -227,11 +226,11 @@ export * from "./schedule-assignment-policy";
227
226
  export * from "./schedule-attendance";
228
227
  export * from "./schedule-day-off";
229
228
  export * from "./schedule-draft";
230
- export * from "./schedule-site";
231
229
  export * from "./scheduling-requirement";
232
230
  export * from "./shift";
233
231
  export * from "./shift-type";
234
232
  export * from "./signing-mode";
233
+ export * from "./site";
235
234
  export * from "./standard-operating-procedure";
236
235
  export * from "./structured-content";
237
236
  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"
@@ -1,12 +1,15 @@
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
+ zoneId?: string | null;
12
+ contractId?: string | null;
10
13
  contactId?: string;
11
14
  metadata?: any;
12
15
  }
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.118"
60
+ "version": "1.0.119"
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
- }