@muni-sanfer/types-gestor-documental 0.0.1-beta.34 → 0.0.1-beta.35

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.
@@ -461,6 +461,7 @@ export interface DocumentEntity {
461
461
  originalFileName: string;
462
462
  currentFileId?: string | null;
463
463
  currentFileUrl?: string | null;
464
+ fileFormat?: string | null;
464
465
  submittedAt?: string | null;
465
466
  finishedAt?: string | null;
466
467
  documentType?: DocumentTypeEntity;
@@ -709,6 +710,7 @@ export interface CaseFileEntryEntity {
709
710
  sha256?: string | null;
710
711
  size?: number | null;
711
712
  hasAdvancedSignature: boolean;
713
+ fileFormat?: string | null;
712
714
  signatureCheck?: JsonValue | null;
713
715
  incorporatedByEmployeeId: string;
714
716
  incorporatedByFullName: string;
@@ -59,6 +59,8 @@ export interface CaseFileEntryResponseEntity {
59
59
  sha256: CaseFileEntryEntity['sha256'];
60
60
  size: CaseFileEntryEntity['size'];
61
61
  hasAdvancedSignature: CaseFileEntryEntity['hasAdvancedSignature'];
62
+ /** Conformidad PDF/A que declara el archivo («PDF/A-2B»), «PDF», o `null` si no es un PDF o no se revisó. */
63
+ fileFormat: CaseFileEntryEntity['fileFormat'];
62
64
  /** Revisión de sus firmas al incorporarlo, en los archivos externos en PDF. */
63
65
  signatureCheck: PdfSignatureReportEntity | null;
64
66
  incorporatedByEmployeeId: CaseFileEntryEntity['incorporatedByEmployeeId'];
@@ -139,6 +139,11 @@ export interface DocumentGetByIdResponseEntity {
139
139
  keywords: DocumentEntity['keywords'];
140
140
  accessLevel: DocumentEntity['accessLevel'];
141
141
  hasSensitiveData: DocumentEntity['hasSensitiveData'];
142
+ /**
143
+ * Formato del archivo vigente: la conformidad PDF/A que declara («PDF/A-2B») o «PDF». `null` si no se revisó (los
144
+ * documentos anteriores a esta revisión, o aún sin firmar).
145
+ */
146
+ fileFormat: DocumentEntity['fileFormat'];
142
147
  status: DocumentEntity['status'];
143
148
  correlative: DocumentEntity['correlative'];
144
149
  correlativeYear: DocumentEntity['correlativeYear'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muni-sanfer/types-gestor-documental",
3
- "version": "0.0.1-beta.34",
3
+ "version": "0.0.1-beta.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -654,6 +654,7 @@ export interface DocumentEntity {
654
654
  originalFileName: string;
655
655
  currentFileId?: string | null;
656
656
  currentFileUrl?: string | null;
657
+ fileFormat?: string | null;
657
658
  submittedAt?: string | null;
658
659
  finishedAt?: string | null;
659
660
  documentType?: DocumentTypeEntity;
@@ -916,6 +917,7 @@ export interface CaseFileEntryEntity {
916
917
  sha256?: string | null;
917
918
  size?: number | null;
918
919
  hasAdvancedSignature: boolean;
920
+ fileFormat?: string | null;
919
921
  signatureCheck?: JsonValue | null;
920
922
  incorporatedByEmployeeId: string;
921
923
  incorporatedByFullName: string;
@@ -73,6 +73,8 @@ export interface CaseFileEntryResponseEntity {
73
73
  sha256: CaseFileEntryEntity['sha256'];
74
74
  size: CaseFileEntryEntity['size'];
75
75
  hasAdvancedSignature: CaseFileEntryEntity['hasAdvancedSignature'];
76
+ /** Conformidad PDF/A que declara el archivo («PDF/A-2B»), «PDF», o `null` si no es un PDF o no se revisó. */
77
+ fileFormat: CaseFileEntryEntity['fileFormat'];
76
78
  /** Revisión de sus firmas al incorporarlo, en los archivos externos en PDF. */
77
79
  signatureCheck: PdfSignatureReportEntity | null;
78
80
  incorporatedByEmployeeId: CaseFileEntryEntity['incorporatedByEmployeeId'];
@@ -163,6 +163,11 @@ export interface DocumentGetByIdResponseEntity {
163
163
  keywords: DocumentEntity['keywords'];
164
164
  accessLevel: DocumentEntity['accessLevel'];
165
165
  hasSensitiveData: DocumentEntity['hasSensitiveData'];
166
+ /**
167
+ * Formato del archivo vigente: la conformidad PDF/A que declara («PDF/A-2B») o «PDF». `null` si no se revisó (los
168
+ * documentos anteriores a esta revisión, o aún sin firmar).
169
+ */
170
+ fileFormat: DocumentEntity['fileFormat'];
166
171
  status: DocumentEntity['status'];
167
172
  correlative: DocumentEntity['correlative'];
168
173
  correlativeYear: DocumentEntity['correlativeYear'];