@movalib/movalib-commons 1.64.8 → 1.64.9

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.
@@ -64,5 +64,6 @@ export default class Garage {
64
64
  companyRegistrationNumber?: string;
65
65
  establishmentRegistrationNumber?: string;
66
66
  reopeningDate?: Date;
67
- constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], dayPeriodFastServiceExcluded: boolean, loanerVehicleFastServiceExcluded: boolean, fastServiceThreshold: number, timezone: string, vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, customStyle?: string, subscription?: Subscription, partialWorkforce?: number, mailCustomization?: boolean, billingActive?: boolean, billingToken?: string, billingSimulationActive?: boolean, appId?: number, establishmentRegistrationNumber?: string, companyRegistrationNumber?: string, quoteRequestStart?: Date, reopeningDate?: Date, demoBillingActive?: boolean);
67
+ targetMargin?: number;
68
+ constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, prestationCategories: CategoryPrestation[], dayPeriodFastServiceExcluded: boolean, loanerVehicleFastServiceExcluded: boolean, fastServiceThreshold: number, timezone: string, vehicles?: VehicleGarage[], contactEmail?: string, logo?: string, suppliers?: Supplier[], documents?: Document[], subscriptions?: Subscription[], loanerVehicleActive?: boolean, loanerVehicleRequestActive?: boolean, customStyle?: string, subscription?: Subscription, partialWorkforce?: number, mailCustomization?: boolean, billingActive?: boolean, billingToken?: string, billingSimulationActive?: boolean, appId?: number, establishmentRegistrationNumber?: string, companyRegistrationNumber?: string, quoteRequestStart?: Date, reopeningDate?: Date, targetMargin?: number, demoBillingActive?: boolean);
68
69
  }
@@ -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, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, billingSimulationActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, quoteRequestStart, reopeningDate, demoBillingActive) {
4
+ function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, billingSimulationActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, quoteRequestStart, reopeningDate, targetMargin, demoBillingActive) {
5
5
  this.id = id;
6
6
  this.adminId = adminId;
7
7
  this.name = name;
@@ -35,6 +35,7 @@ var Garage = /** @class */ (function () {
35
35
  this.companyRegistrationNumber = companyRegistrationNumber;
36
36
  this.establishmentRegistrationNumber = establishmentRegistrationNumber;
37
37
  this.reopeningDate = reopeningDate;
38
+ this.targetMargin = targetMargin;
38
39
  this.demoBillingActive = demoBillingActive;
39
40
  }
40
41
  return Garage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.64.8",
3
+ "version": "1.64.9",
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",
@@ -70,6 +70,7 @@ export default class Garage {
70
70
  companyRegistrationNumber?: string;
71
71
  establishmentRegistrationNumber?: string;
72
72
  reopeningDate?: Date;
73
+ targetMargin?: number;
73
74
  constructor(
74
75
  id: string,
75
76
  adminId: string,
@@ -104,6 +105,7 @@ export default class Garage {
104
105
  companyRegistrationNumber?: string,
105
106
  quoteRequestStart?: Date,
106
107
  reopeningDate?: Date,
108
+ targetMargin?: number,
107
109
  demoBillingActive?: boolean
108
110
  ) {
109
111
  this.id = id;
@@ -139,6 +141,7 @@ export default class Garage {
139
141
  this.companyRegistrationNumber = companyRegistrationNumber;
140
142
  this.establishmentRegistrationNumber = establishmentRegistrationNumber;
141
143
  this.reopeningDate = reopeningDate;
144
+ this.targetMargin = targetMargin;
142
145
  this.demoBillingActive = demoBillingActive;
143
146
  }
144
147
  }