@muni-sanfer/types-gestor-documental 0.0.1-beta.2 → 0.0.1-beta.20
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 +605 -1
- package/dist/base/entities.js +133 -1
- package/dist/contracts/archivalSeries.contract.d.ts +50 -0
- package/dist/contracts/archivalSeries.contract.js +11 -0
- package/dist/contracts/audit.contract.d.ts +32 -0
- package/dist/contracts/audit.contract.js +8 -0
- package/dist/contracts/caseFile.contract.d.ts +262 -0
- package/dist/contracts/caseFile.contract.js +26 -0
- package/dist/contracts/document.contract.d.ts +145 -2
- package/dist/contracts/document.contract.js +9 -0
- package/dist/contracts/documentType.contract.d.ts +24 -1
- package/dist/contracts/holiday.contract.d.ts +30 -0
- package/dist/contracts/holiday.contract.js +9 -0
- package/dist/contracts/index.d.ts +157 -1
- package/dist/contracts/index.js +39 -0
- package/dist/contracts/indicators.contract.d.ts +103 -0
- package/dist/contracts/indicators.contract.js +15 -0
- package/dist/contracts/issuingEntity.contract.d.ts +52 -0
- package/dist/contracts/issuingEntity.contract.js +11 -0
- package/dist/contracts/partsOffice.contract.d.ts +177 -0
- package/dist/contracts/partsOffice.contract.js +23 -0
- package/dist/contracts/procedure.contract.d.ts +50 -0
- package/dist/contracts/procedure.contract.js +11 -0
- package/dist/contracts/registerBook.contract.d.ts +27 -0
- package/dist/contracts/registerBook.contract.js +8 -0
- package/dist/contracts/scan.contract.d.ts +63 -0
- package/dist/contracts/scan.contract.js +12 -0
- package/dist/contracts/signatureBatch.contract.d.ts +109 -0
- package/dist/contracts/signatureBatch.contract.js +12 -0
- package/dist/contracts/textSnippet.contract.d.ts +51 -0
- package/dist/contracts/textSnippet.contract.js +11 -0
- package/dist/contracts/workFolder.contract.d.ts +114 -0
- package/dist/contracts/workFolder.contract.js +16 -0
- package/dist/entities/archivalSeries/archivalSeries.entity.d.ts +27 -0
- package/dist/entities/archivalSeries/archivalSeries.entity.js +2 -0
- package/dist/entities/archivalSeries/index.d.ts +1 -0
- package/dist/entities/archivalSeries/index.js +17 -0
- package/dist/entities/audit/audit.entity.d.ts +27 -0
- package/dist/entities/audit/audit.entity.js +2 -0
- package/dist/entities/audit/index.d.ts +1 -0
- package/dist/entities/audit/index.js +17 -0
- package/dist/entities/caseFile/caseFile.entity.d.ts +297 -0
- package/dist/entities/caseFile/caseFile.entity.js +2 -0
- package/dist/entities/caseFile/index.d.ts +1 -0
- package/dist/entities/caseFile/index.js +17 -0
- package/dist/entities/document/document.entity.d.ts +252 -0
- package/dist/entities/documentType/documentType.entity.d.ts +37 -1
- package/dist/entities/holiday/holiday.entity.d.ts +10 -0
- package/dist/entities/holiday/holiday.entity.js +2 -0
- package/dist/entities/holiday/index.d.ts +1 -0
- package/dist/entities/holiday/index.js +17 -0
- package/dist/entities/index.d.ts +13 -0
- package/dist/entities/index.js +13 -0
- package/dist/entities/indicators/index.d.ts +1 -0
- package/dist/entities/indicators/index.js +17 -0
- package/dist/entities/indicators/indicators.entity.d.ts +152 -0
- package/dist/entities/indicators/indicators.entity.js +2 -0
- package/dist/entities/issuingEntity/index.d.ts +1 -0
- package/dist/entities/issuingEntity/index.js +17 -0
- package/dist/entities/issuingEntity/issuingEntity.entity.d.ts +20 -0
- package/dist/entities/issuingEntity/issuingEntity.entity.js +2 -0
- package/dist/entities/partsOffice/index.d.ts +1 -0
- package/dist/entities/partsOffice/index.js +17 -0
- package/dist/entities/partsOffice/partsOffice.entity.d.ts +102 -0
- package/dist/entities/partsOffice/partsOffice.entity.js +2 -0
- package/dist/entities/procedure/index.d.ts +1 -0
- package/dist/entities/procedure/index.js +17 -0
- package/dist/entities/procedure/procedure.entity.d.ts +20 -0
- package/dist/entities/procedure/procedure.entity.js +2 -0
- package/dist/entities/registerBook/index.d.ts +1 -0
- package/dist/entities/registerBook/index.js +17 -0
- package/dist/entities/registerBook/registerBook.entity.d.ts +48 -0
- package/dist/entities/registerBook/registerBook.entity.js +2 -0
- package/dist/entities/scan/index.d.ts +1 -0
- package/dist/entities/scan/index.js +17 -0
- package/dist/entities/scan/scan.entity.d.ts +29 -0
- package/dist/entities/scan/scan.entity.js +2 -0
- package/dist/entities/signatureBatch/index.d.ts +1 -0
- package/dist/entities/signatureBatch/index.js +17 -0
- package/dist/entities/signatureBatch/signatureBatch.entity.d.ts +107 -0
- package/dist/entities/signatureBatch/signatureBatch.entity.js +2 -0
- package/dist/entities/textSnippet/index.d.ts +1 -0
- package/dist/entities/textSnippet/index.js +17 -0
- package/dist/entities/textSnippet/textSnippet.entity.d.ts +20 -0
- package/dist/entities/textSnippet/textSnippet.entity.js +2 -0
- package/dist/entities/workFolder/index.d.ts +1 -0
- package/dist/entities/workFolder/index.js +17 -0
- package/dist/entities/workFolder/workFolder.entity.d.ts +83 -0
- package/dist/entities/workFolder/workFolder.entity.js +2 -0
- package/package.json +1 -1
- package/src/base/entities.ts +714 -1
- package/src/contracts/archivalSeries.contract.ts +53 -0
- package/src/contracts/audit.contract.ts +30 -0
- package/src/contracts/caseFile.contract.ts +228 -0
- package/src/contracts/document.contract.ts +151 -2
- package/src/contracts/documentType.contract.ts +32 -2
- package/src/contracts/holiday.contract.ts +16 -0
- package/src/contracts/index.ts +54 -1
- package/src/contracts/indicators.contract.ts +80 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/partsOffice.contract.ts +123 -0
- package/src/contracts/procedure.contract.ts +53 -0
- package/src/contracts/registerBook.contract.ts +24 -0
- package/src/contracts/scan.contract.ts +52 -0
- package/src/contracts/signatureBatch.contract.ts +96 -0
- package/src/contracts/textSnippet.contract.ts +53 -0
- package/src/contracts/workFolder.contract.ts +75 -0
- package/src/entities/archivalSeries/archivalSeries.entity.ts +32 -0
- package/src/entities/archivalSeries/index.ts +1 -0
- package/src/entities/audit/audit.entity.ts +30 -0
- package/src/entities/audit/index.ts +1 -0
- package/src/entities/caseFile/caseFile.entity.ts +321 -0
- package/src/entities/caseFile/index.ts +1 -0
- package/src/entities/document/document.entity.ts +250 -0
- package/src/entities/documentType/documentType.entity.ts +31 -1
- package/src/entities/holiday/holiday.entity.ts +11 -0
- package/src/entities/holiday/index.ts +1 -0
- package/src/entities/index.ts +13 -0
- package/src/entities/indicators/index.ts +1 -0
- package/src/entities/indicators/indicators.entity.ts +157 -0
- package/src/entities/issuingEntity/index.ts +1 -0
- package/src/entities/issuingEntity/issuingEntity.entity.ts +24 -0
- package/src/entities/partsOffice/index.ts +1 -0
- package/src/entities/partsOffice/partsOffice.entity.ts +107 -0
- package/src/entities/procedure/index.ts +1 -0
- package/src/entities/procedure/procedure.entity.ts +24 -0
- package/src/entities/registerBook/index.ts +1 -0
- package/src/entities/registerBook/registerBook.entity.ts +52 -0
- package/src/entities/scan/index.ts +1 -0
- package/src/entities/scan/scan.entity.ts +32 -0
- package/src/entities/signatureBatch/index.ts +1 -0
- package/src/entities/signatureBatch/signatureBatch.entity.ts +110 -0
- package/src/entities/textSnippet/index.ts +1 -0
- package/src/entities/textSnippet/textSnippet.entity.ts +24 -0
- package/src/entities/workFolder/index.ts +1 -0
- package/src/entities/workFolder/workFolder.entity.ts +84 -0
- package/tsconfig.json +1 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IndicatorsPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `indicators`: indicadores de gestión y Plan de Mejora Continua (DS 11/2023). */
|
|
5
|
+
exports.IndicatorsPatterns = {
|
|
6
|
+
getManagement: 'gestorDocumental.indicators.getManagement',
|
|
7
|
+
getQuality: 'gestorDocumental.indicators.getQuality',
|
|
8
|
+
export: 'gestorDocumental.indicators.export',
|
|
9
|
+
updateQualityMetric: 'gestorDocumental.indicators.updateQualityMetric',
|
|
10
|
+
getOutages: 'gestorDocumental.indicators.getOutages',
|
|
11
|
+
createOutage: 'gestorDocumental.indicators.createOutage',
|
|
12
|
+
updateOutage: 'gestorDocumental.indicators.updateOutage',
|
|
13
|
+
removeOutage: 'gestorDocumental.indicators.removeOutage',
|
|
14
|
+
getOutageCertificate: 'gestorDocumental.indicators.getOutageCertificate',
|
|
15
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { type IssuingEntityEntity } from '../base/entities';
|
|
2
|
+
import { type IssuingEntityCreateResponseEntity, type IssuingEntityGetAllResponseEntity, type IssuingEntityGetByIdResponseEntity, type IssuingEntityUpdateResponseEntity } from '../entities';
|
|
3
|
+
import { type RpcPage } from './contract';
|
|
4
|
+
/** Patrones NATS de `issuingEntity`: `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
export declare const IssuingEntityPatterns: {
|
|
6
|
+
readonly getAll: "gestorDocumental.issuingEntity.getAll";
|
|
7
|
+
readonly getById: "gestorDocumental.issuingEntity.getById";
|
|
8
|
+
readonly create: "gestorDocumental.issuingEntity.create";
|
|
9
|
+
readonly update: "gestorDocumental.issuingEntity.update";
|
|
10
|
+
readonly setEnabled: "gestorDocumental.issuingEntity.setEnabled";
|
|
11
|
+
};
|
|
12
|
+
/** Datos de una entidad emisora al crearla o editarla. */
|
|
13
|
+
export interface IssuingEntityWritePayload {
|
|
14
|
+
name: string;
|
|
15
|
+
shortName?: string | null;
|
|
16
|
+
/** Direcciones (código de caschile) cuyos funcionarios actúan por la entidad. */
|
|
17
|
+
directorateCodeReferences: number[];
|
|
18
|
+
/** Su entidad en DocDigital, entre las asociadas a las credenciales del gestor. */
|
|
19
|
+
docDigitalEntityId?: number | null;
|
|
20
|
+
enabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface IssuingEntityContract {
|
|
23
|
+
[IssuingEntityPatterns.getAll]: {
|
|
24
|
+
payload: {
|
|
25
|
+
pagination?: {
|
|
26
|
+
page?: number;
|
|
27
|
+
limit?: number;
|
|
28
|
+
};
|
|
29
|
+
filters?: {
|
|
30
|
+
search?: string;
|
|
31
|
+
enabled?: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
response: RpcPage<IssuingEntityGetAllResponseEntity[]>;
|
|
35
|
+
};
|
|
36
|
+
[IssuingEntityPatterns.getById]: {
|
|
37
|
+
payload: Pick<IssuingEntityEntity, 'id'>;
|
|
38
|
+
response: IssuingEntityGetByIdResponseEntity;
|
|
39
|
+
};
|
|
40
|
+
[IssuingEntityPatterns.create]: {
|
|
41
|
+
payload: IssuingEntityWritePayload;
|
|
42
|
+
response: IssuingEntityCreateResponseEntity;
|
|
43
|
+
};
|
|
44
|
+
[IssuingEntityPatterns.update]: {
|
|
45
|
+
payload: IssuingEntityWritePayload & Pick<IssuingEntityEntity, 'id'>;
|
|
46
|
+
response: IssuingEntityUpdateResponseEntity;
|
|
47
|
+
};
|
|
48
|
+
[IssuingEntityPatterns.setEnabled]: {
|
|
49
|
+
payload: Pick<IssuingEntityEntity, 'id' | 'enabled'>;
|
|
50
|
+
response: IssuingEntityUpdateResponseEntity;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuingEntityPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `issuingEntity`: `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.IssuingEntityPatterns = {
|
|
6
|
+
getAll: 'gestorDocumental.issuingEntity.getAll',
|
|
7
|
+
getById: 'gestorDocumental.issuingEntity.getById',
|
|
8
|
+
create: 'gestorDocumental.issuingEntity.create',
|
|
9
|
+
update: 'gestorDocumental.issuingEntity.update',
|
|
10
|
+
setEnabled: 'gestorDocumental.issuingEntity.setEnabled',
|
|
11
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import { type DocumentAccessLevel, type DocumentInstruction } from '../base/entities';
|
|
2
|
+
import { type DocDigitalDocumentTypeEntity, type DocDigitalEntityEntity, type PartsOfficeInboundEntity, type DocDigitalUserEntity, type PartsOfficeDispatchEntity, type PartsOfficeFileEntity, type PartsOfficeOkResponseEntity, type PartsOfficeRegisterResponseEntity, type PartsOfficeStatusEntity, type PartsOfficeSummaryEntity, type PartsOfficeSyncResponseEntity } from '../entities';
|
|
3
|
+
import { type RpcPage } from './contract';
|
|
4
|
+
import { type DocumentActor, type DocumentExternalRecipientInput } from './document.contract';
|
|
5
|
+
/** Patrones NATS de `partsOffice` (Oficina de Partes y DocDigital): `<servicio>.<recurso>.<acción>`. */
|
|
6
|
+
export declare const PartsOfficePatterns: {
|
|
7
|
+
readonly getStatus: "gestorDocumental.partsOffice.getStatus";
|
|
8
|
+
readonly getSummary: "gestorDocumental.partsOffice.getSummary";
|
|
9
|
+
readonly getEntities: "gestorDocumental.partsOffice.getEntities";
|
|
10
|
+
readonly getOwnEntities: "gestorDocumental.partsOffice.getOwnEntities";
|
|
11
|
+
readonly getUsers: "gestorDocumental.partsOffice.getUsers";
|
|
12
|
+
readonly getDocumentTypes: "gestorDocumental.partsOffice.getDocumentTypes";
|
|
13
|
+
readonly getDispatches: "gestorDocumental.partsOffice.getDispatches";
|
|
14
|
+
readonly dispatch: "gestorDocumental.partsOffice.dispatch";
|
|
15
|
+
readonly returnDispatch: "gestorDocumental.partsOffice.returnDispatch";
|
|
16
|
+
readonly resendDispatch: "gestorDocumental.partsOffice.resendDispatch";
|
|
17
|
+
readonly getDispatchFile: "gestorDocumental.partsOffice.getDispatchFile";
|
|
18
|
+
readonly getInbound: "gestorDocumental.partsOffice.getInbound";
|
|
19
|
+
readonly syncInbound: "gestorDocumental.partsOffice.syncInbound";
|
|
20
|
+
readonly registerInbound: "gestorDocumental.partsOffice.registerInbound";
|
|
21
|
+
readonly acknowledgeInbound: "gestorDocumental.partsOffice.acknowledgeInbound";
|
|
22
|
+
readonly returnInbound: "gestorDocumental.partsOffice.returnInbound";
|
|
23
|
+
readonly getInboundFile: "gestorDocumental.partsOffice.getInboundFile";
|
|
24
|
+
};
|
|
25
|
+
/** Destinatario interno de un ingreso, ya resuelto por el gateway (las áreas con sus integrantes). */
|
|
26
|
+
export type PartsOfficeRecipientInput = {
|
|
27
|
+
type: 'Employee';
|
|
28
|
+
employeeId: string;
|
|
29
|
+
} | {
|
|
30
|
+
type: 'Directorate';
|
|
31
|
+
directorateCodeReference: number;
|
|
32
|
+
name: string;
|
|
33
|
+
memberEmployeeIds: string[];
|
|
34
|
+
} | {
|
|
35
|
+
type: 'Department';
|
|
36
|
+
departmentId: string;
|
|
37
|
+
name: string;
|
|
38
|
+
memberEmployeeIds: string[];
|
|
39
|
+
};
|
|
40
|
+
interface IListPayload<S> {
|
|
41
|
+
pagination?: {
|
|
42
|
+
page?: number;
|
|
43
|
+
limit?: number;
|
|
44
|
+
};
|
|
45
|
+
filters?: {
|
|
46
|
+
search?: string;
|
|
47
|
+
status?: S;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export interface PartsOfficeContract {
|
|
51
|
+
[PartsOfficePatterns.getStatus]: {
|
|
52
|
+
payload: Record<string, never>;
|
|
53
|
+
response: PartsOfficeStatusEntity;
|
|
54
|
+
};
|
|
55
|
+
[PartsOfficePatterns.getSummary]: {
|
|
56
|
+
payload: Record<string, never>;
|
|
57
|
+
response: PartsOfficeSummaryEntity;
|
|
58
|
+
};
|
|
59
|
+
/** Directorio de DocDigital: instituciones por nombre. */
|
|
60
|
+
[PartsOfficePatterns.getEntities]: {
|
|
61
|
+
payload: {
|
|
62
|
+
search?: string;
|
|
63
|
+
};
|
|
64
|
+
response: DocDigitalEntityEntity[];
|
|
65
|
+
};
|
|
66
|
+
/** Entidades asociadas a las credenciales del gestor: la del municipio y las de sus entidades emisoras. */
|
|
67
|
+
[PartsOfficePatterns.getOwnEntities]: {
|
|
68
|
+
payload: Record<string, never>;
|
|
69
|
+
response: DocDigitalEntityEntity[];
|
|
70
|
+
};
|
|
71
|
+
[PartsOfficePatterns.getUsers]: {
|
|
72
|
+
payload: {
|
|
73
|
+
entityId: number;
|
|
74
|
+
search?: string;
|
|
75
|
+
};
|
|
76
|
+
response: DocDigitalUserEntity[];
|
|
77
|
+
};
|
|
78
|
+
[PartsOfficePatterns.getDocumentTypes]: {
|
|
79
|
+
payload: Record<string, never>;
|
|
80
|
+
response: DocDigitalDocumentTypeEntity[];
|
|
81
|
+
};
|
|
82
|
+
[PartsOfficePatterns.getDispatches]: {
|
|
83
|
+
payload: IListPayload<'Pending' | 'Dispatched' | 'Returned'>;
|
|
84
|
+
response: RpcPage<PartsOfficeDispatchEntity[]>;
|
|
85
|
+
};
|
|
86
|
+
/** Despacha por DocDigital, con el número del documento como folio. `operatorRun`: RUN de quien despacha. */
|
|
87
|
+
[PartsOfficePatterns.dispatch]: {
|
|
88
|
+
payload: {
|
|
89
|
+
id: string;
|
|
90
|
+
docDigitalTypeId: number;
|
|
91
|
+
operatorRun?: string | null;
|
|
92
|
+
actor: DocumentActor;
|
|
93
|
+
};
|
|
94
|
+
response: PartsOfficeOkResponseEntity & {
|
|
95
|
+
docDigitalDocumentId: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
/** Devuelve el despacho al redactor, con el motivo (por ejemplo, un destinatario equivocado). */
|
|
99
|
+
[PartsOfficePatterns.returnDispatch]: {
|
|
100
|
+
payload: {
|
|
101
|
+
id: string;
|
|
102
|
+
reason: string;
|
|
103
|
+
actor: DocumentActor;
|
|
104
|
+
};
|
|
105
|
+
response: PartsOfficeOkResponseEntity;
|
|
106
|
+
};
|
|
107
|
+
/** El redactor corrige las instituciones de destino de un despacho devuelto y lo envía de nuevo a Partes. */
|
|
108
|
+
[PartsOfficePatterns.resendDispatch]: {
|
|
109
|
+
payload: {
|
|
110
|
+
id: string;
|
|
111
|
+
externalRecipients: DocumentExternalRecipientInput[];
|
|
112
|
+
actor: DocumentActor;
|
|
113
|
+
};
|
|
114
|
+
response: PartsOfficeOkResponseEntity;
|
|
115
|
+
};
|
|
116
|
+
/** PDF firmado de un documento por despachar, para que Oficina de Partes lo revise. */
|
|
117
|
+
[PartsOfficePatterns.getDispatchFile]: {
|
|
118
|
+
payload: {
|
|
119
|
+
id: string;
|
|
120
|
+
};
|
|
121
|
+
response: PartsOfficeFileEntity;
|
|
122
|
+
};
|
|
123
|
+
[PartsOfficePatterns.getInbound]: {
|
|
124
|
+
payload: IListPayload<'Pending' | 'Registered' | 'Returned'>;
|
|
125
|
+
response: RpcPage<PartsOfficeInboundEntity[]>;
|
|
126
|
+
};
|
|
127
|
+
/** Trae de DocDigital lo recibido que aún no tiene acuse de recibo. */
|
|
128
|
+
[PartsOfficePatterns.syncInbound]: {
|
|
129
|
+
payload: Record<string, never>;
|
|
130
|
+
response: PartsOfficeSyncResponseEntity;
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* Ingresa un recibido al gestor: le da folio de ingreso, lo deriva a quienes corresponda y da el acuse de recibo
|
|
134
|
+
* en DocDigital.
|
|
135
|
+
*/
|
|
136
|
+
[PartsOfficePatterns.registerInbound]: {
|
|
137
|
+
payload: {
|
|
138
|
+
id: string;
|
|
139
|
+
documentTypeId: string;
|
|
140
|
+
keywords: string[];
|
|
141
|
+
accessLevel: DocumentAccessLevel;
|
|
142
|
+
hasSensitiveData: boolean;
|
|
143
|
+
recipients: PartsOfficeRecipientInput[];
|
|
144
|
+
instruction: DocumentInstruction;
|
|
145
|
+
note?: string | null;
|
|
146
|
+
dueAt?: string | null;
|
|
147
|
+
actor: DocumentActor;
|
|
148
|
+
};
|
|
149
|
+
response: PartsOfficeRegisterResponseEntity;
|
|
150
|
+
};
|
|
151
|
+
/** Reintenta el acuse de recibo de un recibido ya ingresado. */
|
|
152
|
+
[PartsOfficePatterns.acknowledgeInbound]: {
|
|
153
|
+
payload: {
|
|
154
|
+
id: string;
|
|
155
|
+
actor: DocumentActor;
|
|
156
|
+
};
|
|
157
|
+
response: PartsOfficeOkResponseEntity;
|
|
158
|
+
};
|
|
159
|
+
/** Devuelve el recibido a la institución que lo envió, con el motivo (entre 3 y 255 caracteres). */
|
|
160
|
+
[PartsOfficePatterns.returnInbound]: {
|
|
161
|
+
payload: {
|
|
162
|
+
id: string;
|
|
163
|
+
reason: string;
|
|
164
|
+
actor: DocumentActor;
|
|
165
|
+
};
|
|
166
|
+
response: PartsOfficeOkResponseEntity;
|
|
167
|
+
};
|
|
168
|
+
/** Archivo de un recibido: el principal o, con `attachment`, uno de sus anexos (por su posición). */
|
|
169
|
+
[PartsOfficePatterns.getInboundFile]: {
|
|
170
|
+
payload: {
|
|
171
|
+
id: string;
|
|
172
|
+
attachment?: number;
|
|
173
|
+
};
|
|
174
|
+
response: PartsOfficeFileEntity;
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartsOfficePatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `partsOffice` (Oficina de Partes y DocDigital): `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.PartsOfficePatterns = {
|
|
6
|
+
getStatus: 'gestorDocumental.partsOffice.getStatus',
|
|
7
|
+
getSummary: 'gestorDocumental.partsOffice.getSummary',
|
|
8
|
+
getEntities: 'gestorDocumental.partsOffice.getEntities',
|
|
9
|
+
getOwnEntities: 'gestorDocumental.partsOffice.getOwnEntities',
|
|
10
|
+
getUsers: 'gestorDocumental.partsOffice.getUsers',
|
|
11
|
+
getDocumentTypes: 'gestorDocumental.partsOffice.getDocumentTypes',
|
|
12
|
+
getDispatches: 'gestorDocumental.partsOffice.getDispatches',
|
|
13
|
+
dispatch: 'gestorDocumental.partsOffice.dispatch',
|
|
14
|
+
returnDispatch: 'gestorDocumental.partsOffice.returnDispatch',
|
|
15
|
+
resendDispatch: 'gestorDocumental.partsOffice.resendDispatch',
|
|
16
|
+
getDispatchFile: 'gestorDocumental.partsOffice.getDispatchFile',
|
|
17
|
+
getInbound: 'gestorDocumental.partsOffice.getInbound',
|
|
18
|
+
syncInbound: 'gestorDocumental.partsOffice.syncInbound',
|
|
19
|
+
registerInbound: 'gestorDocumental.partsOffice.registerInbound',
|
|
20
|
+
acknowledgeInbound: 'gestorDocumental.partsOffice.acknowledgeInbound',
|
|
21
|
+
returnInbound: 'gestorDocumental.partsOffice.returnInbound',
|
|
22
|
+
getInboundFile: 'gestorDocumental.partsOffice.getInboundFile',
|
|
23
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { type ProcedureEntity } from '../base/entities';
|
|
2
|
+
import { type ProcedureCreateResponseEntity, type ProcedureGetAllResponseEntity, type ProcedureGetByIdResponseEntity, type ProcedureUpdateResponseEntity } from '../entities';
|
|
3
|
+
import { type RpcPage } from './contract';
|
|
4
|
+
/** Patrones NATS de `procedure`: `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
export declare const ProcedurePatterns: {
|
|
6
|
+
readonly getAll: "gestorDocumental.procedure.getAll";
|
|
7
|
+
readonly getById: "gestorDocumental.procedure.getById";
|
|
8
|
+
readonly create: "gestorDocumental.procedure.create";
|
|
9
|
+
readonly update: "gestorDocumental.procedure.update";
|
|
10
|
+
readonly setEnabled: "gestorDocumental.procedure.setEnabled";
|
|
11
|
+
};
|
|
12
|
+
/** Datos de un procedimiento administrativo al crearlo o editarlo. */
|
|
13
|
+
export interface ProcedureWritePayload {
|
|
14
|
+
name: string;
|
|
15
|
+
cpatId?: string | null;
|
|
16
|
+
cpatCode?: string | null;
|
|
17
|
+
description?: string | null;
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface ProcedureContract {
|
|
21
|
+
[ProcedurePatterns.getAll]: {
|
|
22
|
+
payload: {
|
|
23
|
+
pagination?: {
|
|
24
|
+
page?: number;
|
|
25
|
+
limit?: number;
|
|
26
|
+
};
|
|
27
|
+
filters?: {
|
|
28
|
+
search?: string;
|
|
29
|
+
enabled?: boolean;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
response: RpcPage<ProcedureGetAllResponseEntity[]>;
|
|
33
|
+
};
|
|
34
|
+
[ProcedurePatterns.getById]: {
|
|
35
|
+
payload: Pick<ProcedureEntity, 'id'>;
|
|
36
|
+
response: ProcedureGetByIdResponseEntity;
|
|
37
|
+
};
|
|
38
|
+
[ProcedurePatterns.create]: {
|
|
39
|
+
payload: ProcedureWritePayload;
|
|
40
|
+
response: ProcedureCreateResponseEntity;
|
|
41
|
+
};
|
|
42
|
+
[ProcedurePatterns.update]: {
|
|
43
|
+
payload: ProcedureWritePayload & Pick<ProcedureEntity, 'id'>;
|
|
44
|
+
response: ProcedureUpdateResponseEntity;
|
|
45
|
+
};
|
|
46
|
+
[ProcedurePatterns.setEnabled]: {
|
|
47
|
+
payload: Pick<ProcedureEntity, 'id' | 'enabled'>;
|
|
48
|
+
response: ProcedureUpdateResponseEntity;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProcedurePatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `procedure`: `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.ProcedurePatterns = {
|
|
6
|
+
getAll: 'gestorDocumental.procedure.getAll',
|
|
7
|
+
getById: 'gestorDocumental.procedure.getById',
|
|
8
|
+
create: 'gestorDocumental.procedure.create',
|
|
9
|
+
update: 'gestorDocumental.procedure.update',
|
|
10
|
+
setEnabled: 'gestorDocumental.procedure.setEnabled',
|
|
11
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type RegisterBookEntity, type RegisterBookExportEntity, type RegisterBookKind } from '../entities';
|
|
2
|
+
/** Patrones NATS de `registerBook` (libros de registro): `<servicio>.<recurso>.<acción>`. */
|
|
3
|
+
export declare const RegisterBookPatterns: {
|
|
4
|
+
readonly get: "gestorDocumental.registerBook.get";
|
|
5
|
+
readonly export: "gestorDocumental.registerBook.export";
|
|
6
|
+
};
|
|
7
|
+
/** Qué libro y qué período: un año y, si se indica, un mes. El de un tipo documental exige el tipo. */
|
|
8
|
+
export interface RegisterBookQuery {
|
|
9
|
+
kind: RegisterBookKind;
|
|
10
|
+
documentTypeId?: string;
|
|
11
|
+
year: number;
|
|
12
|
+
month?: number | null;
|
|
13
|
+
}
|
|
14
|
+
export interface RegisterBookContract {
|
|
15
|
+
[RegisterBookPatterns.get]: {
|
|
16
|
+
payload: RegisterBookQuery;
|
|
17
|
+
response: RegisterBookEntity;
|
|
18
|
+
};
|
|
19
|
+
/** El libro en Excel o PDF. `generatedBy`: quién lo descarga (va en el encabezado). */
|
|
20
|
+
[RegisterBookPatterns.export]: {
|
|
21
|
+
payload: RegisterBookQuery & {
|
|
22
|
+
format: 'xlsx' | 'pdf';
|
|
23
|
+
generatedBy: string;
|
|
24
|
+
};
|
|
25
|
+
response: RegisterBookExportEntity;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterBookPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `registerBook` (libros de registro): `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.RegisterBookPatterns = {
|
|
6
|
+
get: 'gestorDocumental.registerBook.get',
|
|
7
|
+
export: 'gestorDocumental.registerBook.export',
|
|
8
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { type ScanSessionCreateResponseEntity, type ScanSessionFileResponseEntity, type ScanSessionPublicEntity, type ScanSessionResponseEntity } from '../entities';
|
|
2
|
+
import { type DocumentActor } from './document.contract';
|
|
3
|
+
/** Patrones NATS de `scan`: escanear con el celular. */
|
|
4
|
+
export declare const ScanPatterns: {
|
|
5
|
+
readonly create: "gestorDocumental.scan.create";
|
|
6
|
+
readonly getById: "gestorDocumental.scan.getById";
|
|
7
|
+
readonly getFile: "gestorDocumental.scan.getFile";
|
|
8
|
+
readonly getByToken: "gestorDocumental.scan.getByToken";
|
|
9
|
+
readonly addPage: "gestorDocumental.scan.addPage";
|
|
10
|
+
readonly finish: "gestorDocumental.scan.finish";
|
|
11
|
+
};
|
|
12
|
+
export interface ScanContract {
|
|
13
|
+
/**
|
|
14
|
+
* Abre una sesión de escaneo para el funcionario. `url` es la dirección pública del celular (sin el token): con ella
|
|
15
|
+
* se arma el QR que se muestra en el escritorio.
|
|
16
|
+
*/
|
|
17
|
+
[ScanPatterns.create]: {
|
|
18
|
+
payload: {
|
|
19
|
+
url: string;
|
|
20
|
+
actor: DocumentActor;
|
|
21
|
+
};
|
|
22
|
+
response: ScanSessionCreateResponseEntity;
|
|
23
|
+
};
|
|
24
|
+
/** Estado de la sesión, para quien la abrió: el escritorio la consulta hasta que el PDF esté listo. */
|
|
25
|
+
[ScanPatterns.getById]: {
|
|
26
|
+
payload: {
|
|
27
|
+
id: string;
|
|
28
|
+
actor: DocumentActor;
|
|
29
|
+
};
|
|
30
|
+
response: ScanSessionResponseEntity;
|
|
31
|
+
};
|
|
32
|
+
[ScanPatterns.getFile]: {
|
|
33
|
+
payload: {
|
|
34
|
+
id: string;
|
|
35
|
+
actor: DocumentActor;
|
|
36
|
+
};
|
|
37
|
+
response: ScanSessionFileResponseEntity;
|
|
38
|
+
};
|
|
39
|
+
/** Sin sesión, desde el celular, con el token del QR. */
|
|
40
|
+
[ScanPatterns.getByToken]: {
|
|
41
|
+
payload: {
|
|
42
|
+
token: string;
|
|
43
|
+
};
|
|
44
|
+
response: ScanSessionPublicEntity;
|
|
45
|
+
};
|
|
46
|
+
/** Agrega una foto ya subida al gestor de archivos (la sube el gateway). */
|
|
47
|
+
[ScanPatterns.addPage]: {
|
|
48
|
+
payload: {
|
|
49
|
+
token: string;
|
|
50
|
+
fileId: string;
|
|
51
|
+
contentType: string;
|
|
52
|
+
size: number;
|
|
53
|
+
};
|
|
54
|
+
response: ScanSessionPublicEntity;
|
|
55
|
+
};
|
|
56
|
+
/** Junta las fotos en un PDF y cierra la sesión. */
|
|
57
|
+
[ScanPatterns.finish]: {
|
|
58
|
+
payload: {
|
|
59
|
+
token: string;
|
|
60
|
+
};
|
|
61
|
+
response: ScanSessionPublicEntity;
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ScanPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `scan`: escanear con el celular. */
|
|
5
|
+
exports.ScanPatterns = {
|
|
6
|
+
create: 'gestorDocumental.scan.create',
|
|
7
|
+
getById: 'gestorDocumental.scan.getById',
|
|
8
|
+
getFile: 'gestorDocumental.scan.getFile',
|
|
9
|
+
getByToken: 'gestorDocumental.scan.getByToken',
|
|
10
|
+
addPage: 'gestorDocumental.scan.addPage',
|
|
11
|
+
finish: 'gestorDocumental.scan.finish',
|
|
12
|
+
};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { type DocumentAccessLevel } from '../base/entities';
|
|
2
|
+
import { type SignatureBatchCreateResponseEntity, type SignatureBatchGetAllResponseEntity, type SignatureBatchGetByIdResponseEntity, type SignatureBatchRejectResponseEntity, type SignatureBatchSignResponseEntity, type SignatureBatchTab, type SignatureBatchVisaResponseEntity } from '../entities';
|
|
3
|
+
import { type RpcPage } from './contract';
|
|
4
|
+
import { type DocumentActor } from './document.contract';
|
|
5
|
+
/** Patrones NATS de `signatureBatch` (lotes de firma): `<servicio>.<recurso>.<acción>`. */
|
|
6
|
+
export declare const SignatureBatchPatterns: {
|
|
7
|
+
readonly getAll: "gestorDocumental.signatureBatch.getAll";
|
|
8
|
+
readonly getById: "gestorDocumental.signatureBatch.getById";
|
|
9
|
+
readonly create: "gestorDocumental.signatureBatch.create";
|
|
10
|
+
readonly visa: "gestorDocumental.signatureBatch.visa";
|
|
11
|
+
readonly sign: "gestorDocumental.signatureBatch.sign";
|
|
12
|
+
readonly reject: "gestorDocumental.signatureBatch.reject";
|
|
13
|
+
};
|
|
14
|
+
/** Datos de quien firma, para el sello de la firma (los resuelve el gateway desde la sesión). */
|
|
15
|
+
export interface SignatureBatchSigner {
|
|
16
|
+
rut: string;
|
|
17
|
+
fullName: string;
|
|
18
|
+
role: string;
|
|
19
|
+
areaName: string;
|
|
20
|
+
}
|
|
21
|
+
export interface SignatureBatchContract {
|
|
22
|
+
[SignatureBatchPatterns.getAll]: {
|
|
23
|
+
payload: {
|
|
24
|
+
pagination?: {
|
|
25
|
+
page?: number;
|
|
26
|
+
limit?: number;
|
|
27
|
+
};
|
|
28
|
+
filters?: {
|
|
29
|
+
search?: string;
|
|
30
|
+
tab?: SignatureBatchTab;
|
|
31
|
+
};
|
|
32
|
+
actor: DocumentActor;
|
|
33
|
+
};
|
|
34
|
+
response: RpcPage<SignatureBatchGetAllResponseEntity[]>;
|
|
35
|
+
};
|
|
36
|
+
/** Lo ven su redactor y quienes visan o firman sus documentos; con `viewAll`, quien lleva el registro. */
|
|
37
|
+
[SignatureBatchPatterns.getById]: {
|
|
38
|
+
payload: {
|
|
39
|
+
id: string;
|
|
40
|
+
actor: DocumentActor;
|
|
41
|
+
viewAll?: boolean;
|
|
42
|
+
};
|
|
43
|
+
response: SignatureBatchGetByIdResponseEntity;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Crea el lote y lo envía a tramitación: un documento por cada PDF, todos del mismo tipo y con el mismo flujo.
|
|
47
|
+
* Cada documento recibe su código de verificación y, con su primera firma, su número (si el tipo lo lleva).
|
|
48
|
+
*/
|
|
49
|
+
[SignatureBatchPatterns.create]: {
|
|
50
|
+
payload: {
|
|
51
|
+
name: string;
|
|
52
|
+
documentTypeId: string;
|
|
53
|
+
keywords: string[];
|
|
54
|
+
accessLevel?: DocumentAccessLevel;
|
|
55
|
+
hasSensitiveData?: boolean;
|
|
56
|
+
directorateCodeReference?: number | null;
|
|
57
|
+
departmentId?: string | null;
|
|
58
|
+
visaEmployeeIds?: string[];
|
|
59
|
+
visaStages?: number[] | null;
|
|
60
|
+
signatureEmployeeIds: string[];
|
|
61
|
+
signatureSheet?: boolean;
|
|
62
|
+
documents: {
|
|
63
|
+
subject: string;
|
|
64
|
+
file: {
|
|
65
|
+
fileId: string;
|
|
66
|
+
name: string;
|
|
67
|
+
};
|
|
68
|
+
}[];
|
|
69
|
+
actor: DocumentActor;
|
|
70
|
+
};
|
|
71
|
+
response: SignatureBatchCreateResponseEntity;
|
|
72
|
+
};
|
|
73
|
+
/** Visa de una vez los documentos del lote que el funcionario tiene en su turno de visación. */
|
|
74
|
+
[SignatureBatchPatterns.visa]: {
|
|
75
|
+
payload: {
|
|
76
|
+
id: string;
|
|
77
|
+
observation?: string | null;
|
|
78
|
+
actor: DocumentActor;
|
|
79
|
+
};
|
|
80
|
+
response: SignatureBatchVisaResponseEntity;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Firma con un solo OTP los documentos del lote que el funcionario tiene en su turno de firma. FirmaGob admite 5 MB
|
|
84
|
+
* por solicitud: los que no caben quedan en `remaining`, para firmarlos con un OTP nuevo.
|
|
85
|
+
*/
|
|
86
|
+
[SignatureBatchPatterns.sign]: {
|
|
87
|
+
payload: {
|
|
88
|
+
id: string;
|
|
89
|
+
observation?: string | null;
|
|
90
|
+
signer: SignatureBatchSigner;
|
|
91
|
+
otp?: string;
|
|
92
|
+
actor: DocumentActor;
|
|
93
|
+
};
|
|
94
|
+
response: SignatureBatchSignResponseEntity;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Devuelve a su redactor los documentos del lote que el funcionario tiene en su turno: todos, o los indicados en
|
|
98
|
+
* `documentIds`. Los demás siguen su curso.
|
|
99
|
+
*/
|
|
100
|
+
[SignatureBatchPatterns.reject]: {
|
|
101
|
+
payload: {
|
|
102
|
+
id: string;
|
|
103
|
+
observation: string;
|
|
104
|
+
documentIds?: string[];
|
|
105
|
+
actor: DocumentActor;
|
|
106
|
+
};
|
|
107
|
+
response: SignatureBatchRejectResponseEntity;
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SignatureBatchPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `signatureBatch` (lotes de firma): `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.SignatureBatchPatterns = {
|
|
6
|
+
getAll: 'gestorDocumental.signatureBatch.getAll',
|
|
7
|
+
getById: 'gestorDocumental.signatureBatch.getById',
|
|
8
|
+
create: 'gestorDocumental.signatureBatch.create',
|
|
9
|
+
visa: 'gestorDocumental.signatureBatch.visa',
|
|
10
|
+
sign: 'gestorDocumental.signatureBatch.sign',
|
|
11
|
+
reject: 'gestorDocumental.signatureBatch.reject',
|
|
12
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { type TextSnippetEntity, type TextSnippetSection } from '../base/entities';
|
|
2
|
+
import { type TextSnippetCreateResponseEntity, type TextSnippetGetAllResponseEntity, type TextSnippetGetByIdResponseEntity, type TextSnippetUpdateResponseEntity } from '../entities';
|
|
3
|
+
import { type RpcPage } from './contract';
|
|
4
|
+
/** Patrones NATS de `textSnippet` (biblioteca de vistos y cláusulas): `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
export declare const TextSnippetPatterns: {
|
|
6
|
+
readonly getAll: "gestorDocumental.textSnippet.getAll";
|
|
7
|
+
readonly getById: "gestorDocumental.textSnippet.getById";
|
|
8
|
+
readonly create: "gestorDocumental.textSnippet.create";
|
|
9
|
+
readonly update: "gestorDocumental.textSnippet.update";
|
|
10
|
+
readonly setEnabled: "gestorDocumental.textSnippet.setEnabled";
|
|
11
|
+
};
|
|
12
|
+
/** Datos de un texto de la biblioteca al crearlo o editarlo. */
|
|
13
|
+
export interface TextSnippetWritePayload {
|
|
14
|
+
title: string;
|
|
15
|
+
text: string;
|
|
16
|
+
section: TextSnippetSection;
|
|
17
|
+
keywords?: string[];
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
}
|
|
20
|
+
export interface TextSnippetContract {
|
|
21
|
+
[TextSnippetPatterns.getAll]: {
|
|
22
|
+
payload: {
|
|
23
|
+
pagination?: {
|
|
24
|
+
page?: number;
|
|
25
|
+
limit?: number;
|
|
26
|
+
};
|
|
27
|
+
filters?: {
|
|
28
|
+
search?: string;
|
|
29
|
+
enabled?: boolean;
|
|
30
|
+
section?: TextSnippetSection;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
response: RpcPage<TextSnippetGetAllResponseEntity[]>;
|
|
34
|
+
};
|
|
35
|
+
[TextSnippetPatterns.getById]: {
|
|
36
|
+
payload: Pick<TextSnippetEntity, 'id'>;
|
|
37
|
+
response: TextSnippetGetByIdResponseEntity;
|
|
38
|
+
};
|
|
39
|
+
[TextSnippetPatterns.create]: {
|
|
40
|
+
payload: TextSnippetWritePayload;
|
|
41
|
+
response: TextSnippetCreateResponseEntity;
|
|
42
|
+
};
|
|
43
|
+
[TextSnippetPatterns.update]: {
|
|
44
|
+
payload: TextSnippetWritePayload & Pick<TextSnippetEntity, 'id'>;
|
|
45
|
+
response: TextSnippetUpdateResponseEntity;
|
|
46
|
+
};
|
|
47
|
+
[TextSnippetPatterns.setEnabled]: {
|
|
48
|
+
payload: Pick<TextSnippetEntity, 'id' | 'enabled'>;
|
|
49
|
+
response: TextSnippetUpdateResponseEntity;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TextSnippetPatterns = void 0;
|
|
4
|
+
/** Patrones NATS de `textSnippet` (biblioteca de vistos y cláusulas): `<servicio>.<recurso>.<acción>`. */
|
|
5
|
+
exports.TextSnippetPatterns = {
|
|
6
|
+
getAll: 'gestorDocumental.textSnippet.getAll',
|
|
7
|
+
getById: 'gestorDocumental.textSnippet.getById',
|
|
8
|
+
create: 'gestorDocumental.textSnippet.create',
|
|
9
|
+
update: 'gestorDocumental.textSnippet.update',
|
|
10
|
+
setEnabled: 'gestorDocumental.textSnippet.setEnabled',
|
|
11
|
+
};
|