@muni-sanfer/types-gestor-documental 0.0.1-beta.101 → 0.0.1-beta.102

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.
@@ -1,6 +1,6 @@
1
1
  import { type DocumentFolioDraft, type DocumentFolioStamp } from './folio';
2
2
  import { type DocumentTypeDistribution } from '../documentType/distribution';
3
- import { type CommunicationMeans, DocumentAnnulledNumberEntity, DocumentAttachmentEntity, DocumentDeliveryEntity, DocumentEntity, DocumentParticipantEntity, DocumentRecipientEntity, type DocumentStatus, type InternalNoteVerdict, DocumentTrackingEntity, DocumentTypeEntity } from '../../base/entities';
3
+ import { type CommunicationMeans, DocumentAnnulledNumberEntity, DocumentAttachmentEntity, DocumentDeliveryEntity, DocumentEntity, DocumentParticipantEntity, DocumentRecipientEntity, type DocumentStatus, type DraftReviewStatus, type InternalNoteVerdict, DocumentTrackingEntity, DocumentTypeEntity } from '../../base/entities';
4
4
  import { type RichLetterhead, type RichPage, type RichSpacing, type RichTextStyle } from './richStyle';
5
5
  import { type DocumentDraftingRequestEntity } from '../draftingRequest/draftingRequest.entity';
6
6
  import { type DocumentStampPlacements, type StampBox } from './stampPlacement';
@@ -163,6 +163,11 @@ export interface DocumentGetAllResponseEntity {
163
163
  } | null;
164
164
  /** Borrador que espera su revisión: quién la tiene que hacer (para elegir varios y aprobarlos de una vez). */
165
165
  draftReviewerEmployeeId?: string | null;
166
+ /**
167
+ * Cómo va la revisión de un borrador: esperándola, con observaciones (devuelto) o aprobado (y sin cambios desde
168
+ * entonces). Sin revisión, o si ya no es borrador, `null`.
169
+ */
170
+ draftReviewStatus?: Exclude<DraftReviewStatus, 'Cancelled'> | null;
166
171
  }
167
172
  /** Una entrada de la bandeja de recibidos: la entrega y el documento al que corresponde. */
168
173
  /** Semáforo de un plazo pendiente: a tiempo, por vencer (2 días hábiles o menos) o vencido. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muni-sanfer/types-gestor-documental",
3
- "version": "0.0.1-beta.101",
3
+ "version": "0.0.1-beta.102",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -9,6 +9,7 @@ import {
9
9
  DocumentParticipantEntity,
10
10
  DocumentRecipientEntity,
11
11
  type DocumentStatus,
12
+ type DraftReviewStatus,
12
13
  type InternalNoteVerdict,
13
14
  DocumentTrackingEntity,
14
15
  DocumentTypeEntity,
@@ -185,6 +186,11 @@ export interface DocumentGetAllResponseEntity {
185
186
  internalVerdict?: { verdict: InternalNoteVerdict; authorFullName: string; createdAt: string } | null;
186
187
  /** Borrador que espera su revisión: quién la tiene que hacer (para elegir varios y aprobarlos de una vez). */
187
188
  draftReviewerEmployeeId?: string | null;
189
+ /**
190
+ * Cómo va la revisión de un borrador: esperándola, con observaciones (devuelto) o aprobado (y sin cambios desde
191
+ * entonces). Sin revisión, o si ya no es borrador, `null`.
192
+ */
193
+ draftReviewStatus?: Exclude<DraftReviewStatus, 'Cancelled'> | null;
188
194
  }
189
195
 
190
196
  /** Una entrada de la bandeja de recibidos: la entrega y el documento al que corresponde. */