@muni-sanfer/types-gestor-documental 0.0.1-beta.3 → 0.0.1-beta.31
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 +1012 -1
- package/dist/base/entities.js +263 -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 +262 -0
- package/dist/contracts/caseFile.contract.js +26 -0
- package/dist/contracts/dataProtection.contract.d.ts +251 -0
- package/dist/contracts/dataProtection.contract.js +23 -0
- package/dist/contracts/desk.contract.d.ts +86 -0
- package/dist/contracts/desk.contract.js +13 -0
- package/dist/contracts/document.contract.d.ts +189 -2
- package/dist/contracts/document.contract.js +13 -0
- package/dist/contracts/documentType.contract.d.ts +11 -1
- package/dist/contracts/holiday.contract.d.ts +30 -0
- package/dist/contracts/holiday.contract.js +9 -0
- package/dist/contracts/index.d.ts +239 -1
- package/dist/contracts/index.js +60 -0
- package/dist/contracts/indicators.contract.d.ts +103 -0
- package/dist/contracts/indicators.contract.js +15 -0
- package/dist/contracts/issuingEntity.contract.d.ts +52 -0
- package/dist/contracts/issuingEntity.contract.js +11 -0
- package/dist/contracts/partsOffice.contract.d.ts +263 -0
- package/dist/contracts/partsOffice.contract.js +27 -0
- package/dist/contracts/procedure.contract.d.ts +50 -0
- package/dist/contracts/procedure.contract.js +11 -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 +27 -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 +302 -0
- package/dist/entities/caseFile/caseFile.entity.js +2 -0
- package/dist/entities/caseFile/index.d.ts +1 -0
- package/dist/entities/caseFile/index.js +17 -0
- package/dist/entities/dataProtection/dataProtection.entity.d.ts +174 -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 +21 -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 +300 -1
- package/dist/entities/documentType/documentType.entity.d.ts +23 -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 +20 -0
- package/dist/entities/index.js +20 -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/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/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/procedure/index.d.ts +1 -0
- package/dist/entities/procedure/index.js +17 -0
- package/dist/entities/procedure/procedure.entity.d.ts +20 -0
- package/dist/entities/procedure/procedure.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 +49 -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 +1199 -1
- 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 +228 -0
- package/src/contracts/dataProtection.contract.ts +195 -0
- package/src/contracts/desk.contract.ts +68 -0
- package/src/contracts/document.contract.ts +174 -2
- package/src/contracts/documentType.contract.ts +25 -3
- package/src/contracts/holiday.contract.ts +16 -0
- package/src/contracts/index.ts +82 -1
- package/src/contracts/indicators.contract.ts +80 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/partsOffice.contract.ts +199 -0
- package/src/contracts/procedure.contract.ts +53 -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 +30 -0
- package/src/entities/audit/index.ts +1 -0
- package/src/entities/caseFile/caseFile.entity.ts +326 -0
- package/src/entities/caseFile/index.ts +1 -0
- package/src/entities/dataProtection/dataProtection.entity.ts +185 -0
- package/src/entities/dataProtection/index.ts +1 -0
- package/src/entities/desk/desk.entity.ts +24 -0
- package/src/entities/desk/index.ts +1 -0
- package/src/entities/document/document.entity.ts +301 -0
- package/src/entities/documentType/documentType.entity.ts +16 -0
- package/src/entities/holiday/holiday.entity.ts +11 -0
- package/src/entities/holiday/index.ts +1 -0
- package/src/entities/index.ts +20 -0
- package/src/entities/indicators/index.ts +1 -0
- package/src/entities/indicators/indicators.entity.ts +157 -0
- package/src/entities/issuingEntity/index.ts +1 -0
- package/src/entities/issuingEntity/issuingEntity.entity.ts +24 -0
- package/src/entities/partsOffice/index.ts +1 -0
- package/src/entities/partsOffice/partsOffice.entity.ts +138 -0
- package/src/entities/procedure/index.ts +1 -0
- package/src/entities/procedure/procedure.entity.ts +24 -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 +51 -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,18 @@ 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';
|
|
64
75
|
|
|
65
76
|
export const DocumentTrackingAction = {
|
|
66
77
|
Created: 'Created',
|
|
@@ -77,8 +88,52 @@ export const DocumentTrackingAction = {
|
|
|
77
88
|
Delivered: 'Delivered',
|
|
78
89
|
Derived: 'Derived',
|
|
79
90
|
Reassigned: 'Reassigned',
|
|
91
|
+
Dispatched: 'Dispatched',
|
|
92
|
+
DispatchReturned: 'DispatchReturned',
|
|
93
|
+
DispatchedByContingency: 'DispatchedByContingency',
|
|
94
|
+
Received: 'Received',
|
|
95
|
+
EmailCopySent: 'EmailCopySent',
|
|
96
|
+
EmailCopyOpened: 'EmailCopyOpened',
|
|
97
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
98
|
+
TransparencyRedacted: 'TransparencyRedacted',
|
|
99
|
+
TransparencyPublished: 'TransparencyPublished',
|
|
100
|
+
TransparencyExcluded: 'TransparencyExcluded',
|
|
101
|
+
TransparencyWithdrawn: 'TransparencyWithdrawn',
|
|
80
102
|
} satisfies Record<string, DocumentTrackingAction>;
|
|
81
103
|
|
|
104
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
105
|
+
|
|
106
|
+
export const DocumentOrigin = {
|
|
107
|
+
Internal: 'Internal',
|
|
108
|
+
DocDigital: 'DocDigital',
|
|
109
|
+
Manual: 'Manual',
|
|
110
|
+
} satisfies Record<string, DocumentOrigin>;
|
|
111
|
+
|
|
112
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
113
|
+
|
|
114
|
+
export const CommunicationMeans = {
|
|
115
|
+
Paper: 'Paper',
|
|
116
|
+
Email: 'Email',
|
|
117
|
+
Courier: 'Courier',
|
|
118
|
+
Other: 'Other',
|
|
119
|
+
} satisfies Record<string, CommunicationMeans>;
|
|
120
|
+
|
|
121
|
+
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
122
|
+
|
|
123
|
+
export const DocumentDispatchStatus = {
|
|
124
|
+
Pending: 'Pending',
|
|
125
|
+
Dispatched: 'Dispatched',
|
|
126
|
+
Returned: 'Returned',
|
|
127
|
+
} satisfies Record<string, DocumentDispatchStatus>;
|
|
128
|
+
|
|
129
|
+
export type DocDigitalInboundStatus = 'Pending' | 'Registered' | 'Returned';
|
|
130
|
+
|
|
131
|
+
export const DocDigitalInboundStatus = {
|
|
132
|
+
Pending: 'Pending',
|
|
133
|
+
Registered: 'Registered',
|
|
134
|
+
Returned: 'Returned',
|
|
135
|
+
} satisfies Record<string, DocDigitalInboundStatus>;
|
|
136
|
+
|
|
82
137
|
export type DocumentFlowStepType = 'Employee' | 'DirectorateHead';
|
|
83
138
|
|
|
84
139
|
export const DocumentFlowStepType = {
|
|
@@ -117,6 +172,400 @@ export const DocumentInstruction = {
|
|
|
117
172
|
Archive: 'Archive',
|
|
118
173
|
} satisfies Record<string, DocumentInstruction>;
|
|
119
174
|
|
|
175
|
+
export type CaseFileStatus = 'Open' | 'Closed';
|
|
176
|
+
|
|
177
|
+
export const CaseFileStatus = {
|
|
178
|
+
Open: 'Open',
|
|
179
|
+
Closed: 'Closed',
|
|
180
|
+
} satisfies Record<string, CaseFileStatus>;
|
|
181
|
+
|
|
182
|
+
export type CaseFileIncorporationMechanism =
|
|
183
|
+
'Manual' | 'WebService' | 'Mixed' | 'CitizenRepository' | 'Interoperability';
|
|
184
|
+
|
|
185
|
+
export const CaseFileIncorporationMechanism = {
|
|
186
|
+
Manual: 'Manual',
|
|
187
|
+
WebService: 'WebService',
|
|
188
|
+
Mixed: 'Mixed',
|
|
189
|
+
CitizenRepository: 'CitizenRepository',
|
|
190
|
+
Interoperability: 'Interoperability',
|
|
191
|
+
} satisfies Record<string, CaseFileIncorporationMechanism>;
|
|
192
|
+
|
|
193
|
+
export type CaseFileActuationType =
|
|
194
|
+
| 'AdministrativeAct'
|
|
195
|
+
| 'Notification'
|
|
196
|
+
| 'OfficialCommunication'
|
|
197
|
+
| 'Interoperability'
|
|
198
|
+
| 'RequestReception'
|
|
199
|
+
| 'Subfolder'
|
|
200
|
+
| 'PowerRegistration';
|
|
201
|
+
|
|
202
|
+
export const CaseFileActuationType = {
|
|
203
|
+
AdministrativeAct: 'AdministrativeAct',
|
|
204
|
+
Notification: 'Notification',
|
|
205
|
+
OfficialCommunication: 'OfficialCommunication',
|
|
206
|
+
Interoperability: 'Interoperability',
|
|
207
|
+
RequestReception: 'RequestReception',
|
|
208
|
+
Subfolder: 'Subfolder',
|
|
209
|
+
PowerRegistration: 'PowerRegistration',
|
|
210
|
+
} satisfies Record<string, CaseFileActuationType>;
|
|
211
|
+
|
|
212
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
213
|
+
|
|
214
|
+
export const CaseFileEntryKind = {
|
|
215
|
+
Document: 'Document',
|
|
216
|
+
File: 'File',
|
|
217
|
+
CaseFile: 'CaseFile',
|
|
218
|
+
Physical: 'Physical',
|
|
219
|
+
} satisfies Record<string, CaseFileEntryKind>;
|
|
220
|
+
|
|
221
|
+
export type CaseFileActorRelation =
|
|
222
|
+
'Responsible' | 'Interested' | 'Author' | 'Referred' | 'Recipient' | 'MinisterOfFaith';
|
|
223
|
+
|
|
224
|
+
export const CaseFileActorRelation = {
|
|
225
|
+
Responsible: 'Responsible',
|
|
226
|
+
Interested: 'Interested',
|
|
227
|
+
Author: 'Author',
|
|
228
|
+
Referred: 'Referred',
|
|
229
|
+
Recipient: 'Recipient',
|
|
230
|
+
MinisterOfFaith: 'MinisterOfFaith',
|
|
231
|
+
} satisfies Record<string, CaseFileActorRelation>;
|
|
232
|
+
|
|
233
|
+
export type CaseFileActorType = 'Citizen' | 'Foreigner' | 'PrivateInstitution' | 'Official';
|
|
234
|
+
|
|
235
|
+
export const CaseFileActorType = {
|
|
236
|
+
Citizen: 'Citizen',
|
|
237
|
+
Foreigner: 'Foreigner',
|
|
238
|
+
PrivateInstitution: 'PrivateInstitution',
|
|
239
|
+
Official: 'Official',
|
|
240
|
+
} satisfies Record<string, CaseFileActorType>;
|
|
241
|
+
|
|
242
|
+
export type CaseFileTrackingAction =
|
|
243
|
+
| 'Created'
|
|
244
|
+
| 'Updated'
|
|
245
|
+
| 'EntryAdded'
|
|
246
|
+
| 'EntryVoided'
|
|
247
|
+
| 'EntryMoved'
|
|
248
|
+
| 'ParticipantAdded'
|
|
249
|
+
| 'ParticipantRemoved'
|
|
250
|
+
| 'Closed'
|
|
251
|
+
| 'Exported'
|
|
252
|
+
| 'ShareLinkCreated'
|
|
253
|
+
| 'ShareLinkRevoked'
|
|
254
|
+
| 'DispositionRecorded';
|
|
255
|
+
|
|
256
|
+
export const CaseFileTrackingAction = {
|
|
257
|
+
Created: 'Created',
|
|
258
|
+
Updated: 'Updated',
|
|
259
|
+
EntryAdded: 'EntryAdded',
|
|
260
|
+
EntryVoided: 'EntryVoided',
|
|
261
|
+
EntryMoved: 'EntryMoved',
|
|
262
|
+
ParticipantAdded: 'ParticipantAdded',
|
|
263
|
+
ParticipantRemoved: 'ParticipantRemoved',
|
|
264
|
+
Closed: 'Closed',
|
|
265
|
+
Exported: 'Exported',
|
|
266
|
+
ShareLinkCreated: 'ShareLinkCreated',
|
|
267
|
+
ShareLinkRevoked: 'ShareLinkRevoked',
|
|
268
|
+
DispositionRecorded: 'DispositionRecorded',
|
|
269
|
+
} satisfies Record<string, CaseFileTrackingAction>;
|
|
270
|
+
|
|
271
|
+
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
272
|
+
|
|
273
|
+
export const CaseFileAccessAction = {
|
|
274
|
+
Viewed: 'Viewed',
|
|
275
|
+
FileDownloaded: 'FileDownloaded',
|
|
276
|
+
Exported: 'Exported',
|
|
277
|
+
} satisfies Record<string, CaseFileAccessAction>;
|
|
278
|
+
|
|
279
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
280
|
+
|
|
281
|
+
export const ScanSessionStatus = {
|
|
282
|
+
Open: 'Open',
|
|
283
|
+
Ready: 'Ready',
|
|
284
|
+
} satisfies Record<string, ScanSessionStatus>;
|
|
285
|
+
|
|
286
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
287
|
+
|
|
288
|
+
export const TextSnippetSection = {
|
|
289
|
+
Vistos: 'Vistos',
|
|
290
|
+
Considerando: 'Considerando',
|
|
291
|
+
Resolutive: 'Resolutive',
|
|
292
|
+
Body: 'Body',
|
|
293
|
+
Closing: 'Closing',
|
|
294
|
+
} satisfies Record<string, TextSnippetSection>;
|
|
295
|
+
|
|
296
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
297
|
+
|
|
298
|
+
export const WorkFolderItemKind = {
|
|
299
|
+
Document: 'Document',
|
|
300
|
+
File: 'File',
|
|
301
|
+
} satisfies Record<string, WorkFolderItemKind>;
|
|
302
|
+
|
|
303
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
304
|
+
|
|
305
|
+
export const ServiceOutageKind = {
|
|
306
|
+
Unplanned: 'Unplanned',
|
|
307
|
+
Planned: 'Planned',
|
|
308
|
+
} satisfies Record<string, ServiceOutageKind>;
|
|
309
|
+
|
|
310
|
+
export type QualityMetricKey =
|
|
311
|
+
| 'Effectiveness'
|
|
312
|
+
| 'Efficiency'
|
|
313
|
+
| 'Availability'
|
|
314
|
+
| 'ResponseTime'
|
|
315
|
+
| 'Accessibility'
|
|
316
|
+
| 'FunctionalCompleteness'
|
|
317
|
+
| 'Interoperability';
|
|
318
|
+
|
|
319
|
+
export const QualityMetricKey = {
|
|
320
|
+
Effectiveness: 'Effectiveness',
|
|
321
|
+
Efficiency: 'Efficiency',
|
|
322
|
+
Availability: 'Availability',
|
|
323
|
+
ResponseTime: 'ResponseTime',
|
|
324
|
+
Accessibility: 'Accessibility',
|
|
325
|
+
FunctionalCompleteness: 'FunctionalCompleteness',
|
|
326
|
+
Interoperability: 'Interoperability',
|
|
327
|
+
} satisfies Record<string, QualityMetricKey>;
|
|
328
|
+
|
|
329
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
330
|
+
|
|
331
|
+
export const DocumentAccessAction = {
|
|
332
|
+
Viewed: 'Viewed',
|
|
333
|
+
FileDownloaded: 'FileDownloaded',
|
|
334
|
+
TrailExported: 'TrailExported',
|
|
335
|
+
} satisfies Record<string, DocumentAccessAction>;
|
|
336
|
+
|
|
337
|
+
export type AuditEntity =
|
|
338
|
+
| 'DocumentType'
|
|
339
|
+
| 'IssuingEntity'
|
|
340
|
+
| 'ArchivalSeries'
|
|
341
|
+
| 'TextSnippet'
|
|
342
|
+
| 'Holiday'
|
|
343
|
+
| 'Procedure'
|
|
344
|
+
| 'QualityMetric'
|
|
345
|
+
| 'ServiceOutage'
|
|
346
|
+
| 'Repository'
|
|
347
|
+
| 'DataTreatment';
|
|
348
|
+
|
|
349
|
+
export const AuditEntity = {
|
|
350
|
+
DocumentType: 'DocumentType',
|
|
351
|
+
IssuingEntity: 'IssuingEntity',
|
|
352
|
+
ArchivalSeries: 'ArchivalSeries',
|
|
353
|
+
TextSnippet: 'TextSnippet',
|
|
354
|
+
Holiday: 'Holiday',
|
|
355
|
+
Procedure: 'Procedure',
|
|
356
|
+
QualityMetric: 'QualityMetric',
|
|
357
|
+
ServiceOutage: 'ServiceOutage',
|
|
358
|
+
Repository: 'Repository',
|
|
359
|
+
DataTreatment: 'DataTreatment',
|
|
360
|
+
} satisfies Record<string, AuditEntity>;
|
|
361
|
+
|
|
362
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
363
|
+
|
|
364
|
+
export const AuditAction = {
|
|
365
|
+
Created: 'Created',
|
|
366
|
+
Updated: 'Updated',
|
|
367
|
+
Enabled: 'Enabled',
|
|
368
|
+
Disabled: 'Disabled',
|
|
369
|
+
Removed: 'Removed',
|
|
370
|
+
Exported: 'Exported',
|
|
371
|
+
} satisfies Record<string, AuditAction>;
|
|
372
|
+
|
|
373
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
374
|
+
|
|
375
|
+
export const FinalDisposition = {
|
|
376
|
+
Permanent: 'Permanent',
|
|
377
|
+
Eliminate: 'Eliminate',
|
|
378
|
+
Select: 'Select',
|
|
379
|
+
} satisfies Record<string, FinalDisposition>;
|
|
380
|
+
|
|
381
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
382
|
+
|
|
383
|
+
export const DispositionKind = {
|
|
384
|
+
Transfer: 'Transfer',
|
|
385
|
+
Elimination: 'Elimination',
|
|
386
|
+
} satisfies Record<string, DispositionKind>;
|
|
387
|
+
|
|
388
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
389
|
+
|
|
390
|
+
export const AccessRequestChannel = {
|
|
391
|
+
Portal: 'Portal',
|
|
392
|
+
Email: 'Email',
|
|
393
|
+
InPerson: 'InPerson',
|
|
394
|
+
Letter: 'Letter',
|
|
395
|
+
} satisfies Record<string, AccessRequestChannel>;
|
|
396
|
+
|
|
397
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
398
|
+
|
|
399
|
+
export const AccessRequestStatus = {
|
|
400
|
+
Received: 'Received',
|
|
401
|
+
InCorrection: 'InCorrection',
|
|
402
|
+
InProgress: 'InProgress',
|
|
403
|
+
Resolved: 'Resolved',
|
|
404
|
+
} satisfies Record<string, AccessRequestStatus>;
|
|
405
|
+
|
|
406
|
+
export type AccessRequestResolution =
|
|
407
|
+
'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
408
|
+
|
|
409
|
+
export const AccessRequestResolution = {
|
|
410
|
+
Delivered: 'Delivered',
|
|
411
|
+
PartiallyDelivered: 'PartiallyDelivered',
|
|
412
|
+
Denied: 'Denied',
|
|
413
|
+
Derived: 'Derived',
|
|
414
|
+
NonExistent: 'NonExistent',
|
|
415
|
+
Withdrawn: 'Withdrawn',
|
|
416
|
+
} satisfies Record<string, AccessRequestResolution>;
|
|
417
|
+
|
|
418
|
+
export type AccessRequestEventAction =
|
|
419
|
+
| 'Received'
|
|
420
|
+
| 'Updated'
|
|
421
|
+
| 'CorrectionRequested'
|
|
422
|
+
| 'Corrected'
|
|
423
|
+
| 'Assigned'
|
|
424
|
+
| 'ThirdPartyNotified'
|
|
425
|
+
| 'OppositionRegistered'
|
|
426
|
+
| 'Extended'
|
|
427
|
+
| 'Resolved'
|
|
428
|
+
| 'AppealRegistered';
|
|
429
|
+
|
|
430
|
+
export const AccessRequestEventAction = {
|
|
431
|
+
Received: 'Received',
|
|
432
|
+
Updated: 'Updated',
|
|
433
|
+
CorrectionRequested: 'CorrectionRequested',
|
|
434
|
+
Corrected: 'Corrected',
|
|
435
|
+
Assigned: 'Assigned',
|
|
436
|
+
ThirdPartyNotified: 'ThirdPartyNotified',
|
|
437
|
+
OppositionRegistered: 'OppositionRegistered',
|
|
438
|
+
Extended: 'Extended',
|
|
439
|
+
Resolved: 'Resolved',
|
|
440
|
+
AppealRegistered: 'AppealRegistered',
|
|
441
|
+
} satisfies Record<string, AccessRequestEventAction>;
|
|
442
|
+
|
|
443
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
444
|
+
|
|
445
|
+
export const TransparencyStatus = {
|
|
446
|
+
Published: 'Published',
|
|
447
|
+
Excluded: 'Excluded',
|
|
448
|
+
} satisfies Record<string, TransparencyStatus>;
|
|
449
|
+
|
|
450
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
451
|
+
|
|
452
|
+
export const DataLegalBasis = {
|
|
453
|
+
LegalFunction: 'LegalFunction',
|
|
454
|
+
LegalObligation: 'LegalObligation',
|
|
455
|
+
Consent: 'Consent',
|
|
456
|
+
Contract: 'Contract',
|
|
457
|
+
VitalInterest: 'VitalInterest',
|
|
458
|
+
} satisfies Record<string, DataLegalBasis>;
|
|
459
|
+
|
|
460
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
461
|
+
|
|
462
|
+
export const DataRight = {
|
|
463
|
+
Access: 'Access',
|
|
464
|
+
Rectification: 'Rectification',
|
|
465
|
+
Suppression: 'Suppression',
|
|
466
|
+
Opposition: 'Opposition',
|
|
467
|
+
Portability: 'Portability',
|
|
468
|
+
} satisfies Record<string, DataRight>;
|
|
469
|
+
|
|
470
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
471
|
+
|
|
472
|
+
export const DataRightsChannel = {
|
|
473
|
+
Email: 'Email',
|
|
474
|
+
WebForm: 'WebForm',
|
|
475
|
+
InPerson: 'InPerson',
|
|
476
|
+
Letter: 'Letter',
|
|
477
|
+
} satisfies Record<string, DataRightsChannel>;
|
|
478
|
+
|
|
479
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
480
|
+
|
|
481
|
+
export const DataRightsRequestStatus = {
|
|
482
|
+
Received: 'Received',
|
|
483
|
+
InProgress: 'InProgress',
|
|
484
|
+
Resolved: 'Resolved',
|
|
485
|
+
} satisfies Record<string, DataRightsRequestStatus>;
|
|
486
|
+
|
|
487
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
488
|
+
|
|
489
|
+
export const DataRightsResolution = {
|
|
490
|
+
Granted: 'Granted',
|
|
491
|
+
PartiallyGranted: 'PartiallyGranted',
|
|
492
|
+
Denied: 'Denied',
|
|
493
|
+
Withdrawn: 'Withdrawn',
|
|
494
|
+
} satisfies Record<string, DataRightsResolution>;
|
|
495
|
+
|
|
496
|
+
export type DataRightsEventAction =
|
|
497
|
+
| 'Received'
|
|
498
|
+
| 'Updated'
|
|
499
|
+
| 'Acknowledged'
|
|
500
|
+
| 'IdentityVerified'
|
|
501
|
+
| 'Assigned'
|
|
502
|
+
| 'BlockingResolved'
|
|
503
|
+
| 'Extended'
|
|
504
|
+
| 'Resolved'
|
|
505
|
+
| 'ResponseSent'
|
|
506
|
+
| 'ComplaintRegistered';
|
|
507
|
+
|
|
508
|
+
export const DataRightsEventAction = {
|
|
509
|
+
Received: 'Received',
|
|
510
|
+
Updated: 'Updated',
|
|
511
|
+
Acknowledged: 'Acknowledged',
|
|
512
|
+
IdentityVerified: 'IdentityVerified',
|
|
513
|
+
Assigned: 'Assigned',
|
|
514
|
+
BlockingResolved: 'BlockingResolved',
|
|
515
|
+
Extended: 'Extended',
|
|
516
|
+
Resolved: 'Resolved',
|
|
517
|
+
ResponseSent: 'ResponseSent',
|
|
518
|
+
ComplaintRegistered: 'ComplaintRegistered',
|
|
519
|
+
} satisfies Record<string, DataRightsEventAction>;
|
|
520
|
+
|
|
521
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
522
|
+
|
|
523
|
+
export const DataBreachKind = {
|
|
524
|
+
Destruction: 'Destruction',
|
|
525
|
+
Leak: 'Leak',
|
|
526
|
+
Loss: 'Loss',
|
|
527
|
+
Alteration: 'Alteration',
|
|
528
|
+
UnauthorizedAccess: 'UnauthorizedAccess',
|
|
529
|
+
} satisfies Record<string, DataBreachKind>;
|
|
530
|
+
|
|
531
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
532
|
+
|
|
533
|
+
export const DataBreachStatus = {
|
|
534
|
+
Open: 'Open',
|
|
535
|
+
Closed: 'Closed',
|
|
536
|
+
} satisfies Record<string, DataBreachStatus>;
|
|
537
|
+
|
|
538
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
539
|
+
|
|
540
|
+
export const DataBreachEventAction = {
|
|
541
|
+
Registered: 'Registered',
|
|
542
|
+
Updated: 'Updated',
|
|
543
|
+
AgencyReported: 'AgencyReported',
|
|
544
|
+
HoldersNotified: 'HoldersNotified',
|
|
545
|
+
Closed: 'Closed',
|
|
546
|
+
} satisfies Record<string, DataBreachEventAction>;
|
|
547
|
+
|
|
548
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
549
|
+
|
|
550
|
+
export const DataBreachNoticeMeans = {
|
|
551
|
+
Individual: 'Individual',
|
|
552
|
+
PublicNotice: 'PublicNotice',
|
|
553
|
+
} satisfies Record<string, DataBreachNoticeMeans>;
|
|
554
|
+
|
|
555
|
+
export type DeskFileSource = 'Upload' | 'Scan';
|
|
556
|
+
|
|
557
|
+
export const DeskFileSource = {
|
|
558
|
+
Upload: 'Upload',
|
|
559
|
+
Scan: 'Scan',
|
|
560
|
+
} satisfies Record<string, DeskFileSource>;
|
|
561
|
+
|
|
562
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
563
|
+
|
|
564
|
+
export const DeskFileTarget = {
|
|
565
|
+
Document: 'Document',
|
|
566
|
+
CaseFile: 'CaseFile',
|
|
567
|
+
} satisfies Record<string, DeskFileTarget>;
|
|
568
|
+
|
|
120
569
|
export interface DocumentTypeEntity {
|
|
121
570
|
id: string;
|
|
122
571
|
name: string;
|
|
@@ -126,11 +575,22 @@ export interface DocumentTypeEntity {
|
|
|
126
575
|
nextCorrelative: number;
|
|
127
576
|
correlativeYear?: number | null;
|
|
128
577
|
resetsYearly: boolean;
|
|
578
|
+
numbered: boolean;
|
|
579
|
+
activeTransparency: boolean;
|
|
580
|
+
transparencySection?: string | null;
|
|
129
581
|
directorateCodeReference?: number | null;
|
|
582
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
583
|
+
archivalSeriesId?: string | null;
|
|
584
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
585
|
+
issuingEntityId?: string | null;
|
|
586
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
587
|
+
sharesNumberingWithId?: string | null;
|
|
588
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
130
589
|
enabled: boolean;
|
|
131
590
|
documents?: DocumentEntity[];
|
|
132
591
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
133
592
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
593
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
134
594
|
deleted: boolean;
|
|
135
595
|
createdAt: string;
|
|
136
596
|
updatedAt: string;
|
|
@@ -142,6 +602,7 @@ export interface DocumentEntity {
|
|
|
142
602
|
keywords: string[];
|
|
143
603
|
accessLevel: DocumentAccessLevel;
|
|
144
604
|
hasSensitiveData: boolean;
|
|
605
|
+
restrictionEndsAt?: string | null;
|
|
145
606
|
status: DocumentStatus;
|
|
146
607
|
correlative?: number | null;
|
|
147
608
|
correlativeYear?: number | null;
|
|
@@ -151,6 +612,18 @@ export interface DocumentEntity {
|
|
|
151
612
|
annulledAt?: string | null;
|
|
152
613
|
annulmentReason?: string | null;
|
|
153
614
|
responseDueAt?: string | null;
|
|
615
|
+
origin: DocumentOrigin;
|
|
616
|
+
intakeNumber?: number | null;
|
|
617
|
+
intakeYear?: number | null;
|
|
618
|
+
externalFolio?: string | null;
|
|
619
|
+
externalSender?: string | null;
|
|
620
|
+
externalDate?: string | null;
|
|
621
|
+
intakeMeans?: CommunicationMeans | null;
|
|
622
|
+
composition?: JsonValue | null;
|
|
623
|
+
contentText?: string | null;
|
|
624
|
+
textExtractedAt?: string | null;
|
|
625
|
+
batch?: SignatureBatchEntity | null;
|
|
626
|
+
batchId?: string | null;
|
|
154
627
|
replyTo?: DocumentEntity | null;
|
|
155
628
|
replyToDocumentId?: string | null;
|
|
156
629
|
replies?: DocumentEntity[];
|
|
@@ -172,6 +645,40 @@ export interface DocumentEntity {
|
|
|
172
645
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
173
646
|
recipients?: DocumentRecipientEntity[];
|
|
174
647
|
deliveries?: DocumentDeliveryEntity[];
|
|
648
|
+
caseFileEntries?: CaseFileEntryEntity[];
|
|
649
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
650
|
+
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
651
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
652
|
+
accesses?: DocumentAccessEntity[];
|
|
653
|
+
disposition?: DispositionRecordEntity | null;
|
|
654
|
+
dispositionId?: string | null;
|
|
655
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
656
|
+
transparencyUrl?: string | null;
|
|
657
|
+
transparencyNote?: string | null;
|
|
658
|
+
transparencyAt?: string | null;
|
|
659
|
+
transparencyByFullName?: string | null;
|
|
660
|
+
redactedFileId?: string | null;
|
|
661
|
+
redactedFileName?: string | null;
|
|
662
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
663
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
664
|
+
versions?: DocumentVersionEntity[];
|
|
665
|
+
comments?: DocumentCommentEntity[];
|
|
666
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
667
|
+
dispatch?: DocumentDispatchEntity | null;
|
|
668
|
+
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
669
|
+
deleted: boolean;
|
|
670
|
+
createdAt: string;
|
|
671
|
+
updatedAt: string;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export interface SignatureBatchEntity {
|
|
675
|
+
id: string;
|
|
676
|
+
name: string;
|
|
677
|
+
createdByEmployeeId: string;
|
|
678
|
+
createdByFullName: string;
|
|
679
|
+
documentType?: DocumentTypeEntity;
|
|
680
|
+
documentTypeId: string;
|
|
681
|
+
documents?: DocumentEntity[];
|
|
175
682
|
deleted: boolean;
|
|
176
683
|
createdAt: string;
|
|
177
684
|
updatedAt: string;
|
|
@@ -181,6 +688,7 @@ export interface DocumentParticipantEntity {
|
|
|
181
688
|
id: string;
|
|
182
689
|
role: DocumentParticipantRole;
|
|
183
690
|
order: number;
|
|
691
|
+
stage: number;
|
|
184
692
|
status: DocumentParticipantStatus;
|
|
185
693
|
employeeId: string;
|
|
186
694
|
fullName: string;
|
|
@@ -210,6 +718,7 @@ export interface DocumentTrackingEntity {
|
|
|
210
718
|
id: string;
|
|
211
719
|
action: DocumentTrackingAction;
|
|
212
720
|
observation?: string | null;
|
|
721
|
+
sha256?: string | null;
|
|
213
722
|
employeeId?: string | null;
|
|
214
723
|
employeeFullName?: string | null;
|
|
215
724
|
document?: DocumentEntity;
|
|
@@ -260,6 +769,8 @@ export interface DocumentDeliveryEntity {
|
|
|
260
769
|
readAt?: string | null;
|
|
261
770
|
closedAt?: string | null;
|
|
262
771
|
closingNote?: string | null;
|
|
772
|
+
dueSoonRemindedAt?: string | null;
|
|
773
|
+
overdueRemindedAt?: string | null;
|
|
263
774
|
document?: DocumentEntity;
|
|
264
775
|
documentId: string;
|
|
265
776
|
createdAt: string;
|
|
@@ -274,7 +785,694 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
274
785
|
directorateCodeReference?: number | null;
|
|
275
786
|
name: string;
|
|
276
787
|
position?: string | null;
|
|
788
|
+
withPrevious: boolean;
|
|
277
789
|
documentType?: DocumentTypeEntity;
|
|
278
790
|
documentTypeId: string;
|
|
279
791
|
createdAt: string;
|
|
280
792
|
}
|
|
793
|
+
|
|
794
|
+
export interface ProcedureEntity {
|
|
795
|
+
id: string;
|
|
796
|
+
name: string;
|
|
797
|
+
cpatId?: string | null;
|
|
798
|
+
cpatCode?: string | null;
|
|
799
|
+
description?: string | null;
|
|
800
|
+
enabled: boolean;
|
|
801
|
+
caseFiles?: CaseFileEntity[];
|
|
802
|
+
deleted: boolean;
|
|
803
|
+
createdAt: string;
|
|
804
|
+
updatedAt: string;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export interface CaseFileSequenceEntity {
|
|
808
|
+
year: number;
|
|
809
|
+
next: number;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export interface CaseFileEntity {
|
|
813
|
+
id: string;
|
|
814
|
+
code: string;
|
|
815
|
+
year: number;
|
|
816
|
+
number: number;
|
|
817
|
+
title: string;
|
|
818
|
+
subject: string;
|
|
819
|
+
summary?: string | null;
|
|
820
|
+
status: CaseFileStatus;
|
|
821
|
+
accessLevel: DocumentAccessLevel;
|
|
822
|
+
hasSensitiveData: boolean;
|
|
823
|
+
restrictionEndsAt?: string | null;
|
|
824
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
825
|
+
archivalSeriesId?: string | null;
|
|
826
|
+
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
827
|
+
schemaVersion: string;
|
|
828
|
+
procedure?: ProcedureEntity;
|
|
829
|
+
procedureId: string;
|
|
830
|
+
responsibleEmployeeId: string;
|
|
831
|
+
responsibleFullName: string;
|
|
832
|
+
responsiblePosition?: string | null;
|
|
833
|
+
closedAt?: string | null;
|
|
834
|
+
disposition?: DispositionRecordEntity | null;
|
|
835
|
+
dispositionId?: string | null;
|
|
836
|
+
closedByEmployeeId?: string | null;
|
|
837
|
+
closedByFullName?: string | null;
|
|
838
|
+
closingNote?: string | null;
|
|
839
|
+
participants?: CaseFileParticipantEntity[];
|
|
840
|
+
actors?: CaseFileActorEntity[];
|
|
841
|
+
entries?: CaseFileEntryEntity[];
|
|
842
|
+
linkedFrom?: CaseFileEntryEntity[];
|
|
843
|
+
trackings?: CaseFileTrackingEntity[];
|
|
844
|
+
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
845
|
+
accesses?: CaseFileAccessEntity[];
|
|
846
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
847
|
+
createdAt: string;
|
|
848
|
+
updatedAt: string;
|
|
849
|
+
workFolder?: WorkFolderEntity | null;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
export interface CaseFileParticipantEntity {
|
|
853
|
+
id: string;
|
|
854
|
+
employeeId: string;
|
|
855
|
+
fullName: string;
|
|
856
|
+
position?: string | null;
|
|
857
|
+
addedByEmployeeId: string;
|
|
858
|
+
addedByFullName: string;
|
|
859
|
+
caseFile?: CaseFileEntity;
|
|
860
|
+
caseFileId: string;
|
|
861
|
+
createdAt: string;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export interface CaseFileActorEntity {
|
|
865
|
+
id: string;
|
|
866
|
+
relation: CaseFileActorRelation;
|
|
867
|
+
actorType: CaseFileActorType;
|
|
868
|
+
identifier?: string | null;
|
|
869
|
+
name: string;
|
|
870
|
+
caseFile?: CaseFileEntity;
|
|
871
|
+
caseFileId: string;
|
|
872
|
+
createdAt: string;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export interface CaseFileEntryEntity {
|
|
876
|
+
id: string;
|
|
877
|
+
sequence: number;
|
|
878
|
+
kind: CaseFileEntryKind;
|
|
879
|
+
actuationType: CaseFileActuationType;
|
|
880
|
+
title: string;
|
|
881
|
+
folder?: string | null;
|
|
882
|
+
document?: DocumentEntity | null;
|
|
883
|
+
documentId?: string | null;
|
|
884
|
+
fileId?: string | null;
|
|
885
|
+
fileName?: string | null;
|
|
886
|
+
documentTypeName?: string | null;
|
|
887
|
+
originDate?: string | null;
|
|
888
|
+
author?: string | null;
|
|
889
|
+
keywords: string[];
|
|
890
|
+
accessLevel?: DocumentAccessLevel | null;
|
|
891
|
+
hasSensitiveData?: boolean | null;
|
|
892
|
+
physicalLocation?: string | null;
|
|
893
|
+
physicalReason?: string | null;
|
|
894
|
+
pageCount?: number | null;
|
|
895
|
+
linkedCaseFile?: CaseFileEntity | null;
|
|
896
|
+
linkedCaseFileId?: string | null;
|
|
897
|
+
sha256?: string | null;
|
|
898
|
+
size?: number | null;
|
|
899
|
+
hasAdvancedSignature: boolean;
|
|
900
|
+
signatureCheck?: JsonValue | null;
|
|
901
|
+
incorporatedByEmployeeId: string;
|
|
902
|
+
incorporatedByFullName: string;
|
|
903
|
+
voidedAt?: string | null;
|
|
904
|
+
voidedByEmployeeId?: string | null;
|
|
905
|
+
voidedByFullName?: string | null;
|
|
906
|
+
voidReason?: string | null;
|
|
907
|
+
caseFile?: CaseFileEntity;
|
|
908
|
+
caseFileId: string;
|
|
909
|
+
createdAt: string;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
export interface CaseFileTrackingEntity {
|
|
913
|
+
id: string;
|
|
914
|
+
action: CaseFileTrackingAction;
|
|
915
|
+
observation?: string | null;
|
|
916
|
+
employeeId?: string | null;
|
|
917
|
+
employeeFullName?: string | null;
|
|
918
|
+
caseFile?: CaseFileEntity;
|
|
919
|
+
caseFileId: string;
|
|
920
|
+
createdAt: string;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
export interface CaseFileMetadataChangeEntity {
|
|
924
|
+
id: string;
|
|
925
|
+
field: string;
|
|
926
|
+
previousValue?: string | null;
|
|
927
|
+
newValue?: string | null;
|
|
928
|
+
employeeId: string;
|
|
929
|
+
employeeFullName: string;
|
|
930
|
+
caseFile?: CaseFileEntity;
|
|
931
|
+
caseFileId: string;
|
|
932
|
+
createdAt: string;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
export interface CaseFileAccessEntity {
|
|
936
|
+
id: string;
|
|
937
|
+
action: CaseFileAccessAction;
|
|
938
|
+
entryId?: string | null;
|
|
939
|
+
employeeId?: string | null;
|
|
940
|
+
employeeFullName: string;
|
|
941
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
942
|
+
shareLinkId?: string | null;
|
|
943
|
+
caseFile?: CaseFileEntity;
|
|
944
|
+
caseFileId: string;
|
|
945
|
+
createdAt: string;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export interface CaseFileShareLinkEntity {
|
|
949
|
+
id: string;
|
|
950
|
+
tokenHash: string;
|
|
951
|
+
recipient: string;
|
|
952
|
+
recipientEmail?: string | null;
|
|
953
|
+
purpose?: string | null;
|
|
954
|
+
allowExport: boolean;
|
|
955
|
+
expiresAt: string;
|
|
956
|
+
createdByEmployeeId: string;
|
|
957
|
+
createdByFullName: string;
|
|
958
|
+
revokedAt?: string | null;
|
|
959
|
+
revokedByEmployeeId?: string | null;
|
|
960
|
+
revokedByFullName?: string | null;
|
|
961
|
+
caseFile?: CaseFileEntity;
|
|
962
|
+
caseFileId: string;
|
|
963
|
+
accesses?: CaseFileAccessEntity[];
|
|
964
|
+
createdAt: string;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
export interface DocumentEmailCopyEntity {
|
|
968
|
+
id: string;
|
|
969
|
+
name: string;
|
|
970
|
+
email: string;
|
|
971
|
+
tokenHash?: string | null;
|
|
972
|
+
expiresAt?: string | null;
|
|
973
|
+
issuedAt?: string | null;
|
|
974
|
+
openedAt?: string | null;
|
|
975
|
+
downloadCount: number;
|
|
976
|
+
document?: DocumentEntity;
|
|
977
|
+
documentId: string;
|
|
978
|
+
createdAt: string;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
export interface ScanSessionEntity {
|
|
982
|
+
id: string;
|
|
983
|
+
tokenHash: string;
|
|
984
|
+
status: ScanSessionStatus;
|
|
985
|
+
employeeId: string;
|
|
986
|
+
pages: JsonValue;
|
|
987
|
+
fileId?: string | null;
|
|
988
|
+
fileName?: string | null;
|
|
989
|
+
expiresAt: string;
|
|
990
|
+
finishedAt?: string | null;
|
|
991
|
+
createdAt: string;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
export interface DocumentExternalRecipientEntity {
|
|
995
|
+
id: string;
|
|
996
|
+
entityId: number;
|
|
997
|
+
entityName: string;
|
|
998
|
+
userId?: number | null;
|
|
999
|
+
userName?: string | null;
|
|
1000
|
+
userPosition?: string | null;
|
|
1001
|
+
document?: DocumentEntity;
|
|
1002
|
+
documentId: string;
|
|
1003
|
+
createdAt: string;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
export interface DocumentDispatchEntity {
|
|
1007
|
+
id: string;
|
|
1008
|
+
status: DocumentDispatchStatus;
|
|
1009
|
+
folio?: string | null;
|
|
1010
|
+
docDigitalTypeId?: number | null;
|
|
1011
|
+
docDigitalTypeName?: string | null;
|
|
1012
|
+
docDigitalDocumentId?: string | null;
|
|
1013
|
+
docDigitalRequestId?: string | null;
|
|
1014
|
+
dispatchedAt?: string | null;
|
|
1015
|
+
dispatchedByEmployeeId?: string | null;
|
|
1016
|
+
dispatchedByFullName?: string | null;
|
|
1017
|
+
returnedAt?: string | null;
|
|
1018
|
+
returnedByEmployeeId?: string | null;
|
|
1019
|
+
returnedByFullName?: string | null;
|
|
1020
|
+
returnReason?: string | null;
|
|
1021
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1022
|
+
contingencySentTo?: string | null;
|
|
1023
|
+
contingencyReason?: string | null;
|
|
1024
|
+
contingencyReceiptFileId?: string | null;
|
|
1025
|
+
contingencyReceiptName?: string | null;
|
|
1026
|
+
document?: DocumentEntity;
|
|
1027
|
+
documentId: string;
|
|
1028
|
+
createdAt: string;
|
|
1029
|
+
updatedAt: string;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
export interface DocDigitalInboundEntity {
|
|
1033
|
+
id: string;
|
|
1034
|
+
docDigitalDocumentId: string;
|
|
1035
|
+
docDigitalRequestId?: string | null;
|
|
1036
|
+
status: DocDigitalInboundStatus;
|
|
1037
|
+
subject: string;
|
|
1038
|
+
description?: string | null;
|
|
1039
|
+
folio?: string | null;
|
|
1040
|
+
folioDate?: string | null;
|
|
1041
|
+
typeName?: string | null;
|
|
1042
|
+
reserved: boolean;
|
|
1043
|
+
senderEntityId?: number | null;
|
|
1044
|
+
senderEntityName?: string | null;
|
|
1045
|
+
senderName?: string | null;
|
|
1046
|
+
senderPosition?: string | null;
|
|
1047
|
+
recipientEntityId?: number | null;
|
|
1048
|
+
recipientEntityName?: string | null;
|
|
1049
|
+
fileId?: string | null;
|
|
1050
|
+
fileName?: string | null;
|
|
1051
|
+
attachments: JsonValue;
|
|
1052
|
+
signatureCheck?: JsonValue | null;
|
|
1053
|
+
registeredAt?: string | null;
|
|
1054
|
+
registeredByEmployeeId?: string | null;
|
|
1055
|
+
registeredByFullName?: string | null;
|
|
1056
|
+
acknowledgedAt?: string | null;
|
|
1057
|
+
acknowledgeError?: string | null;
|
|
1058
|
+
returnedAt?: string | null;
|
|
1059
|
+
returnedByEmployeeId?: string | null;
|
|
1060
|
+
returnedByFullName?: string | null;
|
|
1061
|
+
returnReason?: string | null;
|
|
1062
|
+
document?: DocumentEntity | null;
|
|
1063
|
+
documentId?: string | null;
|
|
1064
|
+
createdAt: string;
|
|
1065
|
+
updatedAt: string;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export interface HolidayEntity {
|
|
1069
|
+
id: string;
|
|
1070
|
+
date: string;
|
|
1071
|
+
name: string;
|
|
1072
|
+
createdAt: string;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
export interface TextSnippetEntity {
|
|
1076
|
+
id: string;
|
|
1077
|
+
title: string;
|
|
1078
|
+
text: string;
|
|
1079
|
+
section: TextSnippetSection;
|
|
1080
|
+
keywords: string[];
|
|
1081
|
+
enabled: boolean;
|
|
1082
|
+
deleted: boolean;
|
|
1083
|
+
createdAt: string;
|
|
1084
|
+
updatedAt: string;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export interface ArchivalSeriesEntity {
|
|
1088
|
+
id: string;
|
|
1089
|
+
code: string;
|
|
1090
|
+
name: string;
|
|
1091
|
+
section?: string | null;
|
|
1092
|
+
description?: string | null;
|
|
1093
|
+
managementYears?: number | null;
|
|
1094
|
+
centralYears?: number | null;
|
|
1095
|
+
finalDisposition?: FinalDisposition | null;
|
|
1096
|
+
retentionNote?: string | null;
|
|
1097
|
+
enabled: boolean;
|
|
1098
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1099
|
+
caseFiles?: CaseFileEntity[];
|
|
1100
|
+
dispositions?: DispositionRecordEntity[];
|
|
1101
|
+
deleted: boolean;
|
|
1102
|
+
createdAt: string;
|
|
1103
|
+
updatedAt: string;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
export interface IssuingEntityEntity {
|
|
1107
|
+
id: string;
|
|
1108
|
+
name: string;
|
|
1109
|
+
shortName?: string | null;
|
|
1110
|
+
directorateCodeReferences: number[];
|
|
1111
|
+
docDigitalEntityId?: number | null;
|
|
1112
|
+
enabled: boolean;
|
|
1113
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1114
|
+
deleted: boolean;
|
|
1115
|
+
createdAt: string;
|
|
1116
|
+
updatedAt: string;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export interface IntakeSequenceEntity {
|
|
1120
|
+
year: number;
|
|
1121
|
+
next: number;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export interface WorkFolderEntity {
|
|
1125
|
+
id: string;
|
|
1126
|
+
name: string;
|
|
1127
|
+
description?: string | null;
|
|
1128
|
+
ownerEmployeeId: string;
|
|
1129
|
+
ownerFullName: string;
|
|
1130
|
+
caseFile?: CaseFileEntity | null;
|
|
1131
|
+
caseFileId?: string | null;
|
|
1132
|
+
participants?: WorkFolderParticipantEntity[];
|
|
1133
|
+
items?: WorkFolderItemEntity[];
|
|
1134
|
+
deleted: boolean;
|
|
1135
|
+
createdAt: string;
|
|
1136
|
+
updatedAt: string;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
export interface WorkFolderParticipantEntity {
|
|
1140
|
+
id: string;
|
|
1141
|
+
employeeId: string;
|
|
1142
|
+
fullName: string;
|
|
1143
|
+
folder?: WorkFolderEntity;
|
|
1144
|
+
folderId: string;
|
|
1145
|
+
createdAt: string;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
export interface WorkFolderItemEntity {
|
|
1149
|
+
id: string;
|
|
1150
|
+
kind: WorkFolderItemKind;
|
|
1151
|
+
title: string;
|
|
1152
|
+
document?: DocumentEntity | null;
|
|
1153
|
+
documentId?: string | null;
|
|
1154
|
+
fileId?: string | null;
|
|
1155
|
+
fileName?: string | null;
|
|
1156
|
+
addedByEmployeeId: string;
|
|
1157
|
+
addedByFullName: string;
|
|
1158
|
+
folder?: WorkFolderEntity;
|
|
1159
|
+
folderId: string;
|
|
1160
|
+
createdAt: string;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
export interface ServiceOutageEntity {
|
|
1164
|
+
id: string;
|
|
1165
|
+
kind: ServiceOutageKind;
|
|
1166
|
+
startedAt: string;
|
|
1167
|
+
endedAt?: string | null;
|
|
1168
|
+
cause: string;
|
|
1169
|
+
affectedServices?: string | null;
|
|
1170
|
+
createdByEmployeeId: string;
|
|
1171
|
+
createdByFullName: string;
|
|
1172
|
+
updatedByFullName?: string | null;
|
|
1173
|
+
deleted: boolean;
|
|
1174
|
+
createdAt: string;
|
|
1175
|
+
updatedAt: string;
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export interface QualityMetricSettingEntity {
|
|
1179
|
+
key: QualityMetricKey;
|
|
1180
|
+
threshold: number;
|
|
1181
|
+
declaredValue?: number | null;
|
|
1182
|
+
declaredNote?: string | null;
|
|
1183
|
+
declaredAt?: string | null;
|
|
1184
|
+
declaredByFullName?: string | null;
|
|
1185
|
+
updatedAt: string;
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
export interface ServiceTimingEntity {
|
|
1189
|
+
hour: string;
|
|
1190
|
+
count: number;
|
|
1191
|
+
errorCount: number;
|
|
1192
|
+
totalMs: number;
|
|
1193
|
+
maxMs: number;
|
|
1194
|
+
under100: number;
|
|
1195
|
+
under250: number;
|
|
1196
|
+
under500: number;
|
|
1197
|
+
under1000: number;
|
|
1198
|
+
under2000: number;
|
|
1199
|
+
under5000: number;
|
|
1200
|
+
over5000: number;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
export interface DocumentAccessEntity {
|
|
1204
|
+
id: string;
|
|
1205
|
+
action: DocumentAccessAction;
|
|
1206
|
+
employeeId?: string | null;
|
|
1207
|
+
employeeFullName: string;
|
|
1208
|
+
document?: DocumentEntity;
|
|
1209
|
+
documentId: string;
|
|
1210
|
+
createdAt: string;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export interface AuditLogEntity {
|
|
1214
|
+
id: string;
|
|
1215
|
+
entity: AuditEntity;
|
|
1216
|
+
action: AuditAction;
|
|
1217
|
+
entityId?: string | null;
|
|
1218
|
+
name: string;
|
|
1219
|
+
details?: JsonValue | null;
|
|
1220
|
+
employeeId?: string | null;
|
|
1221
|
+
employeeFullName: string;
|
|
1222
|
+
createdAt: string;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export interface DispositionRecordEntity {
|
|
1226
|
+
id: string;
|
|
1227
|
+
kind: DispositionKind;
|
|
1228
|
+
number: number;
|
|
1229
|
+
year: number;
|
|
1230
|
+
observation?: string | null;
|
|
1231
|
+
series?: ArchivalSeriesEntity;
|
|
1232
|
+
seriesId: string;
|
|
1233
|
+
documents?: DocumentEntity[];
|
|
1234
|
+
caseFiles?: CaseFileEntity[];
|
|
1235
|
+
createdByEmployeeId: string;
|
|
1236
|
+
createdByFullName: string;
|
|
1237
|
+
createdAt: string;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
export interface AccessRequestEntity {
|
|
1241
|
+
id: string;
|
|
1242
|
+
number: number;
|
|
1243
|
+
year: number;
|
|
1244
|
+
externalFolio?: string | null;
|
|
1245
|
+
channel: AccessRequestChannel;
|
|
1246
|
+
receivedAt: string;
|
|
1247
|
+
requesterName: string;
|
|
1248
|
+
requesterEmail?: string | null;
|
|
1249
|
+
requesterAddress?: string | null;
|
|
1250
|
+
requestText: string;
|
|
1251
|
+
deliveryFormat?: string | null;
|
|
1252
|
+
status: AccessRequestStatus;
|
|
1253
|
+
correctionRequestedAt?: string | null;
|
|
1254
|
+
correctionDueAt?: string | null;
|
|
1255
|
+
correctedAt?: string | null;
|
|
1256
|
+
dueAt: string;
|
|
1257
|
+
extendedAt?: string | null;
|
|
1258
|
+
extensionNote?: string | null;
|
|
1259
|
+
assigneeEmployeeId?: string | null;
|
|
1260
|
+
assigneeFullName?: string | null;
|
|
1261
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1262
|
+
oppositionDueAt?: string | null;
|
|
1263
|
+
thirdPartyOpposed?: boolean | null;
|
|
1264
|
+
resolution?: AccessRequestResolution | null;
|
|
1265
|
+
resolvedAt?: string | null;
|
|
1266
|
+
denialGrounds: string[];
|
|
1267
|
+
derivedTo?: string | null;
|
|
1268
|
+
resolutionNote?: string | null;
|
|
1269
|
+
responseDocument?: DocumentEntity | null;
|
|
1270
|
+
responseDocumentId?: string | null;
|
|
1271
|
+
appealedAt?: string | null;
|
|
1272
|
+
appealNote?: string | null;
|
|
1273
|
+
createdByEmployeeId: string;
|
|
1274
|
+
createdByFullName: string;
|
|
1275
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1276
|
+
events?: AccessRequestEventEntity[];
|
|
1277
|
+
createdAt: string;
|
|
1278
|
+
updatedAt: string;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
export interface AccessRequestDocumentEntity {
|
|
1282
|
+
accessRequest?: AccessRequestEntity;
|
|
1283
|
+
accessRequestId: string;
|
|
1284
|
+
document?: DocumentEntity;
|
|
1285
|
+
documentId: string;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export interface AccessRequestEventEntity {
|
|
1289
|
+
id: string;
|
|
1290
|
+
action: AccessRequestEventAction;
|
|
1291
|
+
note?: string | null;
|
|
1292
|
+
employeeId?: string | null;
|
|
1293
|
+
employeeFullName: string;
|
|
1294
|
+
accessRequest?: AccessRequestEntity;
|
|
1295
|
+
accessRequestId: string;
|
|
1296
|
+
createdAt: string;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
export interface DataTreatmentEntity {
|
|
1300
|
+
id: string;
|
|
1301
|
+
name: string;
|
|
1302
|
+
purpose: string;
|
|
1303
|
+
legalBasis: DataLegalBasis;
|
|
1304
|
+
legalBasisDetail?: string | null;
|
|
1305
|
+
dataCategories: string[];
|
|
1306
|
+
sensitiveData: boolean;
|
|
1307
|
+
dataSubjects: string;
|
|
1308
|
+
recipients?: string | null;
|
|
1309
|
+
source?: string | null;
|
|
1310
|
+
retention?: string | null;
|
|
1311
|
+
securityMeasures?: string | null;
|
|
1312
|
+
internationalTransfer?: string | null;
|
|
1313
|
+
responsibleUnit?: string | null;
|
|
1314
|
+
published: boolean;
|
|
1315
|
+
requests?: DataRightsRequestEntity[];
|
|
1316
|
+
breaches?: DataBreachEntity[];
|
|
1317
|
+
enabled: boolean;
|
|
1318
|
+
deleted: boolean;
|
|
1319
|
+
createdAt: string;
|
|
1320
|
+
updatedAt: string;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
export interface DataRightsRequestEntity {
|
|
1324
|
+
id: string;
|
|
1325
|
+
number: number;
|
|
1326
|
+
year: number;
|
|
1327
|
+
channel: DataRightsChannel;
|
|
1328
|
+
receivedAt: string;
|
|
1329
|
+
rights: DataRight[];
|
|
1330
|
+
requesterName: string;
|
|
1331
|
+
requesterRut?: string | null;
|
|
1332
|
+
requesterEmail?: string | null;
|
|
1333
|
+
requesterAddress?: string | null;
|
|
1334
|
+
representativeName?: string | null;
|
|
1335
|
+
identityVerifiedAt?: string | null;
|
|
1336
|
+
identityNote?: string | null;
|
|
1337
|
+
requestText: string;
|
|
1338
|
+
treatment?: DataTreatmentEntity | null;
|
|
1339
|
+
treatmentId?: string | null;
|
|
1340
|
+
status: DataRightsRequestStatus;
|
|
1341
|
+
acknowledgedAt?: string | null;
|
|
1342
|
+
dueAt: string;
|
|
1343
|
+
extendedAt?: string | null;
|
|
1344
|
+
extensionNote?: string | null;
|
|
1345
|
+
blockingRequested: boolean;
|
|
1346
|
+
blockingReason?: string | null;
|
|
1347
|
+
blockingDueAt?: string | null;
|
|
1348
|
+
blockingGranted?: boolean | null;
|
|
1349
|
+
blockingResolvedAt?: string | null;
|
|
1350
|
+
blockingNote?: string | null;
|
|
1351
|
+
assigneeEmployeeId?: string | null;
|
|
1352
|
+
assigneeFullName?: string | null;
|
|
1353
|
+
resolution?: DataRightsResolution | null;
|
|
1354
|
+
resolvedAt?: string | null;
|
|
1355
|
+
denialGrounds: string[];
|
|
1356
|
+
resolutionNote?: string | null;
|
|
1357
|
+
responseDocument?: DocumentEntity | null;
|
|
1358
|
+
responseDocumentId?: string | null;
|
|
1359
|
+
responseSentAt?: string | null;
|
|
1360
|
+
responseSentTo?: string | null;
|
|
1361
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1362
|
+
complaintAt?: string | null;
|
|
1363
|
+
complaintNote?: string | null;
|
|
1364
|
+
createdByEmployeeId: string;
|
|
1365
|
+
createdByFullName: string;
|
|
1366
|
+
events?: DataRightsEventEntity[];
|
|
1367
|
+
createdAt: string;
|
|
1368
|
+
updatedAt: string;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
export interface DataRightsEventEntity {
|
|
1372
|
+
id: string;
|
|
1373
|
+
action: DataRightsEventAction;
|
|
1374
|
+
note?: string | null;
|
|
1375
|
+
employeeId?: string | null;
|
|
1376
|
+
employeeFullName: string;
|
|
1377
|
+
request?: DataRightsRequestEntity;
|
|
1378
|
+
requestId: string;
|
|
1379
|
+
createdAt: string;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
export interface DataBreachEntity {
|
|
1383
|
+
id: string;
|
|
1384
|
+
number: number;
|
|
1385
|
+
year: number;
|
|
1386
|
+
detectedAt: string;
|
|
1387
|
+
occurredAt?: string | null;
|
|
1388
|
+
kinds: DataBreachKind[];
|
|
1389
|
+
description: string;
|
|
1390
|
+
effects?: string | null;
|
|
1391
|
+
dataCategories: string[];
|
|
1392
|
+
affectedCount?: number | null;
|
|
1393
|
+
measures?: string | null;
|
|
1394
|
+
sensitiveData: boolean;
|
|
1395
|
+
minorsData: boolean;
|
|
1396
|
+
financialData: boolean;
|
|
1397
|
+
riskToRights: boolean;
|
|
1398
|
+
treatment?: DataTreatmentEntity | null;
|
|
1399
|
+
treatmentId?: string | null;
|
|
1400
|
+
status: DataBreachStatus;
|
|
1401
|
+
agencyReportedAt?: string | null;
|
|
1402
|
+
agencyReportNote?: string | null;
|
|
1403
|
+
holdersNotifiedAt?: string | null;
|
|
1404
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1405
|
+
holdersNoticeNote?: string | null;
|
|
1406
|
+
closedAt?: string | null;
|
|
1407
|
+
closeNote?: string | null;
|
|
1408
|
+
createdByEmployeeId: string;
|
|
1409
|
+
createdByFullName: string;
|
|
1410
|
+
events?: DataBreachEventEntity[];
|
|
1411
|
+
createdAt: string;
|
|
1412
|
+
updatedAt: string;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
export interface DataBreachEventEntity {
|
|
1416
|
+
id: string;
|
|
1417
|
+
action: DataBreachEventAction;
|
|
1418
|
+
note?: string | null;
|
|
1419
|
+
employeeId?: string | null;
|
|
1420
|
+
employeeFullName: string;
|
|
1421
|
+
breach?: DataBreachEntity;
|
|
1422
|
+
breachId: string;
|
|
1423
|
+
createdAt: string;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
export interface DeskFileEntity {
|
|
1427
|
+
id: string;
|
|
1428
|
+
ownerEmployeeId: string;
|
|
1429
|
+
fileId: string;
|
|
1430
|
+
fileName: string;
|
|
1431
|
+
size: number;
|
|
1432
|
+
sha256: string;
|
|
1433
|
+
source: DeskFileSource;
|
|
1434
|
+
description?: string | null;
|
|
1435
|
+
classifiedAt?: string | null;
|
|
1436
|
+
target?: DeskFileTarget | null;
|
|
1437
|
+
targetId?: string | null;
|
|
1438
|
+
targetLabel?: string | null;
|
|
1439
|
+
removedAt?: string | null;
|
|
1440
|
+
createdAt: string;
|
|
1441
|
+
updatedAt: string;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export interface DocumentVersionEntity {
|
|
1445
|
+
id: string;
|
|
1446
|
+
documentId: string;
|
|
1447
|
+
document?: DocumentEntity;
|
|
1448
|
+
number: number;
|
|
1449
|
+
subject: string;
|
|
1450
|
+
fileId: string;
|
|
1451
|
+
fileName: string;
|
|
1452
|
+
sha256?: string | null;
|
|
1453
|
+
composition?: JsonValue | null;
|
|
1454
|
+
note?: string | null;
|
|
1455
|
+
status: DocumentStatus;
|
|
1456
|
+
createdByEmployeeId: string;
|
|
1457
|
+
createdByFullName: string;
|
|
1458
|
+
createdAt: string;
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
export interface DocumentCommentEntity {
|
|
1462
|
+
id: string;
|
|
1463
|
+
documentId: string;
|
|
1464
|
+
document?: DocumentEntity;
|
|
1465
|
+
versionNumber: number;
|
|
1466
|
+
section?: string | null;
|
|
1467
|
+
quote?: string | null;
|
|
1468
|
+
text: string;
|
|
1469
|
+
authorEmployeeId: string;
|
|
1470
|
+
authorFullName: string;
|
|
1471
|
+
authorRole: string;
|
|
1472
|
+
resolvedAt?: string | null;
|
|
1473
|
+
resolvedByFullName?: string | null;
|
|
1474
|
+
resolutionNote?: string | null;
|
|
1475
|
+
createdAt: string;
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
type JsonValue = string | number | boolean | { [key in string]?: JsonValue } | Array<JsonValue> | null;
|