grapp-common-se 0.6.143 → 0.6.144

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.
@@ -26,7 +26,6 @@ export interface Order extends Resource {
26
26
  agenda?: AgendaEvent[];
27
27
  appointmentAddress?: string;
28
28
  appointmentDate?: Timestamp;
29
- appointmentDateWithoutHour?: Timestamp;
30
29
  appointmentTime?: string;
31
30
  ammount?: string;
32
31
  observations?: string;
@@ -62,32 +61,6 @@ export interface Order extends Resource {
62
61
  userModified?: string;
63
62
  userModifiedLogs?: Array<UserReduced>;
64
63
  DateAndHourCreatedByGestor?: Timestamp | Date;
65
- authorizationNumber?: any;
66
- authorizationExpirationDate?: any;
67
- isPendingToReactivate?: ExecutorActivate;
68
- modifyws?: ModifyWsFlag;
69
- orderPriority?: Priority;
70
- orderType?: any;
71
- }
72
- export declare enum ExecutorActivateStates {
73
- REQUEST = 0,
74
- ACCEPTED = 1,
75
- NO_ACCEPTED = 2
76
- }
77
- export interface ExecutorActivate {
78
- message?: string;
79
- state?: ExecutorActivateStates;
80
- }
81
- export declare enum Priority {
82
- ALTA = "Alta",
83
- MEDIA = "Media",
84
- BAJA = "Baja"
85
- }
86
- export interface ModifyWsFlag {
87
- flagAutomaticAppointment?: Boolean;
88
- flagAutomaticCancelateOrder?: Boolean;
89
- flagAutomaticDefferOrder?: Boolean;
90
- flagAutomaticExecutedOrder?: Boolean;
91
64
  }
92
65
  export interface GroupReduced {
93
66
  id?: string;
@@ -217,27 +190,16 @@ export interface orderTraceabilityStatus {
217
190
  destinatary?: User;
218
191
  }
219
192
  export interface ContractTech {
220
- _id?: string;
221
- epsId?: string;
222
- epsCode?: string;
223
- typeContract?: string;
224
- contractId?: string;
225
- technologyCode?: string;
226
- techName?: string;
227
- techCodeDescription?: string;
228
- buyCost?: number;
229
- sellPrice?: number;
230
- frecuency?: number;
231
- frecuencyAlert?: number;
232
- monthlyFrecuency?: number;
233
- weeklyFrecuency?: number;
234
- createdAt?: number;
235
- createdBy?: string;
236
- lastModifiedAt?: number;
237
- lastModifiedBy?: string;
238
- state?: boolean;
239
- ownCodeCups?: string;
240
- planContractTech?: string;
193
+ epsId: string;
194
+ buyCost: number;
195
+ contractId: string;
196
+ createdAt: number;
197
+ frecuency: number;
198
+ frecuencyAlert: number;
199
+ sellPrice: number;
200
+ state: boolean;
201
+ techName: string;
202
+ technologyCode: number;
241
203
  }
242
204
  export interface SpecialitiesDoctorComplete {
243
205
  habilitado: boolean;
@@ -1,18 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GeneralOrderStatus = exports.OrderStatus = exports.TransferStatus = exports.SuccessCallTypeStatus = exports.AgendaEventStatus = exports.Priority = exports.ExecutorActivateStates = void 0;
4
- var ExecutorActivateStates;
5
- (function (ExecutorActivateStates) {
6
- ExecutorActivateStates[ExecutorActivateStates["REQUEST"] = 0] = "REQUEST";
7
- ExecutorActivateStates[ExecutorActivateStates["ACCEPTED"] = 1] = "ACCEPTED";
8
- ExecutorActivateStates[ExecutorActivateStates["NO_ACCEPTED"] = 2] = "NO_ACCEPTED";
9
- })(ExecutorActivateStates = exports.ExecutorActivateStates || (exports.ExecutorActivateStates = {}));
10
- var Priority;
11
- (function (Priority) {
12
- Priority["ALTA"] = "Alta";
13
- Priority["MEDIA"] = "Media";
14
- Priority["BAJA"] = "Baja";
15
- })(Priority = exports.Priority || (exports.Priority = {}));
3
+ exports.GeneralOrderStatus = exports.OrderStatus = exports.TransferStatus = exports.SuccessCallTypeStatus = exports.AgendaEventStatus = void 0;
16
4
  var AgendaEventStatus;
17
5
  (function (AgendaEventStatus) {
18
6
  AgendaEventStatus["SUCCESSFUL"] = "Exitosa";
@@ -1,5 +1,5 @@
1
1
  import { Resource, Timestamp } from '3a-common';
2
- import { ExecutorActivate, Order, OrderComment, SpecialitiesDoctorComplete } from './order';
2
+ import { Order, OrderComment, SpecialitiesDoctorComplete } from './order';
3
3
  import { Patient, User } from '../users';
4
4
  import { Users } from '..';
5
5
  /**
@@ -31,11 +31,9 @@ export interface Request extends Resource {
31
31
  deletionObservations?: DeletionInfo;
32
32
  requestTraceabilityStatus?: requestTraceabilityStatus;
33
33
  files?: any[];
34
- filesConfidential?: any[];
35
34
  authorizationNumber?: string;
36
35
  auditAlert?: IAlerts;
37
36
  nroatencion?: string;
38
- isPendingToReactivate?: ExecutorActivate;
39
37
  }
40
38
  interface IAlerts {
41
39
  visible: boolean;
@@ -17,7 +17,6 @@ export interface User extends Auth.User {
17
17
  viewDetailVersion?: boolean;
18
18
  telephone?: string;
19
19
  lastAccess?: number;
20
- permissionUser?: string;
21
20
  }
22
21
  export declare enum IDType {
23
22
  CC = "CC",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grapp-common-se",
3
- "version": "0.6.143",
3
+ "version": "0.6.144",
4
4
  "description": "Interfaces for GRAPP project",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {