@movalib/movalib-commons 1.68.1 → 1.68.2

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.
@@ -54,6 +54,7 @@ export default class Garage {
54
54
  paymentAuthorizationMinDowntime?: number;
55
55
  timezone: string;
56
56
  customStyle?: string;
57
+ googleReviewUrl?: string;
57
58
  mailCustomization?: boolean;
58
59
  billingActive?: boolean;
59
60
  billingToken?: string;
@@ -66,5 +67,5 @@ export default class Garage {
66
67
  reopeningDate?: Date;
67
68
  targetMargin?: number;
68
69
  onlyBilling?: boolean;
69
- 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, onlyBilling?: boolean);
70
+ 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, onlyBilling?: boolean, googleReviewUrl?: string);
70
71
  }
@@ -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, targetMargin, demoBillingActive, onlyBilling) {
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, onlyBilling, googleReviewUrl) {
5
5
  if (onlyBilling === void 0) { onlyBilling = false; }
6
6
  this.id = id;
7
7
  this.adminId = adminId;
@@ -39,6 +39,7 @@ var Garage = /** @class */ (function () {
39
39
  this.targetMargin = targetMargin;
40
40
  this.demoBillingActive = demoBillingActive;
41
41
  this.onlyBilling = onlyBilling;
42
+ this.googleReviewUrl = googleReviewUrl;
42
43
  }
43
44
  return Garage;
44
45
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.68.1",
3
+ "version": "1.68.2",
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",
@@ -60,6 +60,7 @@ export default class Garage {
60
60
  paymentAuthorizationMinDowntime?: number;
61
61
  timezone: string;
62
62
  customStyle?: string;
63
+ googleReviewUrl?:string;
63
64
  mailCustomization?: boolean;
64
65
  billingActive?: boolean;
65
66
  billingToken?: string;
@@ -108,7 +109,8 @@ export default class Garage {
108
109
  reopeningDate?: Date,
109
110
  targetMargin?: number,
110
111
  demoBillingActive?: boolean,
111
- onlyBilling: boolean = false
112
+ onlyBilling: boolean = false,
113
+ googleReviewUrl?:string
112
114
  ) {
113
115
  this.id = id;
114
116
  this.adminId = adminId;
@@ -146,5 +148,6 @@ export default class Garage {
146
148
  this.targetMargin = targetMargin;
147
149
  this.demoBillingActive = demoBillingActive;
148
150
  this.onlyBilling = onlyBilling;
151
+ this.googleReviewUrl = googleReviewUrl;
149
152
  }
150
153
  }