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