grapp-common-se 0.6.39 → 0.6.45

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.
@@ -36,6 +36,9 @@ export interface Order extends Resource {
36
36
  successCallType?: SuccessCallTypeStatus;
37
37
  orderIdWS?: string;
38
38
  lastModified?: number;
39
+ sellPrice?: number;
40
+ buyCost?: number;
41
+ totalSale?: number;
39
42
  }
40
43
  export interface OrderComplete extends Order {
41
44
  patient?: Patient;
@@ -112,3 +115,15 @@ export interface orderTraceabilityStatus {
112
115
  sender?: User;
113
116
  destinatary?: User;
114
117
  }
118
+ export interface ContractTech {
119
+ epsId: string;
120
+ buyCost: number;
121
+ contractId: string;
122
+ createdAt: number;
123
+ frecuency: number;
124
+ frecuencyAlert: number;
125
+ sellPrice: number;
126
+ state: boolean;
127
+ techName: string;
128
+ technologyCode: number;
129
+ }
@@ -319,6 +319,7 @@ export interface Contract {
319
319
  weeklyCheck?: boolean;
320
320
  topWeekly?: number;
321
321
  weeklyAlertPercent?: number;
322
+ priceControl?: boolean;
322
323
  }
323
324
  export interface epsGroup {
324
325
  id?: string;
@@ -41,6 +41,7 @@ export interface Patient extends User {
41
41
  * Trazabilidad de cambios
42
42
  */
43
43
  changesTraceability?: ChangeTraceability[];
44
+ messagePatientLog?: string;
44
45
  }
45
46
  export interface ChangeTraceability {
46
47
  modifiedBy: User;
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
- "name": "grapp-common-se",
3
- "version": "0.6.39",
4
- "description": "Interfaces for GRAPP project",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "prepublishOnly": "npm run build",
8
- "build": "rm -rf dist && tsc --skipLibCheck",
9
- "test": "echo \"Error: no test specified\" && exit 1"
10
- },
11
- "keywords": [],
12
- "author": "",
13
- "license": "ISC",
14
- "devDependencies": {
15
- "ts-node": "^8.1.0",
16
- "tslint": "^5.16.0",
17
- "typescript": "^3.4.5"
18
- },
19
- "dependencies": {
20
- "3a-common": "^0.6.4",
21
- "moment": "^2.24.0"
22
- }
2
+ "name": "grapp-common-se",
3
+ "version": "0.6.45",
4
+ "description": "Interfaces for GRAPP project",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "prepublishOnly": "npm run build",
8
+ "build": "rm -rf dist && tsc --skipLibCheck",
9
+ "test": "echo \"Error: no test specified\" && exit 1"
10
+ },
11
+ "keywords": [],
12
+ "author": "",
13
+ "license": "ISC",
14
+ "devDependencies": {
15
+ "ts-node": "^8.1.0",
16
+ "tslint": "^5.16.0",
17
+ "typescript": "^3.4.5"
18
+ },
19
+ "dependencies": {
20
+ "3a-common": "^0.6.4",
21
+ "moment": "^2.24.0"
22
+ }
23
23
  }