grapp-common-se 0.6.33 → 0.6.43

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
+ }
@@ -55,3 +55,11 @@ export interface ValueChange {
55
55
  previousValue: string;
56
56
  nextValue: string;
57
57
  }
58
+ export interface PatientLog {
59
+ _id?: string;
60
+ dataPatient?: Patient;
61
+ content?: string;
62
+ patientID?: string;
63
+ createdAt?: number;
64
+ createBy?: {};
65
+ }
@@ -25,10 +25,12 @@ export declare enum IDType {
25
25
  PA = "PA",
26
26
  CD = "CD",
27
27
  PR = "PR",
28
- PEP = "PEP",
29
- ASI = "ASI",
30
- MSI = "MSI",
31
- NV = "NV"
28
+ PE = "PE",
29
+ AS = "AS",
30
+ MS = "MS",
31
+ NV = "NV",
32
+ DE = "DE",
33
+ SC = "SC"
32
34
  }
33
35
  export declare enum UserType {
34
36
  COORDINATOR = 0,
@@ -11,10 +11,12 @@ var IDType;
11
11
  IDType["PA"] = "PA";
12
12
  IDType["CD"] = "CD";
13
13
  IDType["PR"] = "PR";
14
- IDType["PEP"] = "PEP";
15
- IDType["ASI"] = "ASI";
16
- IDType["MSI"] = "MSI";
14
+ IDType["PE"] = "PE";
15
+ IDType["AS"] = "AS";
16
+ IDType["MS"] = "MS";
17
17
  IDType["NV"] = "NV";
18
+ IDType["DE"] = "DE";
19
+ IDType["SC"] = "SC";
18
20
  })(IDType = exports.IDType || (exports.IDType = {}));
19
21
  var UserType;
20
22
  (function (UserType) {
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
- "name": "grapp-common-se",
3
- "version": "0.6.33",
4
- "description": "Interfaces for GRAPP project",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "prepublishOnly": "npm run build",
8
- "build": "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.43",
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
  }