@muni-sanfer/types-gestor-documental 0.0.1-beta.6 → 0.0.1-beta.61
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 +1055 -7
- package/dist/base/entities.js +258 -2
- package/dist/contracts/accessRequest.contract.d.ts +109 -0
- package/dist/contracts/accessRequest.contract.js +12 -0
- package/dist/contracts/archivalSeries.contract.d.ts +56 -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 +124 -1
- package/dist/contracts/caseFile.contract.js +10 -0
- package/dist/contracts/dataProtection.contract.d.ts +256 -0
- package/dist/contracts/dataProtection.contract.js +23 -0
- package/dist/contracts/desk.contract.d.ts +88 -0
- package/dist/contracts/desk.contract.js +13 -0
- package/dist/contracts/document.contract.d.ts +236 -3
- package/dist/contracts/document.contract.js +16 -0
- package/dist/contracts/documentTemplate.contract.d.ts +17 -0
- package/dist/contracts/documentTemplate.contract.js +10 -0
- package/dist/contracts/documentType.contract.d.ts +33 -3
- package/dist/contracts/documentType.contract.js +2 -0
- package/dist/contracts/draftingRequest.contract.d.ts +97 -0
- package/dist/contracts/draftingRequest.contract.js +11 -0
- package/dist/contracts/holiday.contract.d.ts +39 -0
- package/dist/contracts/holiday.contract.js +10 -0
- package/dist/contracts/index.d.ts +249 -4
- package/dist/contracts/index.js +69 -0
- package/dist/contracts/indicators.contract.d.ts +103 -0
- package/dist/contracts/indicators.contract.js +15 -0
- package/dist/contracts/internalReview.contract.d.ts +55 -0
- package/dist/contracts/internalReview.contract.js +9 -0
- package/dist/contracts/issuingEntity.contract.d.ts +52 -0
- package/dist/contracts/issuingEntity.contract.js +11 -0
- package/dist/contracts/mailIntake.contract.d.ts +61 -0
- package/dist/contracts/mailIntake.contract.js +15 -0
- package/dist/contracts/partsOffice.contract.d.ts +94 -2
- package/dist/contracts/partsOffice.contract.js +5 -0
- package/dist/contracts/procedure.contract.d.ts +14 -23
- package/dist/contracts/procedure.contract.js +6 -4
- package/dist/contracts/push.contract.d.ts +59 -0
- package/dist/contracts/push.contract.js +14 -0
- package/dist/contracts/repositoryExport.contract.d.ts +57 -0
- package/dist/contracts/repositoryExport.contract.js +13 -0
- package/dist/contracts/retention.contract.d.ts +58 -0
- package/dist/contracts/retention.contract.js +11 -0
- package/dist/contracts/richImage.contract.d.ts +33 -0
- package/dist/contracts/richImage.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/signatureCheck.contract.d.ts +14 -0
- package/dist/contracts/signatureCheck.contract.js +7 -0
- package/dist/contracts/textSnippet.contract.d.ts +51 -0
- package/dist/contracts/textSnippet.contract.js +11 -0
- package/dist/contracts/transparency.contract.d.ts +96 -0
- package/dist/contracts/transparency.contract.js +12 -0
- package/dist/contracts/visaInitials.contract.d.ts +28 -0
- package/dist/contracts/visaInitials.contract.js +11 -0
- package/dist/contracts/workFolder.contract.d.ts +114 -0
- package/dist/contracts/workFolder.contract.js +16 -0
- package/dist/entities/accessRequest/accessRequest.entity.d.ts +73 -0
- package/dist/entities/accessRequest/accessRequest.entity.js +2 -0
- package/dist/entities/accessRequest/index.d.ts +1 -0
- package/dist/entities/accessRequest/index.js +17 -0
- package/dist/entities/archivalSeries/archivalSeries.entity.d.ts +32 -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 +30 -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 +135 -0
- package/dist/entities/dataProtection/dataProtection.entity.d.ts +180 -0
- package/dist/entities/dataProtection/dataProtection.entity.js +2 -0
- package/dist/entities/dataProtection/index.d.ts +1 -0
- package/dist/entities/dataProtection/index.js +17 -0
- package/dist/entities/desk/desk.entity.d.ts +25 -0
- package/dist/entities/desk/desk.entity.js +2 -0
- package/dist/entities/desk/index.d.ts +1 -0
- package/dist/entities/desk/index.js +17 -0
- package/dist/entities/document/document.entity.d.ts +476 -1
- package/dist/entities/document/index.d.ts +2 -0
- package/dist/entities/document/index.js +2 -0
- package/dist/entities/document/richStyle.d.ts +219 -0
- package/dist/entities/document/richStyle.js +81 -0
- package/dist/entities/document/stampPlacement.d.ts +42 -0
- package/dist/entities/document/stampPlacement.js +16 -0
- package/dist/entities/documentTemplate/documentTemplate.entity.d.ts +25 -0
- package/dist/entities/documentTemplate/documentTemplate.entity.js +2 -0
- package/dist/entities/documentTemplate/index.d.ts +1 -0
- package/dist/entities/documentTemplate/index.js +17 -0
- package/dist/entities/documentType/documentCategory.d.ts +15 -0
- package/dist/entities/documentType/documentCategory.js +39 -0
- package/dist/entities/documentType/documentType.entity.d.ts +64 -1
- package/dist/entities/documentType/index.d.ts +1 -0
- package/dist/entities/documentType/index.js +1 -0
- package/dist/entities/draftingRequest/draftingRequest.entity.d.ts +78 -0
- package/dist/entities/draftingRequest/draftingRequest.entity.js +2 -0
- package/dist/entities/draftingRequest/index.d.ts +1 -0
- package/dist/entities/draftingRequest/index.js +17 -0
- package/dist/entities/holiday/holiday.entity.d.ts +32 -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 +22 -0
- package/dist/entities/index.js +22 -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/internalReview/index.d.ts +1 -0
- package/dist/entities/internalReview/index.js +17 -0
- package/dist/entities/internalReview/internalReview.entity.d.ts +50 -0
- package/dist/entities/internalReview/internalReview.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/mailIntake/index.d.ts +1 -0
- package/dist/entities/mailIntake/index.js +17 -0
- package/dist/entities/mailIntake/mailIntake.entity.d.ts +51 -0
- package/dist/entities/mailIntake/mailIntake.entity.js +2 -0
- package/dist/entities/partsOffice/partsOffice.entity.d.ts +39 -0
- package/dist/entities/procedure/procedure.entity.d.ts +27 -6
- package/dist/entities/push/index.d.ts +1 -0
- package/dist/entities/push/index.js +17 -0
- package/dist/entities/push/push.entity.d.ts +28 -0
- package/dist/entities/push/push.entity.js +2 -0
- package/dist/entities/registerBook/registerBook.entity.d.ts +6 -0
- package/dist/entities/repositoryExport/index.d.ts +1 -0
- package/dist/entities/repositoryExport/index.js +17 -0
- package/dist/entities/repositoryExport/repositoryExport.entity.d.ts +124 -0
- package/dist/entities/repositoryExport/repositoryExport.entity.js +2 -0
- package/dist/entities/retention/index.d.ts +1 -0
- package/dist/entities/retention/index.js +17 -0
- package/dist/entities/retention/retention.entity.d.ts +49 -0
- package/dist/entities/retention/retention.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/signatureCheck/index.d.ts +1 -0
- package/dist/entities/signatureCheck/index.js +17 -0
- package/dist/entities/signatureCheck/signatureCheck.entity.d.ts +60 -0
- package/dist/entities/signatureCheck/signatureCheck.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/transparency/index.d.ts +1 -0
- package/dist/entities/transparency/index.js +17 -0
- package/dist/entities/transparency/transparency.entity.d.ts +77 -0
- package/dist/entities/transparency/transparency.entity.js +2 -0
- package/dist/entities/visaInitials/index.d.ts +1 -0
- package/dist/entities/visaInitials/index.js +17 -0
- package/dist/entities/visaInitials/visaInitials.entity.d.ts +13 -0
- package/dist/entities/visaInitials/visaInitials.entity.js +5 -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 +1244 -7
- package/src/contracts/accessRequest.contract.ts +81 -0
- package/src/contracts/archivalSeries.contract.ts +59 -0
- package/src/contracts/audit.contract.ts +30 -0
- package/src/contracts/caseFile.contract.ts +107 -2
- package/src/contracts/dataProtection.contract.ts +197 -0
- package/src/contracts/desk.contract.ts +72 -0
- package/src/contracts/document.contract.ts +223 -3
- package/src/contracts/documentTemplate.contract.ts +17 -0
- package/src/contracts/documentType.contract.ts +57 -4
- package/src/contracts/draftingRequest.contract.ts +77 -0
- package/src/contracts/holiday.contract.ts +25 -0
- package/src/contracts/index.ts +93 -1
- package/src/contracts/indicators.contract.ts +80 -0
- package/src/contracts/internalReview.contract.ts +48 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/mailIntake.contract.ts +49 -0
- package/src/contracts/partsOffice.contract.ts +81 -2
- package/src/contracts/procedure.contract.ts +11 -27
- package/src/contracts/push.contract.ts +41 -0
- package/src/contracts/repositoryExport.contract.ts +54 -0
- package/src/contracts/retention.contract.ts +44 -0
- package/src/contracts/richImage.contract.ts +23 -0
- package/src/contracts/scan.contract.ts +52 -0
- package/src/contracts/signatureBatch.contract.ts +96 -0
- package/src/contracts/signatureCheck.contract.ts +11 -0
- package/src/contracts/textSnippet.contract.ts +53 -0
- package/src/contracts/transparency.contract.ts +55 -0
- package/src/contracts/visaInitials.contract.ts +23 -0
- package/src/contracts/workFolder.contract.ts +75 -0
- package/src/entities/accessRequest/accessRequest.entity.ts +78 -0
- package/src/entities/accessRequest/index.ts +1 -0
- package/src/entities/archivalSeries/archivalSeries.entity.ts +37 -0
- package/src/entities/archivalSeries/index.ts +1 -0
- package/src/entities/audit/audit.entity.ts +41 -0
- package/src/entities/audit/index.ts +1 -0
- package/src/entities/caseFile/caseFile.entity.ts +132 -0
- package/src/entities/dataProtection/dataProtection.entity.ts +191 -0
- package/src/entities/dataProtection/index.ts +1 -0
- package/src/entities/desk/desk.entity.ts +28 -0
- package/src/entities/desk/index.ts +1 -0
- package/src/entities/document/document.entity.ts +464 -1
- package/src/entities/document/index.ts +2 -0
- package/src/entities/document/richStyle.ts +200 -0
- package/src/entities/document/stampPlacement.ts +35 -0
- package/src/entities/documentTemplate/documentTemplate.entity.ts +27 -0
- package/src/entities/documentTemplate/index.ts +1 -0
- package/src/entities/documentType/documentCategory.ts +40 -0
- package/src/entities/documentType/documentType.entity.ts +76 -1
- package/src/entities/documentType/index.ts +1 -0
- package/src/entities/draftingRequest/draftingRequest.entity.ts +81 -0
- package/src/entities/draftingRequest/index.ts +1 -0
- package/src/entities/holiday/holiday.entity.ts +36 -0
- package/src/entities/holiday/index.ts +1 -0
- package/src/entities/index.ts +22 -0
- package/src/entities/indicators/index.ts +1 -0
- package/src/entities/indicators/indicators.entity.ts +157 -0
- package/src/entities/internalReview/index.ts +1 -0
- package/src/entities/internalReview/internalReview.entity.ts +50 -0
- package/src/entities/issuingEntity/index.ts +1 -0
- package/src/entities/issuingEntity/issuingEntity.entity.ts +24 -0
- package/src/entities/mailIntake/index.ts +1 -0
- package/src/entities/mailIntake/mailIntake.entity.ts +55 -0
- package/src/entities/partsOffice/partsOffice.entity.ts +35 -0
- package/src/entities/procedure/procedure.entity.ts +27 -6
- package/src/entities/push/index.ts +1 -0
- package/src/entities/push/push.entity.ts +31 -0
- package/src/entities/registerBook/registerBook.entity.ts +6 -0
- package/src/entities/repositoryExport/index.ts +1 -0
- package/src/entities/repositoryExport/repositoryExport.entity.ts +86 -0
- package/src/entities/retention/index.ts +1 -0
- package/src/entities/retention/retention.entity.ts +53 -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/signatureCheck/index.ts +1 -0
- package/src/entities/signatureCheck/signatureCheck.entity.ts +63 -0
- package/src/entities/textSnippet/index.ts +1 -0
- package/src/entities/textSnippet/textSnippet.entity.ts +24 -0
- package/src/entities/transparency/index.ts +1 -0
- package/src/entities/transparency/transparency.entity.ts +78 -0
- package/src/entities/visaInitials/index.ts +1 -0
- package/src/entities/visaInitials/visaInitials.entity.ts +12 -0
- package/src/entities/workFolder/index.ts +1 -0
- package/src/entities/workFolder/workFolder.entity.ts +84 -0
- package/tsconfig.json +1 -3
package/src/base/entities.ts
CHANGED
|
@@ -1,13 +1,46 @@
|
|
|
1
1
|
// This file was auto-generated by prisma-generator-typescript-interfaces
|
|
2
2
|
|
|
3
|
-
export type DocumentCategory =
|
|
3
|
+
export type DocumentCategory =
|
|
4
|
+
| 'Letter'
|
|
5
|
+
| 'Circular'
|
|
6
|
+
| 'Memorandum'
|
|
7
|
+
| 'Office'
|
|
8
|
+
| 'Opinion'
|
|
9
|
+
| 'Report'
|
|
10
|
+
| 'Agreement'
|
|
11
|
+
| 'Decree'
|
|
12
|
+
| 'Resolution'
|
|
13
|
+
| 'ResolutionWithReview'
|
|
14
|
+
| 'Other';
|
|
4
15
|
|
|
5
16
|
export const DocumentCategory = {
|
|
17
|
+
Letter: 'Letter',
|
|
18
|
+
Circular: 'Circular',
|
|
19
|
+
Memorandum: 'Memorandum',
|
|
20
|
+
Office: 'Office',
|
|
21
|
+
Opinion: 'Opinion',
|
|
22
|
+
Report: 'Report',
|
|
23
|
+
Agreement: 'Agreement',
|
|
6
24
|
Decree: 'Decree',
|
|
7
|
-
|
|
25
|
+
Resolution: 'Resolution',
|
|
26
|
+
ResolutionWithReview: 'ResolutionWithReview',
|
|
8
27
|
Other: 'Other',
|
|
9
28
|
} satisfies Record<string, DocumentCategory>;
|
|
10
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
|
+
export type DocumentNumberingScope = 'Type' | 'Category';
|
|
38
|
+
|
|
39
|
+
export const DocumentNumberingScope = {
|
|
40
|
+
Type: 'Type',
|
|
41
|
+
Category: 'Category',
|
|
42
|
+
} satisfies Record<string, DocumentNumberingScope>;
|
|
43
|
+
|
|
11
44
|
export type DocumentStatus =
|
|
12
45
|
'Drafted' | 'PendingVisa' | 'PendingSignature' | 'Finished' | 'Rejected' | 'Discarded' | 'Annulled';
|
|
13
46
|
|
|
@@ -63,7 +96,20 @@ export type DocumentTrackingAction =
|
|
|
63
96
|
| 'Reassigned'
|
|
64
97
|
| 'Dispatched'
|
|
65
98
|
| 'DispatchReturned'
|
|
66
|
-
| '
|
|
99
|
+
| 'DispatchedByContingency'
|
|
100
|
+
| 'Received'
|
|
101
|
+
| 'EmailCopySent'
|
|
102
|
+
| 'EmailCopyOpened'
|
|
103
|
+
| 'DispositionRecorded'
|
|
104
|
+
| 'TransparencyRedacted'
|
|
105
|
+
| 'TransparencyPublished'
|
|
106
|
+
| 'TransparencyExcluded'
|
|
107
|
+
| 'TransparencyWithdrawn'
|
|
108
|
+
| 'DraftReviewRequested'
|
|
109
|
+
| 'DraftReviewApproved'
|
|
110
|
+
| 'DraftReviewRejected'
|
|
111
|
+
| 'DraftReviewCancelled'
|
|
112
|
+
| 'DraftCorrected';
|
|
67
113
|
|
|
68
114
|
export const DocumentTrackingAction = {
|
|
69
115
|
Created: 'Created',
|
|
@@ -82,16 +128,55 @@ export const DocumentTrackingAction = {
|
|
|
82
128
|
Reassigned: 'Reassigned',
|
|
83
129
|
Dispatched: 'Dispatched',
|
|
84
130
|
DispatchReturned: 'DispatchReturned',
|
|
131
|
+
DispatchedByContingency: 'DispatchedByContingency',
|
|
85
132
|
Received: 'Received',
|
|
133
|
+
EmailCopySent: 'EmailCopySent',
|
|
134
|
+
EmailCopyOpened: 'EmailCopyOpened',
|
|
135
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
136
|
+
TransparencyRedacted: 'TransparencyRedacted',
|
|
137
|
+
TransparencyPublished: 'TransparencyPublished',
|
|
138
|
+
TransparencyExcluded: 'TransparencyExcluded',
|
|
139
|
+
TransparencyWithdrawn: 'TransparencyWithdrawn',
|
|
140
|
+
DraftReviewRequested: 'DraftReviewRequested',
|
|
141
|
+
DraftReviewApproved: 'DraftReviewApproved',
|
|
142
|
+
DraftReviewRejected: 'DraftReviewRejected',
|
|
143
|
+
DraftReviewCancelled: 'DraftReviewCancelled',
|
|
144
|
+
DraftCorrected: 'DraftCorrected',
|
|
86
145
|
} satisfies Record<string, DocumentTrackingAction>;
|
|
87
146
|
|
|
88
|
-
export type
|
|
147
|
+
export type DraftReviewStage = 'Draft' | 'Official';
|
|
148
|
+
|
|
149
|
+
export const DraftReviewStage = {
|
|
150
|
+
Draft: 'Draft',
|
|
151
|
+
Official: 'Official',
|
|
152
|
+
} satisfies Record<string, DraftReviewStage>;
|
|
153
|
+
|
|
154
|
+
export type DraftReviewStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
|
|
155
|
+
|
|
156
|
+
export const DraftReviewStatus = {
|
|
157
|
+
Pending: 'Pending',
|
|
158
|
+
Approved: 'Approved',
|
|
159
|
+
Rejected: 'Rejected',
|
|
160
|
+
Cancelled: 'Cancelled',
|
|
161
|
+
} satisfies Record<string, DraftReviewStatus>;
|
|
162
|
+
|
|
163
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
89
164
|
|
|
90
165
|
export const DocumentOrigin = {
|
|
91
166
|
Internal: 'Internal',
|
|
92
167
|
DocDigital: 'DocDigital',
|
|
168
|
+
Manual: 'Manual',
|
|
93
169
|
} satisfies Record<string, DocumentOrigin>;
|
|
94
170
|
|
|
171
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
172
|
+
|
|
173
|
+
export const CommunicationMeans = {
|
|
174
|
+
Paper: 'Paper',
|
|
175
|
+
Email: 'Email',
|
|
176
|
+
Courier: 'Courier',
|
|
177
|
+
Other: 'Other',
|
|
178
|
+
} satisfies Record<string, CommunicationMeans>;
|
|
179
|
+
|
|
95
180
|
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
96
181
|
|
|
97
182
|
export const DocumentDispatchStatus = {
|
|
@@ -183,12 +268,13 @@ export const CaseFileActuationType = {
|
|
|
183
268
|
PowerRegistration: 'PowerRegistration',
|
|
184
269
|
} satisfies Record<string, CaseFileActuationType>;
|
|
185
270
|
|
|
186
|
-
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile';
|
|
271
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
187
272
|
|
|
188
273
|
export const CaseFileEntryKind = {
|
|
189
274
|
Document: 'Document',
|
|
190
275
|
File: 'File',
|
|
191
276
|
CaseFile: 'CaseFile',
|
|
277
|
+
Physical: 'Physical',
|
|
192
278
|
} satisfies Record<string, CaseFileEntryKind>;
|
|
193
279
|
|
|
194
280
|
export type CaseFileActorRelation =
|
|
@@ -217,20 +303,28 @@ export type CaseFileTrackingAction =
|
|
|
217
303
|
| 'Updated'
|
|
218
304
|
| 'EntryAdded'
|
|
219
305
|
| 'EntryVoided'
|
|
306
|
+
| 'EntryMoved'
|
|
220
307
|
| 'ParticipantAdded'
|
|
221
308
|
| 'ParticipantRemoved'
|
|
222
309
|
| 'Closed'
|
|
223
|
-
| 'Exported'
|
|
310
|
+
| 'Exported'
|
|
311
|
+
| 'ShareLinkCreated'
|
|
312
|
+
| 'ShareLinkRevoked'
|
|
313
|
+
| 'DispositionRecorded';
|
|
224
314
|
|
|
225
315
|
export const CaseFileTrackingAction = {
|
|
226
316
|
Created: 'Created',
|
|
227
317
|
Updated: 'Updated',
|
|
228
318
|
EntryAdded: 'EntryAdded',
|
|
229
319
|
EntryVoided: 'EntryVoided',
|
|
320
|
+
EntryMoved: 'EntryMoved',
|
|
230
321
|
ParticipantAdded: 'ParticipantAdded',
|
|
231
322
|
ParticipantRemoved: 'ParticipantRemoved',
|
|
232
323
|
Closed: 'Closed',
|
|
233
324
|
Exported: 'Exported',
|
|
325
|
+
ShareLinkCreated: 'ShareLinkCreated',
|
|
326
|
+
ShareLinkRevoked: 'ShareLinkRevoked',
|
|
327
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
234
328
|
} satisfies Record<string, CaseFileTrackingAction>;
|
|
235
329
|
|
|
236
330
|
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
@@ -241,6 +335,348 @@ export const CaseFileAccessAction = {
|
|
|
241
335
|
Exported: 'Exported',
|
|
242
336
|
} satisfies Record<string, CaseFileAccessAction>;
|
|
243
337
|
|
|
338
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
339
|
+
|
|
340
|
+
export const ScanSessionStatus = {
|
|
341
|
+
Open: 'Open',
|
|
342
|
+
Ready: 'Ready',
|
|
343
|
+
} satisfies Record<string, ScanSessionStatus>;
|
|
344
|
+
|
|
345
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
346
|
+
|
|
347
|
+
export const TextSnippetSection = {
|
|
348
|
+
Vistos: 'Vistos',
|
|
349
|
+
Considerando: 'Considerando',
|
|
350
|
+
Resolutive: 'Resolutive',
|
|
351
|
+
Body: 'Body',
|
|
352
|
+
Closing: 'Closing',
|
|
353
|
+
} satisfies Record<string, TextSnippetSection>;
|
|
354
|
+
|
|
355
|
+
export type HolidaySource = 'Manual' | 'Api';
|
|
356
|
+
|
|
357
|
+
export const HolidaySource = {
|
|
358
|
+
Manual: 'Manual',
|
|
359
|
+
Api: 'Api',
|
|
360
|
+
} satisfies Record<string, HolidaySource>;
|
|
361
|
+
|
|
362
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
363
|
+
|
|
364
|
+
export const WorkFolderItemKind = {
|
|
365
|
+
Document: 'Document',
|
|
366
|
+
File: 'File',
|
|
367
|
+
} satisfies Record<string, WorkFolderItemKind>;
|
|
368
|
+
|
|
369
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
370
|
+
|
|
371
|
+
export const ServiceOutageKind = {
|
|
372
|
+
Unplanned: 'Unplanned',
|
|
373
|
+
Planned: 'Planned',
|
|
374
|
+
} satisfies Record<string, ServiceOutageKind>;
|
|
375
|
+
|
|
376
|
+
export type QualityMetricKey =
|
|
377
|
+
| 'Effectiveness'
|
|
378
|
+
| 'Efficiency'
|
|
379
|
+
| 'Availability'
|
|
380
|
+
| 'ResponseTime'
|
|
381
|
+
| 'Accessibility'
|
|
382
|
+
| 'FunctionalCompleteness'
|
|
383
|
+
| 'Interoperability';
|
|
384
|
+
|
|
385
|
+
export const QualityMetricKey = {
|
|
386
|
+
Effectiveness: 'Effectiveness',
|
|
387
|
+
Efficiency: 'Efficiency',
|
|
388
|
+
Availability: 'Availability',
|
|
389
|
+
ResponseTime: 'ResponseTime',
|
|
390
|
+
Accessibility: 'Accessibility',
|
|
391
|
+
FunctionalCompleteness: 'FunctionalCompleteness',
|
|
392
|
+
Interoperability: 'Interoperability',
|
|
393
|
+
} satisfies Record<string, QualityMetricKey>;
|
|
394
|
+
|
|
395
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
396
|
+
|
|
397
|
+
export const DocumentAccessAction = {
|
|
398
|
+
Viewed: 'Viewed',
|
|
399
|
+
FileDownloaded: 'FileDownloaded',
|
|
400
|
+
TrailExported: 'TrailExported',
|
|
401
|
+
} satisfies Record<string, DocumentAccessAction>;
|
|
402
|
+
|
|
403
|
+
export type AuditEntity =
|
|
404
|
+
| 'DocumentType'
|
|
405
|
+
| 'IssuingEntity'
|
|
406
|
+
| 'ArchivalSeries'
|
|
407
|
+
| 'TextSnippet'
|
|
408
|
+
| 'Holiday'
|
|
409
|
+
| 'Procedure'
|
|
410
|
+
| 'QualityMetric'
|
|
411
|
+
| 'ServiceOutage'
|
|
412
|
+
| 'Repository'
|
|
413
|
+
| 'DataTreatment'
|
|
414
|
+
| 'DocumentTemplate'
|
|
415
|
+
| 'DirectorateReviewer'
|
|
416
|
+
| 'CategoryNumbering';
|
|
417
|
+
|
|
418
|
+
export const AuditEntity = {
|
|
419
|
+
DocumentType: 'DocumentType',
|
|
420
|
+
IssuingEntity: 'IssuingEntity',
|
|
421
|
+
ArchivalSeries: 'ArchivalSeries',
|
|
422
|
+
TextSnippet: 'TextSnippet',
|
|
423
|
+
Holiday: 'Holiday',
|
|
424
|
+
Procedure: 'Procedure',
|
|
425
|
+
QualityMetric: 'QualityMetric',
|
|
426
|
+
ServiceOutage: 'ServiceOutage',
|
|
427
|
+
Repository: 'Repository',
|
|
428
|
+
DataTreatment: 'DataTreatment',
|
|
429
|
+
DocumentTemplate: 'DocumentTemplate',
|
|
430
|
+
DirectorateReviewer: 'DirectorateReviewer',
|
|
431
|
+
CategoryNumbering: 'CategoryNumbering',
|
|
432
|
+
} satisfies Record<string, AuditEntity>;
|
|
433
|
+
|
|
434
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
435
|
+
|
|
436
|
+
export const AuditAction = {
|
|
437
|
+
Created: 'Created',
|
|
438
|
+
Updated: 'Updated',
|
|
439
|
+
Enabled: 'Enabled',
|
|
440
|
+
Disabled: 'Disabled',
|
|
441
|
+
Removed: 'Removed',
|
|
442
|
+
Exported: 'Exported',
|
|
443
|
+
} satisfies Record<string, AuditAction>;
|
|
444
|
+
|
|
445
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
446
|
+
|
|
447
|
+
export const FinalDisposition = {
|
|
448
|
+
Permanent: 'Permanent',
|
|
449
|
+
Eliminate: 'Eliminate',
|
|
450
|
+
Select: 'Select',
|
|
451
|
+
} satisfies Record<string, FinalDisposition>;
|
|
452
|
+
|
|
453
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
454
|
+
|
|
455
|
+
export const DispositionKind = {
|
|
456
|
+
Transfer: 'Transfer',
|
|
457
|
+
Elimination: 'Elimination',
|
|
458
|
+
} satisfies Record<string, DispositionKind>;
|
|
459
|
+
|
|
460
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
461
|
+
|
|
462
|
+
export const AccessRequestChannel = {
|
|
463
|
+
Portal: 'Portal',
|
|
464
|
+
Email: 'Email',
|
|
465
|
+
InPerson: 'InPerson',
|
|
466
|
+
Letter: 'Letter',
|
|
467
|
+
} satisfies Record<string, AccessRequestChannel>;
|
|
468
|
+
|
|
469
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
470
|
+
|
|
471
|
+
export const AccessRequestStatus = {
|
|
472
|
+
Received: 'Received',
|
|
473
|
+
InCorrection: 'InCorrection',
|
|
474
|
+
InProgress: 'InProgress',
|
|
475
|
+
Resolved: 'Resolved',
|
|
476
|
+
} satisfies Record<string, AccessRequestStatus>;
|
|
477
|
+
|
|
478
|
+
export type AccessRequestResolution =
|
|
479
|
+
'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
480
|
+
|
|
481
|
+
export const AccessRequestResolution = {
|
|
482
|
+
Delivered: 'Delivered',
|
|
483
|
+
PartiallyDelivered: 'PartiallyDelivered',
|
|
484
|
+
Denied: 'Denied',
|
|
485
|
+
Derived: 'Derived',
|
|
486
|
+
NonExistent: 'NonExistent',
|
|
487
|
+
Withdrawn: 'Withdrawn',
|
|
488
|
+
} satisfies Record<string, AccessRequestResolution>;
|
|
489
|
+
|
|
490
|
+
export type AccessRequestEventAction =
|
|
491
|
+
| 'Received'
|
|
492
|
+
| 'Updated'
|
|
493
|
+
| 'CorrectionRequested'
|
|
494
|
+
| 'Corrected'
|
|
495
|
+
| 'Assigned'
|
|
496
|
+
| 'ThirdPartyNotified'
|
|
497
|
+
| 'OppositionRegistered'
|
|
498
|
+
| 'Extended'
|
|
499
|
+
| 'Resolved'
|
|
500
|
+
| 'AppealRegistered';
|
|
501
|
+
|
|
502
|
+
export const AccessRequestEventAction = {
|
|
503
|
+
Received: 'Received',
|
|
504
|
+
Updated: 'Updated',
|
|
505
|
+
CorrectionRequested: 'CorrectionRequested',
|
|
506
|
+
Corrected: 'Corrected',
|
|
507
|
+
Assigned: 'Assigned',
|
|
508
|
+
ThirdPartyNotified: 'ThirdPartyNotified',
|
|
509
|
+
OppositionRegistered: 'OppositionRegistered',
|
|
510
|
+
Extended: 'Extended',
|
|
511
|
+
Resolved: 'Resolved',
|
|
512
|
+
AppealRegistered: 'AppealRegistered',
|
|
513
|
+
} satisfies Record<string, AccessRequestEventAction>;
|
|
514
|
+
|
|
515
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
516
|
+
|
|
517
|
+
export const TransparencyStatus = {
|
|
518
|
+
Published: 'Published',
|
|
519
|
+
Excluded: 'Excluded',
|
|
520
|
+
} satisfies Record<string, TransparencyStatus>;
|
|
521
|
+
|
|
522
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
523
|
+
|
|
524
|
+
export const DataLegalBasis = {
|
|
525
|
+
LegalFunction: 'LegalFunction',
|
|
526
|
+
LegalObligation: 'LegalObligation',
|
|
527
|
+
Consent: 'Consent',
|
|
528
|
+
Contract: 'Contract',
|
|
529
|
+
VitalInterest: 'VitalInterest',
|
|
530
|
+
} satisfies Record<string, DataLegalBasis>;
|
|
531
|
+
|
|
532
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
533
|
+
|
|
534
|
+
export const DataRight = {
|
|
535
|
+
Access: 'Access',
|
|
536
|
+
Rectification: 'Rectification',
|
|
537
|
+
Suppression: 'Suppression',
|
|
538
|
+
Opposition: 'Opposition',
|
|
539
|
+
Portability: 'Portability',
|
|
540
|
+
} satisfies Record<string, DataRight>;
|
|
541
|
+
|
|
542
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
543
|
+
|
|
544
|
+
export const DataRightsChannel = {
|
|
545
|
+
Email: 'Email',
|
|
546
|
+
WebForm: 'WebForm',
|
|
547
|
+
InPerson: 'InPerson',
|
|
548
|
+
Letter: 'Letter',
|
|
549
|
+
} satisfies Record<string, DataRightsChannel>;
|
|
550
|
+
|
|
551
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
552
|
+
|
|
553
|
+
export const DataRightsRequestStatus = {
|
|
554
|
+
Received: 'Received',
|
|
555
|
+
InProgress: 'InProgress',
|
|
556
|
+
Resolved: 'Resolved',
|
|
557
|
+
} satisfies Record<string, DataRightsRequestStatus>;
|
|
558
|
+
|
|
559
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
560
|
+
|
|
561
|
+
export const DataRightsResolution = {
|
|
562
|
+
Granted: 'Granted',
|
|
563
|
+
PartiallyGranted: 'PartiallyGranted',
|
|
564
|
+
Denied: 'Denied',
|
|
565
|
+
Withdrawn: 'Withdrawn',
|
|
566
|
+
} satisfies Record<string, DataRightsResolution>;
|
|
567
|
+
|
|
568
|
+
export type DataRightsEventAction =
|
|
569
|
+
| 'Received'
|
|
570
|
+
| 'Updated'
|
|
571
|
+
| 'Acknowledged'
|
|
572
|
+
| 'IdentityVerified'
|
|
573
|
+
| 'Assigned'
|
|
574
|
+
| 'BlockingResolved'
|
|
575
|
+
| 'BlockingLifted'
|
|
576
|
+
| 'Extended'
|
|
577
|
+
| 'Resolved'
|
|
578
|
+
| 'ResponseSent'
|
|
579
|
+
| 'ComplaintRegistered';
|
|
580
|
+
|
|
581
|
+
export const DataRightsEventAction = {
|
|
582
|
+
Received: 'Received',
|
|
583
|
+
Updated: 'Updated',
|
|
584
|
+
Acknowledged: 'Acknowledged',
|
|
585
|
+
IdentityVerified: 'IdentityVerified',
|
|
586
|
+
Assigned: 'Assigned',
|
|
587
|
+
BlockingResolved: 'BlockingResolved',
|
|
588
|
+
BlockingLifted: 'BlockingLifted',
|
|
589
|
+
Extended: 'Extended',
|
|
590
|
+
Resolved: 'Resolved',
|
|
591
|
+
ResponseSent: 'ResponseSent',
|
|
592
|
+
ComplaintRegistered: 'ComplaintRegistered',
|
|
593
|
+
} satisfies Record<string, DataRightsEventAction>;
|
|
594
|
+
|
|
595
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
596
|
+
|
|
597
|
+
export const DataBreachKind = {
|
|
598
|
+
Destruction: 'Destruction',
|
|
599
|
+
Leak: 'Leak',
|
|
600
|
+
Loss: 'Loss',
|
|
601
|
+
Alteration: 'Alteration',
|
|
602
|
+
UnauthorizedAccess: 'UnauthorizedAccess',
|
|
603
|
+
} satisfies Record<string, DataBreachKind>;
|
|
604
|
+
|
|
605
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
606
|
+
|
|
607
|
+
export const DataBreachStatus = {
|
|
608
|
+
Open: 'Open',
|
|
609
|
+
Closed: 'Closed',
|
|
610
|
+
} satisfies Record<string, DataBreachStatus>;
|
|
611
|
+
|
|
612
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
613
|
+
|
|
614
|
+
export const DataBreachEventAction = {
|
|
615
|
+
Registered: 'Registered',
|
|
616
|
+
Updated: 'Updated',
|
|
617
|
+
AgencyReported: 'AgencyReported',
|
|
618
|
+
HoldersNotified: 'HoldersNotified',
|
|
619
|
+
Closed: 'Closed',
|
|
620
|
+
} satisfies Record<string, DataBreachEventAction>;
|
|
621
|
+
|
|
622
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
623
|
+
|
|
624
|
+
export const DataBreachNoticeMeans = {
|
|
625
|
+
Individual: 'Individual',
|
|
626
|
+
PublicNotice: 'PublicNotice',
|
|
627
|
+
} satisfies Record<string, DataBreachNoticeMeans>;
|
|
628
|
+
|
|
629
|
+
export type DeskFileSource = 'Upload' | 'Scan' | 'Email';
|
|
630
|
+
|
|
631
|
+
export const DeskFileSource = {
|
|
632
|
+
Upload: 'Upload',
|
|
633
|
+
Scan: 'Scan',
|
|
634
|
+
Email: 'Email',
|
|
635
|
+
} satisfies Record<string, DeskFileSource>;
|
|
636
|
+
|
|
637
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
638
|
+
|
|
639
|
+
export const DeskFileTarget = {
|
|
640
|
+
Document: 'Document',
|
|
641
|
+
CaseFile: 'CaseFile',
|
|
642
|
+
} satisfies Record<string, DeskFileTarget>;
|
|
643
|
+
|
|
644
|
+
export type MailIntakeStatus = 'Pending' | 'Accepted' | 'Discarded';
|
|
645
|
+
|
|
646
|
+
export const MailIntakeStatus = {
|
|
647
|
+
Pending: 'Pending',
|
|
648
|
+
Accepted: 'Accepted',
|
|
649
|
+
Discarded: 'Discarded',
|
|
650
|
+
} satisfies Record<string, MailIntakeStatus>;
|
|
651
|
+
|
|
652
|
+
export type MailAuthentication = 'Pass' | 'Fail' | 'Unknown';
|
|
653
|
+
|
|
654
|
+
export const MailAuthentication = {
|
|
655
|
+
Pass: 'Pass',
|
|
656
|
+
Fail: 'Fail',
|
|
657
|
+
Unknown: 'Unknown',
|
|
658
|
+
} satisfies Record<string, MailAuthentication>;
|
|
659
|
+
|
|
660
|
+
export type DraftingRequestStatus = 'Pending' | 'Taken' | 'Declined' | 'Cancelled';
|
|
661
|
+
|
|
662
|
+
export const DraftingRequestStatus = {
|
|
663
|
+
Pending: 'Pending',
|
|
664
|
+
Taken: 'Taken',
|
|
665
|
+
Declined: 'Declined',
|
|
666
|
+
Cancelled: 'Cancelled',
|
|
667
|
+
} satisfies Record<string, DraftingRequestStatus>;
|
|
668
|
+
|
|
669
|
+
export type DraftingRequestEventAction = 'Created' | 'Taken' | 'Released' | 'Declined' | 'Cancelled' | 'DocumentLinked';
|
|
670
|
+
|
|
671
|
+
export const DraftingRequestEventAction = {
|
|
672
|
+
Created: 'Created',
|
|
673
|
+
Taken: 'Taken',
|
|
674
|
+
Released: 'Released',
|
|
675
|
+
Declined: 'Declined',
|
|
676
|
+
Cancelled: 'Cancelled',
|
|
677
|
+
DocumentLinked: 'DocumentLinked',
|
|
678
|
+
} satisfies Record<string, DraftingRequestEventAction>;
|
|
679
|
+
|
|
244
680
|
export interface DocumentTypeEntity {
|
|
245
681
|
id: string;
|
|
246
682
|
name: string;
|
|
@@ -250,11 +686,32 @@ export interface DocumentTypeEntity {
|
|
|
250
686
|
nextCorrelative: number;
|
|
251
687
|
correlativeYear?: number | null;
|
|
252
688
|
resetsYearly: boolean;
|
|
689
|
+
numbered: boolean;
|
|
690
|
+
numberingScope: DocumentNumberingScope;
|
|
691
|
+
allowsExternalNumber: boolean;
|
|
692
|
+
usesPartsOffice: boolean;
|
|
693
|
+
visaMode: DocumentVisaMode;
|
|
694
|
+
activeTransparency: boolean;
|
|
695
|
+
transparencySection?: string | null;
|
|
253
696
|
directorateCodeReference?: number | null;
|
|
697
|
+
draftReviewDirectorateCode?: number | null;
|
|
698
|
+
draftReviewDirectorateName?: string | null;
|
|
699
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
700
|
+
archivalSeriesId?: string | null;
|
|
701
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
702
|
+
issuingEntityId?: string | null;
|
|
703
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
704
|
+
sharesNumberingWithId?: string | null;
|
|
705
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
254
706
|
enabled: boolean;
|
|
707
|
+
version: number;
|
|
708
|
+
versions?: DocumentTypeVersionEntity[];
|
|
255
709
|
documents?: DocumentEntity[];
|
|
710
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
256
711
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
257
712
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
713
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
714
|
+
template?: DocumentTemplateEntity | null;
|
|
258
715
|
deleted: boolean;
|
|
259
716
|
createdAt: string;
|
|
260
717
|
updatedAt: string;
|
|
@@ -263,41 +720,60 @@ export interface DocumentTypeEntity {
|
|
|
263
720
|
export interface DocumentEntity {
|
|
264
721
|
id: string;
|
|
265
722
|
subject: string;
|
|
723
|
+
description?: string | null;
|
|
266
724
|
keywords: string[];
|
|
267
725
|
accessLevel: DocumentAccessLevel;
|
|
268
726
|
hasSensitiveData: boolean;
|
|
727
|
+
restrictionEndsAt?: string | null;
|
|
269
728
|
status: DocumentStatus;
|
|
270
729
|
correlative?: number | null;
|
|
271
730
|
correlativeYear?: number | null;
|
|
272
731
|
numberedAt?: string | null;
|
|
732
|
+
externalCorrelative?: number | null;
|
|
733
|
+
externalCorrelativeYear?: number | null;
|
|
273
734
|
verificationCode?: string | null;
|
|
274
735
|
signatureSheet: boolean;
|
|
275
736
|
annulledAt?: string | null;
|
|
276
737
|
annulmentReason?: string | null;
|
|
277
738
|
responseDueAt?: string | null;
|
|
739
|
+
responseDueBusinessDays?: number | null;
|
|
740
|
+
procedure?: ProcedureEntity | null;
|
|
741
|
+
procedureId?: string | null;
|
|
278
742
|
origin: DocumentOrigin;
|
|
279
743
|
intakeNumber?: number | null;
|
|
280
744
|
intakeYear?: number | null;
|
|
281
745
|
externalFolio?: string | null;
|
|
282
746
|
externalSender?: string | null;
|
|
283
747
|
externalDate?: string | null;
|
|
748
|
+
intakeMeans?: CommunicationMeans | null;
|
|
749
|
+
composition?: JsonValue | null;
|
|
284
750
|
contentText?: string | null;
|
|
285
751
|
textExtractedAt?: string | null;
|
|
752
|
+
batch?: SignatureBatchEntity | null;
|
|
753
|
+
batchId?: string | null;
|
|
286
754
|
replyTo?: DocumentEntity | null;
|
|
287
755
|
replyToDocumentId?: string | null;
|
|
288
756
|
replies?: DocumentEntity[];
|
|
289
757
|
directorateCodeReference?: number | null;
|
|
290
758
|
departmentId?: string | null;
|
|
759
|
+
issuingUnitName?: string | null;
|
|
760
|
+
issuingDirectorateName?: string | null;
|
|
761
|
+
stampPlacements?: JsonValue | null;
|
|
762
|
+
selfValidated: boolean;
|
|
763
|
+
selfValidationNote?: string | null;
|
|
291
764
|
createdByEmployeeId: string;
|
|
292
765
|
createdByFullName: string;
|
|
293
766
|
originalFileId: string;
|
|
294
767
|
originalFileName: string;
|
|
295
768
|
currentFileId?: string | null;
|
|
296
769
|
currentFileUrl?: string | null;
|
|
770
|
+
fileFormat?: string | null;
|
|
297
771
|
submittedAt?: string | null;
|
|
298
772
|
finishedAt?: string | null;
|
|
299
773
|
documentType?: DocumentTypeEntity;
|
|
300
774
|
documentTypeId: string;
|
|
775
|
+
documentTypeVersion?: DocumentTypeVersionEntity | null;
|
|
776
|
+
documentTypeVersionId?: string | null;
|
|
301
777
|
participants?: DocumentParticipantEntity[];
|
|
302
778
|
attachments?: DocumentAttachmentEntity[];
|
|
303
779
|
trackings?: DocumentTrackingEntity[];
|
|
@@ -305,7 +781,27 @@ export interface DocumentEntity {
|
|
|
305
781
|
recipients?: DocumentRecipientEntity[];
|
|
306
782
|
deliveries?: DocumentDeliveryEntity[];
|
|
307
783
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
784
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
308
785
|
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
786
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
787
|
+
accesses?: DocumentAccessEntity[];
|
|
788
|
+
disposition?: DispositionRecordEntity | null;
|
|
789
|
+
dispositionId?: string | null;
|
|
790
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
791
|
+
transparencyUrl?: string | null;
|
|
792
|
+
transparencyNote?: string | null;
|
|
793
|
+
transparencyAt?: string | null;
|
|
794
|
+
transparencyByFullName?: string | null;
|
|
795
|
+
redactedFileId?: string | null;
|
|
796
|
+
redactedFileName?: string | null;
|
|
797
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
798
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
799
|
+
versions?: DocumentVersionEntity[];
|
|
800
|
+
comments?: DocumentCommentEntity[];
|
|
801
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
802
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
803
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
804
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
309
805
|
dispatch?: DocumentDispatchEntity | null;
|
|
310
806
|
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
311
807
|
deleted: boolean;
|
|
@@ -313,16 +809,31 @@ export interface DocumentEntity {
|
|
|
313
809
|
updatedAt: string;
|
|
314
810
|
}
|
|
315
811
|
|
|
812
|
+
export interface SignatureBatchEntity {
|
|
813
|
+
id: string;
|
|
814
|
+
name: string;
|
|
815
|
+
createdByEmployeeId: string;
|
|
816
|
+
createdByFullName: string;
|
|
817
|
+
documentType?: DocumentTypeEntity;
|
|
818
|
+
documentTypeId: string;
|
|
819
|
+
documents?: DocumentEntity[];
|
|
820
|
+
deleted: boolean;
|
|
821
|
+
createdAt: string;
|
|
822
|
+
updatedAt: string;
|
|
823
|
+
}
|
|
824
|
+
|
|
316
825
|
export interface DocumentParticipantEntity {
|
|
317
826
|
id: string;
|
|
318
827
|
role: DocumentParticipantRole;
|
|
319
828
|
order: number;
|
|
829
|
+
stage: number;
|
|
320
830
|
status: DocumentParticipantStatus;
|
|
321
831
|
employeeId: string;
|
|
322
832
|
fullName: string;
|
|
323
833
|
position?: string | null;
|
|
324
834
|
observation?: string | null;
|
|
325
835
|
resolvedAt?: string | null;
|
|
836
|
+
initials?: string | null;
|
|
326
837
|
document?: DocumentEntity;
|
|
327
838
|
documentId: string;
|
|
328
839
|
createdAt: string;
|
|
@@ -346,6 +857,7 @@ export interface DocumentTrackingEntity {
|
|
|
346
857
|
id: string;
|
|
347
858
|
action: DocumentTrackingAction;
|
|
348
859
|
observation?: string | null;
|
|
860
|
+
sha256?: string | null;
|
|
349
861
|
employeeId?: string | null;
|
|
350
862
|
employeeFullName?: string | null;
|
|
351
863
|
document?: DocumentEntity;
|
|
@@ -396,11 +908,49 @@ export interface DocumentDeliveryEntity {
|
|
|
396
908
|
readAt?: string | null;
|
|
397
909
|
closedAt?: string | null;
|
|
398
910
|
closingNote?: string | null;
|
|
911
|
+
dueSoonRemindedAt?: string | null;
|
|
912
|
+
overdueRemindedAt?: string | null;
|
|
399
913
|
document?: DocumentEntity;
|
|
400
914
|
documentId: string;
|
|
401
915
|
createdAt: string;
|
|
402
916
|
}
|
|
403
917
|
|
|
918
|
+
export interface CategoryNumberingEntity {
|
|
919
|
+
category: DocumentCategory;
|
|
920
|
+
nextCorrelative: number;
|
|
921
|
+
correlativeYear?: number | null;
|
|
922
|
+
resetsYearly: boolean;
|
|
923
|
+
updatedAt: string;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
export interface DocumentTypeVersionEntity {
|
|
927
|
+
id: string;
|
|
928
|
+
version: number;
|
|
929
|
+
name: string;
|
|
930
|
+
abbreviation?: string | null;
|
|
931
|
+
category: DocumentCategory;
|
|
932
|
+
description?: string | null;
|
|
933
|
+
numbered: boolean;
|
|
934
|
+
numberingScope: DocumentNumberingScope;
|
|
935
|
+
allowsExternalNumber: boolean;
|
|
936
|
+
usesPartsOffice: boolean;
|
|
937
|
+
visaMode: DocumentVisaMode;
|
|
938
|
+
activeTransparency: boolean;
|
|
939
|
+
transparencySection?: string | null;
|
|
940
|
+
directorateCodeReference?: number | null;
|
|
941
|
+
draftReviewDirectorateCode?: number | null;
|
|
942
|
+
draftReviewDirectorateName?: string | null;
|
|
943
|
+
issuingEntityId?: string | null;
|
|
944
|
+
sharesNumberingWithId?: string | null;
|
|
945
|
+
templateVersion?: number | null;
|
|
946
|
+
flowSteps: JsonValue;
|
|
947
|
+
createdByFullName?: string | null;
|
|
948
|
+
createdAt: string;
|
|
949
|
+
documentType?: DocumentTypeEntity;
|
|
950
|
+
documentTypeId: string;
|
|
951
|
+
documents?: DocumentEntity[];
|
|
952
|
+
}
|
|
953
|
+
|
|
404
954
|
export interface DocumentTypeFlowStepEntity {
|
|
405
955
|
id: string;
|
|
406
956
|
role: DocumentParticipantRole;
|
|
@@ -410,6 +960,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
410
960
|
directorateCodeReference?: number | null;
|
|
411
961
|
name: string;
|
|
412
962
|
position?: string | null;
|
|
963
|
+
withPrevious: boolean;
|
|
413
964
|
documentType?: DocumentTypeEntity;
|
|
414
965
|
documentTypeId: string;
|
|
415
966
|
createdAt: string;
|
|
@@ -421,8 +972,13 @@ export interface ProcedureEntity {
|
|
|
421
972
|
cpatId?: string | null;
|
|
422
973
|
cpatCode?: string | null;
|
|
423
974
|
description?: string | null;
|
|
975
|
+
kind?: string | null;
|
|
976
|
+
responsibleArea?: string | null;
|
|
977
|
+
cpatStatus?: string | null;
|
|
978
|
+
fromCpat: boolean;
|
|
424
979
|
enabled: boolean;
|
|
425
980
|
caseFiles?: CaseFileEntity[];
|
|
981
|
+
documents?: DocumentEntity[];
|
|
426
982
|
deleted: boolean;
|
|
427
983
|
createdAt: string;
|
|
428
984
|
updatedAt: string;
|
|
@@ -444,6 +1000,9 @@ export interface CaseFileEntity {
|
|
|
444
1000
|
status: CaseFileStatus;
|
|
445
1001
|
accessLevel: DocumentAccessLevel;
|
|
446
1002
|
hasSensitiveData: boolean;
|
|
1003
|
+
restrictionEndsAt?: string | null;
|
|
1004
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
1005
|
+
archivalSeriesId?: string | null;
|
|
447
1006
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
448
1007
|
schemaVersion: string;
|
|
449
1008
|
procedure?: ProcedureEntity;
|
|
@@ -452,6 +1011,8 @@ export interface CaseFileEntity {
|
|
|
452
1011
|
responsibleFullName: string;
|
|
453
1012
|
responsiblePosition?: string | null;
|
|
454
1013
|
closedAt?: string | null;
|
|
1014
|
+
disposition?: DispositionRecordEntity | null;
|
|
1015
|
+
dispositionId?: string | null;
|
|
455
1016
|
closedByEmployeeId?: string | null;
|
|
456
1017
|
closedByFullName?: string | null;
|
|
457
1018
|
closingNote?: string | null;
|
|
@@ -462,8 +1023,11 @@ export interface CaseFileEntity {
|
|
|
462
1023
|
trackings?: CaseFileTrackingEntity[];
|
|
463
1024
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
464
1025
|
accesses?: CaseFileAccessEntity[];
|
|
1026
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
1027
|
+
integratedPdf?: JsonValue | null;
|
|
465
1028
|
createdAt: string;
|
|
466
1029
|
updatedAt: string;
|
|
1030
|
+
workFolder?: WorkFolderEntity | null;
|
|
467
1031
|
}
|
|
468
1032
|
|
|
469
1033
|
export interface CaseFileParticipantEntity {
|
|
@@ -495,6 +1059,7 @@ export interface CaseFileEntryEntity {
|
|
|
495
1059
|
kind: CaseFileEntryKind;
|
|
496
1060
|
actuationType: CaseFileActuationType;
|
|
497
1061
|
title: string;
|
|
1062
|
+
folder?: string | null;
|
|
498
1063
|
document?: DocumentEntity | null;
|
|
499
1064
|
documentId?: string | null;
|
|
500
1065
|
fileId?: string | null;
|
|
@@ -505,11 +1070,16 @@ export interface CaseFileEntryEntity {
|
|
|
505
1070
|
keywords: string[];
|
|
506
1071
|
accessLevel?: DocumentAccessLevel | null;
|
|
507
1072
|
hasSensitiveData?: boolean | null;
|
|
1073
|
+
physicalLocation?: string | null;
|
|
1074
|
+
physicalReason?: string | null;
|
|
1075
|
+
pageCount?: number | null;
|
|
508
1076
|
linkedCaseFile?: CaseFileEntity | null;
|
|
509
1077
|
linkedCaseFileId?: string | null;
|
|
510
1078
|
sha256?: string | null;
|
|
511
1079
|
size?: number | null;
|
|
512
1080
|
hasAdvancedSignature: boolean;
|
|
1081
|
+
fileFormat?: string | null;
|
|
1082
|
+
signatureCheck?: JsonValue | null;
|
|
513
1083
|
incorporatedByEmployeeId: string;
|
|
514
1084
|
incorporatedByFullName: string;
|
|
515
1085
|
voidedAt?: string | null;
|
|
@@ -548,10 +1118,58 @@ export interface CaseFileAccessEntity {
|
|
|
548
1118
|
id: string;
|
|
549
1119
|
action: CaseFileAccessAction;
|
|
550
1120
|
entryId?: string | null;
|
|
551
|
-
employeeId
|
|
1121
|
+
employeeId?: string | null;
|
|
552
1122
|
employeeFullName: string;
|
|
1123
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
1124
|
+
shareLinkId?: string | null;
|
|
1125
|
+
caseFile?: CaseFileEntity;
|
|
1126
|
+
caseFileId: string;
|
|
1127
|
+
createdAt: string;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
export interface CaseFileShareLinkEntity {
|
|
1131
|
+
id: string;
|
|
1132
|
+
tokenHash: string;
|
|
1133
|
+
recipient: string;
|
|
1134
|
+
recipientEmail?: string | null;
|
|
1135
|
+
purpose?: string | null;
|
|
1136
|
+
allowExport: boolean;
|
|
1137
|
+
expiresAt: string;
|
|
1138
|
+
createdByEmployeeId: string;
|
|
1139
|
+
createdByFullName: string;
|
|
1140
|
+
revokedAt?: string | null;
|
|
1141
|
+
revokedByEmployeeId?: string | null;
|
|
1142
|
+
revokedByFullName?: string | null;
|
|
553
1143
|
caseFile?: CaseFileEntity;
|
|
554
1144
|
caseFileId: string;
|
|
1145
|
+
accesses?: CaseFileAccessEntity[];
|
|
1146
|
+
createdAt: string;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
export interface DocumentEmailCopyEntity {
|
|
1150
|
+
id: string;
|
|
1151
|
+
name: string;
|
|
1152
|
+
email: string;
|
|
1153
|
+
tokenHash?: string | null;
|
|
1154
|
+
expiresAt?: string | null;
|
|
1155
|
+
issuedAt?: string | null;
|
|
1156
|
+
openedAt?: string | null;
|
|
1157
|
+
downloadCount: number;
|
|
1158
|
+
document?: DocumentEntity;
|
|
1159
|
+
documentId: string;
|
|
1160
|
+
createdAt: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
export interface ScanSessionEntity {
|
|
1164
|
+
id: string;
|
|
1165
|
+
tokenHash: string;
|
|
1166
|
+
status: ScanSessionStatus;
|
|
1167
|
+
employeeId: string;
|
|
1168
|
+
pages: JsonValue;
|
|
1169
|
+
fileId?: string | null;
|
|
1170
|
+
fileName?: string | null;
|
|
1171
|
+
expiresAt: string;
|
|
1172
|
+
finishedAt?: string | null;
|
|
555
1173
|
createdAt: string;
|
|
556
1174
|
}
|
|
557
1175
|
|
|
@@ -582,6 +1200,11 @@ export interface DocumentDispatchEntity {
|
|
|
582
1200
|
returnedByEmployeeId?: string | null;
|
|
583
1201
|
returnedByFullName?: string | null;
|
|
584
1202
|
returnReason?: string | null;
|
|
1203
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1204
|
+
contingencySentTo?: string | null;
|
|
1205
|
+
contingencyReason?: string | null;
|
|
1206
|
+
contingencyReceiptFileId?: string | null;
|
|
1207
|
+
contingencyReceiptName?: string | null;
|
|
585
1208
|
document?: DocumentEntity;
|
|
586
1209
|
documentId: string;
|
|
587
1210
|
createdAt: string;
|
|
@@ -603,9 +1226,12 @@ export interface DocDigitalInboundEntity {
|
|
|
603
1226
|
senderEntityName?: string | null;
|
|
604
1227
|
senderName?: string | null;
|
|
605
1228
|
senderPosition?: string | null;
|
|
1229
|
+
recipientEntityId?: number | null;
|
|
1230
|
+
recipientEntityName?: string | null;
|
|
606
1231
|
fileId?: string | null;
|
|
607
1232
|
fileName?: string | null;
|
|
608
1233
|
attachments: JsonValue;
|
|
1234
|
+
signatureCheck?: JsonValue | null;
|
|
609
1235
|
registeredAt?: string | null;
|
|
610
1236
|
registeredByEmployeeId?: string | null;
|
|
611
1237
|
registeredByFullName?: string | null;
|
|
@@ -621,9 +1247,620 @@ export interface DocDigitalInboundEntity {
|
|
|
621
1247
|
updatedAt: string;
|
|
622
1248
|
}
|
|
623
1249
|
|
|
1250
|
+
export interface HolidayEntity {
|
|
1251
|
+
id: string;
|
|
1252
|
+
date: string;
|
|
1253
|
+
name: string;
|
|
1254
|
+
source: HolidaySource;
|
|
1255
|
+
kind?: string | null;
|
|
1256
|
+
excluded: boolean;
|
|
1257
|
+
createdAt: string;
|
|
1258
|
+
updatedAt: string;
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
export interface ProcedureSyncEntity {
|
|
1262
|
+
institutionCode: string;
|
|
1263
|
+
syncedAt: string;
|
|
1264
|
+
total: number;
|
|
1265
|
+
resourceName: string;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
export interface HolidaySyncEntity {
|
|
1269
|
+
year: number;
|
|
1270
|
+
syncedAt: string;
|
|
1271
|
+
total: number;
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
export interface TextSnippetEntity {
|
|
1275
|
+
id: string;
|
|
1276
|
+
title: string;
|
|
1277
|
+
text: string;
|
|
1278
|
+
section: TextSnippetSection;
|
|
1279
|
+
keywords: string[];
|
|
1280
|
+
enabled: boolean;
|
|
1281
|
+
deleted: boolean;
|
|
1282
|
+
createdAt: string;
|
|
1283
|
+
updatedAt: string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
export interface DocumentTemplateEntity {
|
|
1287
|
+
id: string;
|
|
1288
|
+
name: string;
|
|
1289
|
+
description?: string | null;
|
|
1290
|
+
documentTypeIds: string[];
|
|
1291
|
+
documentType?: DocumentTypeEntity | null;
|
|
1292
|
+
documentTypeId?: string | null;
|
|
1293
|
+
content: JsonValue;
|
|
1294
|
+
version: number;
|
|
1295
|
+
enabled: boolean;
|
|
1296
|
+
updatedByFullName?: string | null;
|
|
1297
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1298
|
+
deleted: boolean;
|
|
1299
|
+
createdAt: string;
|
|
1300
|
+
updatedAt: string;
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
export interface DocumentDraftReviewEntity {
|
|
1304
|
+
id: string;
|
|
1305
|
+
documentId: string;
|
|
1306
|
+
document?: DocumentEntity;
|
|
1307
|
+
round: number;
|
|
1308
|
+
stage: DraftReviewStage;
|
|
1309
|
+
versionNumber: number;
|
|
1310
|
+
directorateCodeReference: number;
|
|
1311
|
+
directorateName: string;
|
|
1312
|
+
reviewerEmployeeId: string;
|
|
1313
|
+
reviewerFullName: string;
|
|
1314
|
+
requestedByEmployeeId: string;
|
|
1315
|
+
requestedByFullName: string;
|
|
1316
|
+
requestedAt: string;
|
|
1317
|
+
status: DraftReviewStatus;
|
|
1318
|
+
observation?: string | null;
|
|
1319
|
+
resolvedAt?: string | null;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
export interface DocumentTemplateVersionEntity {
|
|
1323
|
+
id: string;
|
|
1324
|
+
templateId: string;
|
|
1325
|
+
template?: DocumentTemplateEntity;
|
|
1326
|
+
version: number;
|
|
1327
|
+
content: JsonValue;
|
|
1328
|
+
createdByFullName?: string | null;
|
|
1329
|
+
createdAt: string;
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
export interface ArchivalSeriesEntity {
|
|
1333
|
+
id: string;
|
|
1334
|
+
code: string;
|
|
1335
|
+
name: string;
|
|
1336
|
+
section?: string | null;
|
|
1337
|
+
description?: string | null;
|
|
1338
|
+
managementYears?: number | null;
|
|
1339
|
+
centralYears?: number | null;
|
|
1340
|
+
finalDisposition?: FinalDisposition | null;
|
|
1341
|
+
retentionNote?: string | null;
|
|
1342
|
+
enabled: boolean;
|
|
1343
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1344
|
+
caseFiles?: CaseFileEntity[];
|
|
1345
|
+
dispositions?: DispositionRecordEntity[];
|
|
1346
|
+
deleted: boolean;
|
|
1347
|
+
createdAt: string;
|
|
1348
|
+
updatedAt: string;
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
export interface IssuingEntityEntity {
|
|
1352
|
+
id: string;
|
|
1353
|
+
name: string;
|
|
1354
|
+
shortName?: string | null;
|
|
1355
|
+
directorateCodeReferences: number[];
|
|
1356
|
+
docDigitalEntityId?: number | null;
|
|
1357
|
+
enabled: boolean;
|
|
1358
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1359
|
+
deleted: boolean;
|
|
1360
|
+
createdAt: string;
|
|
1361
|
+
updatedAt: string;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
624
1364
|
export interface IntakeSequenceEntity {
|
|
625
1365
|
year: number;
|
|
626
1366
|
next: number;
|
|
627
1367
|
}
|
|
628
1368
|
|
|
1369
|
+
export interface WorkFolderEntity {
|
|
1370
|
+
id: string;
|
|
1371
|
+
name: string;
|
|
1372
|
+
description?: string | null;
|
|
1373
|
+
ownerEmployeeId: string;
|
|
1374
|
+
ownerFullName: string;
|
|
1375
|
+
caseFile?: CaseFileEntity | null;
|
|
1376
|
+
caseFileId?: string | null;
|
|
1377
|
+
participants?: WorkFolderParticipantEntity[];
|
|
1378
|
+
items?: WorkFolderItemEntity[];
|
|
1379
|
+
deleted: boolean;
|
|
1380
|
+
createdAt: string;
|
|
1381
|
+
updatedAt: string;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
export interface WorkFolderParticipantEntity {
|
|
1385
|
+
id: string;
|
|
1386
|
+
employeeId: string;
|
|
1387
|
+
fullName: string;
|
|
1388
|
+
folder?: WorkFolderEntity;
|
|
1389
|
+
folderId: string;
|
|
1390
|
+
createdAt: string;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
export interface WorkFolderItemEntity {
|
|
1394
|
+
id: string;
|
|
1395
|
+
kind: WorkFolderItemKind;
|
|
1396
|
+
title: string;
|
|
1397
|
+
document?: DocumentEntity | null;
|
|
1398
|
+
documentId?: string | null;
|
|
1399
|
+
fileId?: string | null;
|
|
1400
|
+
fileName?: string | null;
|
|
1401
|
+
addedByEmployeeId: string;
|
|
1402
|
+
addedByFullName: string;
|
|
1403
|
+
folder?: WorkFolderEntity;
|
|
1404
|
+
folderId: string;
|
|
1405
|
+
createdAt: string;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
export interface ServiceOutageEntity {
|
|
1409
|
+
id: string;
|
|
1410
|
+
kind: ServiceOutageKind;
|
|
1411
|
+
startedAt: string;
|
|
1412
|
+
endedAt?: string | null;
|
|
1413
|
+
cause: string;
|
|
1414
|
+
affectedServices?: string | null;
|
|
1415
|
+
createdByEmployeeId: string;
|
|
1416
|
+
createdByFullName: string;
|
|
1417
|
+
updatedByFullName?: string | null;
|
|
1418
|
+
deleted: boolean;
|
|
1419
|
+
createdAt: string;
|
|
1420
|
+
updatedAt: string;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
export interface QualityMetricSettingEntity {
|
|
1424
|
+
key: QualityMetricKey;
|
|
1425
|
+
threshold: number;
|
|
1426
|
+
declaredValue?: number | null;
|
|
1427
|
+
declaredNote?: string | null;
|
|
1428
|
+
declaredAt?: string | null;
|
|
1429
|
+
declaredByFullName?: string | null;
|
|
1430
|
+
updatedAt: string;
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
export interface ServiceTimingEntity {
|
|
1434
|
+
hour: string;
|
|
1435
|
+
count: number;
|
|
1436
|
+
errorCount: number;
|
|
1437
|
+
totalMs: number;
|
|
1438
|
+
maxMs: number;
|
|
1439
|
+
under100: number;
|
|
1440
|
+
under250: number;
|
|
1441
|
+
under500: number;
|
|
1442
|
+
under1000: number;
|
|
1443
|
+
under2000: number;
|
|
1444
|
+
under5000: number;
|
|
1445
|
+
over5000: number;
|
|
1446
|
+
}
|
|
1447
|
+
|
|
1448
|
+
export interface DocumentAccessEntity {
|
|
1449
|
+
id: string;
|
|
1450
|
+
action: DocumentAccessAction;
|
|
1451
|
+
employeeId?: string | null;
|
|
1452
|
+
employeeFullName: string;
|
|
1453
|
+
document?: DocumentEntity;
|
|
1454
|
+
documentId: string;
|
|
1455
|
+
createdAt: string;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
export interface AuditLogEntity {
|
|
1459
|
+
id: string;
|
|
1460
|
+
entity: AuditEntity;
|
|
1461
|
+
action: AuditAction;
|
|
1462
|
+
entityId?: string | null;
|
|
1463
|
+
name: string;
|
|
1464
|
+
details?: JsonValue | null;
|
|
1465
|
+
employeeId?: string | null;
|
|
1466
|
+
employeeFullName: string;
|
|
1467
|
+
createdAt: string;
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
export interface DispositionRecordEntity {
|
|
1471
|
+
id: string;
|
|
1472
|
+
kind: DispositionKind;
|
|
1473
|
+
number: number;
|
|
1474
|
+
year: number;
|
|
1475
|
+
observation?: string | null;
|
|
1476
|
+
series?: ArchivalSeriesEntity;
|
|
1477
|
+
seriesId: string;
|
|
1478
|
+
documents?: DocumentEntity[];
|
|
1479
|
+
caseFiles?: CaseFileEntity[];
|
|
1480
|
+
createdByEmployeeId: string;
|
|
1481
|
+
createdByFullName: string;
|
|
1482
|
+
createdAt: string;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export interface AccessRequestEntity {
|
|
1486
|
+
id: string;
|
|
1487
|
+
number: number;
|
|
1488
|
+
year: number;
|
|
1489
|
+
externalFolio?: string | null;
|
|
1490
|
+
channel: AccessRequestChannel;
|
|
1491
|
+
receivedAt: string;
|
|
1492
|
+
requesterName: string;
|
|
1493
|
+
requesterEmail?: string | null;
|
|
1494
|
+
requesterAddress?: string | null;
|
|
1495
|
+
requestText: string;
|
|
1496
|
+
deliveryFormat?: string | null;
|
|
1497
|
+
status: AccessRequestStatus;
|
|
1498
|
+
correctionRequestedAt?: string | null;
|
|
1499
|
+
correctionDueAt?: string | null;
|
|
1500
|
+
correctedAt?: string | null;
|
|
1501
|
+
dueAt: string;
|
|
1502
|
+
extendedAt?: string | null;
|
|
1503
|
+
extensionNote?: string | null;
|
|
1504
|
+
assigneeEmployeeId?: string | null;
|
|
1505
|
+
assigneeFullName?: string | null;
|
|
1506
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1507
|
+
oppositionDueAt?: string | null;
|
|
1508
|
+
thirdPartyOpposed?: boolean | null;
|
|
1509
|
+
resolution?: AccessRequestResolution | null;
|
|
1510
|
+
resolvedAt?: string | null;
|
|
1511
|
+
denialGrounds: string[];
|
|
1512
|
+
derivedTo?: string | null;
|
|
1513
|
+
resolutionNote?: string | null;
|
|
1514
|
+
responseDocument?: DocumentEntity | null;
|
|
1515
|
+
responseDocumentId?: string | null;
|
|
1516
|
+
appealedAt?: string | null;
|
|
1517
|
+
appealNote?: string | null;
|
|
1518
|
+
createdByEmployeeId: string;
|
|
1519
|
+
createdByFullName: string;
|
|
1520
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1521
|
+
events?: AccessRequestEventEntity[];
|
|
1522
|
+
createdAt: string;
|
|
1523
|
+
updatedAt: string;
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
export interface AccessRequestDocumentEntity {
|
|
1527
|
+
accessRequest?: AccessRequestEntity;
|
|
1528
|
+
accessRequestId: string;
|
|
1529
|
+
document?: DocumentEntity;
|
|
1530
|
+
documentId: string;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
export interface AccessRequestEventEntity {
|
|
1534
|
+
id: string;
|
|
1535
|
+
action: AccessRequestEventAction;
|
|
1536
|
+
note?: string | null;
|
|
1537
|
+
employeeId?: string | null;
|
|
1538
|
+
employeeFullName: string;
|
|
1539
|
+
accessRequest?: AccessRequestEntity;
|
|
1540
|
+
accessRequestId: string;
|
|
1541
|
+
createdAt: string;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
export interface DataTreatmentEntity {
|
|
1545
|
+
id: string;
|
|
1546
|
+
name: string;
|
|
1547
|
+
purpose: string;
|
|
1548
|
+
legalBasis: DataLegalBasis;
|
|
1549
|
+
legalBasisDetail?: string | null;
|
|
1550
|
+
dataCategories: string[];
|
|
1551
|
+
sensitiveData: boolean;
|
|
1552
|
+
dataSubjects: string;
|
|
1553
|
+
recipients?: string | null;
|
|
1554
|
+
source?: string | null;
|
|
1555
|
+
retention?: string | null;
|
|
1556
|
+
securityMeasures?: string | null;
|
|
1557
|
+
internationalTransfer?: string | null;
|
|
1558
|
+
responsibleUnit?: string | null;
|
|
1559
|
+
published: boolean;
|
|
1560
|
+
requests?: DataRightsRequestEntity[];
|
|
1561
|
+
breaches?: DataBreachEntity[];
|
|
1562
|
+
enabled: boolean;
|
|
1563
|
+
deleted: boolean;
|
|
1564
|
+
createdAt: string;
|
|
1565
|
+
updatedAt: string;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
export interface DataRightsRequestEntity {
|
|
1569
|
+
id: string;
|
|
1570
|
+
number: number;
|
|
1571
|
+
year: number;
|
|
1572
|
+
channel: DataRightsChannel;
|
|
1573
|
+
receivedAt: string;
|
|
1574
|
+
rights: DataRight[];
|
|
1575
|
+
requesterName: string;
|
|
1576
|
+
requesterRut?: string | null;
|
|
1577
|
+
requesterEmail?: string | null;
|
|
1578
|
+
requesterAddress?: string | null;
|
|
1579
|
+
representativeName?: string | null;
|
|
1580
|
+
identityVerifiedAt?: string | null;
|
|
1581
|
+
identityNote?: string | null;
|
|
1582
|
+
requestText: string;
|
|
1583
|
+
treatment?: DataTreatmentEntity | null;
|
|
1584
|
+
treatmentId?: string | null;
|
|
1585
|
+
status: DataRightsRequestStatus;
|
|
1586
|
+
acknowledgedAt?: string | null;
|
|
1587
|
+
dueAt: string;
|
|
1588
|
+
extendedAt?: string | null;
|
|
1589
|
+
extensionNote?: string | null;
|
|
1590
|
+
blockingRequested: boolean;
|
|
1591
|
+
blockingReason?: string | null;
|
|
1592
|
+
blockingDueAt?: string | null;
|
|
1593
|
+
blockingGranted?: boolean | null;
|
|
1594
|
+
blockingResolvedAt?: string | null;
|
|
1595
|
+
blockingNote?: string | null;
|
|
1596
|
+
blockingLiftedAt?: string | null;
|
|
1597
|
+
blockingLiftNote?: string | null;
|
|
1598
|
+
assigneeEmployeeId?: string | null;
|
|
1599
|
+
assigneeFullName?: string | null;
|
|
1600
|
+
resolution?: DataRightsResolution | null;
|
|
1601
|
+
resolvedAt?: string | null;
|
|
1602
|
+
denialGrounds: string[];
|
|
1603
|
+
resolutionNote?: string | null;
|
|
1604
|
+
responseDocument?: DocumentEntity | null;
|
|
1605
|
+
responseDocumentId?: string | null;
|
|
1606
|
+
responseSentAt?: string | null;
|
|
1607
|
+
responseSentTo?: string | null;
|
|
1608
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1609
|
+
complaintAt?: string | null;
|
|
1610
|
+
complaintNote?: string | null;
|
|
1611
|
+
createdByEmployeeId: string;
|
|
1612
|
+
createdByFullName: string;
|
|
1613
|
+
events?: DataRightsEventEntity[];
|
|
1614
|
+
createdAt: string;
|
|
1615
|
+
updatedAt: string;
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
export interface DataRightsEventEntity {
|
|
1619
|
+
id: string;
|
|
1620
|
+
action: DataRightsEventAction;
|
|
1621
|
+
note?: string | null;
|
|
1622
|
+
employeeId?: string | null;
|
|
1623
|
+
employeeFullName: string;
|
|
1624
|
+
request?: DataRightsRequestEntity;
|
|
1625
|
+
requestId: string;
|
|
1626
|
+
createdAt: string;
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
export interface DataBreachEntity {
|
|
1630
|
+
id: string;
|
|
1631
|
+
number: number;
|
|
1632
|
+
year: number;
|
|
1633
|
+
detectedAt: string;
|
|
1634
|
+
occurredAt?: string | null;
|
|
1635
|
+
kinds: DataBreachKind[];
|
|
1636
|
+
description: string;
|
|
1637
|
+
effects?: string | null;
|
|
1638
|
+
dataCategories: string[];
|
|
1639
|
+
affectedCount?: number | null;
|
|
1640
|
+
measures?: string | null;
|
|
1641
|
+
sensitiveData: boolean;
|
|
1642
|
+
minorsData: boolean;
|
|
1643
|
+
financialData: boolean;
|
|
1644
|
+
riskToRights: boolean;
|
|
1645
|
+
treatment?: DataTreatmentEntity | null;
|
|
1646
|
+
treatmentId?: string | null;
|
|
1647
|
+
status: DataBreachStatus;
|
|
1648
|
+
agencyReportedAt?: string | null;
|
|
1649
|
+
agencyReportNote?: string | null;
|
|
1650
|
+
holdersNotifiedAt?: string | null;
|
|
1651
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1652
|
+
holdersNoticeNote?: string | null;
|
|
1653
|
+
closedAt?: string | null;
|
|
1654
|
+
closeNote?: string | null;
|
|
1655
|
+
createdByEmployeeId: string;
|
|
1656
|
+
createdByFullName: string;
|
|
1657
|
+
events?: DataBreachEventEntity[];
|
|
1658
|
+
createdAt: string;
|
|
1659
|
+
updatedAt: string;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
export interface DataBreachEventEntity {
|
|
1663
|
+
id: string;
|
|
1664
|
+
action: DataBreachEventAction;
|
|
1665
|
+
note?: string | null;
|
|
1666
|
+
employeeId?: string | null;
|
|
1667
|
+
employeeFullName: string;
|
|
1668
|
+
breach?: DataBreachEntity;
|
|
1669
|
+
breachId: string;
|
|
1670
|
+
createdAt: string;
|
|
1671
|
+
}
|
|
1672
|
+
|
|
1673
|
+
export interface DeskFileEntity {
|
|
1674
|
+
id: string;
|
|
1675
|
+
ownerEmployeeId: string;
|
|
1676
|
+
fileId: string;
|
|
1677
|
+
fileName: string;
|
|
1678
|
+
size: number;
|
|
1679
|
+
sha256: string;
|
|
1680
|
+
source: DeskFileSource;
|
|
1681
|
+
description?: string | null;
|
|
1682
|
+
classifiedAt?: string | null;
|
|
1683
|
+
target?: DeskFileTarget | null;
|
|
1684
|
+
targetId?: string | null;
|
|
1685
|
+
targetLabel?: string | null;
|
|
1686
|
+
removedAt?: string | null;
|
|
1687
|
+
mailIntake?: MailIntakeEntity | null;
|
|
1688
|
+
mailIntakeId?: string | null;
|
|
1689
|
+
createdAt: string;
|
|
1690
|
+
updatedAt: string;
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
export interface MailIntakeEntity {
|
|
1694
|
+
id: string;
|
|
1695
|
+
sha256: string;
|
|
1696
|
+
messageId?: string | null;
|
|
1697
|
+
fromAddress: string;
|
|
1698
|
+
fromName?: string | null;
|
|
1699
|
+
subject: string;
|
|
1700
|
+
textPreview?: string | null;
|
|
1701
|
+
sentAt?: string | null;
|
|
1702
|
+
emlFileId: string;
|
|
1703
|
+
emlFileName: string;
|
|
1704
|
+
size: number;
|
|
1705
|
+
attachments: JsonValue;
|
|
1706
|
+
authentication: MailAuthentication;
|
|
1707
|
+
authDetail?: string | null;
|
|
1708
|
+
status: MailIntakeStatus;
|
|
1709
|
+
resolvedAt?: string | null;
|
|
1710
|
+
resolvedByEmployeeId?: string | null;
|
|
1711
|
+
deskFiles?: DeskFileEntity[];
|
|
1712
|
+
createdAt: string;
|
|
1713
|
+
updatedAt: string;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
export interface VisaInitialsEntity {
|
|
1717
|
+
employeeId: string;
|
|
1718
|
+
initials: string;
|
|
1719
|
+
createdAt: string;
|
|
1720
|
+
updatedAt: string;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
export interface PushSubscriptionEntity {
|
|
1724
|
+
id: string;
|
|
1725
|
+
employeeId: string;
|
|
1726
|
+
endpoint: string;
|
|
1727
|
+
p256dh: string;
|
|
1728
|
+
auth: string;
|
|
1729
|
+
userAgent?: string | null;
|
|
1730
|
+
lastSuccessAt?: string | null;
|
|
1731
|
+
failures: number;
|
|
1732
|
+
createdAt: string;
|
|
1733
|
+
updatedAt: string;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
export interface DocumentVersionEntity {
|
|
1737
|
+
id: string;
|
|
1738
|
+
documentId: string;
|
|
1739
|
+
document?: DocumentEntity;
|
|
1740
|
+
number: number;
|
|
1741
|
+
subject: string;
|
|
1742
|
+
fileId: string;
|
|
1743
|
+
fileName: string;
|
|
1744
|
+
sha256?: string | null;
|
|
1745
|
+
composition?: JsonValue | null;
|
|
1746
|
+
note?: string | null;
|
|
1747
|
+
status: DocumentStatus;
|
|
1748
|
+
correction: boolean;
|
|
1749
|
+
createdByEmployeeId: string;
|
|
1750
|
+
createdByFullName: string;
|
|
1751
|
+
createdAt: string;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
export interface DocumentCommentEntity {
|
|
1755
|
+
id: string;
|
|
1756
|
+
documentId: string;
|
|
1757
|
+
document?: DocumentEntity;
|
|
1758
|
+
versionNumber: number;
|
|
1759
|
+
section?: string | null;
|
|
1760
|
+
quote?: string | null;
|
|
1761
|
+
text: string;
|
|
1762
|
+
authorEmployeeId: string;
|
|
1763
|
+
authorFullName: string;
|
|
1764
|
+
authorRole: string;
|
|
1765
|
+
resolvedAt?: string | null;
|
|
1766
|
+
resolvedByFullName?: string | null;
|
|
1767
|
+
resolutionNote?: string | null;
|
|
1768
|
+
createdAt: string;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export interface DraftingRequestEntity {
|
|
1772
|
+
id: string;
|
|
1773
|
+
number: number;
|
|
1774
|
+
year: number;
|
|
1775
|
+
subject: string;
|
|
1776
|
+
details: string;
|
|
1777
|
+
documentTypeId?: string | null;
|
|
1778
|
+
documentType?: DocumentTypeEntity | null;
|
|
1779
|
+
dueAt?: string | null;
|
|
1780
|
+
requesterEmployeeId: string;
|
|
1781
|
+
requesterFullName: string;
|
|
1782
|
+
requesterAreaName?: string | null;
|
|
1783
|
+
requesterDirectorateCode?: number | null;
|
|
1784
|
+
requesterDepartmentId?: string | null;
|
|
1785
|
+
requesterDirectorateName?: string | null;
|
|
1786
|
+
targetDirectorateCode: number;
|
|
1787
|
+
targetDirectorateName: string;
|
|
1788
|
+
status: DraftingRequestStatus;
|
|
1789
|
+
takenByEmployeeId?: string | null;
|
|
1790
|
+
takenByFullName?: string | null;
|
|
1791
|
+
takenAt?: string | null;
|
|
1792
|
+
closedAt?: string | null;
|
|
1793
|
+
closingNote?: string | null;
|
|
1794
|
+
documentId?: string | null;
|
|
1795
|
+
document?: DocumentEntity | null;
|
|
1796
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1797
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1798
|
+
events?: DraftingRequestEventEntity[];
|
|
1799
|
+
createdAt: string;
|
|
1800
|
+
updatedAt: string;
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1803
|
+
export interface DraftingRequestRecipientEntity {
|
|
1804
|
+
id: string;
|
|
1805
|
+
requestId: string;
|
|
1806
|
+
request?: DraftingRequestEntity;
|
|
1807
|
+
employeeId: string;
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1811
|
+
id: string;
|
|
1812
|
+
requestId: string;
|
|
1813
|
+
request?: DraftingRequestEntity;
|
|
1814
|
+
fileId: string;
|
|
1815
|
+
name: string;
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
export interface DraftingRequestEventEntity {
|
|
1819
|
+
id: string;
|
|
1820
|
+
requestId: string;
|
|
1821
|
+
request?: DraftingRequestEntity;
|
|
1822
|
+
action: DraftingRequestEventAction;
|
|
1823
|
+
note?: string | null;
|
|
1824
|
+
employeeId: string;
|
|
1825
|
+
employeeFullName: string;
|
|
1826
|
+
createdAt: string;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
export interface DirectorateReviewerEntity {
|
|
1830
|
+
id: string;
|
|
1831
|
+
directorateCode: number;
|
|
1832
|
+
directorateName: string;
|
|
1833
|
+
employeeId: string;
|
|
1834
|
+
fullName: string;
|
|
1835
|
+
createdAt: string;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1838
|
+
export interface DocumentInternalNoteEntity {
|
|
1839
|
+
id: string;
|
|
1840
|
+
documentId: string;
|
|
1841
|
+
document?: DocumentEntity;
|
|
1842
|
+
directorateCode: number;
|
|
1843
|
+
directorateName: string;
|
|
1844
|
+
headEmployeeIds: string[];
|
|
1845
|
+
versionNumber: number;
|
|
1846
|
+
authorEmployeeId: string;
|
|
1847
|
+
authorFullName: string;
|
|
1848
|
+
authorRole: string;
|
|
1849
|
+
text: string;
|
|
1850
|
+
createdAt: string;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
export interface RichImageEntity {
|
|
1854
|
+
id: string;
|
|
1855
|
+
fileId: string;
|
|
1856
|
+
name: string;
|
|
1857
|
+
mimeType: string;
|
|
1858
|
+
width: number;
|
|
1859
|
+
height: number;
|
|
1860
|
+
sha256: string;
|
|
1861
|
+
sizeBytes: number;
|
|
1862
|
+
employeeId: string;
|
|
1863
|
+
createdAt: string;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
629
1866
|
type JsonValue = string | number | boolean | { [key in string]?: JsonValue } | Array<JsonValue> | null;
|