@movalib/movalib-commons 1.65.2 → 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.
@@ -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.2",
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",
@@ -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
  }