@muni-sanfer/types-gestor-documental 0.0.1-beta.3 → 0.0.1-beta.30
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 +978 -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 +130 -2
- package/dist/contracts/document.contract.js +8 -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 +234 -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 +256 -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 +1163 -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 +133 -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 +252 -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,38 @@ 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
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
665
|
+
dispatch?: DocumentDispatchEntity | null;
|
|
666
|
+
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
667
|
+
deleted: boolean;
|
|
668
|
+
createdAt: string;
|
|
669
|
+
updatedAt: string;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export interface SignatureBatchEntity {
|
|
673
|
+
id: string;
|
|
674
|
+
name: string;
|
|
675
|
+
createdByEmployeeId: string;
|
|
676
|
+
createdByFullName: string;
|
|
677
|
+
documentType?: DocumentTypeEntity;
|
|
678
|
+
documentTypeId: string;
|
|
679
|
+
documents?: DocumentEntity[];
|
|
175
680
|
deleted: boolean;
|
|
176
681
|
createdAt: string;
|
|
177
682
|
updatedAt: string;
|
|
@@ -181,6 +686,7 @@ export interface DocumentParticipantEntity {
|
|
|
181
686
|
id: string;
|
|
182
687
|
role: DocumentParticipantRole;
|
|
183
688
|
order: number;
|
|
689
|
+
stage: number;
|
|
184
690
|
status: DocumentParticipantStatus;
|
|
185
691
|
employeeId: string;
|
|
186
692
|
fullName: string;
|
|
@@ -210,6 +716,7 @@ export interface DocumentTrackingEntity {
|
|
|
210
716
|
id: string;
|
|
211
717
|
action: DocumentTrackingAction;
|
|
212
718
|
observation?: string | null;
|
|
719
|
+
sha256?: string | null;
|
|
213
720
|
employeeId?: string | null;
|
|
214
721
|
employeeFullName?: string | null;
|
|
215
722
|
document?: DocumentEntity;
|
|
@@ -260,6 +767,8 @@ export interface DocumentDeliveryEntity {
|
|
|
260
767
|
readAt?: string | null;
|
|
261
768
|
closedAt?: string | null;
|
|
262
769
|
closingNote?: string | null;
|
|
770
|
+
dueSoonRemindedAt?: string | null;
|
|
771
|
+
overdueRemindedAt?: string | null;
|
|
263
772
|
document?: DocumentEntity;
|
|
264
773
|
documentId: string;
|
|
265
774
|
createdAt: string;
|
|
@@ -274,7 +783,660 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
274
783
|
directorateCodeReference?: number | null;
|
|
275
784
|
name: string;
|
|
276
785
|
position?: string | null;
|
|
786
|
+
withPrevious: boolean;
|
|
277
787
|
documentType?: DocumentTypeEntity;
|
|
278
788
|
documentTypeId: string;
|
|
279
789
|
createdAt: string;
|
|
280
790
|
}
|
|
791
|
+
|
|
792
|
+
export interface ProcedureEntity {
|
|
793
|
+
id: string;
|
|
794
|
+
name: string;
|
|
795
|
+
cpatId?: string | null;
|
|
796
|
+
cpatCode?: string | null;
|
|
797
|
+
description?: string | null;
|
|
798
|
+
enabled: boolean;
|
|
799
|
+
caseFiles?: CaseFileEntity[];
|
|
800
|
+
deleted: boolean;
|
|
801
|
+
createdAt: string;
|
|
802
|
+
updatedAt: string;
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export interface CaseFileSequenceEntity {
|
|
806
|
+
year: number;
|
|
807
|
+
next: number;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export interface CaseFileEntity {
|
|
811
|
+
id: string;
|
|
812
|
+
code: string;
|
|
813
|
+
year: number;
|
|
814
|
+
number: number;
|
|
815
|
+
title: string;
|
|
816
|
+
subject: string;
|
|
817
|
+
summary?: string | null;
|
|
818
|
+
status: CaseFileStatus;
|
|
819
|
+
accessLevel: DocumentAccessLevel;
|
|
820
|
+
hasSensitiveData: boolean;
|
|
821
|
+
restrictionEndsAt?: string | null;
|
|
822
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
823
|
+
archivalSeriesId?: string | null;
|
|
824
|
+
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
825
|
+
schemaVersion: string;
|
|
826
|
+
procedure?: ProcedureEntity;
|
|
827
|
+
procedureId: string;
|
|
828
|
+
responsibleEmployeeId: string;
|
|
829
|
+
responsibleFullName: string;
|
|
830
|
+
responsiblePosition?: string | null;
|
|
831
|
+
closedAt?: string | null;
|
|
832
|
+
disposition?: DispositionRecordEntity | null;
|
|
833
|
+
dispositionId?: string | null;
|
|
834
|
+
closedByEmployeeId?: string | null;
|
|
835
|
+
closedByFullName?: string | null;
|
|
836
|
+
closingNote?: string | null;
|
|
837
|
+
participants?: CaseFileParticipantEntity[];
|
|
838
|
+
actors?: CaseFileActorEntity[];
|
|
839
|
+
entries?: CaseFileEntryEntity[];
|
|
840
|
+
linkedFrom?: CaseFileEntryEntity[];
|
|
841
|
+
trackings?: CaseFileTrackingEntity[];
|
|
842
|
+
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
843
|
+
accesses?: CaseFileAccessEntity[];
|
|
844
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
845
|
+
createdAt: string;
|
|
846
|
+
updatedAt: string;
|
|
847
|
+
workFolder?: WorkFolderEntity | null;
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export interface CaseFileParticipantEntity {
|
|
851
|
+
id: string;
|
|
852
|
+
employeeId: string;
|
|
853
|
+
fullName: string;
|
|
854
|
+
position?: string | null;
|
|
855
|
+
addedByEmployeeId: string;
|
|
856
|
+
addedByFullName: string;
|
|
857
|
+
caseFile?: CaseFileEntity;
|
|
858
|
+
caseFileId: string;
|
|
859
|
+
createdAt: string;
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
export interface CaseFileActorEntity {
|
|
863
|
+
id: string;
|
|
864
|
+
relation: CaseFileActorRelation;
|
|
865
|
+
actorType: CaseFileActorType;
|
|
866
|
+
identifier?: string | null;
|
|
867
|
+
name: string;
|
|
868
|
+
caseFile?: CaseFileEntity;
|
|
869
|
+
caseFileId: string;
|
|
870
|
+
createdAt: string;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
export interface CaseFileEntryEntity {
|
|
874
|
+
id: string;
|
|
875
|
+
sequence: number;
|
|
876
|
+
kind: CaseFileEntryKind;
|
|
877
|
+
actuationType: CaseFileActuationType;
|
|
878
|
+
title: string;
|
|
879
|
+
folder?: string | null;
|
|
880
|
+
document?: DocumentEntity | null;
|
|
881
|
+
documentId?: string | null;
|
|
882
|
+
fileId?: string | null;
|
|
883
|
+
fileName?: string | null;
|
|
884
|
+
documentTypeName?: string | null;
|
|
885
|
+
originDate?: string | null;
|
|
886
|
+
author?: string | null;
|
|
887
|
+
keywords: string[];
|
|
888
|
+
accessLevel?: DocumentAccessLevel | null;
|
|
889
|
+
hasSensitiveData?: boolean | null;
|
|
890
|
+
physicalLocation?: string | null;
|
|
891
|
+
physicalReason?: string | null;
|
|
892
|
+
pageCount?: number | null;
|
|
893
|
+
linkedCaseFile?: CaseFileEntity | null;
|
|
894
|
+
linkedCaseFileId?: string | null;
|
|
895
|
+
sha256?: string | null;
|
|
896
|
+
size?: number | null;
|
|
897
|
+
hasAdvancedSignature: boolean;
|
|
898
|
+
signatureCheck?: JsonValue | null;
|
|
899
|
+
incorporatedByEmployeeId: string;
|
|
900
|
+
incorporatedByFullName: string;
|
|
901
|
+
voidedAt?: string | null;
|
|
902
|
+
voidedByEmployeeId?: string | null;
|
|
903
|
+
voidedByFullName?: string | null;
|
|
904
|
+
voidReason?: string | null;
|
|
905
|
+
caseFile?: CaseFileEntity;
|
|
906
|
+
caseFileId: string;
|
|
907
|
+
createdAt: string;
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
export interface CaseFileTrackingEntity {
|
|
911
|
+
id: string;
|
|
912
|
+
action: CaseFileTrackingAction;
|
|
913
|
+
observation?: string | null;
|
|
914
|
+
employeeId?: string | null;
|
|
915
|
+
employeeFullName?: string | null;
|
|
916
|
+
caseFile?: CaseFileEntity;
|
|
917
|
+
caseFileId: string;
|
|
918
|
+
createdAt: string;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
export interface CaseFileMetadataChangeEntity {
|
|
922
|
+
id: string;
|
|
923
|
+
field: string;
|
|
924
|
+
previousValue?: string | null;
|
|
925
|
+
newValue?: string | null;
|
|
926
|
+
employeeId: string;
|
|
927
|
+
employeeFullName: string;
|
|
928
|
+
caseFile?: CaseFileEntity;
|
|
929
|
+
caseFileId: string;
|
|
930
|
+
createdAt: string;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
export interface CaseFileAccessEntity {
|
|
934
|
+
id: string;
|
|
935
|
+
action: CaseFileAccessAction;
|
|
936
|
+
entryId?: string | null;
|
|
937
|
+
employeeId?: string | null;
|
|
938
|
+
employeeFullName: string;
|
|
939
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
940
|
+
shareLinkId?: string | null;
|
|
941
|
+
caseFile?: CaseFileEntity;
|
|
942
|
+
caseFileId: string;
|
|
943
|
+
createdAt: string;
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export interface CaseFileShareLinkEntity {
|
|
947
|
+
id: string;
|
|
948
|
+
tokenHash: string;
|
|
949
|
+
recipient: string;
|
|
950
|
+
recipientEmail?: string | null;
|
|
951
|
+
purpose?: string | null;
|
|
952
|
+
allowExport: boolean;
|
|
953
|
+
expiresAt: string;
|
|
954
|
+
createdByEmployeeId: string;
|
|
955
|
+
createdByFullName: string;
|
|
956
|
+
revokedAt?: string | null;
|
|
957
|
+
revokedByEmployeeId?: string | null;
|
|
958
|
+
revokedByFullName?: string | null;
|
|
959
|
+
caseFile?: CaseFileEntity;
|
|
960
|
+
caseFileId: string;
|
|
961
|
+
accesses?: CaseFileAccessEntity[];
|
|
962
|
+
createdAt: string;
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export interface DocumentEmailCopyEntity {
|
|
966
|
+
id: string;
|
|
967
|
+
name: string;
|
|
968
|
+
email: string;
|
|
969
|
+
tokenHash?: string | null;
|
|
970
|
+
expiresAt?: string | null;
|
|
971
|
+
issuedAt?: string | null;
|
|
972
|
+
openedAt?: string | null;
|
|
973
|
+
downloadCount: number;
|
|
974
|
+
document?: DocumentEntity;
|
|
975
|
+
documentId: string;
|
|
976
|
+
createdAt: string;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
export interface ScanSessionEntity {
|
|
980
|
+
id: string;
|
|
981
|
+
tokenHash: string;
|
|
982
|
+
status: ScanSessionStatus;
|
|
983
|
+
employeeId: string;
|
|
984
|
+
pages: JsonValue;
|
|
985
|
+
fileId?: string | null;
|
|
986
|
+
fileName?: string | null;
|
|
987
|
+
expiresAt: string;
|
|
988
|
+
finishedAt?: string | null;
|
|
989
|
+
createdAt: string;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
export interface DocumentExternalRecipientEntity {
|
|
993
|
+
id: string;
|
|
994
|
+
entityId: number;
|
|
995
|
+
entityName: string;
|
|
996
|
+
userId?: number | null;
|
|
997
|
+
userName?: string | null;
|
|
998
|
+
userPosition?: string | null;
|
|
999
|
+
document?: DocumentEntity;
|
|
1000
|
+
documentId: string;
|
|
1001
|
+
createdAt: string;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
export interface DocumentDispatchEntity {
|
|
1005
|
+
id: string;
|
|
1006
|
+
status: DocumentDispatchStatus;
|
|
1007
|
+
folio?: string | null;
|
|
1008
|
+
docDigitalTypeId?: number | null;
|
|
1009
|
+
docDigitalTypeName?: string | null;
|
|
1010
|
+
docDigitalDocumentId?: string | null;
|
|
1011
|
+
docDigitalRequestId?: string | null;
|
|
1012
|
+
dispatchedAt?: string | null;
|
|
1013
|
+
dispatchedByEmployeeId?: string | null;
|
|
1014
|
+
dispatchedByFullName?: string | null;
|
|
1015
|
+
returnedAt?: string | null;
|
|
1016
|
+
returnedByEmployeeId?: string | null;
|
|
1017
|
+
returnedByFullName?: string | null;
|
|
1018
|
+
returnReason?: string | null;
|
|
1019
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1020
|
+
contingencySentTo?: string | null;
|
|
1021
|
+
contingencyReason?: string | null;
|
|
1022
|
+
contingencyReceiptFileId?: string | null;
|
|
1023
|
+
contingencyReceiptName?: string | null;
|
|
1024
|
+
document?: DocumentEntity;
|
|
1025
|
+
documentId: string;
|
|
1026
|
+
createdAt: string;
|
|
1027
|
+
updatedAt: string;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export interface DocDigitalInboundEntity {
|
|
1031
|
+
id: string;
|
|
1032
|
+
docDigitalDocumentId: string;
|
|
1033
|
+
docDigitalRequestId?: string | null;
|
|
1034
|
+
status: DocDigitalInboundStatus;
|
|
1035
|
+
subject: string;
|
|
1036
|
+
description?: string | null;
|
|
1037
|
+
folio?: string | null;
|
|
1038
|
+
folioDate?: string | null;
|
|
1039
|
+
typeName?: string | null;
|
|
1040
|
+
reserved: boolean;
|
|
1041
|
+
senderEntityId?: number | null;
|
|
1042
|
+
senderEntityName?: string | null;
|
|
1043
|
+
senderName?: string | null;
|
|
1044
|
+
senderPosition?: string | null;
|
|
1045
|
+
recipientEntityId?: number | null;
|
|
1046
|
+
recipientEntityName?: string | null;
|
|
1047
|
+
fileId?: string | null;
|
|
1048
|
+
fileName?: string | null;
|
|
1049
|
+
attachments: JsonValue;
|
|
1050
|
+
signatureCheck?: JsonValue | null;
|
|
1051
|
+
registeredAt?: string | null;
|
|
1052
|
+
registeredByEmployeeId?: string | null;
|
|
1053
|
+
registeredByFullName?: string | null;
|
|
1054
|
+
acknowledgedAt?: string | null;
|
|
1055
|
+
acknowledgeError?: string | null;
|
|
1056
|
+
returnedAt?: string | null;
|
|
1057
|
+
returnedByEmployeeId?: string | null;
|
|
1058
|
+
returnedByFullName?: string | null;
|
|
1059
|
+
returnReason?: string | null;
|
|
1060
|
+
document?: DocumentEntity | null;
|
|
1061
|
+
documentId?: string | null;
|
|
1062
|
+
createdAt: string;
|
|
1063
|
+
updatedAt: string;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export interface HolidayEntity {
|
|
1067
|
+
id: string;
|
|
1068
|
+
date: string;
|
|
1069
|
+
name: string;
|
|
1070
|
+
createdAt: string;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
export interface TextSnippetEntity {
|
|
1074
|
+
id: string;
|
|
1075
|
+
title: string;
|
|
1076
|
+
text: string;
|
|
1077
|
+
section: TextSnippetSection;
|
|
1078
|
+
keywords: string[];
|
|
1079
|
+
enabled: boolean;
|
|
1080
|
+
deleted: boolean;
|
|
1081
|
+
createdAt: string;
|
|
1082
|
+
updatedAt: string;
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
export interface ArchivalSeriesEntity {
|
|
1086
|
+
id: string;
|
|
1087
|
+
code: string;
|
|
1088
|
+
name: string;
|
|
1089
|
+
section?: string | null;
|
|
1090
|
+
description?: string | null;
|
|
1091
|
+
managementYears?: number | null;
|
|
1092
|
+
centralYears?: number | null;
|
|
1093
|
+
finalDisposition?: FinalDisposition | null;
|
|
1094
|
+
retentionNote?: string | null;
|
|
1095
|
+
enabled: boolean;
|
|
1096
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1097
|
+
caseFiles?: CaseFileEntity[];
|
|
1098
|
+
dispositions?: DispositionRecordEntity[];
|
|
1099
|
+
deleted: boolean;
|
|
1100
|
+
createdAt: string;
|
|
1101
|
+
updatedAt: string;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export interface IssuingEntityEntity {
|
|
1105
|
+
id: string;
|
|
1106
|
+
name: string;
|
|
1107
|
+
shortName?: string | null;
|
|
1108
|
+
directorateCodeReferences: number[];
|
|
1109
|
+
docDigitalEntityId?: number | null;
|
|
1110
|
+
enabled: boolean;
|
|
1111
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1112
|
+
deleted: boolean;
|
|
1113
|
+
createdAt: string;
|
|
1114
|
+
updatedAt: string;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
export interface IntakeSequenceEntity {
|
|
1118
|
+
year: number;
|
|
1119
|
+
next: number;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
export interface WorkFolderEntity {
|
|
1123
|
+
id: string;
|
|
1124
|
+
name: string;
|
|
1125
|
+
description?: string | null;
|
|
1126
|
+
ownerEmployeeId: string;
|
|
1127
|
+
ownerFullName: string;
|
|
1128
|
+
caseFile?: CaseFileEntity | null;
|
|
1129
|
+
caseFileId?: string | null;
|
|
1130
|
+
participants?: WorkFolderParticipantEntity[];
|
|
1131
|
+
items?: WorkFolderItemEntity[];
|
|
1132
|
+
deleted: boolean;
|
|
1133
|
+
createdAt: string;
|
|
1134
|
+
updatedAt: string;
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
export interface WorkFolderParticipantEntity {
|
|
1138
|
+
id: string;
|
|
1139
|
+
employeeId: string;
|
|
1140
|
+
fullName: string;
|
|
1141
|
+
folder?: WorkFolderEntity;
|
|
1142
|
+
folderId: string;
|
|
1143
|
+
createdAt: string;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
export interface WorkFolderItemEntity {
|
|
1147
|
+
id: string;
|
|
1148
|
+
kind: WorkFolderItemKind;
|
|
1149
|
+
title: string;
|
|
1150
|
+
document?: DocumentEntity | null;
|
|
1151
|
+
documentId?: string | null;
|
|
1152
|
+
fileId?: string | null;
|
|
1153
|
+
fileName?: string | null;
|
|
1154
|
+
addedByEmployeeId: string;
|
|
1155
|
+
addedByFullName: string;
|
|
1156
|
+
folder?: WorkFolderEntity;
|
|
1157
|
+
folderId: string;
|
|
1158
|
+
createdAt: string;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
export interface ServiceOutageEntity {
|
|
1162
|
+
id: string;
|
|
1163
|
+
kind: ServiceOutageKind;
|
|
1164
|
+
startedAt: string;
|
|
1165
|
+
endedAt?: string | null;
|
|
1166
|
+
cause: string;
|
|
1167
|
+
affectedServices?: string | null;
|
|
1168
|
+
createdByEmployeeId: string;
|
|
1169
|
+
createdByFullName: string;
|
|
1170
|
+
updatedByFullName?: string | null;
|
|
1171
|
+
deleted: boolean;
|
|
1172
|
+
createdAt: string;
|
|
1173
|
+
updatedAt: string;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export interface QualityMetricSettingEntity {
|
|
1177
|
+
key: QualityMetricKey;
|
|
1178
|
+
threshold: number;
|
|
1179
|
+
declaredValue?: number | null;
|
|
1180
|
+
declaredNote?: string | null;
|
|
1181
|
+
declaredAt?: string | null;
|
|
1182
|
+
declaredByFullName?: string | null;
|
|
1183
|
+
updatedAt: string;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
export interface ServiceTimingEntity {
|
|
1187
|
+
hour: string;
|
|
1188
|
+
count: number;
|
|
1189
|
+
errorCount: number;
|
|
1190
|
+
totalMs: number;
|
|
1191
|
+
maxMs: number;
|
|
1192
|
+
under100: number;
|
|
1193
|
+
under250: number;
|
|
1194
|
+
under500: number;
|
|
1195
|
+
under1000: number;
|
|
1196
|
+
under2000: number;
|
|
1197
|
+
under5000: number;
|
|
1198
|
+
over5000: number;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
export interface DocumentAccessEntity {
|
|
1202
|
+
id: string;
|
|
1203
|
+
action: DocumentAccessAction;
|
|
1204
|
+
employeeId?: string | null;
|
|
1205
|
+
employeeFullName: string;
|
|
1206
|
+
document?: DocumentEntity;
|
|
1207
|
+
documentId: string;
|
|
1208
|
+
createdAt: string;
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
export interface AuditLogEntity {
|
|
1212
|
+
id: string;
|
|
1213
|
+
entity: AuditEntity;
|
|
1214
|
+
action: AuditAction;
|
|
1215
|
+
entityId?: string | null;
|
|
1216
|
+
name: string;
|
|
1217
|
+
details?: JsonValue | null;
|
|
1218
|
+
employeeId?: string | null;
|
|
1219
|
+
employeeFullName: string;
|
|
1220
|
+
createdAt: string;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
export interface DispositionRecordEntity {
|
|
1224
|
+
id: string;
|
|
1225
|
+
kind: DispositionKind;
|
|
1226
|
+
number: number;
|
|
1227
|
+
year: number;
|
|
1228
|
+
observation?: string | null;
|
|
1229
|
+
series?: ArchivalSeriesEntity;
|
|
1230
|
+
seriesId: string;
|
|
1231
|
+
documents?: DocumentEntity[];
|
|
1232
|
+
caseFiles?: CaseFileEntity[];
|
|
1233
|
+
createdByEmployeeId: string;
|
|
1234
|
+
createdByFullName: string;
|
|
1235
|
+
createdAt: string;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
export interface AccessRequestEntity {
|
|
1239
|
+
id: string;
|
|
1240
|
+
number: number;
|
|
1241
|
+
year: number;
|
|
1242
|
+
externalFolio?: string | null;
|
|
1243
|
+
channel: AccessRequestChannel;
|
|
1244
|
+
receivedAt: string;
|
|
1245
|
+
requesterName: string;
|
|
1246
|
+
requesterEmail?: string | null;
|
|
1247
|
+
requesterAddress?: string | null;
|
|
1248
|
+
requestText: string;
|
|
1249
|
+
deliveryFormat?: string | null;
|
|
1250
|
+
status: AccessRequestStatus;
|
|
1251
|
+
correctionRequestedAt?: string | null;
|
|
1252
|
+
correctionDueAt?: string | null;
|
|
1253
|
+
correctedAt?: string | null;
|
|
1254
|
+
dueAt: string;
|
|
1255
|
+
extendedAt?: string | null;
|
|
1256
|
+
extensionNote?: string | null;
|
|
1257
|
+
assigneeEmployeeId?: string | null;
|
|
1258
|
+
assigneeFullName?: string | null;
|
|
1259
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1260
|
+
oppositionDueAt?: string | null;
|
|
1261
|
+
thirdPartyOpposed?: boolean | null;
|
|
1262
|
+
resolution?: AccessRequestResolution | null;
|
|
1263
|
+
resolvedAt?: string | null;
|
|
1264
|
+
denialGrounds: string[];
|
|
1265
|
+
derivedTo?: string | null;
|
|
1266
|
+
resolutionNote?: string | null;
|
|
1267
|
+
responseDocument?: DocumentEntity | null;
|
|
1268
|
+
responseDocumentId?: string | null;
|
|
1269
|
+
appealedAt?: string | null;
|
|
1270
|
+
appealNote?: string | null;
|
|
1271
|
+
createdByEmployeeId: string;
|
|
1272
|
+
createdByFullName: string;
|
|
1273
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1274
|
+
events?: AccessRequestEventEntity[];
|
|
1275
|
+
createdAt: string;
|
|
1276
|
+
updatedAt: string;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
export interface AccessRequestDocumentEntity {
|
|
1280
|
+
accessRequest?: AccessRequestEntity;
|
|
1281
|
+
accessRequestId: string;
|
|
1282
|
+
document?: DocumentEntity;
|
|
1283
|
+
documentId: string;
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
export interface AccessRequestEventEntity {
|
|
1287
|
+
id: string;
|
|
1288
|
+
action: AccessRequestEventAction;
|
|
1289
|
+
note?: string | null;
|
|
1290
|
+
employeeId?: string | null;
|
|
1291
|
+
employeeFullName: string;
|
|
1292
|
+
accessRequest?: AccessRequestEntity;
|
|
1293
|
+
accessRequestId: string;
|
|
1294
|
+
createdAt: string;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export interface DataTreatmentEntity {
|
|
1298
|
+
id: string;
|
|
1299
|
+
name: string;
|
|
1300
|
+
purpose: string;
|
|
1301
|
+
legalBasis: DataLegalBasis;
|
|
1302
|
+
legalBasisDetail?: string | null;
|
|
1303
|
+
dataCategories: string[];
|
|
1304
|
+
sensitiveData: boolean;
|
|
1305
|
+
dataSubjects: string;
|
|
1306
|
+
recipients?: string | null;
|
|
1307
|
+
source?: string | null;
|
|
1308
|
+
retention?: string | null;
|
|
1309
|
+
securityMeasures?: string | null;
|
|
1310
|
+
internationalTransfer?: string | null;
|
|
1311
|
+
responsibleUnit?: string | null;
|
|
1312
|
+
published: boolean;
|
|
1313
|
+
requests?: DataRightsRequestEntity[];
|
|
1314
|
+
breaches?: DataBreachEntity[];
|
|
1315
|
+
enabled: boolean;
|
|
1316
|
+
deleted: boolean;
|
|
1317
|
+
createdAt: string;
|
|
1318
|
+
updatedAt: string;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
export interface DataRightsRequestEntity {
|
|
1322
|
+
id: string;
|
|
1323
|
+
number: number;
|
|
1324
|
+
year: number;
|
|
1325
|
+
channel: DataRightsChannel;
|
|
1326
|
+
receivedAt: string;
|
|
1327
|
+
rights: DataRight[];
|
|
1328
|
+
requesterName: string;
|
|
1329
|
+
requesterRut?: string | null;
|
|
1330
|
+
requesterEmail?: string | null;
|
|
1331
|
+
requesterAddress?: string | null;
|
|
1332
|
+
representativeName?: string | null;
|
|
1333
|
+
identityVerifiedAt?: string | null;
|
|
1334
|
+
identityNote?: string | null;
|
|
1335
|
+
requestText: string;
|
|
1336
|
+
treatment?: DataTreatmentEntity | null;
|
|
1337
|
+
treatmentId?: string | null;
|
|
1338
|
+
status: DataRightsRequestStatus;
|
|
1339
|
+
acknowledgedAt?: string | null;
|
|
1340
|
+
dueAt: string;
|
|
1341
|
+
extendedAt?: string | null;
|
|
1342
|
+
extensionNote?: string | null;
|
|
1343
|
+
blockingRequested: boolean;
|
|
1344
|
+
blockingReason?: string | null;
|
|
1345
|
+
blockingDueAt?: string | null;
|
|
1346
|
+
blockingGranted?: boolean | null;
|
|
1347
|
+
blockingResolvedAt?: string | null;
|
|
1348
|
+
blockingNote?: string | null;
|
|
1349
|
+
assigneeEmployeeId?: string | null;
|
|
1350
|
+
assigneeFullName?: string | null;
|
|
1351
|
+
resolution?: DataRightsResolution | null;
|
|
1352
|
+
resolvedAt?: string | null;
|
|
1353
|
+
denialGrounds: string[];
|
|
1354
|
+
resolutionNote?: string | null;
|
|
1355
|
+
responseDocument?: DocumentEntity | null;
|
|
1356
|
+
responseDocumentId?: string | null;
|
|
1357
|
+
responseSentAt?: string | null;
|
|
1358
|
+
responseSentTo?: string | null;
|
|
1359
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1360
|
+
complaintAt?: string | null;
|
|
1361
|
+
complaintNote?: string | null;
|
|
1362
|
+
createdByEmployeeId: string;
|
|
1363
|
+
createdByFullName: string;
|
|
1364
|
+
events?: DataRightsEventEntity[];
|
|
1365
|
+
createdAt: string;
|
|
1366
|
+
updatedAt: string;
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
export interface DataRightsEventEntity {
|
|
1370
|
+
id: string;
|
|
1371
|
+
action: DataRightsEventAction;
|
|
1372
|
+
note?: string | null;
|
|
1373
|
+
employeeId?: string | null;
|
|
1374
|
+
employeeFullName: string;
|
|
1375
|
+
request?: DataRightsRequestEntity;
|
|
1376
|
+
requestId: string;
|
|
1377
|
+
createdAt: string;
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
export interface DataBreachEntity {
|
|
1381
|
+
id: string;
|
|
1382
|
+
number: number;
|
|
1383
|
+
year: number;
|
|
1384
|
+
detectedAt: string;
|
|
1385
|
+
occurredAt?: string | null;
|
|
1386
|
+
kinds: DataBreachKind[];
|
|
1387
|
+
description: string;
|
|
1388
|
+
effects?: string | null;
|
|
1389
|
+
dataCategories: string[];
|
|
1390
|
+
affectedCount?: number | null;
|
|
1391
|
+
measures?: string | null;
|
|
1392
|
+
sensitiveData: boolean;
|
|
1393
|
+
minorsData: boolean;
|
|
1394
|
+
financialData: boolean;
|
|
1395
|
+
riskToRights: boolean;
|
|
1396
|
+
treatment?: DataTreatmentEntity | null;
|
|
1397
|
+
treatmentId?: string | null;
|
|
1398
|
+
status: DataBreachStatus;
|
|
1399
|
+
agencyReportedAt?: string | null;
|
|
1400
|
+
agencyReportNote?: string | null;
|
|
1401
|
+
holdersNotifiedAt?: string | null;
|
|
1402
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1403
|
+
holdersNoticeNote?: string | null;
|
|
1404
|
+
closedAt?: string | null;
|
|
1405
|
+
closeNote?: string | null;
|
|
1406
|
+
createdByEmployeeId: string;
|
|
1407
|
+
createdByFullName: string;
|
|
1408
|
+
events?: DataBreachEventEntity[];
|
|
1409
|
+
createdAt: string;
|
|
1410
|
+
updatedAt: string;
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
export interface DataBreachEventEntity {
|
|
1414
|
+
id: string;
|
|
1415
|
+
action: DataBreachEventAction;
|
|
1416
|
+
note?: string | null;
|
|
1417
|
+
employeeId?: string | null;
|
|
1418
|
+
employeeFullName: string;
|
|
1419
|
+
breach?: DataBreachEntity;
|
|
1420
|
+
breachId: string;
|
|
1421
|
+
createdAt: string;
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
export interface DeskFileEntity {
|
|
1425
|
+
id: string;
|
|
1426
|
+
ownerEmployeeId: string;
|
|
1427
|
+
fileId: string;
|
|
1428
|
+
fileName: string;
|
|
1429
|
+
size: number;
|
|
1430
|
+
sha256: string;
|
|
1431
|
+
source: DeskFileSource;
|
|
1432
|
+
description?: string | null;
|
|
1433
|
+
classifiedAt?: string | null;
|
|
1434
|
+
target?: DeskFileTarget | null;
|
|
1435
|
+
targetId?: string | null;
|
|
1436
|
+
targetLabel?: string | null;
|
|
1437
|
+
removedAt?: string | null;
|
|
1438
|
+
createdAt: string;
|
|
1439
|
+
updatedAt: string;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
type JsonValue = string | number | boolean | { [key in string]?: JsonValue } | Array<JsonValue> | null;
|