grapp-common-se 0.6.64 → 0.6.67

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,4 +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;
15
+ }
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;
22
+ TYPE_AUTHENTICATION?: string;
23
+ PASSWORD_TOKEN_API?: string;
11
24
  }
@@ -46,8 +46,6 @@ export interface Order extends Resource {
46
46
  transferDate?: Number;
47
47
  orderContract?: Contract;
48
48
  justifyTransfer?: string;
49
- paymentByCustomer?: boolean;
50
- offered?: Boolean;
51
49
  }
52
50
  export interface SendTo {
53
51
  transferStatus?: TransferStatus;
@@ -68,14 +66,6 @@ interface DataCreatedBy {
68
66
  idType?: string;
69
67
  userType?: Users.UserType;
70
68
  }
71
- export interface OrderOffered extends Order {
72
- offered: boolean;
73
- offeredDate: number;
74
- nameOrg?: string;
75
- patient?: Patient;
76
- request?: RequestReduced;
77
- organizationalGroup?: [];
78
- }
79
69
  export interface OrderComplete extends Order {
80
70
  patient?: Patient;
81
71
  request?: RequestReduced;
@@ -141,7 +131,7 @@ export interface OrderComment {
141
131
  sender?: User;
142
132
  destinatary?: User;
143
133
  destinataryID?: any;
144
- file?: string[] | (File | InnerFile)[];
134
+ file?: any[];
145
135
  observations?: string;
146
136
  emailNotification?: boolean;
147
137
  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;
@@ -59,6 +58,8 @@ export interface RequestReduced extends Resource {
59
58
  imported?: boolean;
60
59
  origin?: string;
61
60
  nroatencion?: string;
61
+ files?: any[];
62
+ comments?: any[];
62
63
  }
63
64
  interface PrescribingDoctor {
64
65
  id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.64",
3
+ "version": "0.6.67",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {