@automateinc/fleet-types 1.0.54-dev.4287068 → 1.0.54-dev.6a9ae94

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.
@@ -1,5 +1,3 @@
1
- import { IClient, IClientClass, IClientContact, IScheduleSite } from ".";
2
-
3
1
  export interface IClientSite {
4
2
  id: string;
5
3
  createdAt: string;
@@ -7,13 +5,8 @@ export interface IClientSite {
7
5
  name: string;
8
6
  address?: string;
9
7
  geolocation?: { lat: number; lng: number };
10
- class: IClientClass;
11
- classId: string;
12
- client: IClient;
8
+ classId?: string;
13
9
  clientId: string;
14
- contact?: IClientContact;
15
10
  contactId?: string;
16
- scheduleSite?: IScheduleSite;
17
- // Add Zones later
18
11
  metadata?: any;
19
12
  }
@@ -7,6 +7,6 @@ export interface IClient {
7
7
  deletedAt: string;
8
8
  logoId: string;
9
9
  folderKey: string;
10
- classId: string;
10
+ classId?: string;
11
11
  metadata?: any;
12
12
  }
@@ -1,14 +1,8 @@
1
- import { IClientSite, IPosition, IZone } from ".";
2
-
3
1
  export interface IScheduleSite {
4
2
  id: string;
5
3
  createdAt: string;
6
4
  updatedAt: string;
7
5
 
8
- zones?: IZone[];
9
- positions?: IPosition[];
10
- site: IClientSite;
11
-
12
6
  shiftsCount: number;
13
7
  positionsCount: number;
14
8
  schedulesCount: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@automateinc/fleet-types",
3
3
  "private": false,
4
- "version": "1.0.54-dev.4287068",
4
+ "version": "1.0.54-dev.6a9ae94",
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",