@muni-sanfer/types-gestor-documental 0.0.1-beta.86 → 0.0.1-beta.87
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.
|
@@ -58,10 +58,11 @@ export interface DocumentActor {
|
|
|
58
58
|
*/
|
|
59
59
|
areaDepartmentIds?: string[];
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
61
|
+
* Departamentos cuyas entregas le llegan: los que integra o encarga y todos los de las direcciones que integra o
|
|
62
|
+
* dirige (lo dirigido a un departamento lo ve también su dirección; lo dirigido a una dirección, solo ella). Lo
|
|
63
|
+
* resuelve el gateway.
|
|
63
64
|
*/
|
|
64
|
-
|
|
65
|
+
inboxDepartmentIds?: string[];
|
|
65
66
|
}
|
|
66
67
|
/** Bandeja desde la que se lista. Todas son del funcionario (`actor`), salvo `all`. */
|
|
67
68
|
export type DocumentBucket = 'created' | 'area' | 'sent' | 'toVisa' | 'toSign' | 'participated' | 'visaed' | 'signed' | 'reviewed' | 'toReview' | 'visaAll' | 'signAll' | 'reviewAll' | 'all';
|
|
@@ -229,7 +230,7 @@ export interface DocumentContract {
|
|
|
229
230
|
filters?: {
|
|
230
231
|
search?: string;
|
|
231
232
|
state?: DocumentInboxState;
|
|
232
|
-
|
|
233
|
+
mailboxes?: string[];
|
|
233
234
|
};
|
|
234
235
|
actor: DocumentActor;
|
|
235
236
|
};
|
package/package.json
CHANGED
|
@@ -101,10 +101,11 @@ export interface DocumentActor {
|
|
|
101
101
|
*/
|
|
102
102
|
areaDepartmentIds?: string[];
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
105
|
-
*
|
|
104
|
+
* Departamentos cuyas entregas le llegan: los que integra o encarga y todos los de las direcciones que integra o
|
|
105
|
+
* dirige (lo dirigido a un departamento lo ve también su dirección; lo dirigido a una dirección, solo ella). Lo
|
|
106
|
+
* resuelve el gateway.
|
|
106
107
|
*/
|
|
107
|
-
|
|
108
|
+
inboxDepartmentIds?: string[];
|
|
108
109
|
}
|
|
109
110
|
|
|
110
111
|
/** Bandeja desde la que se lista. Todas son del funcionario (`actor`), salvo `all`. */
|
|
@@ -285,9 +286,9 @@ export interface DocumentContract {
|
|
|
285
286
|
[DocumentPatterns.getInbox]: {
|
|
286
287
|
payload: {
|
|
287
288
|
pagination?: { page?: number; limit?: number };
|
|
288
|
-
// `
|
|
289
|
-
//
|
|
290
|
-
filters?: { search?: string; state?: DocumentInboxState;
|
|
289
|
+
// `mailboxes`: los buzones que se listan: el personal (`personal`), el de una dirección (`d-9`, solo lo dirigido a
|
|
290
|
+
// ella) o el de un departamento (`p-<id>`); una dirección con sus departamentos son varios. Sin ellos, todos los suyos
|
|
291
|
+
filters?: { search?: string; state?: DocumentInboxState; mailboxes?: string[] };
|
|
291
292
|
actor: DocumentActor;
|
|
292
293
|
};
|
|
293
294
|
response: RpcPage<DocumentInboxItemEntity[]>;
|