@movalib/movalib-commons 1.68.17 → 1.68.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.
|
@@ -18,6 +18,7 @@ export default class Garage {
|
|
|
18
18
|
workforce: number;
|
|
19
19
|
partialWorkforce?: number;
|
|
20
20
|
contactPhone: string;
|
|
21
|
+
secondaryContactPhone: string;
|
|
21
22
|
prestationCategories: CategoryPrestation[];
|
|
22
23
|
prestations: Prestation[];
|
|
23
24
|
schedules: Schedule[];
|
|
@@ -71,7 +72,7 @@ export default class Garage {
|
|
|
71
72
|
newDocumentEditor?: boolean;
|
|
72
73
|
isOnlineAppointment?: boolean;
|
|
73
74
|
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
|
+
constructor(id: string, adminId: string, name: string, address: Address, workforce: number, prestations: Prestation[], schedules: Schedule[], contactPhone: string, secondaryContactPhone: 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
76
|
}
|
|
76
77
|
export declare function isStockActive(g: Garage): boolean;
|
|
77
78
|
export declare function getSetting(settings: Settings[], code: string): string | null;
|
|
@@ -4,7 +4,7 @@ exports.isStockActive = isStockActive;
|
|
|
4
4
|
exports.getSetting = getSetting;
|
|
5
5
|
var Settings_1 = require("./Settings");
|
|
6
6
|
var Garage = /** @class */ (function () {
|
|
7
|
-
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
|
+
function Garage(id, adminId, name, address, workforce, prestations, schedules, contactPhone, secondaryContactPhone, 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) {
|
|
8
8
|
if (onlyBilling === void 0) { onlyBilling = false; }
|
|
9
9
|
if (newDocumentEditor === void 0) { newDocumentEditor = false; }
|
|
10
10
|
this.id = id;
|
|
@@ -47,6 +47,7 @@ var Garage = /** @class */ (function () {
|
|
|
47
47
|
this.newDocumentEditor = newDocumentEditor;
|
|
48
48
|
this.isOnlineAppointment = isOnlineAppointment;
|
|
49
49
|
this.isOnlineQuote = isOnlineQuote;
|
|
50
|
+
this.secondaryContactPhone = secondaryContactPhone;
|
|
50
51
|
}
|
|
51
52
|
return Garage;
|
|
52
53
|
}());
|
package/package.json
CHANGED
package/src/models/Garage.ts
CHANGED
|
@@ -19,6 +19,7 @@ export default class Garage {
|
|
|
19
19
|
workforce: number;
|
|
20
20
|
partialWorkforce?: number;
|
|
21
21
|
contactPhone: string;
|
|
22
|
+
secondaryContactPhone: string;
|
|
22
23
|
prestationCategories: CategoryPrestation[];
|
|
23
24
|
prestations: Prestation[];
|
|
24
25
|
schedules: Schedule[];
|
|
@@ -81,6 +82,7 @@ export default class Garage {
|
|
|
81
82
|
prestations: Prestation[],
|
|
82
83
|
schedules: Schedule[],
|
|
83
84
|
contactPhone: string,
|
|
85
|
+
secondaryContactPhone: string,
|
|
84
86
|
prestationCategories: CategoryPrestation[],
|
|
85
87
|
dayPeriodFastServiceExcluded: boolean,
|
|
86
88
|
loanerVehicleFastServiceExcluded: boolean,
|
|
@@ -154,6 +156,7 @@ export default class Garage {
|
|
|
154
156
|
this.newDocumentEditor = newDocumentEditor;
|
|
155
157
|
this.isOnlineAppointment = isOnlineAppointment;
|
|
156
158
|
this.isOnlineQuote = isOnlineQuote;
|
|
159
|
+
this.secondaryContactPhone = secondaryContactPhone;
|
|
157
160
|
}
|
|
158
161
|
|
|
159
162
|
|