@movalib/movalib-commons 1.59.18 → 1.59.19

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.
@@ -51,5 +51,6 @@ export default class Garage {
51
51
  loanerVehicleRequestActive?: boolean;
52
52
  paymentAuthorizationActive?: boolean;
53
53
  paymentAuthorizationMinDowntime?: number;
54
- constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, subscription?: Subscription, partialWorkforce?: number);
54
+ customStyle?: string;
55
+ constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, customStyle?: string, subscription?: Subscription, partialWorkforce?: number);
55
56
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var Garage = /** @class */ (function () {
4
- function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, subscription, partialWorkforce) {
4
+ function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce) {
5
5
  this.id = id;
6
6
  this.adminId = adminId;
7
7
  this.name = name;
@@ -21,6 +21,7 @@ var Garage = /** @class */ (function () {
21
21
  this.loanerVehicleRequestActive = loanerVehicleRequestActive;
22
22
  this.subscription = subscription;
23
23
  this.partialWorkforce = partialWorkforce;
24
+ this.customStyle = customStyle;
24
25
  }
25
26
  return Garage;
26
27
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.59.18",
3
+ "version": "1.59.19",
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",
@@ -53,6 +53,7 @@ export default class Garage {
53
53
  loanerVehicleRequestActive?: boolean;
54
54
  paymentAuthorizationActive?: boolean;
55
55
  paymentAuthorizationMinDowntime?: number;
56
+ customStyle?: string;
56
57
 
57
58
  constructor(
58
59
  id:string,
@@ -72,6 +73,7 @@ export default class Garage {
72
73
  subscriptions?: Subscription[],
73
74
  loanerVehicleActive?: boolean,
74
75
  loanerVehicleRequestActive?: boolean,
76
+ customStyle?: string,
75
77
  subscription?: Subscription,
76
78
  partialWorkforce?: number
77
79
  ) {
@@ -94,5 +96,6 @@ export default class Garage {
94
96
  this.loanerVehicleRequestActive = loanerVehicleRequestActive;
95
97
  this.subscription = subscription;
96
98
  this.partialWorkforce = partialWorkforce;
99
+ this.customStyle = customStyle;
97
100
  }
98
101
  }