grapp-common-se 0.6.77 → 0.6.78

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.
@@ -8,6 +8,9 @@ export interface Client {
8
8
  maximumLicenses: number;
9
9
  notificationsEmail: string;
10
10
  termsOfServiceHD: InnerFile;
11
+ integrationsWs?: ClientWs[];
12
+ }
13
+ export interface ClientWs {
11
14
  REQUEST_URL?: string;
12
15
  REQUEST_HEADER?: boolean;
13
16
  refreshTokenRequired?: boolean;
@@ -46,6 +46,9 @@ export interface Order extends Resource {
46
46
  transferDate?: Number;
47
47
  orderContract?: Contract;
48
48
  justifyTransfer?: string;
49
+ paymentByCustomer?: boolean;
50
+ offered?: Boolean;
51
+ originNit?: any;
49
52
  prescribingDoctor?: PrescribingDoctor;
50
53
  speciality?: Speciality;
51
54
  servicesRequested?: string;
@@ -74,6 +77,14 @@ interface DataCreatedBy {
74
77
  idType?: string;
75
78
  userType?: Users.UserType;
76
79
  }
80
+ export interface OrderOffered extends Order {
81
+ offered: boolean;
82
+ offeredDate: number;
83
+ nameOrg?: string;
84
+ patient?: Patient;
85
+ request?: RequestReduced;
86
+ organizationalGroup?: [];
87
+ }
77
88
  export interface OrderComplete extends Order {
78
89
  patient?: Patient;
79
90
  request?: RequestReduced;
@@ -113,7 +124,8 @@ export declare enum TransferStatus {
113
124
  TRANSFERRED = 0,
114
125
  CANCELED = 1,
115
126
  OFFERED = 2,
116
- RETURN = 3
127
+ RETURN = 3,
128
+ RETURNED_OFFERED = 4
117
129
  }
118
130
  export declare enum OrderStatus {
119
131
  APROOVED = 0,
@@ -151,6 +163,7 @@ export interface OrderComment {
151
163
  auditComment?: boolean;
152
164
  agenda?: AgendaEvent[];
153
165
  notifyPatient?: boolean;
166
+ commentOrderTrans?: string;
154
167
  }
155
168
  export interface orderTraceabilityStatus {
156
169
  direction?: boolean;
@@ -18,6 +18,7 @@ var TransferStatus;
18
18
  TransferStatus[TransferStatus["CANCELED"] = 1] = "CANCELED";
19
19
  TransferStatus[TransferStatus["OFFERED"] = 2] = "OFFERED";
20
20
  TransferStatus[TransferStatus["RETURN"] = 3] = "RETURN";
21
+ TransferStatus[TransferStatus["RETURNED_OFFERED"] = 4] = "RETURNED_OFFERED";
21
22
  })(TransferStatus = exports.TransferStatus || (exports.TransferStatus = {}));
22
23
  var OrderStatus;
23
24
  (function (OrderStatus) {
@@ -304,6 +304,14 @@ export interface Eps {
304
304
  createdAt?: number;
305
305
  lastModified?: number;
306
306
  activeContract?: boolean;
307
+ comments?: EpsComments[];
308
+ }
309
+ export interface EpsComments {
310
+ name?: string;
311
+ date?: number;
312
+ oldValue?: string;
313
+ newValue?: string;
314
+ justify?: string;
307
315
  }
308
316
  export interface Contract {
309
317
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.77",
3
+ "version": "0.6.78",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {