grapp-common-se 0.6.65 → 0.6.68

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,17 +8,17 @@ export interface Client {
8
8
  maximumLicenses: number;
9
9
  notificationsEmail: string;
10
10
  termsOfServiceHD: InnerFile;
11
- REQUEST_URL: string;
12
- REQUEST_HEADER: boolean;
13
- refreshTokenRequired: boolean;
14
- methods: RequestMethods;
11
+ REQUEST_URL?: string;
12
+ REQUEST_HEADER?: boolean;
13
+ refreshTokenRequired?: boolean;
14
+ methods?: RequestMethods;
15
15
  }
16
16
  export interface RequestMethods {
17
- REQUESTS_API: string;
18
- APPOINMENT_API: string;
19
- UPDATE_APPOINMENT_API: string;
20
- CANCEL_ORDER_API: string;
21
- TOKEN_API: string;
17
+ REQUESTS_API?: string;
18
+ APPOINMENT_API?: string;
19
+ UPDATE_APPOINMENT_API?: string;
20
+ CANCEL_ORDER_API?: string;
21
+ TOKEN_API?: string;
22
22
  TYPE_AUTHENTICATION?: string;
23
23
  PASSWORD_TOKEN_API?: string;
24
24
  }
@@ -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;
@@ -131,7 +142,7 @@ export interface OrderComment {
131
142
  sender?: User;
132
143
  destinatary?: User;
133
144
  destinataryID?: any;
134
- file?: string[] | (File | InnerFile)[];
145
+ file?: any[];
135
146
  observations?: string;
136
147
  emailNotification?: boolean;
137
148
  destinataryEmail?: any;
@@ -1,6 +1,5 @@
1
1
  import { Resource, Timestamp } from '3a-common';
2
2
  import { Order, OrderComment } from './order';
3
- import { InnerFile } from '../fileSystem';
4
3
  import { Patient, User } from '../users';
5
4
  import { Users } from '..';
6
5
  /**
@@ -32,7 +31,7 @@ export interface Request extends Resource {
32
31
  duplicated?: Boolean;
33
32
  deletionObservations?: DeletionInfo;
34
33
  requestTraceabilityStatus?: requestTraceabilityStatus;
35
- files?: string[] | (File | InnerFile)[];
34
+ files?: any[];
36
35
  authorizationNumber?: string;
37
36
  auditAlert?: IAlerts;
38
37
  nroatencion?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.65",
3
+ "version": "0.6.68",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {