@movalib/movalib-commons 1.68.0 → 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.
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="MaterialThemeProjectNewConfig">
4
+ <option name="metadata">
5
+ <MTProjectMetadataState>
6
+ <option name="migrated" value="true" />
7
+ <option name="pristineConfig" value="false" />
8
+ <option name="userId" value="41d9be1a:19b3189ae65:-7ffe" />
9
+ </MTProjectMetadataState>
10
+ </option>
11
+ </component>
12
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/movalib-commons.iml" filepath="$PROJECT_DIR$/.idea/movalib-commons.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ </component>
8
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -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
  }());
@@ -5,5 +5,7 @@ export default class VehicleGarage {
5
5
  color: string;
6
6
  type: string;
7
7
  vehicle: Vehicle;
8
- constructor(id: number, index: number, color: string, type: string, vehicle: Vehicle);
8
+ active: boolean;
9
+ archived: boolean;
10
+ constructor(id: number, index: number, color: string, type: string, vehicle: Vehicle, active: boolean, archived: boolean);
9
11
  }
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var VehicleGarage = /** @class */ (function () {
4
- function VehicleGarage(id, index, color, type, vehicle) {
4
+ function VehicleGarage(id, index, color, type, vehicle, active, archived) {
5
5
  this.id = id;
6
6
  this.index = index;
7
7
  this.color = color;
8
8
  this.type = type;
9
9
  this.vehicle = vehicle;
10
+ this.active = active;
11
+ this.archived = archived;
10
12
  }
11
13
  return VehicleGarage;
12
14
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.68.0",
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
  }
@@ -8,13 +8,17 @@ export default class VehicleGarage {
8
8
  index: number;
9
9
  color: string;
10
10
  type: string;
11
- vehicle: Vehicle
11
+ vehicle: Vehicle;
12
+ active: boolean;
13
+ archived: boolean;
12
14
 
13
- constructor( id: number,index: number, color: string, type: string, vehicle: Vehicle) {
15
+ constructor( id: number,index: number, color: string, type: string, vehicle: Vehicle, active: boolean, archived: boolean) {
14
16
  this.id = id;
15
17
  this.index = index;
16
18
  this.color = color;
17
19
  this.type = type;
18
20
  this.vehicle = vehicle;
21
+ this.active = active;
22
+ this.archived = archived;
19
23
  }
20
24
  }