grapp-common-se 0.6.131 → 0.6.133
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/orders/order.d.ts +42 -12
- package/dist/orders/order.js +7 -1
- package/dist/orders/request.d.ts +4 -3
- package/package.json +1 -1
package/dist/orders/order.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ export interface Order extends Resource {
|
|
|
15
15
|
executedDate?: Timestamp;
|
|
16
16
|
expirationDate?: Timestamp;
|
|
17
17
|
isPrerequisite?: boolean;
|
|
18
|
-
duplicated?: Boolean;
|
|
19
|
-
duplicatedCupsOrder?: Boolean;
|
|
18
|
+
duplicated?: Boolean | boolean;
|
|
19
|
+
duplicatedCupsOrder?: Boolean | boolean;
|
|
20
20
|
isAuthorized?: boolean;
|
|
21
21
|
executors?: User[];
|
|
22
22
|
status?: OrderStatus;
|
|
@@ -61,6 +61,25 @@ 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
|
+
}
|
|
69
|
+
export declare enum ExecutorActivateStates {
|
|
70
|
+
REQUEST = 0,
|
|
71
|
+
ACCEPTED = 1,
|
|
72
|
+
NO_ACCEPTED = 2
|
|
73
|
+
}
|
|
74
|
+
export interface ExecutorActivate {
|
|
75
|
+
message?: string;
|
|
76
|
+
state?: ExecutorActivateStates;
|
|
77
|
+
}
|
|
78
|
+
export interface ModifyWsFlag {
|
|
79
|
+
flagAutomaticAppointment?: Boolean;
|
|
80
|
+
flagAutomaticCancelateOrder?: Boolean;
|
|
81
|
+
flagAutomaticDefferOrder?: Boolean;
|
|
82
|
+
flagAutomaticExecutedOrder?: Boolean;
|
|
64
83
|
}
|
|
65
84
|
export interface GroupReduced {
|
|
66
85
|
id?: string;
|
|
@@ -190,16 +209,27 @@ export interface orderTraceabilityStatus {
|
|
|
190
209
|
destinatary?: User;
|
|
191
210
|
}
|
|
192
211
|
export interface ContractTech {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
212
|
+
_id?: string;
|
|
213
|
+
epsId?: string;
|
|
214
|
+
epsCode?: string;
|
|
215
|
+
typeContract?: string;
|
|
216
|
+
contractId?: string;
|
|
217
|
+
technologyCode?: string;
|
|
218
|
+
techName?: string;
|
|
219
|
+
techCodeDescription?: string;
|
|
220
|
+
buyCost?: number;
|
|
221
|
+
sellPrice?: number;
|
|
222
|
+
frecuency?: number;
|
|
223
|
+
frecuencyAlert?: number;
|
|
224
|
+
monthlyFrecuency?: number;
|
|
225
|
+
weeklyFrecuency?: number;
|
|
226
|
+
createdAt?: number;
|
|
227
|
+
createdBy?: string;
|
|
228
|
+
lastModifiedAt?: number;
|
|
229
|
+
lastModifiedBy?: string;
|
|
230
|
+
state?: boolean;
|
|
231
|
+
ownCodeCups?: string;
|
|
232
|
+
planContractTech?: string;
|
|
203
233
|
}
|
|
204
234
|
export interface SpecialitiesDoctorComplete {
|
|
205
235
|
habilitado: boolean;
|
package/dist/orders/order.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
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.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 = {}));
|
|
4
10
|
var AgendaEventStatus;
|
|
5
11
|
(function (AgendaEventStatus) {
|
|
6
12
|
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
|
/**
|
|
@@ -26,14 +26,15 @@ export interface Request extends Resource {
|
|
|
26
26
|
comments?: OrderComment[];
|
|
27
27
|
physicalOrderCreatedAt?: Timestamp | Date;
|
|
28
28
|
createdBy?: DataCreatedBy;
|
|
29
|
-
duplicated?: Boolean;
|
|
30
|
-
duplicatedCupsOrder?: Boolean;
|
|
29
|
+
duplicated?: Boolean | boolean;
|
|
30
|
+
duplicatedCupsOrder?: Boolean | boolean;
|
|
31
31
|
deletionObservations?: DeletionInfo;
|
|
32
32
|
requestTraceabilityStatus?: requestTraceabilityStatus;
|
|
33
33
|
files?: any[];
|
|
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;
|