@muni-sanfer/types-gestor-documental 0.0.1-beta.4 → 0.0.1-beta.41
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 +1024 -4
- package/dist/base/entities.js +248 -1
- 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 +219 -3
- package/dist/contracts/document.contract.js +15 -0
- package/dist/contracts/documentTemplate.contract.d.ts +58 -0
- package/dist/contracts/documentTemplate.contract.js +12 -0
- package/dist/contracts/documentType.contract.d.ts +13 -1
- package/dist/contracts/draftingRequest.contract.d.ts +94 -0
- package/dist/contracts/draftingRequest.contract.js +11 -0
- package/dist/contracts/holiday.contract.d.ts +30 -0
- package/dist/contracts/holiday.contract.js +9 -0
- package/dist/contracts/index.d.ts +265 -1
- 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 +86 -0
- package/dist/contracts/internalReview.contract.js +12 -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 +263 -0
- package/dist/contracts/partsOffice.contract.js +27 -0
- package/dist/contracts/push.contract.d.ts +59 -0
- package/dist/contracts/push.contract.js +14 -0
- package/dist/contracts/registerBook.contract.d.ts +27 -0
- package/dist/contracts/registerBook.contract.js +8 -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/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/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 +436 -1
- package/dist/entities/documentTemplate/documentTemplate.entity.d.ts +51 -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/documentType.entity.d.ts +25 -0
- package/dist/entities/draftingRequest/draftingRequest.entity.d.ts +76 -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 +10 -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 +23 -0
- package/dist/entities/index.js +23 -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 +59 -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/index.d.ts +1 -0
- package/dist/entities/partsOffice/index.js +17 -0
- package/dist/entities/partsOffice/partsOffice.entity.d.ts +137 -0
- package/dist/entities/partsOffice/partsOffice.entity.js +2 -0
- 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/index.d.ts +1 -0
- package/dist/entities/registerBook/index.js +17 -0
- package/dist/entities/registerBook/registerBook.entity.d.ts +48 -0
- package/dist/entities/registerBook/registerBook.entity.js +2 -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/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 +1197 -4
- 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 +202 -2
- package/src/contracts/documentTemplate.contract.ts +61 -0
- package/src/contracts/documentType.contract.ts +29 -3
- package/src/contracts/draftingRequest.contract.ts +73 -0
- package/src/contracts/holiday.contract.ts +16 -0
- package/src/contracts/index.ts +96 -1
- package/src/contracts/indicators.contract.ts +80 -0
- package/src/contracts/internalReview.contract.ts +66 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/mailIntake.contract.ts +49 -0
- package/src/contracts/partsOffice.contract.ts +199 -0
- package/src/contracts/push.contract.ts +41 -0
- package/src/contracts/registerBook.contract.ts +24 -0
- package/src/contracts/repositoryExport.contract.ts +54 -0
- package/src/contracts/retention.contract.ts +44 -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/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 +412 -0
- package/src/entities/documentTemplate/documentTemplate.entity.ts +58 -0
- package/src/entities/documentTemplate/index.ts +1 -0
- package/src/entities/documentType/documentType.entity.ts +19 -0
- package/src/entities/draftingRequest/draftingRequest.entity.ts +78 -0
- package/src/entities/draftingRequest/index.ts +1 -0
- package/src/entities/holiday/holiday.entity.ts +11 -0
- package/src/entities/holiday/index.ts +1 -0
- package/src/entities/index.ts +23 -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 +57 -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/index.ts +1 -0
- package/src/entities/partsOffice/partsOffice.entity.ts +138 -0
- package/src/entities/push/index.ts +1 -0
- package/src/entities/push/push.entity.ts +31 -0
- package/src/entities/registerBook/index.ts +1 -0
- package/src/entities/registerBook/registerBook.entity.ts +52 -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/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
|
@@ -60,7 +60,22 @@ export type DocumentTrackingAction =
|
|
|
60
60
|
| 'Annulled'
|
|
61
61
|
| 'Delivered'
|
|
62
62
|
| 'Derived'
|
|
63
|
-
| 'Reassigned'
|
|
63
|
+
| 'Reassigned'
|
|
64
|
+
| 'Dispatched'
|
|
65
|
+
| 'DispatchReturned'
|
|
66
|
+
| 'DispatchedByContingency'
|
|
67
|
+
| 'Received'
|
|
68
|
+
| 'EmailCopySent'
|
|
69
|
+
| 'EmailCopyOpened'
|
|
70
|
+
| 'DispositionRecorded'
|
|
71
|
+
| 'TransparencyRedacted'
|
|
72
|
+
| 'TransparencyPublished'
|
|
73
|
+
| 'TransparencyExcluded'
|
|
74
|
+
| 'TransparencyWithdrawn'
|
|
75
|
+
| 'DraftReviewRequested'
|
|
76
|
+
| 'DraftReviewApproved'
|
|
77
|
+
| 'DraftReviewRejected'
|
|
78
|
+
| 'DraftReviewCancelled';
|
|
64
79
|
|
|
65
80
|
export const DocumentTrackingAction = {
|
|
66
81
|
Created: 'Created',
|
|
@@ -77,8 +92,65 @@ export const DocumentTrackingAction = {
|
|
|
77
92
|
Delivered: 'Delivered',
|
|
78
93
|
Derived: 'Derived',
|
|
79
94
|
Reassigned: 'Reassigned',
|
|
95
|
+
Dispatched: 'Dispatched',
|
|
96
|
+
DispatchReturned: 'DispatchReturned',
|
|
97
|
+
DispatchedByContingency: 'DispatchedByContingency',
|
|
98
|
+
Received: 'Received',
|
|
99
|
+
EmailCopySent: 'EmailCopySent',
|
|
100
|
+
EmailCopyOpened: 'EmailCopyOpened',
|
|
101
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
102
|
+
TransparencyRedacted: 'TransparencyRedacted',
|
|
103
|
+
TransparencyPublished: 'TransparencyPublished',
|
|
104
|
+
TransparencyExcluded: 'TransparencyExcluded',
|
|
105
|
+
TransparencyWithdrawn: 'TransparencyWithdrawn',
|
|
106
|
+
DraftReviewRequested: 'DraftReviewRequested',
|
|
107
|
+
DraftReviewApproved: 'DraftReviewApproved',
|
|
108
|
+
DraftReviewRejected: 'DraftReviewRejected',
|
|
109
|
+
DraftReviewCancelled: 'DraftReviewCancelled',
|
|
80
110
|
} satisfies Record<string, DocumentTrackingAction>;
|
|
81
111
|
|
|
112
|
+
export type DraftReviewStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
|
|
113
|
+
|
|
114
|
+
export const DraftReviewStatus = {
|
|
115
|
+
Pending: 'Pending',
|
|
116
|
+
Approved: 'Approved',
|
|
117
|
+
Rejected: 'Rejected',
|
|
118
|
+
Cancelled: 'Cancelled',
|
|
119
|
+
} satisfies Record<string, DraftReviewStatus>;
|
|
120
|
+
|
|
121
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
122
|
+
|
|
123
|
+
export const DocumentOrigin = {
|
|
124
|
+
Internal: 'Internal',
|
|
125
|
+
DocDigital: 'DocDigital',
|
|
126
|
+
Manual: 'Manual',
|
|
127
|
+
} satisfies Record<string, DocumentOrigin>;
|
|
128
|
+
|
|
129
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
130
|
+
|
|
131
|
+
export const CommunicationMeans = {
|
|
132
|
+
Paper: 'Paper',
|
|
133
|
+
Email: 'Email',
|
|
134
|
+
Courier: 'Courier',
|
|
135
|
+
Other: 'Other',
|
|
136
|
+
} satisfies Record<string, CommunicationMeans>;
|
|
137
|
+
|
|
138
|
+
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
139
|
+
|
|
140
|
+
export const DocumentDispatchStatus = {
|
|
141
|
+
Pending: 'Pending',
|
|
142
|
+
Dispatched: 'Dispatched',
|
|
143
|
+
Returned: 'Returned',
|
|
144
|
+
} satisfies Record<string, DocumentDispatchStatus>;
|
|
145
|
+
|
|
146
|
+
export type DocDigitalInboundStatus = 'Pending' | 'Registered' | 'Returned';
|
|
147
|
+
|
|
148
|
+
export const DocDigitalInboundStatus = {
|
|
149
|
+
Pending: 'Pending',
|
|
150
|
+
Registered: 'Registered',
|
|
151
|
+
Returned: 'Returned',
|
|
152
|
+
} satisfies Record<string, DocDigitalInboundStatus>;
|
|
153
|
+
|
|
82
154
|
export type DocumentFlowStepType = 'Employee' | 'DirectorateHead';
|
|
83
155
|
|
|
84
156
|
export const DocumentFlowStepType = {
|
|
@@ -154,12 +226,13 @@ export const CaseFileActuationType = {
|
|
|
154
226
|
PowerRegistration: 'PowerRegistration',
|
|
155
227
|
} satisfies Record<string, CaseFileActuationType>;
|
|
156
228
|
|
|
157
|
-
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile';
|
|
229
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
158
230
|
|
|
159
231
|
export const CaseFileEntryKind = {
|
|
160
232
|
Document: 'Document',
|
|
161
233
|
File: 'File',
|
|
162
234
|
CaseFile: 'CaseFile',
|
|
235
|
+
Physical: 'Physical',
|
|
163
236
|
} satisfies Record<string, CaseFileEntryKind>;
|
|
164
237
|
|
|
165
238
|
export type CaseFileActorRelation =
|
|
@@ -188,20 +261,28 @@ export type CaseFileTrackingAction =
|
|
|
188
261
|
| 'Updated'
|
|
189
262
|
| 'EntryAdded'
|
|
190
263
|
| 'EntryVoided'
|
|
264
|
+
| 'EntryMoved'
|
|
191
265
|
| 'ParticipantAdded'
|
|
192
266
|
| 'ParticipantRemoved'
|
|
193
267
|
| 'Closed'
|
|
194
|
-
| 'Exported'
|
|
268
|
+
| 'Exported'
|
|
269
|
+
| 'ShareLinkCreated'
|
|
270
|
+
| 'ShareLinkRevoked'
|
|
271
|
+
| 'DispositionRecorded';
|
|
195
272
|
|
|
196
273
|
export const CaseFileTrackingAction = {
|
|
197
274
|
Created: 'Created',
|
|
198
275
|
Updated: 'Updated',
|
|
199
276
|
EntryAdded: 'EntryAdded',
|
|
200
277
|
EntryVoided: 'EntryVoided',
|
|
278
|
+
EntryMoved: 'EntryMoved',
|
|
201
279
|
ParticipantAdded: 'ParticipantAdded',
|
|
202
280
|
ParticipantRemoved: 'ParticipantRemoved',
|
|
203
281
|
Closed: 'Closed',
|
|
204
282
|
Exported: 'Exported',
|
|
283
|
+
ShareLinkCreated: 'ShareLinkCreated',
|
|
284
|
+
ShareLinkRevoked: 'ShareLinkRevoked',
|
|
285
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
205
286
|
} satisfies Record<string, CaseFileTrackingAction>;
|
|
206
287
|
|
|
207
288
|
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
@@ -212,6 +293,339 @@ export const CaseFileAccessAction = {
|
|
|
212
293
|
Exported: 'Exported',
|
|
213
294
|
} satisfies Record<string, CaseFileAccessAction>;
|
|
214
295
|
|
|
296
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
297
|
+
|
|
298
|
+
export const ScanSessionStatus = {
|
|
299
|
+
Open: 'Open',
|
|
300
|
+
Ready: 'Ready',
|
|
301
|
+
} satisfies Record<string, ScanSessionStatus>;
|
|
302
|
+
|
|
303
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
304
|
+
|
|
305
|
+
export const TextSnippetSection = {
|
|
306
|
+
Vistos: 'Vistos',
|
|
307
|
+
Considerando: 'Considerando',
|
|
308
|
+
Resolutive: 'Resolutive',
|
|
309
|
+
Body: 'Body',
|
|
310
|
+
Closing: 'Closing',
|
|
311
|
+
} satisfies Record<string, TextSnippetSection>;
|
|
312
|
+
|
|
313
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
314
|
+
|
|
315
|
+
export const WorkFolderItemKind = {
|
|
316
|
+
Document: 'Document',
|
|
317
|
+
File: 'File',
|
|
318
|
+
} satisfies Record<string, WorkFolderItemKind>;
|
|
319
|
+
|
|
320
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
321
|
+
|
|
322
|
+
export const ServiceOutageKind = {
|
|
323
|
+
Unplanned: 'Unplanned',
|
|
324
|
+
Planned: 'Planned',
|
|
325
|
+
} satisfies Record<string, ServiceOutageKind>;
|
|
326
|
+
|
|
327
|
+
export type QualityMetricKey =
|
|
328
|
+
| 'Effectiveness'
|
|
329
|
+
| 'Efficiency'
|
|
330
|
+
| 'Availability'
|
|
331
|
+
| 'ResponseTime'
|
|
332
|
+
| 'Accessibility'
|
|
333
|
+
| 'FunctionalCompleteness'
|
|
334
|
+
| 'Interoperability';
|
|
335
|
+
|
|
336
|
+
export const QualityMetricKey = {
|
|
337
|
+
Effectiveness: 'Effectiveness',
|
|
338
|
+
Efficiency: 'Efficiency',
|
|
339
|
+
Availability: 'Availability',
|
|
340
|
+
ResponseTime: 'ResponseTime',
|
|
341
|
+
Accessibility: 'Accessibility',
|
|
342
|
+
FunctionalCompleteness: 'FunctionalCompleteness',
|
|
343
|
+
Interoperability: 'Interoperability',
|
|
344
|
+
} satisfies Record<string, QualityMetricKey>;
|
|
345
|
+
|
|
346
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
347
|
+
|
|
348
|
+
export const DocumentAccessAction = {
|
|
349
|
+
Viewed: 'Viewed',
|
|
350
|
+
FileDownloaded: 'FileDownloaded',
|
|
351
|
+
TrailExported: 'TrailExported',
|
|
352
|
+
} satisfies Record<string, DocumentAccessAction>;
|
|
353
|
+
|
|
354
|
+
export type AuditEntity =
|
|
355
|
+
| 'DocumentType'
|
|
356
|
+
| 'IssuingEntity'
|
|
357
|
+
| 'ArchivalSeries'
|
|
358
|
+
| 'TextSnippet'
|
|
359
|
+
| 'Holiday'
|
|
360
|
+
| 'Procedure'
|
|
361
|
+
| 'QualityMetric'
|
|
362
|
+
| 'ServiceOutage'
|
|
363
|
+
| 'Repository'
|
|
364
|
+
| 'DataTreatment'
|
|
365
|
+
| 'DocumentTemplate'
|
|
366
|
+
| 'DirectorateReviewer';
|
|
367
|
+
|
|
368
|
+
export const AuditEntity = {
|
|
369
|
+
DocumentType: 'DocumentType',
|
|
370
|
+
IssuingEntity: 'IssuingEntity',
|
|
371
|
+
ArchivalSeries: 'ArchivalSeries',
|
|
372
|
+
TextSnippet: 'TextSnippet',
|
|
373
|
+
Holiday: 'Holiday',
|
|
374
|
+
Procedure: 'Procedure',
|
|
375
|
+
QualityMetric: 'QualityMetric',
|
|
376
|
+
ServiceOutage: 'ServiceOutage',
|
|
377
|
+
Repository: 'Repository',
|
|
378
|
+
DataTreatment: 'DataTreatment',
|
|
379
|
+
DocumentTemplate: 'DocumentTemplate',
|
|
380
|
+
DirectorateReviewer: 'DirectorateReviewer',
|
|
381
|
+
} satisfies Record<string, AuditEntity>;
|
|
382
|
+
|
|
383
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
384
|
+
|
|
385
|
+
export const AuditAction = {
|
|
386
|
+
Created: 'Created',
|
|
387
|
+
Updated: 'Updated',
|
|
388
|
+
Enabled: 'Enabled',
|
|
389
|
+
Disabled: 'Disabled',
|
|
390
|
+
Removed: 'Removed',
|
|
391
|
+
Exported: 'Exported',
|
|
392
|
+
} satisfies Record<string, AuditAction>;
|
|
393
|
+
|
|
394
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
395
|
+
|
|
396
|
+
export const FinalDisposition = {
|
|
397
|
+
Permanent: 'Permanent',
|
|
398
|
+
Eliminate: 'Eliminate',
|
|
399
|
+
Select: 'Select',
|
|
400
|
+
} satisfies Record<string, FinalDisposition>;
|
|
401
|
+
|
|
402
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
403
|
+
|
|
404
|
+
export const DispositionKind = {
|
|
405
|
+
Transfer: 'Transfer',
|
|
406
|
+
Elimination: 'Elimination',
|
|
407
|
+
} satisfies Record<string, DispositionKind>;
|
|
408
|
+
|
|
409
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
410
|
+
|
|
411
|
+
export const AccessRequestChannel = {
|
|
412
|
+
Portal: 'Portal',
|
|
413
|
+
Email: 'Email',
|
|
414
|
+
InPerson: 'InPerson',
|
|
415
|
+
Letter: 'Letter',
|
|
416
|
+
} satisfies Record<string, AccessRequestChannel>;
|
|
417
|
+
|
|
418
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
419
|
+
|
|
420
|
+
export const AccessRequestStatus = {
|
|
421
|
+
Received: 'Received',
|
|
422
|
+
InCorrection: 'InCorrection',
|
|
423
|
+
InProgress: 'InProgress',
|
|
424
|
+
Resolved: 'Resolved',
|
|
425
|
+
} satisfies Record<string, AccessRequestStatus>;
|
|
426
|
+
|
|
427
|
+
export type AccessRequestResolution =
|
|
428
|
+
'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
429
|
+
|
|
430
|
+
export const AccessRequestResolution = {
|
|
431
|
+
Delivered: 'Delivered',
|
|
432
|
+
PartiallyDelivered: 'PartiallyDelivered',
|
|
433
|
+
Denied: 'Denied',
|
|
434
|
+
Derived: 'Derived',
|
|
435
|
+
NonExistent: 'NonExistent',
|
|
436
|
+
Withdrawn: 'Withdrawn',
|
|
437
|
+
} satisfies Record<string, AccessRequestResolution>;
|
|
438
|
+
|
|
439
|
+
export type AccessRequestEventAction =
|
|
440
|
+
| 'Received'
|
|
441
|
+
| 'Updated'
|
|
442
|
+
| 'CorrectionRequested'
|
|
443
|
+
| 'Corrected'
|
|
444
|
+
| 'Assigned'
|
|
445
|
+
| 'ThirdPartyNotified'
|
|
446
|
+
| 'OppositionRegistered'
|
|
447
|
+
| 'Extended'
|
|
448
|
+
| 'Resolved'
|
|
449
|
+
| 'AppealRegistered';
|
|
450
|
+
|
|
451
|
+
export const AccessRequestEventAction = {
|
|
452
|
+
Received: 'Received',
|
|
453
|
+
Updated: 'Updated',
|
|
454
|
+
CorrectionRequested: 'CorrectionRequested',
|
|
455
|
+
Corrected: 'Corrected',
|
|
456
|
+
Assigned: 'Assigned',
|
|
457
|
+
ThirdPartyNotified: 'ThirdPartyNotified',
|
|
458
|
+
OppositionRegistered: 'OppositionRegistered',
|
|
459
|
+
Extended: 'Extended',
|
|
460
|
+
Resolved: 'Resolved',
|
|
461
|
+
AppealRegistered: 'AppealRegistered',
|
|
462
|
+
} satisfies Record<string, AccessRequestEventAction>;
|
|
463
|
+
|
|
464
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
465
|
+
|
|
466
|
+
export const TransparencyStatus = {
|
|
467
|
+
Published: 'Published',
|
|
468
|
+
Excluded: 'Excluded',
|
|
469
|
+
} satisfies Record<string, TransparencyStatus>;
|
|
470
|
+
|
|
471
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
472
|
+
|
|
473
|
+
export const DataLegalBasis = {
|
|
474
|
+
LegalFunction: 'LegalFunction',
|
|
475
|
+
LegalObligation: 'LegalObligation',
|
|
476
|
+
Consent: 'Consent',
|
|
477
|
+
Contract: 'Contract',
|
|
478
|
+
VitalInterest: 'VitalInterest',
|
|
479
|
+
} satisfies Record<string, DataLegalBasis>;
|
|
480
|
+
|
|
481
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
482
|
+
|
|
483
|
+
export const DataRight = {
|
|
484
|
+
Access: 'Access',
|
|
485
|
+
Rectification: 'Rectification',
|
|
486
|
+
Suppression: 'Suppression',
|
|
487
|
+
Opposition: 'Opposition',
|
|
488
|
+
Portability: 'Portability',
|
|
489
|
+
} satisfies Record<string, DataRight>;
|
|
490
|
+
|
|
491
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
492
|
+
|
|
493
|
+
export const DataRightsChannel = {
|
|
494
|
+
Email: 'Email',
|
|
495
|
+
WebForm: 'WebForm',
|
|
496
|
+
InPerson: 'InPerson',
|
|
497
|
+
Letter: 'Letter',
|
|
498
|
+
} satisfies Record<string, DataRightsChannel>;
|
|
499
|
+
|
|
500
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
501
|
+
|
|
502
|
+
export const DataRightsRequestStatus = {
|
|
503
|
+
Received: 'Received',
|
|
504
|
+
InProgress: 'InProgress',
|
|
505
|
+
Resolved: 'Resolved',
|
|
506
|
+
} satisfies Record<string, DataRightsRequestStatus>;
|
|
507
|
+
|
|
508
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
509
|
+
|
|
510
|
+
export const DataRightsResolution = {
|
|
511
|
+
Granted: 'Granted',
|
|
512
|
+
PartiallyGranted: 'PartiallyGranted',
|
|
513
|
+
Denied: 'Denied',
|
|
514
|
+
Withdrawn: 'Withdrawn',
|
|
515
|
+
} satisfies Record<string, DataRightsResolution>;
|
|
516
|
+
|
|
517
|
+
export type DataRightsEventAction =
|
|
518
|
+
| 'Received'
|
|
519
|
+
| 'Updated'
|
|
520
|
+
| 'Acknowledged'
|
|
521
|
+
| 'IdentityVerified'
|
|
522
|
+
| 'Assigned'
|
|
523
|
+
| 'BlockingResolved'
|
|
524
|
+
| 'BlockingLifted'
|
|
525
|
+
| 'Extended'
|
|
526
|
+
| 'Resolved'
|
|
527
|
+
| 'ResponseSent'
|
|
528
|
+
| 'ComplaintRegistered';
|
|
529
|
+
|
|
530
|
+
export const DataRightsEventAction = {
|
|
531
|
+
Received: 'Received',
|
|
532
|
+
Updated: 'Updated',
|
|
533
|
+
Acknowledged: 'Acknowledged',
|
|
534
|
+
IdentityVerified: 'IdentityVerified',
|
|
535
|
+
Assigned: 'Assigned',
|
|
536
|
+
BlockingResolved: 'BlockingResolved',
|
|
537
|
+
BlockingLifted: 'BlockingLifted',
|
|
538
|
+
Extended: 'Extended',
|
|
539
|
+
Resolved: 'Resolved',
|
|
540
|
+
ResponseSent: 'ResponseSent',
|
|
541
|
+
ComplaintRegistered: 'ComplaintRegistered',
|
|
542
|
+
} satisfies Record<string, DataRightsEventAction>;
|
|
543
|
+
|
|
544
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
545
|
+
|
|
546
|
+
export const DataBreachKind = {
|
|
547
|
+
Destruction: 'Destruction',
|
|
548
|
+
Leak: 'Leak',
|
|
549
|
+
Loss: 'Loss',
|
|
550
|
+
Alteration: 'Alteration',
|
|
551
|
+
UnauthorizedAccess: 'UnauthorizedAccess',
|
|
552
|
+
} satisfies Record<string, DataBreachKind>;
|
|
553
|
+
|
|
554
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
555
|
+
|
|
556
|
+
export const DataBreachStatus = {
|
|
557
|
+
Open: 'Open',
|
|
558
|
+
Closed: 'Closed',
|
|
559
|
+
} satisfies Record<string, DataBreachStatus>;
|
|
560
|
+
|
|
561
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
562
|
+
|
|
563
|
+
export const DataBreachEventAction = {
|
|
564
|
+
Registered: 'Registered',
|
|
565
|
+
Updated: 'Updated',
|
|
566
|
+
AgencyReported: 'AgencyReported',
|
|
567
|
+
HoldersNotified: 'HoldersNotified',
|
|
568
|
+
Closed: 'Closed',
|
|
569
|
+
} satisfies Record<string, DataBreachEventAction>;
|
|
570
|
+
|
|
571
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
572
|
+
|
|
573
|
+
export const DataBreachNoticeMeans = {
|
|
574
|
+
Individual: 'Individual',
|
|
575
|
+
PublicNotice: 'PublicNotice',
|
|
576
|
+
} satisfies Record<string, DataBreachNoticeMeans>;
|
|
577
|
+
|
|
578
|
+
export type DeskFileSource = 'Upload' | 'Scan' | 'Email';
|
|
579
|
+
|
|
580
|
+
export const DeskFileSource = {
|
|
581
|
+
Upload: 'Upload',
|
|
582
|
+
Scan: 'Scan',
|
|
583
|
+
Email: 'Email',
|
|
584
|
+
} satisfies Record<string, DeskFileSource>;
|
|
585
|
+
|
|
586
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
587
|
+
|
|
588
|
+
export const DeskFileTarget = {
|
|
589
|
+
Document: 'Document',
|
|
590
|
+
CaseFile: 'CaseFile',
|
|
591
|
+
} satisfies Record<string, DeskFileTarget>;
|
|
592
|
+
|
|
593
|
+
export type MailIntakeStatus = 'Pending' | 'Accepted' | 'Discarded';
|
|
594
|
+
|
|
595
|
+
export const MailIntakeStatus = {
|
|
596
|
+
Pending: 'Pending',
|
|
597
|
+
Accepted: 'Accepted',
|
|
598
|
+
Discarded: 'Discarded',
|
|
599
|
+
} satisfies Record<string, MailIntakeStatus>;
|
|
600
|
+
|
|
601
|
+
export type MailAuthentication = 'Pass' | 'Fail' | 'Unknown';
|
|
602
|
+
|
|
603
|
+
export const MailAuthentication = {
|
|
604
|
+
Pass: 'Pass',
|
|
605
|
+
Fail: 'Fail',
|
|
606
|
+
Unknown: 'Unknown',
|
|
607
|
+
} satisfies Record<string, MailAuthentication>;
|
|
608
|
+
|
|
609
|
+
export type DraftingRequestStatus = 'Pending' | 'Taken' | 'Declined' | 'Cancelled';
|
|
610
|
+
|
|
611
|
+
export const DraftingRequestStatus = {
|
|
612
|
+
Pending: 'Pending',
|
|
613
|
+
Taken: 'Taken',
|
|
614
|
+
Declined: 'Declined',
|
|
615
|
+
Cancelled: 'Cancelled',
|
|
616
|
+
} satisfies Record<string, DraftingRequestStatus>;
|
|
617
|
+
|
|
618
|
+
export type DraftingRequestEventAction = 'Created' | 'Taken' | 'Released' | 'Declined' | 'Cancelled' | 'DocumentLinked';
|
|
619
|
+
|
|
620
|
+
export const DraftingRequestEventAction = {
|
|
621
|
+
Created: 'Created',
|
|
622
|
+
Taken: 'Taken',
|
|
623
|
+
Released: 'Released',
|
|
624
|
+
Declined: 'Declined',
|
|
625
|
+
Cancelled: 'Cancelled',
|
|
626
|
+
DocumentLinked: 'DocumentLinked',
|
|
627
|
+
} satisfies Record<string, DraftingRequestEventAction>;
|
|
628
|
+
|
|
215
629
|
export interface DocumentTypeEntity {
|
|
216
630
|
id: string;
|
|
217
631
|
name: string;
|
|
@@ -221,11 +635,25 @@ export interface DocumentTypeEntity {
|
|
|
221
635
|
nextCorrelative: number;
|
|
222
636
|
correlativeYear?: number | null;
|
|
223
637
|
resetsYearly: boolean;
|
|
638
|
+
numbered: boolean;
|
|
639
|
+
activeTransparency: boolean;
|
|
640
|
+
transparencySection?: string | null;
|
|
224
641
|
directorateCodeReference?: number | null;
|
|
642
|
+
draftReviewDirectorateCode?: number | null;
|
|
643
|
+
draftReviewDirectorateName?: string | null;
|
|
644
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
645
|
+
archivalSeriesId?: string | null;
|
|
646
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
647
|
+
issuingEntityId?: string | null;
|
|
648
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
649
|
+
sharesNumberingWithId?: string | null;
|
|
650
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
225
651
|
enabled: boolean;
|
|
226
652
|
documents?: DocumentEntity[];
|
|
653
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
227
654
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
228
655
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
656
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
229
657
|
deleted: boolean;
|
|
230
658
|
createdAt: string;
|
|
231
659
|
updatedAt: string;
|
|
@@ -237,6 +665,7 @@ export interface DocumentEntity {
|
|
|
237
665
|
keywords: string[];
|
|
238
666
|
accessLevel: DocumentAccessLevel;
|
|
239
667
|
hasSensitiveData: boolean;
|
|
668
|
+
restrictionEndsAt?: string | null;
|
|
240
669
|
status: DocumentStatus;
|
|
241
670
|
correlative?: number | null;
|
|
242
671
|
correlativeYear?: number | null;
|
|
@@ -246,6 +675,18 @@ export interface DocumentEntity {
|
|
|
246
675
|
annulledAt?: string | null;
|
|
247
676
|
annulmentReason?: string | null;
|
|
248
677
|
responseDueAt?: string | null;
|
|
678
|
+
origin: DocumentOrigin;
|
|
679
|
+
intakeNumber?: number | null;
|
|
680
|
+
intakeYear?: number | null;
|
|
681
|
+
externalFolio?: string | null;
|
|
682
|
+
externalSender?: string | null;
|
|
683
|
+
externalDate?: string | null;
|
|
684
|
+
intakeMeans?: CommunicationMeans | null;
|
|
685
|
+
composition?: JsonValue | null;
|
|
686
|
+
contentText?: string | null;
|
|
687
|
+
textExtractedAt?: string | null;
|
|
688
|
+
batch?: SignatureBatchEntity | null;
|
|
689
|
+
batchId?: string | null;
|
|
249
690
|
replyTo?: DocumentEntity | null;
|
|
250
691
|
replyToDocumentId?: string | null;
|
|
251
692
|
replies?: DocumentEntity[];
|
|
@@ -257,6 +698,7 @@ export interface DocumentEntity {
|
|
|
257
698
|
originalFileName: string;
|
|
258
699
|
currentFileId?: string | null;
|
|
259
700
|
currentFileUrl?: string | null;
|
|
701
|
+
fileFormat?: string | null;
|
|
260
702
|
submittedAt?: string | null;
|
|
261
703
|
finishedAt?: string | null;
|
|
262
704
|
documentType?: DocumentTypeEntity;
|
|
@@ -268,6 +710,42 @@ export interface DocumentEntity {
|
|
|
268
710
|
recipients?: DocumentRecipientEntity[];
|
|
269
711
|
deliveries?: DocumentDeliveryEntity[];
|
|
270
712
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
713
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
714
|
+
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
715
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
716
|
+
accesses?: DocumentAccessEntity[];
|
|
717
|
+
disposition?: DispositionRecordEntity | null;
|
|
718
|
+
dispositionId?: string | null;
|
|
719
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
720
|
+
transparencyUrl?: string | null;
|
|
721
|
+
transparencyNote?: string | null;
|
|
722
|
+
transparencyAt?: string | null;
|
|
723
|
+
transparencyByFullName?: string | null;
|
|
724
|
+
redactedFileId?: string | null;
|
|
725
|
+
redactedFileName?: string | null;
|
|
726
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
727
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
728
|
+
versions?: DocumentVersionEntity[];
|
|
729
|
+
comments?: DocumentCommentEntity[];
|
|
730
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
731
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
732
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
733
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
734
|
+
dispatch?: DocumentDispatchEntity | null;
|
|
735
|
+
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
736
|
+
deleted: boolean;
|
|
737
|
+
createdAt: string;
|
|
738
|
+
updatedAt: string;
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
export interface SignatureBatchEntity {
|
|
742
|
+
id: string;
|
|
743
|
+
name: string;
|
|
744
|
+
createdByEmployeeId: string;
|
|
745
|
+
createdByFullName: string;
|
|
746
|
+
documentType?: DocumentTypeEntity;
|
|
747
|
+
documentTypeId: string;
|
|
748
|
+
documents?: DocumentEntity[];
|
|
271
749
|
deleted: boolean;
|
|
272
750
|
createdAt: string;
|
|
273
751
|
updatedAt: string;
|
|
@@ -277,6 +755,7 @@ export interface DocumentParticipantEntity {
|
|
|
277
755
|
id: string;
|
|
278
756
|
role: DocumentParticipantRole;
|
|
279
757
|
order: number;
|
|
758
|
+
stage: number;
|
|
280
759
|
status: DocumentParticipantStatus;
|
|
281
760
|
employeeId: string;
|
|
282
761
|
fullName: string;
|
|
@@ -306,6 +785,7 @@ export interface DocumentTrackingEntity {
|
|
|
306
785
|
id: string;
|
|
307
786
|
action: DocumentTrackingAction;
|
|
308
787
|
observation?: string | null;
|
|
788
|
+
sha256?: string | null;
|
|
309
789
|
employeeId?: string | null;
|
|
310
790
|
employeeFullName?: string | null;
|
|
311
791
|
document?: DocumentEntity;
|
|
@@ -356,6 +836,8 @@ export interface DocumentDeliveryEntity {
|
|
|
356
836
|
readAt?: string | null;
|
|
357
837
|
closedAt?: string | null;
|
|
358
838
|
closingNote?: string | null;
|
|
839
|
+
dueSoonRemindedAt?: string | null;
|
|
840
|
+
overdueRemindedAt?: string | null;
|
|
359
841
|
document?: DocumentEntity;
|
|
360
842
|
documentId: string;
|
|
361
843
|
createdAt: string;
|
|
@@ -370,6 +852,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
370
852
|
directorateCodeReference?: number | null;
|
|
371
853
|
name: string;
|
|
372
854
|
position?: string | null;
|
|
855
|
+
withPrevious: boolean;
|
|
373
856
|
documentType?: DocumentTypeEntity;
|
|
374
857
|
documentTypeId: string;
|
|
375
858
|
createdAt: string;
|
|
@@ -404,6 +887,9 @@ export interface CaseFileEntity {
|
|
|
404
887
|
status: CaseFileStatus;
|
|
405
888
|
accessLevel: DocumentAccessLevel;
|
|
406
889
|
hasSensitiveData: boolean;
|
|
890
|
+
restrictionEndsAt?: string | null;
|
|
891
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
892
|
+
archivalSeriesId?: string | null;
|
|
407
893
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
408
894
|
schemaVersion: string;
|
|
409
895
|
procedure?: ProcedureEntity;
|
|
@@ -412,6 +898,8 @@ export interface CaseFileEntity {
|
|
|
412
898
|
responsibleFullName: string;
|
|
413
899
|
responsiblePosition?: string | null;
|
|
414
900
|
closedAt?: string | null;
|
|
901
|
+
disposition?: DispositionRecordEntity | null;
|
|
902
|
+
dispositionId?: string | null;
|
|
415
903
|
closedByEmployeeId?: string | null;
|
|
416
904
|
closedByFullName?: string | null;
|
|
417
905
|
closingNote?: string | null;
|
|
@@ -422,8 +910,11 @@ export interface CaseFileEntity {
|
|
|
422
910
|
trackings?: CaseFileTrackingEntity[];
|
|
423
911
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
424
912
|
accesses?: CaseFileAccessEntity[];
|
|
913
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
914
|
+
integratedPdf?: JsonValue | null;
|
|
425
915
|
createdAt: string;
|
|
426
916
|
updatedAt: string;
|
|
917
|
+
workFolder?: WorkFolderEntity | null;
|
|
427
918
|
}
|
|
428
919
|
|
|
429
920
|
export interface CaseFileParticipantEntity {
|
|
@@ -455,6 +946,7 @@ export interface CaseFileEntryEntity {
|
|
|
455
946
|
kind: CaseFileEntryKind;
|
|
456
947
|
actuationType: CaseFileActuationType;
|
|
457
948
|
title: string;
|
|
949
|
+
folder?: string | null;
|
|
458
950
|
document?: DocumentEntity | null;
|
|
459
951
|
documentId?: string | null;
|
|
460
952
|
fileId?: string | null;
|
|
@@ -465,11 +957,16 @@ export interface CaseFileEntryEntity {
|
|
|
465
957
|
keywords: string[];
|
|
466
958
|
accessLevel?: DocumentAccessLevel | null;
|
|
467
959
|
hasSensitiveData?: boolean | null;
|
|
960
|
+
physicalLocation?: string | null;
|
|
961
|
+
physicalReason?: string | null;
|
|
962
|
+
pageCount?: number | null;
|
|
468
963
|
linkedCaseFile?: CaseFileEntity | null;
|
|
469
964
|
linkedCaseFileId?: string | null;
|
|
470
965
|
sha256?: string | null;
|
|
471
966
|
size?: number | null;
|
|
472
967
|
hasAdvancedSignature: boolean;
|
|
968
|
+
fileFormat?: string | null;
|
|
969
|
+
signatureCheck?: JsonValue | null;
|
|
473
970
|
incorporatedByEmployeeId: string;
|
|
474
971
|
incorporatedByFullName: string;
|
|
475
972
|
voidedAt?: string | null;
|
|
@@ -508,9 +1005,705 @@ export interface CaseFileAccessEntity {
|
|
|
508
1005
|
id: string;
|
|
509
1006
|
action: CaseFileAccessAction;
|
|
510
1007
|
entryId?: string | null;
|
|
511
|
-
employeeId
|
|
1008
|
+
employeeId?: string | null;
|
|
512
1009
|
employeeFullName: string;
|
|
1010
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
1011
|
+
shareLinkId?: string | null;
|
|
513
1012
|
caseFile?: CaseFileEntity;
|
|
514
1013
|
caseFileId: string;
|
|
515
1014
|
createdAt: string;
|
|
516
1015
|
}
|
|
1016
|
+
|
|
1017
|
+
export interface CaseFileShareLinkEntity {
|
|
1018
|
+
id: string;
|
|
1019
|
+
tokenHash: string;
|
|
1020
|
+
recipient: string;
|
|
1021
|
+
recipientEmail?: string | null;
|
|
1022
|
+
purpose?: string | null;
|
|
1023
|
+
allowExport: boolean;
|
|
1024
|
+
expiresAt: string;
|
|
1025
|
+
createdByEmployeeId: string;
|
|
1026
|
+
createdByFullName: string;
|
|
1027
|
+
revokedAt?: string | null;
|
|
1028
|
+
revokedByEmployeeId?: string | null;
|
|
1029
|
+
revokedByFullName?: string | null;
|
|
1030
|
+
caseFile?: CaseFileEntity;
|
|
1031
|
+
caseFileId: string;
|
|
1032
|
+
accesses?: CaseFileAccessEntity[];
|
|
1033
|
+
createdAt: string;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
export interface DocumentEmailCopyEntity {
|
|
1037
|
+
id: string;
|
|
1038
|
+
name: string;
|
|
1039
|
+
email: string;
|
|
1040
|
+
tokenHash?: string | null;
|
|
1041
|
+
expiresAt?: string | null;
|
|
1042
|
+
issuedAt?: string | null;
|
|
1043
|
+
openedAt?: string | null;
|
|
1044
|
+
downloadCount: number;
|
|
1045
|
+
document?: DocumentEntity;
|
|
1046
|
+
documentId: string;
|
|
1047
|
+
createdAt: string;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export interface ScanSessionEntity {
|
|
1051
|
+
id: string;
|
|
1052
|
+
tokenHash: string;
|
|
1053
|
+
status: ScanSessionStatus;
|
|
1054
|
+
employeeId: string;
|
|
1055
|
+
pages: JsonValue;
|
|
1056
|
+
fileId?: string | null;
|
|
1057
|
+
fileName?: string | null;
|
|
1058
|
+
expiresAt: string;
|
|
1059
|
+
finishedAt?: string | null;
|
|
1060
|
+
createdAt: string;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export interface DocumentExternalRecipientEntity {
|
|
1064
|
+
id: string;
|
|
1065
|
+
entityId: number;
|
|
1066
|
+
entityName: string;
|
|
1067
|
+
userId?: number | null;
|
|
1068
|
+
userName?: string | null;
|
|
1069
|
+
userPosition?: string | null;
|
|
1070
|
+
document?: DocumentEntity;
|
|
1071
|
+
documentId: string;
|
|
1072
|
+
createdAt: string;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export interface DocumentDispatchEntity {
|
|
1076
|
+
id: string;
|
|
1077
|
+
status: DocumentDispatchStatus;
|
|
1078
|
+
folio?: string | null;
|
|
1079
|
+
docDigitalTypeId?: number | null;
|
|
1080
|
+
docDigitalTypeName?: string | null;
|
|
1081
|
+
docDigitalDocumentId?: string | null;
|
|
1082
|
+
docDigitalRequestId?: string | null;
|
|
1083
|
+
dispatchedAt?: string | null;
|
|
1084
|
+
dispatchedByEmployeeId?: string | null;
|
|
1085
|
+
dispatchedByFullName?: string | null;
|
|
1086
|
+
returnedAt?: string | null;
|
|
1087
|
+
returnedByEmployeeId?: string | null;
|
|
1088
|
+
returnedByFullName?: string | null;
|
|
1089
|
+
returnReason?: string | null;
|
|
1090
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1091
|
+
contingencySentTo?: string | null;
|
|
1092
|
+
contingencyReason?: string | null;
|
|
1093
|
+
contingencyReceiptFileId?: string | null;
|
|
1094
|
+
contingencyReceiptName?: string | null;
|
|
1095
|
+
document?: DocumentEntity;
|
|
1096
|
+
documentId: string;
|
|
1097
|
+
createdAt: string;
|
|
1098
|
+
updatedAt: string;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
export interface DocDigitalInboundEntity {
|
|
1102
|
+
id: string;
|
|
1103
|
+
docDigitalDocumentId: string;
|
|
1104
|
+
docDigitalRequestId?: string | null;
|
|
1105
|
+
status: DocDigitalInboundStatus;
|
|
1106
|
+
subject: string;
|
|
1107
|
+
description?: string | null;
|
|
1108
|
+
folio?: string | null;
|
|
1109
|
+
folioDate?: string | null;
|
|
1110
|
+
typeName?: string | null;
|
|
1111
|
+
reserved: boolean;
|
|
1112
|
+
senderEntityId?: number | null;
|
|
1113
|
+
senderEntityName?: string | null;
|
|
1114
|
+
senderName?: string | null;
|
|
1115
|
+
senderPosition?: string | null;
|
|
1116
|
+
recipientEntityId?: number | null;
|
|
1117
|
+
recipientEntityName?: string | null;
|
|
1118
|
+
fileId?: string | null;
|
|
1119
|
+
fileName?: string | null;
|
|
1120
|
+
attachments: JsonValue;
|
|
1121
|
+
signatureCheck?: JsonValue | null;
|
|
1122
|
+
registeredAt?: string | null;
|
|
1123
|
+
registeredByEmployeeId?: string | null;
|
|
1124
|
+
registeredByFullName?: string | null;
|
|
1125
|
+
acknowledgedAt?: string | null;
|
|
1126
|
+
acknowledgeError?: string | null;
|
|
1127
|
+
returnedAt?: string | null;
|
|
1128
|
+
returnedByEmployeeId?: string | null;
|
|
1129
|
+
returnedByFullName?: string | null;
|
|
1130
|
+
returnReason?: string | null;
|
|
1131
|
+
document?: DocumentEntity | null;
|
|
1132
|
+
documentId?: string | null;
|
|
1133
|
+
createdAt: string;
|
|
1134
|
+
updatedAt: string;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export interface HolidayEntity {
|
|
1138
|
+
id: string;
|
|
1139
|
+
date: string;
|
|
1140
|
+
name: string;
|
|
1141
|
+
createdAt: string;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export interface TextSnippetEntity {
|
|
1145
|
+
id: string;
|
|
1146
|
+
title: string;
|
|
1147
|
+
text: string;
|
|
1148
|
+
section: TextSnippetSection;
|
|
1149
|
+
keywords: string[];
|
|
1150
|
+
enabled: boolean;
|
|
1151
|
+
deleted: boolean;
|
|
1152
|
+
createdAt: string;
|
|
1153
|
+
updatedAt: string;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
export interface DocumentTemplateEntity {
|
|
1157
|
+
id: string;
|
|
1158
|
+
name: string;
|
|
1159
|
+
description?: string | null;
|
|
1160
|
+
documentTypeIds: string[];
|
|
1161
|
+
content: JsonValue;
|
|
1162
|
+
version: number;
|
|
1163
|
+
enabled: boolean;
|
|
1164
|
+
updatedByFullName?: string | null;
|
|
1165
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1166
|
+
deleted: boolean;
|
|
1167
|
+
createdAt: string;
|
|
1168
|
+
updatedAt: string;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
export interface DocumentDraftReviewEntity {
|
|
1172
|
+
id: string;
|
|
1173
|
+
documentId: string;
|
|
1174
|
+
document?: DocumentEntity;
|
|
1175
|
+
round: number;
|
|
1176
|
+
versionNumber: number;
|
|
1177
|
+
directorateCodeReference: number;
|
|
1178
|
+
directorateName: string;
|
|
1179
|
+
reviewerEmployeeId: string;
|
|
1180
|
+
reviewerFullName: string;
|
|
1181
|
+
requestedByEmployeeId: string;
|
|
1182
|
+
requestedByFullName: string;
|
|
1183
|
+
requestedAt: string;
|
|
1184
|
+
status: DraftReviewStatus;
|
|
1185
|
+
observation?: string | null;
|
|
1186
|
+
resolvedAt?: string | null;
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
export interface DocumentTemplateVersionEntity {
|
|
1190
|
+
id: string;
|
|
1191
|
+
templateId: string;
|
|
1192
|
+
template?: DocumentTemplateEntity;
|
|
1193
|
+
version: number;
|
|
1194
|
+
content: JsonValue;
|
|
1195
|
+
createdByFullName?: string | null;
|
|
1196
|
+
createdAt: string;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
export interface ArchivalSeriesEntity {
|
|
1200
|
+
id: string;
|
|
1201
|
+
code: string;
|
|
1202
|
+
name: string;
|
|
1203
|
+
section?: string | null;
|
|
1204
|
+
description?: string | null;
|
|
1205
|
+
managementYears?: number | null;
|
|
1206
|
+
centralYears?: number | null;
|
|
1207
|
+
finalDisposition?: FinalDisposition | null;
|
|
1208
|
+
retentionNote?: string | null;
|
|
1209
|
+
enabled: boolean;
|
|
1210
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1211
|
+
caseFiles?: CaseFileEntity[];
|
|
1212
|
+
dispositions?: DispositionRecordEntity[];
|
|
1213
|
+
deleted: boolean;
|
|
1214
|
+
createdAt: string;
|
|
1215
|
+
updatedAt: string;
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
export interface IssuingEntityEntity {
|
|
1219
|
+
id: string;
|
|
1220
|
+
name: string;
|
|
1221
|
+
shortName?: string | null;
|
|
1222
|
+
directorateCodeReferences: number[];
|
|
1223
|
+
docDigitalEntityId?: number | null;
|
|
1224
|
+
enabled: boolean;
|
|
1225
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1226
|
+
deleted: boolean;
|
|
1227
|
+
createdAt: string;
|
|
1228
|
+
updatedAt: string;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
export interface IntakeSequenceEntity {
|
|
1232
|
+
year: number;
|
|
1233
|
+
next: number;
|
|
1234
|
+
}
|
|
1235
|
+
|
|
1236
|
+
export interface WorkFolderEntity {
|
|
1237
|
+
id: string;
|
|
1238
|
+
name: string;
|
|
1239
|
+
description?: string | null;
|
|
1240
|
+
ownerEmployeeId: string;
|
|
1241
|
+
ownerFullName: string;
|
|
1242
|
+
caseFile?: CaseFileEntity | null;
|
|
1243
|
+
caseFileId?: string | null;
|
|
1244
|
+
participants?: WorkFolderParticipantEntity[];
|
|
1245
|
+
items?: WorkFolderItemEntity[];
|
|
1246
|
+
deleted: boolean;
|
|
1247
|
+
createdAt: string;
|
|
1248
|
+
updatedAt: string;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
export interface WorkFolderParticipantEntity {
|
|
1252
|
+
id: string;
|
|
1253
|
+
employeeId: string;
|
|
1254
|
+
fullName: string;
|
|
1255
|
+
folder?: WorkFolderEntity;
|
|
1256
|
+
folderId: string;
|
|
1257
|
+
createdAt: string;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export interface WorkFolderItemEntity {
|
|
1261
|
+
id: string;
|
|
1262
|
+
kind: WorkFolderItemKind;
|
|
1263
|
+
title: string;
|
|
1264
|
+
document?: DocumentEntity | null;
|
|
1265
|
+
documentId?: string | null;
|
|
1266
|
+
fileId?: string | null;
|
|
1267
|
+
fileName?: string | null;
|
|
1268
|
+
addedByEmployeeId: string;
|
|
1269
|
+
addedByFullName: string;
|
|
1270
|
+
folder?: WorkFolderEntity;
|
|
1271
|
+
folderId: string;
|
|
1272
|
+
createdAt: string;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
export interface ServiceOutageEntity {
|
|
1276
|
+
id: string;
|
|
1277
|
+
kind: ServiceOutageKind;
|
|
1278
|
+
startedAt: string;
|
|
1279
|
+
endedAt?: string | null;
|
|
1280
|
+
cause: string;
|
|
1281
|
+
affectedServices?: string | null;
|
|
1282
|
+
createdByEmployeeId: string;
|
|
1283
|
+
createdByFullName: string;
|
|
1284
|
+
updatedByFullName?: string | null;
|
|
1285
|
+
deleted: boolean;
|
|
1286
|
+
createdAt: string;
|
|
1287
|
+
updatedAt: string;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
export interface QualityMetricSettingEntity {
|
|
1291
|
+
key: QualityMetricKey;
|
|
1292
|
+
threshold: number;
|
|
1293
|
+
declaredValue?: number | null;
|
|
1294
|
+
declaredNote?: string | null;
|
|
1295
|
+
declaredAt?: string | null;
|
|
1296
|
+
declaredByFullName?: string | null;
|
|
1297
|
+
updatedAt: string;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
export interface ServiceTimingEntity {
|
|
1301
|
+
hour: string;
|
|
1302
|
+
count: number;
|
|
1303
|
+
errorCount: number;
|
|
1304
|
+
totalMs: number;
|
|
1305
|
+
maxMs: number;
|
|
1306
|
+
under100: number;
|
|
1307
|
+
under250: number;
|
|
1308
|
+
under500: number;
|
|
1309
|
+
under1000: number;
|
|
1310
|
+
under2000: number;
|
|
1311
|
+
under5000: number;
|
|
1312
|
+
over5000: number;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
export interface DocumentAccessEntity {
|
|
1316
|
+
id: string;
|
|
1317
|
+
action: DocumentAccessAction;
|
|
1318
|
+
employeeId?: string | null;
|
|
1319
|
+
employeeFullName: string;
|
|
1320
|
+
document?: DocumentEntity;
|
|
1321
|
+
documentId: string;
|
|
1322
|
+
createdAt: string;
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
export interface AuditLogEntity {
|
|
1326
|
+
id: string;
|
|
1327
|
+
entity: AuditEntity;
|
|
1328
|
+
action: AuditAction;
|
|
1329
|
+
entityId?: string | null;
|
|
1330
|
+
name: string;
|
|
1331
|
+
details?: JsonValue | null;
|
|
1332
|
+
employeeId?: string | null;
|
|
1333
|
+
employeeFullName: string;
|
|
1334
|
+
createdAt: string;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
export interface DispositionRecordEntity {
|
|
1338
|
+
id: string;
|
|
1339
|
+
kind: DispositionKind;
|
|
1340
|
+
number: number;
|
|
1341
|
+
year: number;
|
|
1342
|
+
observation?: string | null;
|
|
1343
|
+
series?: ArchivalSeriesEntity;
|
|
1344
|
+
seriesId: string;
|
|
1345
|
+
documents?: DocumentEntity[];
|
|
1346
|
+
caseFiles?: CaseFileEntity[];
|
|
1347
|
+
createdByEmployeeId: string;
|
|
1348
|
+
createdByFullName: string;
|
|
1349
|
+
createdAt: string;
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
export interface AccessRequestEntity {
|
|
1353
|
+
id: string;
|
|
1354
|
+
number: number;
|
|
1355
|
+
year: number;
|
|
1356
|
+
externalFolio?: string | null;
|
|
1357
|
+
channel: AccessRequestChannel;
|
|
1358
|
+
receivedAt: string;
|
|
1359
|
+
requesterName: string;
|
|
1360
|
+
requesterEmail?: string | null;
|
|
1361
|
+
requesterAddress?: string | null;
|
|
1362
|
+
requestText: string;
|
|
1363
|
+
deliveryFormat?: string | null;
|
|
1364
|
+
status: AccessRequestStatus;
|
|
1365
|
+
correctionRequestedAt?: string | null;
|
|
1366
|
+
correctionDueAt?: string | null;
|
|
1367
|
+
correctedAt?: string | null;
|
|
1368
|
+
dueAt: string;
|
|
1369
|
+
extendedAt?: string | null;
|
|
1370
|
+
extensionNote?: string | null;
|
|
1371
|
+
assigneeEmployeeId?: string | null;
|
|
1372
|
+
assigneeFullName?: string | null;
|
|
1373
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1374
|
+
oppositionDueAt?: string | null;
|
|
1375
|
+
thirdPartyOpposed?: boolean | null;
|
|
1376
|
+
resolution?: AccessRequestResolution | null;
|
|
1377
|
+
resolvedAt?: string | null;
|
|
1378
|
+
denialGrounds: string[];
|
|
1379
|
+
derivedTo?: string | null;
|
|
1380
|
+
resolutionNote?: string | null;
|
|
1381
|
+
responseDocument?: DocumentEntity | null;
|
|
1382
|
+
responseDocumentId?: string | null;
|
|
1383
|
+
appealedAt?: string | null;
|
|
1384
|
+
appealNote?: string | null;
|
|
1385
|
+
createdByEmployeeId: string;
|
|
1386
|
+
createdByFullName: string;
|
|
1387
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1388
|
+
events?: AccessRequestEventEntity[];
|
|
1389
|
+
createdAt: string;
|
|
1390
|
+
updatedAt: string;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
export interface AccessRequestDocumentEntity {
|
|
1394
|
+
accessRequest?: AccessRequestEntity;
|
|
1395
|
+
accessRequestId: string;
|
|
1396
|
+
document?: DocumentEntity;
|
|
1397
|
+
documentId: string;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
export interface AccessRequestEventEntity {
|
|
1401
|
+
id: string;
|
|
1402
|
+
action: AccessRequestEventAction;
|
|
1403
|
+
note?: string | null;
|
|
1404
|
+
employeeId?: string | null;
|
|
1405
|
+
employeeFullName: string;
|
|
1406
|
+
accessRequest?: AccessRequestEntity;
|
|
1407
|
+
accessRequestId: string;
|
|
1408
|
+
createdAt: string;
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
export interface DataTreatmentEntity {
|
|
1412
|
+
id: string;
|
|
1413
|
+
name: string;
|
|
1414
|
+
purpose: string;
|
|
1415
|
+
legalBasis: DataLegalBasis;
|
|
1416
|
+
legalBasisDetail?: string | null;
|
|
1417
|
+
dataCategories: string[];
|
|
1418
|
+
sensitiveData: boolean;
|
|
1419
|
+
dataSubjects: string;
|
|
1420
|
+
recipients?: string | null;
|
|
1421
|
+
source?: string | null;
|
|
1422
|
+
retention?: string | null;
|
|
1423
|
+
securityMeasures?: string | null;
|
|
1424
|
+
internationalTransfer?: string | null;
|
|
1425
|
+
responsibleUnit?: string | null;
|
|
1426
|
+
published: boolean;
|
|
1427
|
+
requests?: DataRightsRequestEntity[];
|
|
1428
|
+
breaches?: DataBreachEntity[];
|
|
1429
|
+
enabled: boolean;
|
|
1430
|
+
deleted: boolean;
|
|
1431
|
+
createdAt: string;
|
|
1432
|
+
updatedAt: string;
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
export interface DataRightsRequestEntity {
|
|
1436
|
+
id: string;
|
|
1437
|
+
number: number;
|
|
1438
|
+
year: number;
|
|
1439
|
+
channel: DataRightsChannel;
|
|
1440
|
+
receivedAt: string;
|
|
1441
|
+
rights: DataRight[];
|
|
1442
|
+
requesterName: string;
|
|
1443
|
+
requesterRut?: string | null;
|
|
1444
|
+
requesterEmail?: string | null;
|
|
1445
|
+
requesterAddress?: string | null;
|
|
1446
|
+
representativeName?: string | null;
|
|
1447
|
+
identityVerifiedAt?: string | null;
|
|
1448
|
+
identityNote?: string | null;
|
|
1449
|
+
requestText: string;
|
|
1450
|
+
treatment?: DataTreatmentEntity | null;
|
|
1451
|
+
treatmentId?: string | null;
|
|
1452
|
+
status: DataRightsRequestStatus;
|
|
1453
|
+
acknowledgedAt?: string | null;
|
|
1454
|
+
dueAt: string;
|
|
1455
|
+
extendedAt?: string | null;
|
|
1456
|
+
extensionNote?: string | null;
|
|
1457
|
+
blockingRequested: boolean;
|
|
1458
|
+
blockingReason?: string | null;
|
|
1459
|
+
blockingDueAt?: string | null;
|
|
1460
|
+
blockingGranted?: boolean | null;
|
|
1461
|
+
blockingResolvedAt?: string | null;
|
|
1462
|
+
blockingNote?: string | null;
|
|
1463
|
+
blockingLiftedAt?: string | null;
|
|
1464
|
+
blockingLiftNote?: string | null;
|
|
1465
|
+
assigneeEmployeeId?: string | null;
|
|
1466
|
+
assigneeFullName?: string | null;
|
|
1467
|
+
resolution?: DataRightsResolution | null;
|
|
1468
|
+
resolvedAt?: string | null;
|
|
1469
|
+
denialGrounds: string[];
|
|
1470
|
+
resolutionNote?: string | null;
|
|
1471
|
+
responseDocument?: DocumentEntity | null;
|
|
1472
|
+
responseDocumentId?: string | null;
|
|
1473
|
+
responseSentAt?: string | null;
|
|
1474
|
+
responseSentTo?: string | null;
|
|
1475
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1476
|
+
complaintAt?: string | null;
|
|
1477
|
+
complaintNote?: string | null;
|
|
1478
|
+
createdByEmployeeId: string;
|
|
1479
|
+
createdByFullName: string;
|
|
1480
|
+
events?: DataRightsEventEntity[];
|
|
1481
|
+
createdAt: string;
|
|
1482
|
+
updatedAt: string;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
export interface DataRightsEventEntity {
|
|
1486
|
+
id: string;
|
|
1487
|
+
action: DataRightsEventAction;
|
|
1488
|
+
note?: string | null;
|
|
1489
|
+
employeeId?: string | null;
|
|
1490
|
+
employeeFullName: string;
|
|
1491
|
+
request?: DataRightsRequestEntity;
|
|
1492
|
+
requestId: string;
|
|
1493
|
+
createdAt: string;
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
export interface DataBreachEntity {
|
|
1497
|
+
id: string;
|
|
1498
|
+
number: number;
|
|
1499
|
+
year: number;
|
|
1500
|
+
detectedAt: string;
|
|
1501
|
+
occurredAt?: string | null;
|
|
1502
|
+
kinds: DataBreachKind[];
|
|
1503
|
+
description: string;
|
|
1504
|
+
effects?: string | null;
|
|
1505
|
+
dataCategories: string[];
|
|
1506
|
+
affectedCount?: number | null;
|
|
1507
|
+
measures?: string | null;
|
|
1508
|
+
sensitiveData: boolean;
|
|
1509
|
+
minorsData: boolean;
|
|
1510
|
+
financialData: boolean;
|
|
1511
|
+
riskToRights: boolean;
|
|
1512
|
+
treatment?: DataTreatmentEntity | null;
|
|
1513
|
+
treatmentId?: string | null;
|
|
1514
|
+
status: DataBreachStatus;
|
|
1515
|
+
agencyReportedAt?: string | null;
|
|
1516
|
+
agencyReportNote?: string | null;
|
|
1517
|
+
holdersNotifiedAt?: string | null;
|
|
1518
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1519
|
+
holdersNoticeNote?: string | null;
|
|
1520
|
+
closedAt?: string | null;
|
|
1521
|
+
closeNote?: string | null;
|
|
1522
|
+
createdByEmployeeId: string;
|
|
1523
|
+
createdByFullName: string;
|
|
1524
|
+
events?: DataBreachEventEntity[];
|
|
1525
|
+
createdAt: string;
|
|
1526
|
+
updatedAt: string;
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
export interface DataBreachEventEntity {
|
|
1530
|
+
id: string;
|
|
1531
|
+
action: DataBreachEventAction;
|
|
1532
|
+
note?: string | null;
|
|
1533
|
+
employeeId?: string | null;
|
|
1534
|
+
employeeFullName: string;
|
|
1535
|
+
breach?: DataBreachEntity;
|
|
1536
|
+
breachId: string;
|
|
1537
|
+
createdAt: string;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
export interface DeskFileEntity {
|
|
1541
|
+
id: string;
|
|
1542
|
+
ownerEmployeeId: string;
|
|
1543
|
+
fileId: string;
|
|
1544
|
+
fileName: string;
|
|
1545
|
+
size: number;
|
|
1546
|
+
sha256: string;
|
|
1547
|
+
source: DeskFileSource;
|
|
1548
|
+
description?: string | null;
|
|
1549
|
+
classifiedAt?: string | null;
|
|
1550
|
+
target?: DeskFileTarget | null;
|
|
1551
|
+
targetId?: string | null;
|
|
1552
|
+
targetLabel?: string | null;
|
|
1553
|
+
removedAt?: string | null;
|
|
1554
|
+
mailIntake?: MailIntakeEntity | null;
|
|
1555
|
+
mailIntakeId?: string | null;
|
|
1556
|
+
createdAt: string;
|
|
1557
|
+
updatedAt: string;
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
export interface MailIntakeEntity {
|
|
1561
|
+
id: string;
|
|
1562
|
+
sha256: string;
|
|
1563
|
+
messageId?: string | null;
|
|
1564
|
+
fromAddress: string;
|
|
1565
|
+
fromName?: string | null;
|
|
1566
|
+
subject: string;
|
|
1567
|
+
textPreview?: string | null;
|
|
1568
|
+
sentAt?: string | null;
|
|
1569
|
+
emlFileId: string;
|
|
1570
|
+
emlFileName: string;
|
|
1571
|
+
size: number;
|
|
1572
|
+
attachments: JsonValue;
|
|
1573
|
+
authentication: MailAuthentication;
|
|
1574
|
+
authDetail?: string | null;
|
|
1575
|
+
status: MailIntakeStatus;
|
|
1576
|
+
resolvedAt?: string | null;
|
|
1577
|
+
resolvedByEmployeeId?: string | null;
|
|
1578
|
+
deskFiles?: DeskFileEntity[];
|
|
1579
|
+
createdAt: string;
|
|
1580
|
+
updatedAt: string;
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
export interface PushSubscriptionEntity {
|
|
1584
|
+
id: string;
|
|
1585
|
+
employeeId: string;
|
|
1586
|
+
endpoint: string;
|
|
1587
|
+
p256dh: string;
|
|
1588
|
+
auth: string;
|
|
1589
|
+
userAgent?: string | null;
|
|
1590
|
+
lastSuccessAt?: string | null;
|
|
1591
|
+
failures: number;
|
|
1592
|
+
createdAt: string;
|
|
1593
|
+
updatedAt: string;
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
export interface DocumentVersionEntity {
|
|
1597
|
+
id: string;
|
|
1598
|
+
documentId: string;
|
|
1599
|
+
document?: DocumentEntity;
|
|
1600
|
+
number: number;
|
|
1601
|
+
subject: string;
|
|
1602
|
+
fileId: string;
|
|
1603
|
+
fileName: string;
|
|
1604
|
+
sha256?: string | null;
|
|
1605
|
+
composition?: JsonValue | null;
|
|
1606
|
+
note?: string | null;
|
|
1607
|
+
status: DocumentStatus;
|
|
1608
|
+
createdByEmployeeId: string;
|
|
1609
|
+
createdByFullName: string;
|
|
1610
|
+
createdAt: string;
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
export interface DocumentCommentEntity {
|
|
1614
|
+
id: string;
|
|
1615
|
+
documentId: string;
|
|
1616
|
+
document?: DocumentEntity;
|
|
1617
|
+
versionNumber: number;
|
|
1618
|
+
section?: string | null;
|
|
1619
|
+
quote?: string | null;
|
|
1620
|
+
text: string;
|
|
1621
|
+
authorEmployeeId: string;
|
|
1622
|
+
authorFullName: string;
|
|
1623
|
+
authorRole: string;
|
|
1624
|
+
resolvedAt?: string | null;
|
|
1625
|
+
resolvedByFullName?: string | null;
|
|
1626
|
+
resolutionNote?: string | null;
|
|
1627
|
+
createdAt: string;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
export interface DraftingRequestEntity {
|
|
1631
|
+
id: string;
|
|
1632
|
+
number: number;
|
|
1633
|
+
year: number;
|
|
1634
|
+
subject: string;
|
|
1635
|
+
details: string;
|
|
1636
|
+
documentTypeId?: string | null;
|
|
1637
|
+
documentType?: DocumentTypeEntity | null;
|
|
1638
|
+
dueAt?: string | null;
|
|
1639
|
+
requesterEmployeeId: string;
|
|
1640
|
+
requesterFullName: string;
|
|
1641
|
+
requesterAreaName?: string | null;
|
|
1642
|
+
targetDirectorateCode: number;
|
|
1643
|
+
targetDirectorateName: string;
|
|
1644
|
+
status: DraftingRequestStatus;
|
|
1645
|
+
takenByEmployeeId?: string | null;
|
|
1646
|
+
takenByFullName?: string | null;
|
|
1647
|
+
takenAt?: string | null;
|
|
1648
|
+
closedAt?: string | null;
|
|
1649
|
+
closingNote?: string | null;
|
|
1650
|
+
documentId?: string | null;
|
|
1651
|
+
document?: DocumentEntity | null;
|
|
1652
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1653
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1654
|
+
events?: DraftingRequestEventEntity[];
|
|
1655
|
+
createdAt: string;
|
|
1656
|
+
updatedAt: string;
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
export interface DraftingRequestRecipientEntity {
|
|
1660
|
+
id: string;
|
|
1661
|
+
requestId: string;
|
|
1662
|
+
request?: DraftingRequestEntity;
|
|
1663
|
+
employeeId: string;
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1667
|
+
id: string;
|
|
1668
|
+
requestId: string;
|
|
1669
|
+
request?: DraftingRequestEntity;
|
|
1670
|
+
fileId: string;
|
|
1671
|
+
name: string;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
export interface DraftingRequestEventEntity {
|
|
1675
|
+
id: string;
|
|
1676
|
+
requestId: string;
|
|
1677
|
+
request?: DraftingRequestEntity;
|
|
1678
|
+
action: DraftingRequestEventAction;
|
|
1679
|
+
note?: string | null;
|
|
1680
|
+
employeeId: string;
|
|
1681
|
+
employeeFullName: string;
|
|
1682
|
+
createdAt: string;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
export interface DirectorateReviewerEntity {
|
|
1686
|
+
id: string;
|
|
1687
|
+
directorateCode: number;
|
|
1688
|
+
directorateName: string;
|
|
1689
|
+
employeeId: string;
|
|
1690
|
+
fullName: string;
|
|
1691
|
+
createdAt: string;
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
export interface DocumentInternalNoteEntity {
|
|
1695
|
+
id: string;
|
|
1696
|
+
documentId: string;
|
|
1697
|
+
document?: DocumentEntity;
|
|
1698
|
+
directorateCode: number;
|
|
1699
|
+
directorateName: string;
|
|
1700
|
+
headEmployeeIds: string[];
|
|
1701
|
+
versionNumber: number;
|
|
1702
|
+
authorEmployeeId: string;
|
|
1703
|
+
authorFullName: string;
|
|
1704
|
+
authorRole: string;
|
|
1705
|
+
text: string;
|
|
1706
|
+
createdAt: string;
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
type JsonValue = string | number | boolean | { [key in string]?: JsonValue } | Array<JsonValue> | null;
|