@muni-sanfer/types-gestor-documental 0.0.1-beta.68 → 0.0.1-beta.69
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 +0 -20
- package/dist/base/entities.js +2 -6
- package/dist/contracts/document.contract.d.ts +1 -4
- package/dist/contracts/documentType.contract.d.ts +0 -1
- package/dist/contracts/signatureBatch.contract.d.ts +1 -1
- package/dist/entities/document/document.entity.d.ts +0 -3
- package/dist/entities/documentType/documentType.entity.d.ts +0 -9
- package/dist/entities/registerBook/registerBook.entity.d.ts +2 -2
- package/package.json +1 -1
- package/src/base/entities.ts +0 -23
- package/src/contracts/document.contract.ts +0 -6
- package/src/contracts/documentType.contract.ts +1 -3
- package/src/contracts/signatureBatch.contract.ts +2 -2
- package/src/entities/document/document.entity.ts +0 -4
- package/src/entities/documentType/documentType.entity.ts +0 -7
- package/src/entities/registerBook/registerBook.entity.ts +2 -2
package/dist/base/entities.d.ts
CHANGED
|
@@ -12,11 +12,6 @@ export declare const DocumentCategory: {
|
|
|
12
12
|
ResolutionWithReview: "ResolutionWithReview";
|
|
13
13
|
Other: "Other";
|
|
14
14
|
};
|
|
15
|
-
export type DocumentVisaMode = 'Stamp' | 'Signature';
|
|
16
|
-
export declare const DocumentVisaMode: {
|
|
17
|
-
Stamp: "Stamp";
|
|
18
|
-
Signature: "Signature";
|
|
19
|
-
};
|
|
20
15
|
export type DocumentNumberingScope = 'Type' | 'Category';
|
|
21
16
|
export declare const DocumentNumberingScope: {
|
|
22
17
|
Type: "Type";
|
|
@@ -467,7 +462,6 @@ export interface DocumentTypeEntity {
|
|
|
467
462
|
processingSlaDays?: number | null;
|
|
468
463
|
turnSlaDays?: number | null;
|
|
469
464
|
reviewSlaDays?: number | null;
|
|
470
|
-
visaMode: DocumentVisaMode;
|
|
471
465
|
activeTransparency: boolean;
|
|
472
466
|
transparencySection?: string | null;
|
|
473
467
|
directorateCodeReference?: number | null;
|
|
@@ -477,9 +471,6 @@ export interface DocumentTypeEntity {
|
|
|
477
471
|
archivalSeriesId?: string | null;
|
|
478
472
|
issuingEntity?: IssuingEntityEntity | null;
|
|
479
473
|
issuingEntityId?: string | null;
|
|
480
|
-
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
481
|
-
sharesNumberingWithId?: string | null;
|
|
482
|
-
numberingMembers?: DocumentTypeEntity[];
|
|
483
474
|
enabled: boolean;
|
|
484
475
|
version: number;
|
|
485
476
|
versions?: DocumentTypeVersionEntity[];
|
|
@@ -506,7 +497,6 @@ export interface DocumentEntity {
|
|
|
506
497
|
correlativeYear?: number | null;
|
|
507
498
|
numberedAt?: string | null;
|
|
508
499
|
verificationCode?: string | null;
|
|
509
|
-
signatureSheet: boolean;
|
|
510
500
|
annulledAt?: string | null;
|
|
511
501
|
annulmentReason?: string | null;
|
|
512
502
|
responseDueAt?: string | null;
|
|
@@ -701,7 +691,6 @@ export interface DocumentTypeVersionEntity {
|
|
|
701
691
|
numbered: boolean;
|
|
702
692
|
numberingScope: DocumentNumberingScope;
|
|
703
693
|
usesPartsOffice: boolean;
|
|
704
|
-
visaMode: DocumentVisaMode;
|
|
705
694
|
processingSlaDays?: number | null;
|
|
706
695
|
turnSlaDays?: number | null;
|
|
707
696
|
reviewSlaDays?: number | null;
|
|
@@ -711,7 +700,6 @@ export interface DocumentTypeVersionEntity {
|
|
|
711
700
|
draftReviewDirectorateCode?: number | null;
|
|
712
701
|
draftReviewDirectorateName?: string | null;
|
|
713
702
|
issuingEntityId?: string | null;
|
|
714
|
-
sharesNumberingWithId?: string | null;
|
|
715
703
|
templateVersion?: number | null;
|
|
716
704
|
flowSteps: JsonValue;
|
|
717
705
|
createdByFullName?: string | null;
|
|
@@ -1545,14 +1533,6 @@ export interface DraftingRequestEventEntity {
|
|
|
1545
1533
|
employeeFullName: string;
|
|
1546
1534
|
createdAt: string;
|
|
1547
1535
|
}
|
|
1548
|
-
export interface DirectorateReviewerEntity {
|
|
1549
|
-
id: string;
|
|
1550
|
-
directorateCode: number;
|
|
1551
|
-
directorateName: string;
|
|
1552
|
-
employeeId: string;
|
|
1553
|
-
fullName: string;
|
|
1554
|
-
createdAt: string;
|
|
1555
|
-
}
|
|
1556
1536
|
export interface DocumentInternalNoteEntity {
|
|
1557
1537
|
id: string;
|
|
1558
1538
|
documentId: string;
|
package/dist/base/entities.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by prisma-generator-typescript-interfaces
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.DataBreachKind = exports.DataRightsEventAction = exports.DataRightsResolution = exports.DataRightsRequestStatus = exports.DataRightsChannel = exports.DataRight = exports.DataLegalBasis = exports.TransparencyStatus = exports.AccessRequestEventAction = exports.AccessRequestResolution = exports.AccessRequestStatus = exports.AccessRequestChannel = exports.DispositionKind = exports.FinalDisposition = exports.AuditAction = exports.AuditEntity = exports.DocumentAccessAction = exports.QualityMetricKey = exports.ServiceOutageKind = exports.WorkFolderItemKind = exports.HolidaySource = exports.TextSnippetSection = exports.ScanSessionStatus = exports.CaseFileAccessAction = exports.CaseFileTrackingAction = exports.CaseFileActorType = exports.CaseFileActorRelation = exports.CaseFileEntryKind = exports.CaseFileActuationType = exports.CaseFileIncorporationMechanism = exports.CaseFileStatus = exports.DocumentInstruction = exports.DocumentDeliveryOrigin = exports.DocumentRecipientType = exports.DocumentAttachmentType = exports.DocumentFlowStepType = exports.DocDigitalInboundStatus = exports.DocumentDispatchStatus = exports.CommunicationMeans = exports.DocumentOrigin = exports.DraftReviewStatus = exports.DraftReviewStage = exports.DocumentTrackingAction = exports.DocumentParticipantStatus = exports.DocumentParticipantRole = exports.DocumentAccessLevel = exports.DocumentStatus = exports.DocumentNumberingScope = exports.
|
|
5
|
-
exports.DraftingRequestEventAction = exports.DraftingRequestStatus = exports.MailAuthentication = exports.MailIntakeStatus = exports.DeskFileTarget = exports.DeskFileSource = exports.DataBreachNoticeMeans = exports.DataBreachEventAction =
|
|
4
|
+
exports.DataBreachStatus = exports.DataBreachKind = exports.DataRightsEventAction = exports.DataRightsResolution = exports.DataRightsRequestStatus = exports.DataRightsChannel = exports.DataRight = exports.DataLegalBasis = exports.TransparencyStatus = exports.AccessRequestEventAction = exports.AccessRequestResolution = exports.AccessRequestStatus = exports.AccessRequestChannel = exports.DispositionKind = exports.FinalDisposition = exports.AuditAction = exports.AuditEntity = exports.DocumentAccessAction = exports.QualityMetricKey = exports.ServiceOutageKind = exports.WorkFolderItemKind = exports.HolidaySource = exports.TextSnippetSection = exports.ScanSessionStatus = exports.CaseFileAccessAction = exports.CaseFileTrackingAction = exports.CaseFileActorType = exports.CaseFileActorRelation = exports.CaseFileEntryKind = exports.CaseFileActuationType = exports.CaseFileIncorporationMechanism = exports.CaseFileStatus = exports.DocumentInstruction = exports.DocumentDeliveryOrigin = exports.DocumentRecipientType = exports.DocumentAttachmentType = exports.DocumentFlowStepType = exports.DocDigitalInboundStatus = exports.DocumentDispatchStatus = exports.CommunicationMeans = exports.DocumentOrigin = exports.DraftReviewStatus = exports.DraftReviewStage = exports.DocumentTrackingAction = exports.DocumentParticipantStatus = exports.DocumentParticipantRole = exports.DocumentAccessLevel = exports.DocumentStatus = exports.DocumentNumberingScope = exports.DocumentCategory = void 0;
|
|
5
|
+
exports.DraftingRequestEventAction = exports.DraftingRequestStatus = exports.MailAuthentication = exports.MailIntakeStatus = exports.DeskFileTarget = exports.DeskFileSource = exports.DataBreachNoticeMeans = exports.DataBreachEventAction = void 0;
|
|
6
6
|
exports.DocumentCategory = {
|
|
7
7
|
Letter: 'Letter',
|
|
8
8
|
Circular: 'Circular',
|
|
@@ -16,10 +16,6 @@ exports.DocumentCategory = {
|
|
|
16
16
|
ResolutionWithReview: 'ResolutionWithReview',
|
|
17
17
|
Other: 'Other',
|
|
18
18
|
};
|
|
19
|
-
exports.DocumentVisaMode = {
|
|
20
|
-
Stamp: 'Stamp',
|
|
21
|
-
Signature: 'Signature',
|
|
22
|
-
};
|
|
23
19
|
exports.DocumentNumberingScope = {
|
|
24
20
|
Type: 'Type',
|
|
25
21
|
Category: 'Category',
|
|
@@ -52,7 +52,7 @@ export interface DocumentActor {
|
|
|
52
52
|
reviewFor?: string[];
|
|
53
53
|
}
|
|
54
54
|
/** Bandeja desde la que se lista. Todas son del funcionario (`actor`), salvo `all`. */
|
|
55
|
-
export type DocumentBucket = 'created' | 'area' | '
|
|
55
|
+
export type DocumentBucket = 'created' | 'area' | 'sent' | 'toVisa' | 'toSign' | 'participated' | 'visaed' | 'signed' | 'reviewed' | 'toReview' | 'all';
|
|
56
56
|
/**
|
|
57
57
|
* Destinatario de un documento o de una derivación: una persona o un área completa. El gateway resuelve el nombre del
|
|
58
58
|
* área y quiénes la integran hoy; el navegador solo indica cuál es.
|
|
@@ -105,10 +105,8 @@ export interface DocumentWritePayload extends Pick<DocumentEntity, 'subject' | '
|
|
|
105
105
|
attachments?: Pick<DocumentAttachmentEntity, 'name' | 'type' | 'fileId' | 'url'>[];
|
|
106
106
|
visaEmployeeIds: string[];
|
|
107
107
|
visaStages?: number[] | null;
|
|
108
|
-
restartFlow?: boolean;
|
|
109
108
|
composition?: DocumentComposition | null;
|
|
110
109
|
signatureEmployeeIds: string[];
|
|
111
|
-
signatureSheet?: boolean;
|
|
112
110
|
recipients?: DocumentRecipientInput[];
|
|
113
111
|
responseDueAt?: string | null;
|
|
114
112
|
responseDueBusinessDays?: number | null;
|
|
@@ -150,7 +148,6 @@ export interface DocumentContract {
|
|
|
150
148
|
composition: DocumentComposition;
|
|
151
149
|
visaCount: number;
|
|
152
150
|
signatureCount: number;
|
|
153
|
-
signatureSheet?: boolean;
|
|
154
151
|
/** Unidad que emite, para el membrete. */
|
|
155
152
|
issuingUnitName?: string | null;
|
|
156
153
|
/** Dirección que emite (la de la unidad), para el membrete. */
|
|
@@ -50,7 +50,6 @@ export interface DocumentTypeWritePayload {
|
|
|
50
50
|
draftReviewDirectorateName?: string | null;
|
|
51
51
|
archivalSeriesId?: string | null;
|
|
52
52
|
issuingEntityId?: string | null;
|
|
53
|
-
sharesNumberingWithId?: string | null;
|
|
54
53
|
enabled?: boolean;
|
|
55
54
|
flowSteps?: DocumentFlowStepInput[];
|
|
56
55
|
template?: DocumentTemplateContent | null;
|
|
@@ -58,7 +58,6 @@ export interface SignatureBatchContract {
|
|
|
58
58
|
visaEmployeeIds?: string[];
|
|
59
59
|
visaStages?: number[] | null;
|
|
60
60
|
signatureEmployeeIds: string[];
|
|
61
|
-
signatureSheet?: boolean;
|
|
62
61
|
documents: {
|
|
63
62
|
subject: string;
|
|
64
63
|
file: {
|
|
@@ -75,6 +74,7 @@ export interface SignatureBatchContract {
|
|
|
75
74
|
payload: {
|
|
76
75
|
id: string;
|
|
77
76
|
observation?: string | null;
|
|
77
|
+
signer: SignatureBatchSigner;
|
|
78
78
|
actor: DocumentActor;
|
|
79
79
|
};
|
|
80
80
|
response: SignatureBatchVisaResponseEntity;
|
|
@@ -205,7 +205,6 @@ export interface DocumentGetByIdResponseEntity {
|
|
|
205
205
|
finishedAt: DocumentEntity['finishedAt'];
|
|
206
206
|
verificationCode: DocumentEntity['verificationCode'];
|
|
207
207
|
verificationUrl: string | null;
|
|
208
|
-
signatureSheet: DocumentEntity['signatureSheet'];
|
|
209
208
|
annulledAt: DocumentEntity['annulledAt'];
|
|
210
209
|
annulmentReason: DocumentEntity['annulmentReason'];
|
|
211
210
|
annulledNumbers: {
|
|
@@ -267,8 +266,6 @@ export interface DocumentGetByIdResponseEntity {
|
|
|
267
266
|
version: number;
|
|
268
267
|
current: boolean;
|
|
269
268
|
} | null;
|
|
270
|
-
/** Cómo se visa: con el sello del sistema o con la firma electrónica desatendida de cada visador (sin OTP). */
|
|
271
|
-
visaMode: DocumentTypeEntity['visaMode'];
|
|
272
269
|
participants: DocumentParticipantResponseEntity[];
|
|
273
270
|
/** Plazo de la tramitación completa mientras está en tramitación, si el tipo lo tiene. */
|
|
274
271
|
processingDeadline?: DocumentDeadlineEntity | null;
|
|
@@ -27,7 +27,6 @@ export interface DocumentTypeGetAllResponseEntity {
|
|
|
27
27
|
processingSlaDays: DocumentTypeEntity['processingSlaDays'];
|
|
28
28
|
turnSlaDays: DocumentTypeEntity['turnSlaDays'];
|
|
29
29
|
reviewSlaDays: DocumentTypeEntity['reviewSlaDays'];
|
|
30
|
-
visaMode: DocumentTypeEntity['visaMode'];
|
|
31
30
|
/** Transparencia Activa: sus documentos se publican cada mes, en esta sección del Portal. */
|
|
32
31
|
activeTransparency: DocumentTypeEntity['activeTransparency'];
|
|
33
32
|
transparencySection: DocumentTypeEntity['transparencySection'];
|
|
@@ -44,14 +43,6 @@ export interface DocumentTypeGetAllResponseEntity {
|
|
|
44
43
|
name: string;
|
|
45
44
|
shortName: string | null;
|
|
46
45
|
} | null;
|
|
47
|
-
sharesNumberingWith: {
|
|
48
|
-
id: string;
|
|
49
|
-
name: string;
|
|
50
|
-
} | null;
|
|
51
|
-
numberingMembers: {
|
|
52
|
-
id: string;
|
|
53
|
-
name: string;
|
|
54
|
-
}[];
|
|
55
46
|
enabled: DocumentTypeEntity['enabled'];
|
|
56
47
|
version: DocumentTypeEntity['version'];
|
|
57
48
|
flow: {
|
|
@@ -24,7 +24,7 @@ export interface RegisterBookRowEntity {
|
|
|
24
24
|
dispatch: string | null;
|
|
25
25
|
/** Motivo de la anulación (del documento o del número). */
|
|
26
26
|
observation: string | null;
|
|
27
|
-
/**
|
|
27
|
+
/** Correlativo de la categoría: tipo documental del número (`null` en un salto o si el libro es de un solo tipo). */
|
|
28
28
|
documentTypeName: string | null;
|
|
29
29
|
}
|
|
30
30
|
export interface RegisterBookEntity {
|
|
@@ -33,7 +33,7 @@ export interface RegisterBookEntity {
|
|
|
33
33
|
title: string;
|
|
34
34
|
/** Quién lleva el libro: la entidad emisora del tipo o la municipalidad. */
|
|
35
35
|
issuerName: string;
|
|
36
|
-
/**
|
|
36
|
+
/** Correlativo de la categoría: los tipos que numeran en la serie del libro (vacío si es de un solo tipo). */
|
|
37
37
|
series: string[];
|
|
38
38
|
year: number;
|
|
39
39
|
month: number | null;
|
package/package.json
CHANGED
package/src/base/entities.ts
CHANGED
|
@@ -27,13 +27,6 @@ export const DocumentCategory = {
|
|
|
27
27
|
Other: 'Other',
|
|
28
28
|
} satisfies Record<string, DocumentCategory>;
|
|
29
29
|
|
|
30
|
-
export type DocumentVisaMode = 'Stamp' | 'Signature';
|
|
31
|
-
|
|
32
|
-
export const DocumentVisaMode = {
|
|
33
|
-
Stamp: 'Stamp',
|
|
34
|
-
Signature: 'Signature',
|
|
35
|
-
} satisfies Record<string, DocumentVisaMode>;
|
|
36
|
-
|
|
37
30
|
export type DocumentNumberingScope = 'Type' | 'Category';
|
|
38
31
|
|
|
39
32
|
export const DocumentNumberingScope = {
|
|
@@ -692,7 +685,6 @@ export interface DocumentTypeEntity {
|
|
|
692
685
|
processingSlaDays?: number | null;
|
|
693
686
|
turnSlaDays?: number | null;
|
|
694
687
|
reviewSlaDays?: number | null;
|
|
695
|
-
visaMode: DocumentVisaMode;
|
|
696
688
|
activeTransparency: boolean;
|
|
697
689
|
transparencySection?: string | null;
|
|
698
690
|
directorateCodeReference?: number | null;
|
|
@@ -702,9 +694,6 @@ export interface DocumentTypeEntity {
|
|
|
702
694
|
archivalSeriesId?: string | null;
|
|
703
695
|
issuingEntity?: IssuingEntityEntity | null;
|
|
704
696
|
issuingEntityId?: string | null;
|
|
705
|
-
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
706
|
-
sharesNumberingWithId?: string | null;
|
|
707
|
-
numberingMembers?: DocumentTypeEntity[];
|
|
708
697
|
enabled: boolean;
|
|
709
698
|
version: number;
|
|
710
699
|
versions?: DocumentTypeVersionEntity[];
|
|
@@ -732,7 +721,6 @@ export interface DocumentEntity {
|
|
|
732
721
|
correlativeYear?: number | null;
|
|
733
722
|
numberedAt?: string | null;
|
|
734
723
|
verificationCode?: string | null;
|
|
735
|
-
signatureSheet: boolean;
|
|
736
724
|
annulledAt?: string | null;
|
|
737
725
|
annulmentReason?: string | null;
|
|
738
726
|
responseDueAt?: string | null;
|
|
@@ -936,7 +924,6 @@ export interface DocumentTypeVersionEntity {
|
|
|
936
924
|
numbered: boolean;
|
|
937
925
|
numberingScope: DocumentNumberingScope;
|
|
938
926
|
usesPartsOffice: boolean;
|
|
939
|
-
visaMode: DocumentVisaMode;
|
|
940
927
|
processingSlaDays?: number | null;
|
|
941
928
|
turnSlaDays?: number | null;
|
|
942
929
|
reviewSlaDays?: number | null;
|
|
@@ -946,7 +933,6 @@ export interface DocumentTypeVersionEntity {
|
|
|
946
933
|
draftReviewDirectorateCode?: number | null;
|
|
947
934
|
draftReviewDirectorateName?: string | null;
|
|
948
935
|
issuingEntityId?: string | null;
|
|
949
|
-
sharesNumberingWithId?: string | null;
|
|
950
936
|
templateVersion?: number | null;
|
|
951
937
|
flowSteps: JsonValue;
|
|
952
938
|
createdByFullName?: string | null;
|
|
@@ -1834,15 +1820,6 @@ export interface DraftingRequestEventEntity {
|
|
|
1834
1820
|
createdAt: string;
|
|
1835
1821
|
}
|
|
1836
1822
|
|
|
1837
|
-
export interface DirectorateReviewerEntity {
|
|
1838
|
-
id: string;
|
|
1839
|
-
directorateCode: number;
|
|
1840
|
-
directorateName: string;
|
|
1841
|
-
employeeId: string;
|
|
1842
|
-
fullName: string;
|
|
1843
|
-
createdAt: string;
|
|
1844
|
-
}
|
|
1845
|
-
|
|
1846
1823
|
export interface DocumentInternalNoteEntity {
|
|
1847
1824
|
id: string;
|
|
1848
1825
|
documentId: string;
|
|
@@ -97,7 +97,6 @@ export interface DocumentActor {
|
|
|
97
97
|
export type DocumentBucket =
|
|
98
98
|
| 'created' // los que redactó
|
|
99
99
|
| 'area' // los de sus áreas (como responsables): los suyos y, de los demás, los públicos ya enviados
|
|
100
|
-
| 'createdForOthers' // los que redactó para otra área (a su pedido)
|
|
101
100
|
| 'sent' // de los que redactó, los ya finalizados que tienen destinatarios
|
|
102
101
|
| 'toVisa' // le toca visarlos
|
|
103
102
|
| 'toSign' // le toca firmarlos
|
|
@@ -157,13 +156,9 @@ export interface DocumentWritePayload extends Pick<DocumentEntity, 'subject' | '
|
|
|
157
156
|
visaEmployeeIds: string[];
|
|
158
157
|
// Etapa de cada visador, en su orden ([1, 1, 2]: los dos primeros visan a la vez). Sin etapas, visan en cadena.
|
|
159
158
|
visaStages?: number[] | null;
|
|
160
|
-
// Al reenviar un documento rechazado, pedir de nuevo las visaciones ya hechas en vez de seguir donde quedó.
|
|
161
|
-
restartFlow?: boolean;
|
|
162
159
|
// Contenido redactado con una plantilla (el PDF ya armado va en `file`): se guarda para volver a editarlo.
|
|
163
160
|
composition?: DocumentComposition | null;
|
|
164
161
|
signatureEmployeeIds: string[];
|
|
165
|
-
// Firmas y visaciones en una hoja aparte al final, en vez de al pie de la última página.
|
|
166
|
-
signatureSheet?: boolean;
|
|
167
162
|
// A quién va dirigido: le llega a su bandeja cuando el documento termina su tramitación.
|
|
168
163
|
recipients?: DocumentRecipientInput[];
|
|
169
164
|
// Plazo en que se espera respuesta de los destinatarios (ISO 8601), o en días hábiles desde que lo reciben (uno u otro).
|
|
@@ -215,7 +210,6 @@ export interface DocumentContract {
|
|
|
215
210
|
composition: DocumentComposition;
|
|
216
211
|
visaCount: number;
|
|
217
212
|
signatureCount: number;
|
|
218
|
-
signatureSheet?: boolean;
|
|
219
213
|
/** Unidad que emite, para el membrete. */
|
|
220
214
|
issuingUnitName?: string | null;
|
|
221
215
|
/** Dirección que emite (la de la unidad), para el membrete. */
|
|
@@ -50,7 +50,7 @@ export interface DocumentTypeWritePayload {
|
|
|
50
50
|
resetsYearly?: boolean;
|
|
51
51
|
// Sus documentos llevan número (por omisión, sí).
|
|
52
52
|
numbered?: boolean;
|
|
53
|
-
// Serie de sus números: la propia (por omisión) o la de su categoría.
|
|
53
|
+
// Serie de sus números: la propia (por omisión) o la de su categoría.
|
|
54
54
|
numberingScope?: DocumentNumberingScope;
|
|
55
55
|
// Pasa por Oficina de Partes (por omisión, sí). Sin ella, el documento solo se firma: va solo a funcionarios y áreas.
|
|
56
56
|
usesPartsOffice?: boolean;
|
|
@@ -70,8 +70,6 @@ export interface DocumentTypeWritePayload {
|
|
|
70
70
|
archivalSeriesId?: string | null;
|
|
71
71
|
// Entidad emisora (sin valor: la municipalidad).
|
|
72
72
|
issuingEntityId?: string | null;
|
|
73
|
-
// Tipo cuyo correlativo comparte (sin valor: el suyo propio).
|
|
74
|
-
sharesNumberingWithId?: string | null;
|
|
75
73
|
enabled?: boolean;
|
|
76
74
|
// Flujo sugerido, en el orden en que les toca dentro de cada rol. Al editar, si no viene, el flujo no cambia.
|
|
77
75
|
flowSteps?: DocumentFlowStepInput[];
|
|
@@ -60,7 +60,6 @@ export interface SignatureBatchContract {
|
|
|
60
60
|
// Etapa de cada visador: los de una misma etapa visan a la vez.
|
|
61
61
|
visaStages?: number[] | null;
|
|
62
62
|
signatureEmployeeIds: string[];
|
|
63
|
-
signatureSheet?: boolean;
|
|
64
63
|
documents: { subject: string; file: { fileId: string; name: string } }[];
|
|
65
64
|
actor: DocumentActor;
|
|
66
65
|
};
|
|
@@ -68,7 +67,8 @@ export interface SignatureBatchContract {
|
|
|
68
67
|
};
|
|
69
68
|
/** Visa de una vez los documentos del lote que el funcionario tiene en su turno de visación. */
|
|
70
69
|
[SignatureBatchPatterns.visa]: {
|
|
71
|
-
|
|
70
|
+
// Cada visación es la firma desatendida de quien visa: van sus datos de firmante (los pone el gateway).
|
|
71
|
+
payload: { id: string; observation?: string | null; signer: SignatureBatchSigner; actor: DocumentActor };
|
|
72
72
|
response: SignatureBatchVisaResponseEntity;
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
@@ -232,8 +232,6 @@ export interface DocumentGetByIdResponseEntity {
|
|
|
232
232
|
verificationCode: DocumentEntity['verificationCode'];
|
|
233
233
|
// Dirección de esa página para este documento. Null si el servicio no la tiene configurada.
|
|
234
234
|
verificationUrl: string | null;
|
|
235
|
-
// El redactor pidió una hoja aparte para firmas y visaciones.
|
|
236
|
-
signatureSheet: DocumentEntity['signatureSheet'];
|
|
237
235
|
// Anulación de un documento ya finalizado.
|
|
238
236
|
annulledAt: DocumentEntity['annulledAt'];
|
|
239
237
|
annulmentReason: DocumentEntity['annulmentReason'];
|
|
@@ -295,8 +293,6 @@ export interface DocumentGetByIdResponseEntity {
|
|
|
295
293
|
// Versión del tipo con que se tramita: la vigente mientras es borrador; desde que se envía, queda fija. `null` si
|
|
296
294
|
// el tipo ya no la tiene registrada.
|
|
297
295
|
documentTypeVersion: { version: number; current: boolean } | null;
|
|
298
|
-
/** Cómo se visa: con el sello del sistema o con la firma electrónica desatendida de cada visador (sin OTP). */
|
|
299
|
-
visaMode: DocumentTypeEntity['visaMode'];
|
|
300
296
|
participants: DocumentParticipantResponseEntity[];
|
|
301
297
|
/** Plazo de la tramitación completa mientras está en tramitación, si el tipo lo tiene. */
|
|
302
298
|
processingDeadline?: DocumentDeadlineEntity | null;
|
|
@@ -39,8 +39,6 @@ export interface DocumentTypeGetAllResponseEntity {
|
|
|
39
39
|
processingSlaDays: DocumentTypeEntity['processingSlaDays'];
|
|
40
40
|
turnSlaDays: DocumentTypeEntity['turnSlaDays'];
|
|
41
41
|
reviewSlaDays: DocumentTypeEntity['reviewSlaDays'];
|
|
42
|
-
// Cómo visan sus documentos: con la firma electrónica desatendida de cada visador (`Stamp`, solo versiones antiguas).
|
|
43
|
-
visaMode: DocumentTypeEntity['visaMode'];
|
|
44
42
|
/** Transparencia Activa: sus documentos se publican cada mes, en esta sección del Portal. */
|
|
45
43
|
activeTransparency: DocumentTypeEntity['activeTransparency'];
|
|
46
44
|
transparencySection: DocumentTypeEntity['transparencySection'];
|
|
@@ -52,11 +50,6 @@ export interface DocumentTypeGetAllResponseEntity {
|
|
|
52
50
|
archivalSeries: { id: string; code: string; name: string } | null;
|
|
53
51
|
// Entidad que emite sus documentos (Educación, Salud, Juzgado). `null`: la municipalidad.
|
|
54
52
|
issuingEntity: { id: string; name: string; shortName: string | null } | null;
|
|
55
|
-
// Tipo cuyo correlativo comparte: sus números salen de esa serie (y `nextCorrelative`, `correlativeYear` y
|
|
56
|
-
// `resetsYearly` son los de ese tipo). `null`: lleva su propio correlativo.
|
|
57
|
-
sharesNumberingWith: { id: string; name: string } | null;
|
|
58
|
-
// Tipos que toman sus números del correlativo de este.
|
|
59
|
-
numberingMembers: { id: string; name: string }[];
|
|
60
53
|
enabled: DocumentTypeEntity['enabled'];
|
|
61
54
|
// Versión vigente de su configuración: la toman los documentos nuevos y los borradores al guardarse.
|
|
62
55
|
version: DocumentTypeEntity['version'];
|
|
@@ -26,7 +26,7 @@ export interface RegisterBookRowEntity {
|
|
|
26
26
|
dispatch: string | null;
|
|
27
27
|
/** Motivo de la anulación (del documento o del número). */
|
|
28
28
|
observation: string | null;
|
|
29
|
-
/**
|
|
29
|
+
/** Correlativo de la categoría: tipo documental del número (`null` en un salto o si el libro es de un solo tipo). */
|
|
30
30
|
documentTypeName: string | null;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -36,7 +36,7 @@ export interface RegisterBookEntity {
|
|
|
36
36
|
title: string;
|
|
37
37
|
/** Quién lleva el libro: la entidad emisora del tipo o la municipalidad. */
|
|
38
38
|
issuerName: string;
|
|
39
|
-
/**
|
|
39
|
+
/** Correlativo de la categoría: los tipos que numeran en la serie del libro (vacío si es de un solo tipo). */
|
|
40
40
|
series: string[];
|
|
41
41
|
year: number;
|
|
42
42
|
month: number | null;
|