@movalib/movalib-commons 1.68.14 → 1.68.15

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.
@@ -59,7 +59,7 @@ export default class Garage {
59
59
  mailCustomization?: boolean;
60
60
  billingActive?: boolean;
61
61
  billingToken?: string;
62
- billingSimulationActive?: boolean;
62
+ legacyQuoteActive?: boolean;
63
63
  demoBillingActive?: boolean;
64
64
  appId?: number;
65
65
  companyRegistrationNumber?: string;
@@ -71,7 +71,7 @@ export default class Garage {
71
71
  newDocumentEditor?: boolean;
72
72
  isOnlineAppointment?: boolean;
73
73
  isOnlineQuote?: boolean;
74
- 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, settings: Settings[], 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, reopeningDate?: Date, targetMargin?: number, demoBillingActive?: boolean, onlyBilling?: boolean, newDocumentEditor?: boolean, googleReviewUrl?: string, isOnlineAppointment?: boolean, isOnlineQuote?: boolean);
74
+ 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, settings: Settings[], 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, legacyQuoteActive?: boolean, appId?: number, establishmentRegistrationNumber?: string, companyRegistrationNumber?: string, reopeningDate?: Date, targetMargin?: number, demoBillingActive?: boolean, onlyBilling?: boolean, newDocumentEditor?: boolean, googleReviewUrl?: string, isOnlineAppointment?: boolean, isOnlineQuote?: boolean);
75
75
  }
76
76
  export declare function isStockActive(g: Garage): boolean;
77
77
  export declare function getSetting(settings: Settings[], code: string): string | null;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getSetting = exports.isStockActive = void 0;
4
4
  var Settings_1 = require("./Settings");
5
5
  var Garage = /** @class */ (function () {
6
- function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, settings, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, billingSimulationActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, reopeningDate, targetMargin, demoBillingActive, onlyBilling, newDocumentEditor, googleReviewUrl, isOnlineAppointment, isOnlineQuote) {
6
+ function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, prestationCategories, dayPeriodFastServiceExcluded, loanerVehicleFastServiceExcluded, fastServiceThreshold, timezone, settings, vehicles, contactEmail, logo, suppliers, documents, subscriptions, loanerVehicleActive, loanerVehicleRequestActive, customStyle, subscription, partialWorkforce, mailCustomization, billingActive, billingToken, legacyQuoteActive, appId, establishmentRegistrationNumber, companyRegistrationNumber, reopeningDate, targetMargin, demoBillingActive, onlyBilling, newDocumentEditor, googleReviewUrl, isOnlineAppointment, isOnlineQuote) {
7
7
  if (onlyBilling === void 0) { onlyBilling = false; }
8
8
  if (newDocumentEditor === void 0) { newDocumentEditor = false; }
9
9
  this.id = id;
@@ -33,7 +33,7 @@ var Garage = /** @class */ (function () {
33
33
  this.mailCustomization = mailCustomization;
34
34
  this.billingActive = billingActive;
35
35
  this.billingToken = billingToken;
36
- this.billingSimulationActive = billingSimulationActive;
36
+ this.legacyQuoteActive = legacyQuoteActive;
37
37
  this.appId = appId;
38
38
  this.companyRegistrationNumber = companyRegistrationNumber;
39
39
  this.establishmentRegistrationNumber = establishmentRegistrationNumber;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.68.14",
3
+ "version": "1.68.15",
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,7 +60,7 @@ export default class Garage {
60
60
  mailCustomization?: boolean;
61
61
  billingActive?: boolean;
62
62
  billingToken?: string;
63
- billingSimulationActive?: boolean;
63
+ legacyQuoteActive?: boolean;
64
64
  demoBillingActive?: boolean;
65
65
  appId?: number;
66
66
  companyRegistrationNumber?: string;
@@ -101,7 +101,7 @@ export default class Garage {
101
101
  mailCustomization?: boolean,
102
102
  billingActive?: boolean,
103
103
  billingToken?: string,
104
- billingSimulationActive?: boolean,
104
+ legacyQuoteActive?: boolean,
105
105
  appId?: number,
106
106
  establishmentRegistrationNumber?: string,
107
107
  companyRegistrationNumber?: string,
@@ -141,7 +141,7 @@ export default class Garage {
141
141
  this.mailCustomization = mailCustomization;
142
142
  this.billingActive = billingActive;
143
143
  this.billingToken = billingToken;
144
- this.billingSimulationActive = billingSimulationActive;
144
+ this.legacyQuoteActive = legacyQuoteActive;
145
145
  this.appId = appId;
146
146
  this.companyRegistrationNumber = companyRegistrationNumber;
147
147
  this.establishmentRegistrationNumber = establishmentRegistrationNumber;