@muni-sanfer/types-gestor-documental 0.0.1-beta.7 → 0.0.1-beta.70
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 +1041 -8
- package/dist/base/entities.js +259 -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 +238 -4
- package/dist/contracts/document.contract.js +17 -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 +105 -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/notificationPreference.contract.d.ts +45 -0
- package/dist/contracts/notificationPreference.contract.js +13 -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 +2 -1
- 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 +39 -0
- package/dist/contracts/visaInitials.contract.js +12 -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 +493 -3
- 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 +46 -0
- package/dist/entities/document/stampPlacement.js +19 -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 +56 -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 +83 -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/notificationPreference/index.d.ts +1 -0
- package/dist/entities/notificationPreference/index.js +17 -0
- package/dist/entities/notificationPreference/notificationPreference.entity.d.ts +26 -0
- package/dist/entities/notificationPreference/notificationPreference.entity.js +9 -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/signatureBatch.entity.d.ts +1 -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 +18 -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 +1229 -8
- 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 +220 -5
- package/src/contracts/documentTemplate.contract.ts +17 -0
- package/src/contracts/documentType.contract.ts +55 -4
- package/src/contracts/draftingRequest.contract.ts +82 -0
- package/src/contracts/holiday.contract.ts +25 -0
- package/src/contracts/index.ts +96 -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/notificationPreference.contract.ts +38 -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 +4 -2
- 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 +29 -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 +482 -5
- package/src/entities/document/index.ts +2 -0
- package/src/entities/document/richStyle.ts +200 -0
- package/src/entities/document/stampPlacement.ts +39 -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 +71 -1
- package/src/entities/documentType/index.ts +1 -0
- package/src/entities/draftingRequest/draftingRequest.entity.ts +87 -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/notificationPreference/index.ts +1 -0
- package/src/entities/notificationPreference/notificationPreference.entity.ts +26 -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/signatureBatch.entity.ts +7 -1
- 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 +18 -0
- package/src/entities/workFolder/index.ts +1 -0
- package/src/entities/workFolder/workFolder.entity.ts +84 -0
package/src/base/entities.ts
CHANGED
|
@@ -1,13 +1,39 @@
|
|
|
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 DocumentNumberingScope = 'Type' | 'Category';
|
|
31
|
+
|
|
32
|
+
export const DocumentNumberingScope = {
|
|
33
|
+
Type: 'Type',
|
|
34
|
+
Category: 'Category',
|
|
35
|
+
} satisfies Record<string, DocumentNumberingScope>;
|
|
36
|
+
|
|
11
37
|
export type DocumentStatus =
|
|
12
38
|
'Drafted' | 'PendingVisa' | 'PendingSignature' | 'Finished' | 'Rejected' | 'Discarded' | 'Annulled';
|
|
13
39
|
|
|
@@ -63,7 +89,20 @@ export type DocumentTrackingAction =
|
|
|
63
89
|
| 'Reassigned'
|
|
64
90
|
| 'Dispatched'
|
|
65
91
|
| 'DispatchReturned'
|
|
66
|
-
| '
|
|
92
|
+
| 'DispatchedByContingency'
|
|
93
|
+
| 'Received'
|
|
94
|
+
| 'EmailCopySent'
|
|
95
|
+
| 'EmailCopyOpened'
|
|
96
|
+
| 'DispositionRecorded'
|
|
97
|
+
| 'TransparencyRedacted'
|
|
98
|
+
| 'TransparencyPublished'
|
|
99
|
+
| 'TransparencyExcluded'
|
|
100
|
+
| 'TransparencyWithdrawn'
|
|
101
|
+
| 'DraftReviewRequested'
|
|
102
|
+
| 'DraftReviewApproved'
|
|
103
|
+
| 'DraftReviewRejected'
|
|
104
|
+
| 'DraftReviewCancelled'
|
|
105
|
+
| 'DraftCorrected';
|
|
67
106
|
|
|
68
107
|
export const DocumentTrackingAction = {
|
|
69
108
|
Created: 'Created',
|
|
@@ -82,16 +121,55 @@ export const DocumentTrackingAction = {
|
|
|
82
121
|
Reassigned: 'Reassigned',
|
|
83
122
|
Dispatched: 'Dispatched',
|
|
84
123
|
DispatchReturned: 'DispatchReturned',
|
|
124
|
+
DispatchedByContingency: 'DispatchedByContingency',
|
|
85
125
|
Received: 'Received',
|
|
126
|
+
EmailCopySent: 'EmailCopySent',
|
|
127
|
+
EmailCopyOpened: 'EmailCopyOpened',
|
|
128
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
129
|
+
TransparencyRedacted: 'TransparencyRedacted',
|
|
130
|
+
TransparencyPublished: 'TransparencyPublished',
|
|
131
|
+
TransparencyExcluded: 'TransparencyExcluded',
|
|
132
|
+
TransparencyWithdrawn: 'TransparencyWithdrawn',
|
|
133
|
+
DraftReviewRequested: 'DraftReviewRequested',
|
|
134
|
+
DraftReviewApproved: 'DraftReviewApproved',
|
|
135
|
+
DraftReviewRejected: 'DraftReviewRejected',
|
|
136
|
+
DraftReviewCancelled: 'DraftReviewCancelled',
|
|
137
|
+
DraftCorrected: 'DraftCorrected',
|
|
86
138
|
} satisfies Record<string, DocumentTrackingAction>;
|
|
87
139
|
|
|
88
|
-
export type
|
|
140
|
+
export type DraftReviewStage = 'Draft' | 'Official';
|
|
141
|
+
|
|
142
|
+
export const DraftReviewStage = {
|
|
143
|
+
Draft: 'Draft',
|
|
144
|
+
Official: 'Official',
|
|
145
|
+
} satisfies Record<string, DraftReviewStage>;
|
|
146
|
+
|
|
147
|
+
export type DraftReviewStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
|
|
148
|
+
|
|
149
|
+
export const DraftReviewStatus = {
|
|
150
|
+
Pending: 'Pending',
|
|
151
|
+
Approved: 'Approved',
|
|
152
|
+
Rejected: 'Rejected',
|
|
153
|
+
Cancelled: 'Cancelled',
|
|
154
|
+
} satisfies Record<string, DraftReviewStatus>;
|
|
155
|
+
|
|
156
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
89
157
|
|
|
90
158
|
export const DocumentOrigin = {
|
|
91
159
|
Internal: 'Internal',
|
|
92
160
|
DocDigital: 'DocDigital',
|
|
161
|
+
Manual: 'Manual',
|
|
93
162
|
} satisfies Record<string, DocumentOrigin>;
|
|
94
163
|
|
|
164
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
165
|
+
|
|
166
|
+
export const CommunicationMeans = {
|
|
167
|
+
Paper: 'Paper',
|
|
168
|
+
Email: 'Email',
|
|
169
|
+
Courier: 'Courier',
|
|
170
|
+
Other: 'Other',
|
|
171
|
+
} satisfies Record<string, CommunicationMeans>;
|
|
172
|
+
|
|
95
173
|
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
96
174
|
|
|
97
175
|
export const DocumentDispatchStatus = {
|
|
@@ -183,12 +261,13 @@ export const CaseFileActuationType = {
|
|
|
183
261
|
PowerRegistration: 'PowerRegistration',
|
|
184
262
|
} satisfies Record<string, CaseFileActuationType>;
|
|
185
263
|
|
|
186
|
-
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile';
|
|
264
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
187
265
|
|
|
188
266
|
export const CaseFileEntryKind = {
|
|
189
267
|
Document: 'Document',
|
|
190
268
|
File: 'File',
|
|
191
269
|
CaseFile: 'CaseFile',
|
|
270
|
+
Physical: 'Physical',
|
|
192
271
|
} satisfies Record<string, CaseFileEntryKind>;
|
|
193
272
|
|
|
194
273
|
export type CaseFileActorRelation =
|
|
@@ -217,20 +296,28 @@ export type CaseFileTrackingAction =
|
|
|
217
296
|
| 'Updated'
|
|
218
297
|
| 'EntryAdded'
|
|
219
298
|
| 'EntryVoided'
|
|
299
|
+
| 'EntryMoved'
|
|
220
300
|
| 'ParticipantAdded'
|
|
221
301
|
| 'ParticipantRemoved'
|
|
222
302
|
| 'Closed'
|
|
223
|
-
| 'Exported'
|
|
303
|
+
| 'Exported'
|
|
304
|
+
| 'ShareLinkCreated'
|
|
305
|
+
| 'ShareLinkRevoked'
|
|
306
|
+
| 'DispositionRecorded';
|
|
224
307
|
|
|
225
308
|
export const CaseFileTrackingAction = {
|
|
226
309
|
Created: 'Created',
|
|
227
310
|
Updated: 'Updated',
|
|
228
311
|
EntryAdded: 'EntryAdded',
|
|
229
312
|
EntryVoided: 'EntryVoided',
|
|
313
|
+
EntryMoved: 'EntryMoved',
|
|
230
314
|
ParticipantAdded: 'ParticipantAdded',
|
|
231
315
|
ParticipantRemoved: 'ParticipantRemoved',
|
|
232
316
|
Closed: 'Closed',
|
|
233
317
|
Exported: 'Exported',
|
|
318
|
+
ShareLinkCreated: 'ShareLinkCreated',
|
|
319
|
+
ShareLinkRevoked: 'ShareLinkRevoked',
|
|
320
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
234
321
|
} satisfies Record<string, CaseFileTrackingAction>;
|
|
235
322
|
|
|
236
323
|
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
@@ -241,6 +328,356 @@ export const CaseFileAccessAction = {
|
|
|
241
328
|
Exported: 'Exported',
|
|
242
329
|
} satisfies Record<string, CaseFileAccessAction>;
|
|
243
330
|
|
|
331
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
332
|
+
|
|
333
|
+
export const ScanSessionStatus = {
|
|
334
|
+
Open: 'Open',
|
|
335
|
+
Ready: 'Ready',
|
|
336
|
+
} satisfies Record<string, ScanSessionStatus>;
|
|
337
|
+
|
|
338
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
339
|
+
|
|
340
|
+
export const TextSnippetSection = {
|
|
341
|
+
Vistos: 'Vistos',
|
|
342
|
+
Considerando: 'Considerando',
|
|
343
|
+
Resolutive: 'Resolutive',
|
|
344
|
+
Body: 'Body',
|
|
345
|
+
Closing: 'Closing',
|
|
346
|
+
} satisfies Record<string, TextSnippetSection>;
|
|
347
|
+
|
|
348
|
+
export type HolidaySource = 'Manual' | 'Api';
|
|
349
|
+
|
|
350
|
+
export const HolidaySource = {
|
|
351
|
+
Manual: 'Manual',
|
|
352
|
+
Api: 'Api',
|
|
353
|
+
} satisfies Record<string, HolidaySource>;
|
|
354
|
+
|
|
355
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
356
|
+
|
|
357
|
+
export const WorkFolderItemKind = {
|
|
358
|
+
Document: 'Document',
|
|
359
|
+
File: 'File',
|
|
360
|
+
} satisfies Record<string, WorkFolderItemKind>;
|
|
361
|
+
|
|
362
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
363
|
+
|
|
364
|
+
export const ServiceOutageKind = {
|
|
365
|
+
Unplanned: 'Unplanned',
|
|
366
|
+
Planned: 'Planned',
|
|
367
|
+
} satisfies Record<string, ServiceOutageKind>;
|
|
368
|
+
|
|
369
|
+
export type QualityMetricKey =
|
|
370
|
+
| 'Effectiveness'
|
|
371
|
+
| 'Efficiency'
|
|
372
|
+
| 'Availability'
|
|
373
|
+
| 'ResponseTime'
|
|
374
|
+
| 'Accessibility'
|
|
375
|
+
| 'FunctionalCompleteness'
|
|
376
|
+
| 'Interoperability';
|
|
377
|
+
|
|
378
|
+
export const QualityMetricKey = {
|
|
379
|
+
Effectiveness: 'Effectiveness',
|
|
380
|
+
Efficiency: 'Efficiency',
|
|
381
|
+
Availability: 'Availability',
|
|
382
|
+
ResponseTime: 'ResponseTime',
|
|
383
|
+
Accessibility: 'Accessibility',
|
|
384
|
+
FunctionalCompleteness: 'FunctionalCompleteness',
|
|
385
|
+
Interoperability: 'Interoperability',
|
|
386
|
+
} satisfies Record<string, QualityMetricKey>;
|
|
387
|
+
|
|
388
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
389
|
+
|
|
390
|
+
export const DocumentAccessAction = {
|
|
391
|
+
Viewed: 'Viewed',
|
|
392
|
+
FileDownloaded: 'FileDownloaded',
|
|
393
|
+
TrailExported: 'TrailExported',
|
|
394
|
+
} satisfies Record<string, DocumentAccessAction>;
|
|
395
|
+
|
|
396
|
+
export type AuditEntity =
|
|
397
|
+
| 'DocumentType'
|
|
398
|
+
| 'IssuingEntity'
|
|
399
|
+
| 'ArchivalSeries'
|
|
400
|
+
| 'TextSnippet'
|
|
401
|
+
| 'Holiday'
|
|
402
|
+
| 'Procedure'
|
|
403
|
+
| 'QualityMetric'
|
|
404
|
+
| 'ServiceOutage'
|
|
405
|
+
| 'Repository'
|
|
406
|
+
| 'DataTreatment'
|
|
407
|
+
| 'DocumentTemplate'
|
|
408
|
+
| 'DirectorateReviewer'
|
|
409
|
+
| 'CategoryNumbering';
|
|
410
|
+
|
|
411
|
+
export const AuditEntity = {
|
|
412
|
+
DocumentType: 'DocumentType',
|
|
413
|
+
IssuingEntity: 'IssuingEntity',
|
|
414
|
+
ArchivalSeries: 'ArchivalSeries',
|
|
415
|
+
TextSnippet: 'TextSnippet',
|
|
416
|
+
Holiday: 'Holiday',
|
|
417
|
+
Procedure: 'Procedure',
|
|
418
|
+
QualityMetric: 'QualityMetric',
|
|
419
|
+
ServiceOutage: 'ServiceOutage',
|
|
420
|
+
Repository: 'Repository',
|
|
421
|
+
DataTreatment: 'DataTreatment',
|
|
422
|
+
DocumentTemplate: 'DocumentTemplate',
|
|
423
|
+
DirectorateReviewer: 'DirectorateReviewer',
|
|
424
|
+
CategoryNumbering: 'CategoryNumbering',
|
|
425
|
+
} satisfies Record<string, AuditEntity>;
|
|
426
|
+
|
|
427
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
428
|
+
|
|
429
|
+
export const AuditAction = {
|
|
430
|
+
Created: 'Created',
|
|
431
|
+
Updated: 'Updated',
|
|
432
|
+
Enabled: 'Enabled',
|
|
433
|
+
Disabled: 'Disabled',
|
|
434
|
+
Removed: 'Removed',
|
|
435
|
+
Exported: 'Exported',
|
|
436
|
+
} satisfies Record<string, AuditAction>;
|
|
437
|
+
|
|
438
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
439
|
+
|
|
440
|
+
export const FinalDisposition = {
|
|
441
|
+
Permanent: 'Permanent',
|
|
442
|
+
Eliminate: 'Eliminate',
|
|
443
|
+
Select: 'Select',
|
|
444
|
+
} satisfies Record<string, FinalDisposition>;
|
|
445
|
+
|
|
446
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
447
|
+
|
|
448
|
+
export const DispositionKind = {
|
|
449
|
+
Transfer: 'Transfer',
|
|
450
|
+
Elimination: 'Elimination',
|
|
451
|
+
} satisfies Record<string, DispositionKind>;
|
|
452
|
+
|
|
453
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
454
|
+
|
|
455
|
+
export const AccessRequestChannel = {
|
|
456
|
+
Portal: 'Portal',
|
|
457
|
+
Email: 'Email',
|
|
458
|
+
InPerson: 'InPerson',
|
|
459
|
+
Letter: 'Letter',
|
|
460
|
+
} satisfies Record<string, AccessRequestChannel>;
|
|
461
|
+
|
|
462
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
463
|
+
|
|
464
|
+
export const AccessRequestStatus = {
|
|
465
|
+
Received: 'Received',
|
|
466
|
+
InCorrection: 'InCorrection',
|
|
467
|
+
InProgress: 'InProgress',
|
|
468
|
+
Resolved: 'Resolved',
|
|
469
|
+
} satisfies Record<string, AccessRequestStatus>;
|
|
470
|
+
|
|
471
|
+
export type AccessRequestResolution =
|
|
472
|
+
'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
473
|
+
|
|
474
|
+
export const AccessRequestResolution = {
|
|
475
|
+
Delivered: 'Delivered',
|
|
476
|
+
PartiallyDelivered: 'PartiallyDelivered',
|
|
477
|
+
Denied: 'Denied',
|
|
478
|
+
Derived: 'Derived',
|
|
479
|
+
NonExistent: 'NonExistent',
|
|
480
|
+
Withdrawn: 'Withdrawn',
|
|
481
|
+
} satisfies Record<string, AccessRequestResolution>;
|
|
482
|
+
|
|
483
|
+
export type AccessRequestEventAction =
|
|
484
|
+
| 'Received'
|
|
485
|
+
| 'Updated'
|
|
486
|
+
| 'CorrectionRequested'
|
|
487
|
+
| 'Corrected'
|
|
488
|
+
| 'Assigned'
|
|
489
|
+
| 'ThirdPartyNotified'
|
|
490
|
+
| 'OppositionRegistered'
|
|
491
|
+
| 'Extended'
|
|
492
|
+
| 'Resolved'
|
|
493
|
+
| 'AppealRegistered';
|
|
494
|
+
|
|
495
|
+
export const AccessRequestEventAction = {
|
|
496
|
+
Received: 'Received',
|
|
497
|
+
Updated: 'Updated',
|
|
498
|
+
CorrectionRequested: 'CorrectionRequested',
|
|
499
|
+
Corrected: 'Corrected',
|
|
500
|
+
Assigned: 'Assigned',
|
|
501
|
+
ThirdPartyNotified: 'ThirdPartyNotified',
|
|
502
|
+
OppositionRegistered: 'OppositionRegistered',
|
|
503
|
+
Extended: 'Extended',
|
|
504
|
+
Resolved: 'Resolved',
|
|
505
|
+
AppealRegistered: 'AppealRegistered',
|
|
506
|
+
} satisfies Record<string, AccessRequestEventAction>;
|
|
507
|
+
|
|
508
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
509
|
+
|
|
510
|
+
export const TransparencyStatus = {
|
|
511
|
+
Published: 'Published',
|
|
512
|
+
Excluded: 'Excluded',
|
|
513
|
+
} satisfies Record<string, TransparencyStatus>;
|
|
514
|
+
|
|
515
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
516
|
+
|
|
517
|
+
export const DataLegalBasis = {
|
|
518
|
+
LegalFunction: 'LegalFunction',
|
|
519
|
+
LegalObligation: 'LegalObligation',
|
|
520
|
+
Consent: 'Consent',
|
|
521
|
+
Contract: 'Contract',
|
|
522
|
+
VitalInterest: 'VitalInterest',
|
|
523
|
+
} satisfies Record<string, DataLegalBasis>;
|
|
524
|
+
|
|
525
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
526
|
+
|
|
527
|
+
export const DataRight = {
|
|
528
|
+
Access: 'Access',
|
|
529
|
+
Rectification: 'Rectification',
|
|
530
|
+
Suppression: 'Suppression',
|
|
531
|
+
Opposition: 'Opposition',
|
|
532
|
+
Portability: 'Portability',
|
|
533
|
+
} satisfies Record<string, DataRight>;
|
|
534
|
+
|
|
535
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
536
|
+
|
|
537
|
+
export const DataRightsChannel = {
|
|
538
|
+
Email: 'Email',
|
|
539
|
+
WebForm: 'WebForm',
|
|
540
|
+
InPerson: 'InPerson',
|
|
541
|
+
Letter: 'Letter',
|
|
542
|
+
} satisfies Record<string, DataRightsChannel>;
|
|
543
|
+
|
|
544
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
545
|
+
|
|
546
|
+
export const DataRightsRequestStatus = {
|
|
547
|
+
Received: 'Received',
|
|
548
|
+
InProgress: 'InProgress',
|
|
549
|
+
Resolved: 'Resolved',
|
|
550
|
+
} satisfies Record<string, DataRightsRequestStatus>;
|
|
551
|
+
|
|
552
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
553
|
+
|
|
554
|
+
export const DataRightsResolution = {
|
|
555
|
+
Granted: 'Granted',
|
|
556
|
+
PartiallyGranted: 'PartiallyGranted',
|
|
557
|
+
Denied: 'Denied',
|
|
558
|
+
Withdrawn: 'Withdrawn',
|
|
559
|
+
} satisfies Record<string, DataRightsResolution>;
|
|
560
|
+
|
|
561
|
+
export type DataRightsEventAction =
|
|
562
|
+
| 'Received'
|
|
563
|
+
| 'Updated'
|
|
564
|
+
| 'Acknowledged'
|
|
565
|
+
| 'IdentityVerified'
|
|
566
|
+
| 'Assigned'
|
|
567
|
+
| 'BlockingResolved'
|
|
568
|
+
| 'BlockingLifted'
|
|
569
|
+
| 'Extended'
|
|
570
|
+
| 'Resolved'
|
|
571
|
+
| 'ResponseSent'
|
|
572
|
+
| 'ComplaintRegistered';
|
|
573
|
+
|
|
574
|
+
export const DataRightsEventAction = {
|
|
575
|
+
Received: 'Received',
|
|
576
|
+
Updated: 'Updated',
|
|
577
|
+
Acknowledged: 'Acknowledged',
|
|
578
|
+
IdentityVerified: 'IdentityVerified',
|
|
579
|
+
Assigned: 'Assigned',
|
|
580
|
+
BlockingResolved: 'BlockingResolved',
|
|
581
|
+
BlockingLifted: 'BlockingLifted',
|
|
582
|
+
Extended: 'Extended',
|
|
583
|
+
Resolved: 'Resolved',
|
|
584
|
+
ResponseSent: 'ResponseSent',
|
|
585
|
+
ComplaintRegistered: 'ComplaintRegistered',
|
|
586
|
+
} satisfies Record<string, DataRightsEventAction>;
|
|
587
|
+
|
|
588
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
589
|
+
|
|
590
|
+
export const DataBreachKind = {
|
|
591
|
+
Destruction: 'Destruction',
|
|
592
|
+
Leak: 'Leak',
|
|
593
|
+
Loss: 'Loss',
|
|
594
|
+
Alteration: 'Alteration',
|
|
595
|
+
UnauthorizedAccess: 'UnauthorizedAccess',
|
|
596
|
+
} satisfies Record<string, DataBreachKind>;
|
|
597
|
+
|
|
598
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
599
|
+
|
|
600
|
+
export const DataBreachStatus = {
|
|
601
|
+
Open: 'Open',
|
|
602
|
+
Closed: 'Closed',
|
|
603
|
+
} satisfies Record<string, DataBreachStatus>;
|
|
604
|
+
|
|
605
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
606
|
+
|
|
607
|
+
export const DataBreachEventAction = {
|
|
608
|
+
Registered: 'Registered',
|
|
609
|
+
Updated: 'Updated',
|
|
610
|
+
AgencyReported: 'AgencyReported',
|
|
611
|
+
HoldersNotified: 'HoldersNotified',
|
|
612
|
+
Closed: 'Closed',
|
|
613
|
+
} satisfies Record<string, DataBreachEventAction>;
|
|
614
|
+
|
|
615
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
616
|
+
|
|
617
|
+
export const DataBreachNoticeMeans = {
|
|
618
|
+
Individual: 'Individual',
|
|
619
|
+
PublicNotice: 'PublicNotice',
|
|
620
|
+
} satisfies Record<string, DataBreachNoticeMeans>;
|
|
621
|
+
|
|
622
|
+
export type DeskFileSource = 'Upload' | 'Scan' | 'Email';
|
|
623
|
+
|
|
624
|
+
export const DeskFileSource = {
|
|
625
|
+
Upload: 'Upload',
|
|
626
|
+
Scan: 'Scan',
|
|
627
|
+
Email: 'Email',
|
|
628
|
+
} satisfies Record<string, DeskFileSource>;
|
|
629
|
+
|
|
630
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
631
|
+
|
|
632
|
+
export const DeskFileTarget = {
|
|
633
|
+
Document: 'Document',
|
|
634
|
+
CaseFile: 'CaseFile',
|
|
635
|
+
} satisfies Record<string, DeskFileTarget>;
|
|
636
|
+
|
|
637
|
+
export type MailIntakeStatus = 'Pending' | 'Accepted' | 'Discarded';
|
|
638
|
+
|
|
639
|
+
export const MailIntakeStatus = {
|
|
640
|
+
Pending: 'Pending',
|
|
641
|
+
Accepted: 'Accepted',
|
|
642
|
+
Discarded: 'Discarded',
|
|
643
|
+
} satisfies Record<string, MailIntakeStatus>;
|
|
644
|
+
|
|
645
|
+
export type MailAuthentication = 'Pass' | 'Fail' | 'Unknown';
|
|
646
|
+
|
|
647
|
+
export const MailAuthentication = {
|
|
648
|
+
Pass: 'Pass',
|
|
649
|
+
Fail: 'Fail',
|
|
650
|
+
Unknown: 'Unknown',
|
|
651
|
+
} satisfies Record<string, MailAuthentication>;
|
|
652
|
+
|
|
653
|
+
export type NotificationMode = 'All' | 'Actionable' | 'Digest';
|
|
654
|
+
|
|
655
|
+
export const NotificationMode = {
|
|
656
|
+
All: 'All',
|
|
657
|
+
Actionable: 'Actionable',
|
|
658
|
+
Digest: 'Digest',
|
|
659
|
+
} satisfies Record<string, NotificationMode>;
|
|
660
|
+
|
|
661
|
+
export type DraftingRequestStatus = 'Pending' | 'Taken' | 'Declined' | 'Cancelled';
|
|
662
|
+
|
|
663
|
+
export const DraftingRequestStatus = {
|
|
664
|
+
Pending: 'Pending',
|
|
665
|
+
Taken: 'Taken',
|
|
666
|
+
Declined: 'Declined',
|
|
667
|
+
Cancelled: 'Cancelled',
|
|
668
|
+
} satisfies Record<string, DraftingRequestStatus>;
|
|
669
|
+
|
|
670
|
+
export type DraftingRequestEventAction = 'Created' | 'Taken' | 'Released' | 'Declined' | 'Cancelled' | 'DocumentLinked';
|
|
671
|
+
|
|
672
|
+
export const DraftingRequestEventAction = {
|
|
673
|
+
Created: 'Created',
|
|
674
|
+
Taken: 'Taken',
|
|
675
|
+
Released: 'Released',
|
|
676
|
+
Declined: 'Declined',
|
|
677
|
+
Cancelled: 'Cancelled',
|
|
678
|
+
DocumentLinked: 'DocumentLinked',
|
|
679
|
+
} satisfies Record<string, DraftingRequestEventAction>;
|
|
680
|
+
|
|
244
681
|
export interface DocumentTypeEntity {
|
|
245
682
|
id: string;
|
|
246
683
|
name: string;
|
|
@@ -251,12 +688,29 @@ export interface DocumentTypeEntity {
|
|
|
251
688
|
correlativeYear?: number | null;
|
|
252
689
|
resetsYearly: boolean;
|
|
253
690
|
numbered: boolean;
|
|
691
|
+
numberingScope: DocumentNumberingScope;
|
|
692
|
+
usesPartsOffice: boolean;
|
|
693
|
+
processingSlaDays?: number | null;
|
|
694
|
+
turnSlaDays?: number | null;
|
|
695
|
+
reviewSlaDays?: number | null;
|
|
696
|
+
activeTransparency: boolean;
|
|
697
|
+
transparencySection?: string | null;
|
|
254
698
|
directorateCodeReference?: number | null;
|
|
699
|
+
draftReviewDirectorateCode?: number | null;
|
|
700
|
+
draftReviewDirectorateName?: string | null;
|
|
701
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
702
|
+
archivalSeriesId?: string | null;
|
|
703
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
704
|
+
issuingEntityId?: string | null;
|
|
255
705
|
enabled: boolean;
|
|
706
|
+
version: number;
|
|
707
|
+
versions?: DocumentTypeVersionEntity[];
|
|
256
708
|
documents?: DocumentEntity[];
|
|
709
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
257
710
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
258
711
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
259
712
|
signatureBatches?: SignatureBatchEntity[];
|
|
713
|
+
template?: DocumentTemplateEntity | null;
|
|
260
714
|
deleted: boolean;
|
|
261
715
|
createdAt: string;
|
|
262
716
|
updatedAt: string;
|
|
@@ -265,24 +719,30 @@ export interface DocumentTypeEntity {
|
|
|
265
719
|
export interface DocumentEntity {
|
|
266
720
|
id: string;
|
|
267
721
|
subject: string;
|
|
722
|
+
description?: string | null;
|
|
268
723
|
keywords: string[];
|
|
269
724
|
accessLevel: DocumentAccessLevel;
|
|
270
725
|
hasSensitiveData: boolean;
|
|
726
|
+
restrictionEndsAt?: string | null;
|
|
271
727
|
status: DocumentStatus;
|
|
272
728
|
correlative?: number | null;
|
|
273
729
|
correlativeYear?: number | null;
|
|
274
730
|
numberedAt?: string | null;
|
|
275
731
|
verificationCode?: string | null;
|
|
276
|
-
signatureSheet: boolean;
|
|
277
732
|
annulledAt?: string | null;
|
|
278
733
|
annulmentReason?: string | null;
|
|
279
734
|
responseDueAt?: string | null;
|
|
735
|
+
responseDueBusinessDays?: number | null;
|
|
736
|
+
procedure?: ProcedureEntity | null;
|
|
737
|
+
procedureId?: string | null;
|
|
280
738
|
origin: DocumentOrigin;
|
|
281
739
|
intakeNumber?: number | null;
|
|
282
740
|
intakeYear?: number | null;
|
|
283
741
|
externalFolio?: string | null;
|
|
284
742
|
externalSender?: string | null;
|
|
285
743
|
externalDate?: string | null;
|
|
744
|
+
intakeMeans?: CommunicationMeans | null;
|
|
745
|
+
composition?: JsonValue | null;
|
|
286
746
|
contentText?: string | null;
|
|
287
747
|
textExtractedAt?: string | null;
|
|
288
748
|
batch?: SignatureBatchEntity | null;
|
|
@@ -292,16 +752,25 @@ export interface DocumentEntity {
|
|
|
292
752
|
replies?: DocumentEntity[];
|
|
293
753
|
directorateCodeReference?: number | null;
|
|
294
754
|
departmentId?: string | null;
|
|
755
|
+
issuingUnitName?: string | null;
|
|
756
|
+
issuingDirectorateName?: string | null;
|
|
757
|
+
stampPlacements?: JsonValue | null;
|
|
758
|
+
selfValidated: boolean;
|
|
759
|
+
selfValidationNote?: string | null;
|
|
295
760
|
createdByEmployeeId: string;
|
|
296
761
|
createdByFullName: string;
|
|
297
762
|
originalFileId: string;
|
|
298
763
|
originalFileName: string;
|
|
299
764
|
currentFileId?: string | null;
|
|
300
765
|
currentFileUrl?: string | null;
|
|
766
|
+
fileFormat?: string | null;
|
|
301
767
|
submittedAt?: string | null;
|
|
768
|
+
processingOverdueRemindedAt?: string | null;
|
|
302
769
|
finishedAt?: string | null;
|
|
303
770
|
documentType?: DocumentTypeEntity;
|
|
304
771
|
documentTypeId: string;
|
|
772
|
+
documentTypeVersion?: DocumentTypeVersionEntity | null;
|
|
773
|
+
documentTypeVersionId?: string | null;
|
|
305
774
|
participants?: DocumentParticipantEntity[];
|
|
306
775
|
attachments?: DocumentAttachmentEntity[];
|
|
307
776
|
trackings?: DocumentTrackingEntity[];
|
|
@@ -309,7 +778,27 @@ export interface DocumentEntity {
|
|
|
309
778
|
recipients?: DocumentRecipientEntity[];
|
|
310
779
|
deliveries?: DocumentDeliveryEntity[];
|
|
311
780
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
781
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
312
782
|
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
783
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
784
|
+
accesses?: DocumentAccessEntity[];
|
|
785
|
+
disposition?: DispositionRecordEntity | null;
|
|
786
|
+
dispositionId?: string | null;
|
|
787
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
788
|
+
transparencyUrl?: string | null;
|
|
789
|
+
transparencyNote?: string | null;
|
|
790
|
+
transparencyAt?: string | null;
|
|
791
|
+
transparencyByFullName?: string | null;
|
|
792
|
+
redactedFileId?: string | null;
|
|
793
|
+
redactedFileName?: string | null;
|
|
794
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
795
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
796
|
+
versions?: DocumentVersionEntity[];
|
|
797
|
+
comments?: DocumentCommentEntity[];
|
|
798
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
799
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
800
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
801
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
313
802
|
dispatch?: DocumentDispatchEntity | null;
|
|
314
803
|
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
315
804
|
deleted: boolean;
|
|
@@ -334,12 +823,16 @@ export interface DocumentParticipantEntity {
|
|
|
334
823
|
id: string;
|
|
335
824
|
role: DocumentParticipantRole;
|
|
336
825
|
order: number;
|
|
826
|
+
stage: number;
|
|
337
827
|
status: DocumentParticipantStatus;
|
|
338
828
|
employeeId: string;
|
|
339
829
|
fullName: string;
|
|
340
830
|
position?: string | null;
|
|
341
831
|
observation?: string | null;
|
|
342
832
|
resolvedAt?: string | null;
|
|
833
|
+
initials?: string | null;
|
|
834
|
+
currentSince?: string | null;
|
|
835
|
+
overdueRemindedAt?: string | null;
|
|
343
836
|
document?: DocumentEntity;
|
|
344
837
|
documentId: string;
|
|
345
838
|
createdAt: string;
|
|
@@ -363,6 +856,7 @@ export interface DocumentTrackingEntity {
|
|
|
363
856
|
id: string;
|
|
364
857
|
action: DocumentTrackingAction;
|
|
365
858
|
observation?: string | null;
|
|
859
|
+
sha256?: string | null;
|
|
366
860
|
employeeId?: string | null;
|
|
367
861
|
employeeFullName?: string | null;
|
|
368
862
|
document?: DocumentEntity;
|
|
@@ -413,11 +907,49 @@ export interface DocumentDeliveryEntity {
|
|
|
413
907
|
readAt?: string | null;
|
|
414
908
|
closedAt?: string | null;
|
|
415
909
|
closingNote?: string | null;
|
|
910
|
+
dueSoonRemindedAt?: string | null;
|
|
911
|
+
overdueRemindedAt?: string | null;
|
|
416
912
|
document?: DocumentEntity;
|
|
417
913
|
documentId: string;
|
|
418
914
|
createdAt: string;
|
|
419
915
|
}
|
|
420
916
|
|
|
917
|
+
export interface CategoryNumberingEntity {
|
|
918
|
+
category: DocumentCategory;
|
|
919
|
+
nextCorrelative: number;
|
|
920
|
+
correlativeYear?: number | null;
|
|
921
|
+
resetsYearly: boolean;
|
|
922
|
+
updatedAt: string;
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export interface DocumentTypeVersionEntity {
|
|
926
|
+
id: string;
|
|
927
|
+
version: number;
|
|
928
|
+
name: string;
|
|
929
|
+
abbreviation?: string | null;
|
|
930
|
+
category: DocumentCategory;
|
|
931
|
+
description?: string | null;
|
|
932
|
+
numbered: boolean;
|
|
933
|
+
numberingScope: DocumentNumberingScope;
|
|
934
|
+
usesPartsOffice: boolean;
|
|
935
|
+
processingSlaDays?: number | null;
|
|
936
|
+
turnSlaDays?: number | null;
|
|
937
|
+
reviewSlaDays?: number | null;
|
|
938
|
+
activeTransparency: boolean;
|
|
939
|
+
transparencySection?: string | null;
|
|
940
|
+
directorateCodeReference?: number | null;
|
|
941
|
+
draftReviewDirectorateCode?: number | null;
|
|
942
|
+
draftReviewDirectorateName?: string | null;
|
|
943
|
+
issuingEntityId?: string | null;
|
|
944
|
+
templateVersion?: number | null;
|
|
945
|
+
flowSteps: JsonValue;
|
|
946
|
+
createdByFullName?: string | null;
|
|
947
|
+
createdAt: string;
|
|
948
|
+
documentType?: DocumentTypeEntity;
|
|
949
|
+
documentTypeId: string;
|
|
950
|
+
documents?: DocumentEntity[];
|
|
951
|
+
}
|
|
952
|
+
|
|
421
953
|
export interface DocumentTypeFlowStepEntity {
|
|
422
954
|
id: string;
|
|
423
955
|
role: DocumentParticipantRole;
|
|
@@ -427,6 +959,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
427
959
|
directorateCodeReference?: number | null;
|
|
428
960
|
name: string;
|
|
429
961
|
position?: string | null;
|
|
962
|
+
withPrevious: boolean;
|
|
430
963
|
documentType?: DocumentTypeEntity;
|
|
431
964
|
documentTypeId: string;
|
|
432
965
|
createdAt: string;
|
|
@@ -438,8 +971,13 @@ export interface ProcedureEntity {
|
|
|
438
971
|
cpatId?: string | null;
|
|
439
972
|
cpatCode?: string | null;
|
|
440
973
|
description?: string | null;
|
|
974
|
+
kind?: string | null;
|
|
975
|
+
responsibleArea?: string | null;
|
|
976
|
+
cpatStatus?: string | null;
|
|
977
|
+
fromCpat: boolean;
|
|
441
978
|
enabled: boolean;
|
|
442
979
|
caseFiles?: CaseFileEntity[];
|
|
980
|
+
documents?: DocumentEntity[];
|
|
443
981
|
deleted: boolean;
|
|
444
982
|
createdAt: string;
|
|
445
983
|
updatedAt: string;
|
|
@@ -461,6 +999,9 @@ export interface CaseFileEntity {
|
|
|
461
999
|
status: CaseFileStatus;
|
|
462
1000
|
accessLevel: DocumentAccessLevel;
|
|
463
1001
|
hasSensitiveData: boolean;
|
|
1002
|
+
restrictionEndsAt?: string | null;
|
|
1003
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
1004
|
+
archivalSeriesId?: string | null;
|
|
464
1005
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
465
1006
|
schemaVersion: string;
|
|
466
1007
|
procedure?: ProcedureEntity;
|
|
@@ -469,6 +1010,8 @@ export interface CaseFileEntity {
|
|
|
469
1010
|
responsibleFullName: string;
|
|
470
1011
|
responsiblePosition?: string | null;
|
|
471
1012
|
closedAt?: string | null;
|
|
1013
|
+
disposition?: DispositionRecordEntity | null;
|
|
1014
|
+
dispositionId?: string | null;
|
|
472
1015
|
closedByEmployeeId?: string | null;
|
|
473
1016
|
closedByFullName?: string | null;
|
|
474
1017
|
closingNote?: string | null;
|
|
@@ -479,8 +1022,11 @@ export interface CaseFileEntity {
|
|
|
479
1022
|
trackings?: CaseFileTrackingEntity[];
|
|
480
1023
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
481
1024
|
accesses?: CaseFileAccessEntity[];
|
|
1025
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
1026
|
+
integratedPdf?: JsonValue | null;
|
|
482
1027
|
createdAt: string;
|
|
483
1028
|
updatedAt: string;
|
|
1029
|
+
workFolder?: WorkFolderEntity | null;
|
|
484
1030
|
}
|
|
485
1031
|
|
|
486
1032
|
export interface CaseFileParticipantEntity {
|
|
@@ -512,6 +1058,7 @@ export interface CaseFileEntryEntity {
|
|
|
512
1058
|
kind: CaseFileEntryKind;
|
|
513
1059
|
actuationType: CaseFileActuationType;
|
|
514
1060
|
title: string;
|
|
1061
|
+
folder?: string | null;
|
|
515
1062
|
document?: DocumentEntity | null;
|
|
516
1063
|
documentId?: string | null;
|
|
517
1064
|
fileId?: string | null;
|
|
@@ -522,11 +1069,16 @@ export interface CaseFileEntryEntity {
|
|
|
522
1069
|
keywords: string[];
|
|
523
1070
|
accessLevel?: DocumentAccessLevel | null;
|
|
524
1071
|
hasSensitiveData?: boolean | null;
|
|
1072
|
+
physicalLocation?: string | null;
|
|
1073
|
+
physicalReason?: string | null;
|
|
1074
|
+
pageCount?: number | null;
|
|
525
1075
|
linkedCaseFile?: CaseFileEntity | null;
|
|
526
1076
|
linkedCaseFileId?: string | null;
|
|
527
1077
|
sha256?: string | null;
|
|
528
1078
|
size?: number | null;
|
|
529
1079
|
hasAdvancedSignature: boolean;
|
|
1080
|
+
fileFormat?: string | null;
|
|
1081
|
+
signatureCheck?: JsonValue | null;
|
|
530
1082
|
incorporatedByEmployeeId: string;
|
|
531
1083
|
incorporatedByFullName: string;
|
|
532
1084
|
voidedAt?: string | null;
|
|
@@ -565,10 +1117,58 @@ export interface CaseFileAccessEntity {
|
|
|
565
1117
|
id: string;
|
|
566
1118
|
action: CaseFileAccessAction;
|
|
567
1119
|
entryId?: string | null;
|
|
568
|
-
employeeId
|
|
1120
|
+
employeeId?: string | null;
|
|
569
1121
|
employeeFullName: string;
|
|
1122
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
1123
|
+
shareLinkId?: string | null;
|
|
1124
|
+
caseFile?: CaseFileEntity;
|
|
1125
|
+
caseFileId: string;
|
|
1126
|
+
createdAt: string;
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
export interface CaseFileShareLinkEntity {
|
|
1130
|
+
id: string;
|
|
1131
|
+
tokenHash: string;
|
|
1132
|
+
recipient: string;
|
|
1133
|
+
recipientEmail?: string | null;
|
|
1134
|
+
purpose?: string | null;
|
|
1135
|
+
allowExport: boolean;
|
|
1136
|
+
expiresAt: string;
|
|
1137
|
+
createdByEmployeeId: string;
|
|
1138
|
+
createdByFullName: string;
|
|
1139
|
+
revokedAt?: string | null;
|
|
1140
|
+
revokedByEmployeeId?: string | null;
|
|
1141
|
+
revokedByFullName?: string | null;
|
|
570
1142
|
caseFile?: CaseFileEntity;
|
|
571
1143
|
caseFileId: string;
|
|
1144
|
+
accesses?: CaseFileAccessEntity[];
|
|
1145
|
+
createdAt: string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export interface DocumentEmailCopyEntity {
|
|
1149
|
+
id: string;
|
|
1150
|
+
name: string;
|
|
1151
|
+
email: string;
|
|
1152
|
+
tokenHash?: string | null;
|
|
1153
|
+
expiresAt?: string | null;
|
|
1154
|
+
issuedAt?: string | null;
|
|
1155
|
+
openedAt?: string | null;
|
|
1156
|
+
downloadCount: number;
|
|
1157
|
+
document?: DocumentEntity;
|
|
1158
|
+
documentId: string;
|
|
1159
|
+
createdAt: string;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export interface ScanSessionEntity {
|
|
1163
|
+
id: string;
|
|
1164
|
+
tokenHash: string;
|
|
1165
|
+
status: ScanSessionStatus;
|
|
1166
|
+
employeeId: string;
|
|
1167
|
+
pages: JsonValue;
|
|
1168
|
+
fileId?: string | null;
|
|
1169
|
+
fileName?: string | null;
|
|
1170
|
+
expiresAt: string;
|
|
1171
|
+
finishedAt?: string | null;
|
|
572
1172
|
createdAt: string;
|
|
573
1173
|
}
|
|
574
1174
|
|
|
@@ -599,6 +1199,11 @@ export interface DocumentDispatchEntity {
|
|
|
599
1199
|
returnedByEmployeeId?: string | null;
|
|
600
1200
|
returnedByFullName?: string | null;
|
|
601
1201
|
returnReason?: string | null;
|
|
1202
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1203
|
+
contingencySentTo?: string | null;
|
|
1204
|
+
contingencyReason?: string | null;
|
|
1205
|
+
contingencyReceiptFileId?: string | null;
|
|
1206
|
+
contingencyReceiptName?: string | null;
|
|
602
1207
|
document?: DocumentEntity;
|
|
603
1208
|
documentId: string;
|
|
604
1209
|
createdAt: string;
|
|
@@ -620,9 +1225,12 @@ export interface DocDigitalInboundEntity {
|
|
|
620
1225
|
senderEntityName?: string | null;
|
|
621
1226
|
senderName?: string | null;
|
|
622
1227
|
senderPosition?: string | null;
|
|
1228
|
+
recipientEntityId?: number | null;
|
|
1229
|
+
recipientEntityName?: string | null;
|
|
623
1230
|
fileId?: string | null;
|
|
624
1231
|
fileName?: string | null;
|
|
625
1232
|
attachments: JsonValue;
|
|
1233
|
+
signatureCheck?: JsonValue | null;
|
|
626
1234
|
registeredAt?: string | null;
|
|
627
1235
|
registeredByEmployeeId?: string | null;
|
|
628
1236
|
registeredByFullName?: string | null;
|
|
@@ -638,9 +1246,622 @@ export interface DocDigitalInboundEntity {
|
|
|
638
1246
|
updatedAt: string;
|
|
639
1247
|
}
|
|
640
1248
|
|
|
1249
|
+
export interface HolidayEntity {
|
|
1250
|
+
id: string;
|
|
1251
|
+
date: string;
|
|
1252
|
+
name: string;
|
|
1253
|
+
source: HolidaySource;
|
|
1254
|
+
kind?: string | null;
|
|
1255
|
+
excluded: boolean;
|
|
1256
|
+
createdAt: string;
|
|
1257
|
+
updatedAt: string;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export interface ProcedureSyncEntity {
|
|
1261
|
+
institutionCode: string;
|
|
1262
|
+
syncedAt: string;
|
|
1263
|
+
total: number;
|
|
1264
|
+
resourceName: string;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
export interface HolidaySyncEntity {
|
|
1268
|
+
year: number;
|
|
1269
|
+
syncedAt: string;
|
|
1270
|
+
total: number;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export interface TextSnippetEntity {
|
|
1274
|
+
id: string;
|
|
1275
|
+
title: string;
|
|
1276
|
+
text: string;
|
|
1277
|
+
section: TextSnippetSection;
|
|
1278
|
+
keywords: string[];
|
|
1279
|
+
enabled: boolean;
|
|
1280
|
+
deleted: boolean;
|
|
1281
|
+
createdAt: string;
|
|
1282
|
+
updatedAt: string;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
export interface DocumentTemplateEntity {
|
|
1286
|
+
id: string;
|
|
1287
|
+
name: string;
|
|
1288
|
+
description?: string | null;
|
|
1289
|
+
documentTypeIds: string[];
|
|
1290
|
+
documentType?: DocumentTypeEntity | null;
|
|
1291
|
+
documentTypeId?: string | null;
|
|
1292
|
+
content: JsonValue;
|
|
1293
|
+
version: number;
|
|
1294
|
+
enabled: boolean;
|
|
1295
|
+
updatedByFullName?: string | null;
|
|
1296
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1297
|
+
deleted: boolean;
|
|
1298
|
+
createdAt: string;
|
|
1299
|
+
updatedAt: string;
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
export interface DocumentDraftReviewEntity {
|
|
1303
|
+
id: string;
|
|
1304
|
+
documentId: string;
|
|
1305
|
+
document?: DocumentEntity;
|
|
1306
|
+
round: number;
|
|
1307
|
+
stage: DraftReviewStage;
|
|
1308
|
+
versionNumber: number;
|
|
1309
|
+
directorateCodeReference: number;
|
|
1310
|
+
directorateName: string;
|
|
1311
|
+
reviewerEmployeeId: string;
|
|
1312
|
+
reviewerFullName: string;
|
|
1313
|
+
requestedByEmployeeId: string;
|
|
1314
|
+
requestedByFullName: string;
|
|
1315
|
+
requestedAt: string;
|
|
1316
|
+
status: DraftReviewStatus;
|
|
1317
|
+
observation?: string | null;
|
|
1318
|
+
resolvedAt?: string | null;
|
|
1319
|
+
overdueRemindedAt?: 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
|
+
|
|
641
1364
|
export interface IntakeSequenceEntity {
|
|
642
1365
|
year: number;
|
|
643
1366
|
next: number;
|
|
644
1367
|
}
|
|
645
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 NotificationPreferenceEntity {
|
|
1724
|
+
employeeId: string;
|
|
1725
|
+
mode: NotificationMode;
|
|
1726
|
+
digestSentOn?: string | null;
|
|
1727
|
+
createdAt: string;
|
|
1728
|
+
updatedAt: string;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
export interface PushSubscriptionEntity {
|
|
1732
|
+
id: string;
|
|
1733
|
+
employeeId: string;
|
|
1734
|
+
endpoint: string;
|
|
1735
|
+
p256dh: string;
|
|
1736
|
+
auth: string;
|
|
1737
|
+
userAgent?: string | null;
|
|
1738
|
+
lastSuccessAt?: string | null;
|
|
1739
|
+
failures: number;
|
|
1740
|
+
createdAt: string;
|
|
1741
|
+
updatedAt: string;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
export interface DocumentVersionEntity {
|
|
1745
|
+
id: string;
|
|
1746
|
+
documentId: string;
|
|
1747
|
+
document?: DocumentEntity;
|
|
1748
|
+
number: number;
|
|
1749
|
+
subject: string;
|
|
1750
|
+
fileId: string;
|
|
1751
|
+
fileName: string;
|
|
1752
|
+
sha256?: string | null;
|
|
1753
|
+
composition?: JsonValue | null;
|
|
1754
|
+
note?: string | null;
|
|
1755
|
+
status: DocumentStatus;
|
|
1756
|
+
correction: boolean;
|
|
1757
|
+
createdByEmployeeId: string;
|
|
1758
|
+
createdByFullName: string;
|
|
1759
|
+
createdAt: string;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
export interface DocumentCommentEntity {
|
|
1763
|
+
id: string;
|
|
1764
|
+
documentId: string;
|
|
1765
|
+
document?: DocumentEntity;
|
|
1766
|
+
versionNumber: number;
|
|
1767
|
+
section?: string | null;
|
|
1768
|
+
quote?: string | null;
|
|
1769
|
+
text: string;
|
|
1770
|
+
authorEmployeeId: string;
|
|
1771
|
+
authorFullName: string;
|
|
1772
|
+
authorRole: string;
|
|
1773
|
+
resolvedAt?: string | null;
|
|
1774
|
+
resolvedByFullName?: string | null;
|
|
1775
|
+
resolutionNote?: string | null;
|
|
1776
|
+
createdAt: string;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
export interface DraftingRequestEntity {
|
|
1780
|
+
id: string;
|
|
1781
|
+
number: number;
|
|
1782
|
+
year: number;
|
|
1783
|
+
subject: string;
|
|
1784
|
+
details: string;
|
|
1785
|
+
documentTypeId?: string | null;
|
|
1786
|
+
documentType?: DocumentTypeEntity | null;
|
|
1787
|
+
dueAt?: string | null;
|
|
1788
|
+
requesterEmployeeId: string;
|
|
1789
|
+
requesterFullName: string;
|
|
1790
|
+
requesterAreaName?: string | null;
|
|
1791
|
+
requesterDirectorateCode?: number | null;
|
|
1792
|
+
requesterDepartmentId?: string | null;
|
|
1793
|
+
requesterDirectorateName?: string | null;
|
|
1794
|
+
targetDirectorateCode: number;
|
|
1795
|
+
targetDirectorateName: string;
|
|
1796
|
+
targetDepartmentId?: string | null;
|
|
1797
|
+
targetDepartmentName?: string | null;
|
|
1798
|
+
status: DraftingRequestStatus;
|
|
1799
|
+
takenByEmployeeId?: string | null;
|
|
1800
|
+
takenByFullName?: string | null;
|
|
1801
|
+
takenAt?: string | null;
|
|
1802
|
+
closedAt?: string | null;
|
|
1803
|
+
closingNote?: string | null;
|
|
1804
|
+
documentId?: string | null;
|
|
1805
|
+
document?: DocumentEntity | null;
|
|
1806
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1807
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1808
|
+
events?: DraftingRequestEventEntity[];
|
|
1809
|
+
createdAt: string;
|
|
1810
|
+
updatedAt: string;
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
export interface DraftingRequestRecipientEntity {
|
|
1814
|
+
id: string;
|
|
1815
|
+
requestId: string;
|
|
1816
|
+
request?: DraftingRequestEntity;
|
|
1817
|
+
employeeId: string;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1821
|
+
id: string;
|
|
1822
|
+
requestId: string;
|
|
1823
|
+
request?: DraftingRequestEntity;
|
|
1824
|
+
fileId: string;
|
|
1825
|
+
name: string;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
export interface DraftingRequestEventEntity {
|
|
1829
|
+
id: string;
|
|
1830
|
+
requestId: string;
|
|
1831
|
+
request?: DraftingRequestEntity;
|
|
1832
|
+
action: DraftingRequestEventAction;
|
|
1833
|
+
note?: string | null;
|
|
1834
|
+
employeeId: string;
|
|
1835
|
+
employeeFullName: string;
|
|
1836
|
+
createdAt: string;
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
export interface DocumentInternalNoteEntity {
|
|
1840
|
+
id: string;
|
|
1841
|
+
documentId: string;
|
|
1842
|
+
document?: DocumentEntity;
|
|
1843
|
+
directorateCode: number;
|
|
1844
|
+
directorateName: string;
|
|
1845
|
+
headEmployeeIds: string[];
|
|
1846
|
+
versionNumber: number;
|
|
1847
|
+
authorEmployeeId: string;
|
|
1848
|
+
authorFullName: string;
|
|
1849
|
+
authorRole: string;
|
|
1850
|
+
text: string;
|
|
1851
|
+
createdAt: string;
|
|
1852
|
+
}
|
|
1853
|
+
|
|
1854
|
+
export interface RichImageEntity {
|
|
1855
|
+
id: string;
|
|
1856
|
+
fileId: string;
|
|
1857
|
+
name: string;
|
|
1858
|
+
mimeType: string;
|
|
1859
|
+
width: number;
|
|
1860
|
+
height: number;
|
|
1861
|
+
sha256: string;
|
|
1862
|
+
sizeBytes: number;
|
|
1863
|
+
employeeId: string;
|
|
1864
|
+
createdAt: string;
|
|
1865
|
+
}
|
|
1866
|
+
|
|
646
1867
|
type JsonValue = string | number | boolean | { [key in string]?: JsonValue } | Array<JsonValue> | null;
|