grapp-common-se 0.6.137 → 0.6.139
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.
- package/dist/client/client.d.ts +4 -0
- package/dist/orders/order.d.ts +47 -10
- package/dist/orders/order.js +13 -1
- package/dist/orders/request.d.ts +2 -1
- package/package.json +1 -1
package/dist/client/client.d.ts
CHANGED
|
@@ -10,6 +10,10 @@ export interface Client {
|
|
|
10
10
|
termsOfServiceHD: InnerFile;
|
|
11
11
|
integrationsWs?: ClientWs[];
|
|
12
12
|
addLegendInfo?: string;
|
|
13
|
+
messageEmail?: messageEmailByIntitution;
|
|
14
|
+
}
|
|
15
|
+
export interface messageEmailByIntitution {
|
|
16
|
+
messageExecutor?: string;
|
|
13
17
|
}
|
|
14
18
|
export interface ClientWs {
|
|
15
19
|
REQUEST_URL?: string;
|
package/dist/orders/order.d.ts
CHANGED
|
@@ -61,6 +61,32 @@ export interface Order extends Resource {
|
|
|
61
61
|
userModified?: string;
|
|
62
62
|
userModifiedLogs?: Array<UserReduced>;
|
|
63
63
|
DateAndHourCreatedByGestor?: Timestamp | Date;
|
|
64
|
+
authorizationNumber?: any;
|
|
65
|
+
authorizationExpirationDate?: any;
|
|
66
|
+
isPendingToReactivate?: ExecutorActivate;
|
|
67
|
+
modifyws?: ModifyWsFlag;
|
|
68
|
+
orderPriority?: Priority;
|
|
69
|
+
orderType?: any;
|
|
70
|
+
}
|
|
71
|
+
export declare enum ExecutorActivateStates {
|
|
72
|
+
REQUEST = 0,
|
|
73
|
+
ACCEPTED = 1,
|
|
74
|
+
NO_ACCEPTED = 2
|
|
75
|
+
}
|
|
76
|
+
export interface ExecutorActivate {
|
|
77
|
+
message?: string;
|
|
78
|
+
state?: ExecutorActivateStates;
|
|
79
|
+
}
|
|
80
|
+
export declare enum Priority {
|
|
81
|
+
ALTA = "Alta",
|
|
82
|
+
MEDIA = "Media",
|
|
83
|
+
BAJA = "Baja"
|
|
84
|
+
}
|
|
85
|
+
export interface ModifyWsFlag {
|
|
86
|
+
flagAutomaticAppointment?: Boolean;
|
|
87
|
+
flagAutomaticCancelateOrder?: Boolean;
|
|
88
|
+
flagAutomaticDefferOrder?: Boolean;
|
|
89
|
+
flagAutomaticExecutedOrder?: Boolean;
|
|
64
90
|
}
|
|
65
91
|
export interface GroupReduced {
|
|
66
92
|
id?: string;
|
|
@@ -190,16 +216,27 @@ export interface orderTraceabilityStatus {
|
|
|
190
216
|
destinatary?: User;
|
|
191
217
|
}
|
|
192
218
|
export interface ContractTech {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
219
|
+
_id?: string;
|
|
220
|
+
epsId?: string;
|
|
221
|
+
epsCode?: string;
|
|
222
|
+
typeContract?: string;
|
|
223
|
+
contractId?: string;
|
|
224
|
+
technologyCode?: string;
|
|
225
|
+
techName?: string;
|
|
226
|
+
techCodeDescription?: string;
|
|
227
|
+
buyCost?: number;
|
|
228
|
+
sellPrice?: number;
|
|
229
|
+
frecuency?: number;
|
|
230
|
+
frecuencyAlert?: number;
|
|
231
|
+
monthlyFrecuency?: number;
|
|
232
|
+
weeklyFrecuency?: number;
|
|
233
|
+
createdAt?: number;
|
|
234
|
+
createdBy?: string;
|
|
235
|
+
lastModifiedAt?: number;
|
|
236
|
+
lastModifiedBy?: string;
|
|
237
|
+
state?: boolean;
|
|
238
|
+
ownCodeCups?: string;
|
|
239
|
+
planContractTech?: string;
|
|
203
240
|
}
|
|
204
241
|
export interface SpecialitiesDoctorComplete {
|
|
205
242
|
habilitado: boolean;
|
package/dist/orders/order.js
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GeneralOrderStatus = exports.OrderStatus = exports.TransferStatus = exports.SuccessCallTypeStatus = exports.AgendaEventStatus = void 0;
|
|
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 = {}));
|
|
4
16
|
var AgendaEventStatus;
|
|
5
17
|
(function (AgendaEventStatus) {
|
|
6
18
|
AgendaEventStatus["SUCCESSFUL"] = "Exitosa";
|
package/dist/orders/request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Resource, Timestamp } from '3a-common';
|
|
2
|
-
import { Order, OrderComment, SpecialitiesDoctorComplete } from './order';
|
|
2
|
+
import { ExecutorActivate, Order, OrderComment, SpecialitiesDoctorComplete } from './order';
|
|
3
3
|
import { Patient, User } from '../users';
|
|
4
4
|
import { Users } from '..';
|
|
5
5
|
/**
|
|
@@ -34,6 +34,7 @@ export interface Request extends Resource {
|
|
|
34
34
|
authorizationNumber?: string;
|
|
35
35
|
auditAlert?: IAlerts;
|
|
36
36
|
nroatencion?: string;
|
|
37
|
+
isPendingToReactivate?: ExecutorActivate;
|
|
37
38
|
}
|
|
38
39
|
interface IAlerts {
|
|
39
40
|
visible: boolean;
|