grapp-common-se 0.6.72 → 0.6.75

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;
package/dist/index.d.ts CHANGED
@@ -31,5 +31,4 @@ export declare namespace Collections {
31
31
  const CUSTOM_CAUSES = "CustomCauses";
32
32
  const REQUEST_ORIGINS = "RequestOrigins";
33
33
  const CONTRACT_TYPE = "ContractType";
34
- const VIDEO_TUTORIALES = "VideoTutoriales";
35
34
  }
package/dist/index.js CHANGED
@@ -44,5 +44,4 @@ var Collections;
44
44
  Collections.CUSTOM_CAUSES = 'CustomCauses';
45
45
  Collections.REQUEST_ORIGINS = 'RequestOrigins';
46
46
  Collections.CONTRACT_TYPE = 'ContractType';
47
- Collections.VIDEO_TUTORIALES = 'VideoTutoriales';
48
47
  })(Collections = exports.Collections || (exports.Collections = {}));
@@ -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
  }
50
53
  export interface SendTo {
51
54
  transferStatus?: TransferStatus;
@@ -66,6 +69,14 @@ interface DataCreatedBy {
66
69
  idType?: string;
67
70
  userType?: Users.UserType;
68
71
  }
72
+ export interface OrderOffered extends Order {
73
+ offered: boolean;
74
+ offeredDate: number;
75
+ nameOrg?: string;
76
+ patient?: Patient;
77
+ request?: RequestReduced;
78
+ organizationalGroup?: [];
79
+ }
69
80
  export interface OrderComplete extends Order {
70
81
  patient?: Patient;
71
82
  request?: RequestReduced;
@@ -105,7 +116,8 @@ export declare enum TransferStatus {
105
116
  TRANSFERRED = 0,
106
117
  CANCELED = 1,
107
118
  OFFERED = 2,
108
- RETURN = 3
119
+ RETURN = 3,
120
+ RETURNED_OFFERED = 4
109
121
  }
110
122
  export declare enum OrderStatus {
111
123
  APROOVED = 0,
@@ -143,6 +155,7 @@ export interface OrderComment {
143
155
  auditComment?: boolean;
144
156
  agenda?: AgendaEvent[];
145
157
  notifyPatient?: boolean;
158
+ commentOrderTrans?: string;
146
159
  }
147
160
  export interface orderTraceabilityStatus {
148
161
  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) {
@@ -307,6 +307,14 @@ export interface Eps {
307
307
  createdAt?: number;
308
308
  lastModified?: number;
309
309
  activeContract?: boolean;
310
+ comments?: EpsComments[];
311
+ }
312
+ export interface EpsComments {
313
+ name?: string;
314
+ date?: number;
315
+ oldValue?: string;
316
+ newValue?: string;
317
+ justify?: string;
310
318
  }
311
319
  export interface Contract {
312
320
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.72",
3
+ "version": "0.6.75",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {