@movalib/movalib-commons 1.68.29 → 1.68.31
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.
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare enum SettingsEnumCode {
|
|
2
2
|
STOCK_MODULE_ENABLED = "STOCK_MODULE_ENABLED",
|
|
3
3
|
NO_PHONE_CUSTOMER_CREATION = "NO_PHONE_CUSTOMER_CREATION",
|
|
4
|
-
DOCUMENT_PRODUCT_CREATION = "DOCUMENT_PRODUCT_CREATION"
|
|
4
|
+
DOCUMENT_PRODUCT_CREATION = "DOCUMENT_PRODUCT_CREATION",
|
|
5
|
+
DOCUMENT_PRODUCT_UPDATE = "DOCUMENT_PRODUCT_UPDATE"
|
|
5
6
|
}
|
|
6
7
|
export default class Settings {
|
|
7
8
|
code: SettingsEnumCode;
|
|
@@ -6,6 +6,7 @@ var SettingsEnumCode;
|
|
|
6
6
|
SettingsEnumCode["STOCK_MODULE_ENABLED"] = "STOCK_MODULE_ENABLED";
|
|
7
7
|
SettingsEnumCode["NO_PHONE_CUSTOMER_CREATION"] = "NO_PHONE_CUSTOMER_CREATION";
|
|
8
8
|
SettingsEnumCode["DOCUMENT_PRODUCT_CREATION"] = "DOCUMENT_PRODUCT_CREATION";
|
|
9
|
+
SettingsEnumCode["DOCUMENT_PRODUCT_UPDATE"] = "DOCUMENT_PRODUCT_UPDATE";
|
|
9
10
|
})(SettingsEnumCode || (exports.SettingsEnumCode = SettingsEnumCode = {}));
|
|
10
11
|
var Settings = /** @class */ (function () {
|
|
11
12
|
function Settings(code, valueBoolean, valueText, valueNumber) {
|
|
@@ -42,6 +42,7 @@ export default class Subscription {
|
|
|
42
42
|
billing: boolean;
|
|
43
43
|
trainingOptionalOne: Date;
|
|
44
44
|
trainingOptionalTwo: Date;
|
|
45
|
+
optionalTrainingTwo: boolean;
|
|
45
46
|
movaPackage: string;
|
|
46
47
|
packInfo: boolean;
|
|
47
48
|
smsCampaign: boolean;
|
|
@@ -58,6 +59,9 @@ export default class Subscription {
|
|
|
58
59
|
training: boolean;
|
|
59
60
|
totalPrice: number;
|
|
60
61
|
subscriptionComment: string;
|
|
61
|
-
|
|
62
|
+
setupFees: boolean;
|
|
63
|
+
aiTelephone: boolean;
|
|
64
|
+
tablet: boolean;
|
|
65
|
+
constructor(id: string, garageId: string, type: SubscriptionType, state: SubscriptionState, companyName: string, companyEmail: string, companySiren: string, companyLegalForm: string, trialDays: number, startDate: Date, activationDate: Date, cancellationDate: Date, paymentInterval: SubscriptionPaymentInterval, paymentIban: string, roi: roiInterface, additionalFormationQuantity: number, webPage: boolean, smsCampaign: boolean, trainingOptionalOne: Date, trainingOptionalTwo: Date, webcam: boolean, billing: boolean, movaPackage: string, packInfo: boolean, checkList: any, expertMonthly: boolean, wholesaleOffer: string, accountantEmail: string, accountantPhone: string, accountantIdentity: string, isClientImportBillable: boolean, isCatalogImportBillable: boolean, needAccountingOffer: boolean, accountingPrice: boolean, training: boolean, totalPrice: number, subscriptionComment: string, optionalTrainingTwo: boolean, setupFees: boolean, aiTelephone: boolean, tablet: boolean);
|
|
62
66
|
}
|
|
63
67
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
var Subscription = /** @class */ (function () {
|
|
4
|
-
function Subscription(id, garageId, type, state, companyName, companyEmail, companySiren, companyLegalForm, trialDays, startDate, activationDate, cancellationDate, paymentInterval, paymentIban, roi, additionalFormationQuantity, webPage, smsCampaign, trainingOptionalOne, trainingOptionalTwo, webcam, billing, movaPackage, packInfo, checkList, expertMonthly, wholesaleOffer, accountantEmail, accountantPhone, accountantIdentity, isClientImportBillable, isCatalogImportBillable, needAccountingOffer, accountingPrice, training, totalPrice, subscriptionComment) {
|
|
4
|
+
function Subscription(id, garageId, type, state, companyName, companyEmail, companySiren, companyLegalForm, trialDays, startDate, activationDate, cancellationDate, paymentInterval, paymentIban, roi, additionalFormationQuantity, webPage, smsCampaign, trainingOptionalOne, trainingOptionalTwo, webcam, billing, movaPackage, packInfo, checkList, expertMonthly, wholesaleOffer, accountantEmail, accountantPhone, accountantIdentity, isClientImportBillable, isCatalogImportBillable, needAccountingOffer, accountingPrice, training, totalPrice, subscriptionComment, optionalTrainingTwo, setupFees, aiTelephone, tablet) {
|
|
5
5
|
this.id = id;
|
|
6
6
|
this.garageId = garageId;
|
|
7
7
|
this.type = type;
|
|
@@ -39,6 +39,10 @@ var Subscription = /** @class */ (function () {
|
|
|
39
39
|
this.training = training;
|
|
40
40
|
this.totalPrice = totalPrice;
|
|
41
41
|
this.subscriptionComment = subscriptionComment;
|
|
42
|
+
this.optionalTrainingTwo = optionalTrainingTwo;
|
|
43
|
+
this.aiTelephone = aiTelephone;
|
|
44
|
+
this.setupFees = setupFees;
|
|
45
|
+
this.tablet = tablet;
|
|
42
46
|
}
|
|
43
47
|
return Subscription;
|
|
44
48
|
}());
|
package/package.json
CHANGED
package/src/models/Settings.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export enum SettingsEnumCode {
|
|
2
2
|
STOCK_MODULE_ENABLED = "STOCK_MODULE_ENABLED",
|
|
3
3
|
NO_PHONE_CUSTOMER_CREATION = "NO_PHONE_CUSTOMER_CREATION",
|
|
4
|
-
DOCUMENT_PRODUCT_CREATION = "DOCUMENT_PRODUCT_CREATION"
|
|
4
|
+
DOCUMENT_PRODUCT_CREATION = "DOCUMENT_PRODUCT_CREATION",
|
|
5
|
+
DOCUMENT_PRODUCT_UPDATE ="DOCUMENT_PRODUCT_UPDATE"
|
|
5
6
|
}
|
|
6
7
|
export default class Settings {
|
|
7
8
|
|
|
@@ -47,6 +47,7 @@ export default class Subscription {
|
|
|
47
47
|
billing: boolean;
|
|
48
48
|
trainingOptionalOne: Date;
|
|
49
49
|
trainingOptionalTwo: Date;
|
|
50
|
+
optionalTrainingTwo: boolean;
|
|
50
51
|
movaPackage: string;
|
|
51
52
|
packInfo: boolean;
|
|
52
53
|
smsCampaign: boolean;
|
|
@@ -63,6 +64,9 @@ export default class Subscription {
|
|
|
63
64
|
training: boolean;
|
|
64
65
|
totalPrice: number;
|
|
65
66
|
subscriptionComment: string;
|
|
67
|
+
setupFees:boolean;
|
|
68
|
+
aiTelephone:boolean;
|
|
69
|
+
tablet:boolean;
|
|
66
70
|
constructor(
|
|
67
71
|
id: string,
|
|
68
72
|
garageId: string,
|
|
@@ -100,7 +104,11 @@ export default class Subscription {
|
|
|
100
104
|
accountingPrice: boolean,
|
|
101
105
|
training: boolean,
|
|
102
106
|
totalPrice: number,
|
|
103
|
-
subscriptionComment: string
|
|
107
|
+
subscriptionComment: string,
|
|
108
|
+
optionalTrainingTwo:boolean,
|
|
109
|
+
setupFees:boolean,
|
|
110
|
+
aiTelephone:boolean,
|
|
111
|
+
tablet:boolean,
|
|
104
112
|
) {
|
|
105
113
|
this.id = id;
|
|
106
114
|
this.garageId = garageId;
|
|
@@ -139,5 +147,9 @@ export default class Subscription {
|
|
|
139
147
|
this.training = training;
|
|
140
148
|
this.totalPrice = totalPrice;
|
|
141
149
|
this.subscriptionComment = subscriptionComment;
|
|
150
|
+
this.optionalTrainingTwo = optionalTrainingTwo;
|
|
151
|
+
this.aiTelephone = aiTelephone;
|
|
152
|
+
this.setupFees = setupFees;
|
|
153
|
+
this.tablet = tablet;
|
|
142
154
|
}
|
|
143
155
|
}
|