@movalib/movalib-commons 1.51.3 → 1.51.4

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.
@@ -6,6 +6,7 @@ import Document from "./Document";
6
6
  import { OrderPreference, RegistrationState, SlotAlgorithm, SubscriptionPaymentInterval } from "../helpers/Enums";
7
7
  import User from "./User";
8
8
  import Subscription from "./Subscription";
9
+ import Employee from "./Employee";
9
10
  export default class Garage {
10
11
  id: string;
11
12
  adminId: string;
@@ -38,5 +39,6 @@ export default class Garage {
38
39
  subscriptions?: Subscription[];
39
40
  supportPhoneNumber?: string;
40
41
  operatorsActive?: boolean;
42
+ employees?: Employee[];
41
43
  constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[]);
42
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.51.3",
3
+ "version": "1.51.4",
4
4
  "description": "Bibliothèque d'objets communs à l'ensemble des projets React de Movalib",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -6,6 +6,7 @@ import Document from "./Document";
6
6
  import { OrderPreference, RegistrationState, SlotAlgorithm, SubscriptionPaymentInterval } from "../helpers/Enums";
7
7
  import User from "./User";
8
8
  import Subscription from "./Subscription";
9
+ import Employee from "./Employee";
9
10
 
10
11
  export default class Garage {
11
12
 
@@ -40,6 +41,7 @@ export default class Garage {
40
41
  subscriptions?: Subscription[];
41
42
  supportPhoneNumber?: string;
42
43
  operatorsActive?: boolean;
44
+ employees?: Employee[];
43
45
 
44
46
  constructor(
45
47
  id:string,