@muni-sanfer/types-gestor-documental 0.0.1-beta.102 → 0.0.1-beta.103
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/base/entities.d.ts +1 -0
- package/dist/contracts/partsOffice.contract.d.ts +6 -3
- package/dist/entities/partsOffice/partsOffice.entity.d.ts +2 -0
- package/package.json +1 -1
- package/src/base/entities.ts +1 -0
- package/src/contracts/partsOffice.contract.ts +6 -3
- package/src/entities/partsOffice/partsOffice.entity.ts +2 -0
package/dist/base/entities.d.ts
CHANGED
|
@@ -1039,6 +1039,7 @@ export interface DocDigitalInboundEntity {
|
|
|
1039
1039
|
registeredByFullName?: string | null;
|
|
1040
1040
|
acknowledgedAt?: string | null;
|
|
1041
1041
|
acknowledgeError?: string | null;
|
|
1042
|
+
discardReason?: string | null;
|
|
1042
1043
|
returnedAt?: string | null;
|
|
1043
1044
|
returnedByEmployeeId?: string | null;
|
|
1044
1045
|
returnedByFullName?: string | null;
|
|
@@ -202,8 +202,8 @@ export interface PartsOfficeContract {
|
|
|
202
202
|
response: PartsOfficeSyncResponseEntity;
|
|
203
203
|
};
|
|
204
204
|
/**
|
|
205
|
-
*
|
|
206
|
-
*
|
|
205
|
+
* Acuse de recibo de un recibido (como en DocDigital): lo ingresa al gestor con folio de ingreso, da el acuse en
|
|
206
|
+
* DocDigital y lo deriva a quienes corresponda o, con `discardReason` («Descartar derivación»), lo deja sin derivar.
|
|
207
207
|
*/
|
|
208
208
|
[PartsOfficePatterns.registerInbound]: {
|
|
209
209
|
payload: {
|
|
@@ -212,10 +212,13 @@ export interface PartsOfficeContract {
|
|
|
212
212
|
keywords: string[];
|
|
213
213
|
accessLevel: DocumentAccessLevel;
|
|
214
214
|
hasSensitiveData: boolean;
|
|
215
|
+
/** A quién se deriva; vacío si no se deriva. */
|
|
215
216
|
recipients: PartsOfficeRecipientInput[];
|
|
216
|
-
instruction
|
|
217
|
+
instruction?: DocumentInstruction;
|
|
217
218
|
note?: string | null;
|
|
218
219
|
dueAt?: string | null;
|
|
220
|
+
/** «Descartar derivación»: por qué no se deriva a nadie (entre 3 y 500 caracteres). */
|
|
221
|
+
discardReason?: string | null;
|
|
219
222
|
actor: DocumentActor;
|
|
220
223
|
};
|
|
221
224
|
response: PartsOfficeRegisterResponseEntity;
|
|
@@ -98,6 +98,8 @@ export interface PartsOfficeInboundEntity {
|
|
|
98
98
|
registeredByFullName: string | null;
|
|
99
99
|
acknowledgedAt: string | null;
|
|
100
100
|
acknowledgeError: string | null;
|
|
101
|
+
/** Acuse de recibo sin derivar («Descartar derivación»): por qué no se derivó a nadie. */
|
|
102
|
+
discardReason: string | null;
|
|
101
103
|
returnedAt: string | null;
|
|
102
104
|
returnedByFullName: string | null;
|
|
103
105
|
returnReason: string | null;
|
package/package.json
CHANGED
package/src/base/entities.ts
CHANGED
|
@@ -1306,6 +1306,7 @@ export interface DocDigitalInboundEntity {
|
|
|
1306
1306
|
registeredByFullName?: string | null;
|
|
1307
1307
|
acknowledgedAt?: string | null;
|
|
1308
1308
|
acknowledgeError?: string | null;
|
|
1309
|
+
discardReason?: string | null;
|
|
1309
1310
|
returnedAt?: string | null;
|
|
1310
1311
|
returnedByEmployeeId?: string | null;
|
|
1311
1312
|
returnedByFullName?: string | null;
|
|
@@ -159,8 +159,8 @@ export interface PartsOfficeContract {
|
|
|
159
159
|
/** Trae de DocDigital lo recibido que aún no tiene acuse de recibo. */
|
|
160
160
|
[PartsOfficePatterns.syncInbound]: { payload: Record<string, never>; response: PartsOfficeSyncResponseEntity };
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
163
|
-
*
|
|
162
|
+
* Acuse de recibo de un recibido (como en DocDigital): lo ingresa al gestor con folio de ingreso, da el acuse en
|
|
163
|
+
* DocDigital y lo deriva a quienes corresponda o, con `discardReason` («Descartar derivación»), lo deja sin derivar.
|
|
164
164
|
*/
|
|
165
165
|
[PartsOfficePatterns.registerInbound]: {
|
|
166
166
|
payload: {
|
|
@@ -169,10 +169,13 @@ export interface PartsOfficeContract {
|
|
|
169
169
|
keywords: string[];
|
|
170
170
|
accessLevel: DocumentAccessLevel;
|
|
171
171
|
hasSensitiveData: boolean;
|
|
172
|
+
/** A quién se deriva; vacío si no se deriva. */
|
|
172
173
|
recipients: PartsOfficeRecipientInput[];
|
|
173
|
-
instruction
|
|
174
|
+
instruction?: DocumentInstruction;
|
|
174
175
|
note?: string | null;
|
|
175
176
|
dueAt?: string | null;
|
|
177
|
+
/** «Descartar derivación»: por qué no se deriva a nadie (entre 3 y 500 caracteres). */
|
|
178
|
+
discardReason?: string | null;
|
|
176
179
|
actor: DocumentActor;
|
|
177
180
|
};
|
|
178
181
|
response: PartsOfficeRegisterResponseEntity;
|
|
@@ -106,6 +106,8 @@ export interface PartsOfficeInboundEntity {
|
|
|
106
106
|
registeredByFullName: string | null;
|
|
107
107
|
acknowledgedAt: string | null;
|
|
108
108
|
acknowledgeError: string | null;
|
|
109
|
+
/** Acuse de recibo sin derivar («Descartar derivación»): por qué no se derivó a nadie. */
|
|
110
|
+
discardReason: string | null;
|
|
109
111
|
returnedAt: string | null;
|
|
110
112
|
returnedByFullName: string | null;
|
|
111
113
|
returnReason: string | null;
|