@movalib/movalib-commons 1.65.1 → 1.66.0

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.
@@ -44,7 +44,8 @@ export default class Subscription {
44
44
  movaPackage: string;
45
45
  packInfo: boolean;
46
46
  smsCampaign: boolean;
47
+ expertMonthly: boolean;
47
48
  checkList: any;
48
- 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);
49
+ 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);
49
50
  }
50
51
  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) {
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) {
5
5
  this.id = id;
6
6
  this.garageId = garageId;
7
7
  this.type = type;
@@ -27,6 +27,7 @@ var Subscription = /** @class */ (function () {
27
27
  this.packInfo = packInfo;
28
28
  this.smsCampaign = smsCampaign;
29
29
  this.checkList = checkList;
30
+ this.expertMonthly = expertMonthly;
30
31
  }
31
32
  return Subscription;
32
33
  }());
@@ -5,5 +5,7 @@ export default class Supplier {
5
5
  phoneNumber: string;
6
6
  customerId: string;
7
7
  orderPortalUrl: string;
8
- constructor(id: number, name: string, email: string, phoneNumber: string, customerId: string, orderPortalUrl: string);
8
+ score: number;
9
+ primary: boolean;
10
+ constructor(id: number, name: string, email: string, phoneNumber: string, customerId: string, orderPortalUrl: string, score: number, primary: boolean);
9
11
  }
@@ -1,13 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var Supplier = /** @class */ (function () {
4
- function Supplier(id, name, email, phoneNumber, customerId, orderPortalUrl) {
4
+ function Supplier(id, name, email, phoneNumber, customerId, orderPortalUrl, score, primary) {
5
5
  this.id = id;
6
6
  this.name = name;
7
7
  this.email = email;
8
8
  this.phoneNumber = phoneNumber;
9
9
  this.customerId = customerId;
10
10
  this.orderPortalUrl = orderPortalUrl;
11
+ this.score = score;
12
+ this.primary = primary;
11
13
  }
12
14
  return Supplier;
13
15
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movalib/movalib-commons",
3
- "version": "1.65.1",
3
+ "version": "1.66.0",
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",
@@ -49,6 +49,7 @@ export default class Subscription {
49
49
  movaPackage: string;
50
50
  packInfo: boolean;
51
51
  smsCampaign: boolean;
52
+ expertMonthly: boolean;
52
53
  checkList: any;
53
54
 
54
55
  constructor(
@@ -76,7 +77,8 @@ export default class Subscription {
76
77
  billing: boolean,
77
78
  movaPackage: string,
78
79
  packInfo: boolean,
79
- checkList: any
80
+ checkList: any,
81
+ expertMonthly: boolean
80
82
  ) {
81
83
  this.id = id;
82
84
  this.garageId = garageId;
@@ -103,5 +105,6 @@ export default class Subscription {
103
105
  this.packInfo = packInfo;
104
106
  this.smsCampaign = smsCampaign;
105
107
  this.checkList = checkList;
108
+ this.expertMonthly = expertMonthly;
106
109
  }
107
110
  }
@@ -7,12 +7,16 @@ export default class Supplier {
7
7
  phoneNumber: string;
8
8
  customerId: string;
9
9
  orderPortalUrl: string;
10
- constructor(id:number, name: string, email:string, phoneNumber: string, customerId: string, orderPortalUrl: string) {
10
+ score: number;
11
+ primary: boolean;
12
+ constructor(id:number, name: string, email:string, phoneNumber: string, customerId: string, orderPortalUrl: string, score: number, primary: boolean) {
11
13
  this.id = id;
12
14
  this.name = name;
13
15
  this.email = email;
14
16
  this.phoneNumber = phoneNumber;
15
17
  this.customerId = customerId;
16
18
  this.orderPortalUrl = orderPortalUrl;
19
+ this.score = score;
20
+ this.primary = primary;
17
21
  }
18
22
  }