@muni-sanfer/types-gestor-documental 0.0.1-beta.5 → 0.0.1-beta.51
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 +1015 -5
- package/dist/base/entities.js +240 -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 +32 -3
- package/dist/contracts/documentType.contract.js +2 -0
- 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 +248 -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 +431 -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 +62 -1
- 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 +1187 -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 +55 -4
- 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 +417 -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 +71 -1
- 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/dist/base/entities.d.ts
CHANGED
|
@@ -4,6 +4,11 @@ export declare const DocumentCategory: {
|
|
|
4
4
|
Communication: "Communication";
|
|
5
5
|
Other: "Other";
|
|
6
6
|
};
|
|
7
|
+
export type DocumentNumberingScope = 'Type' | 'Category';
|
|
8
|
+
export declare const DocumentNumberingScope: {
|
|
9
|
+
Type: "Type";
|
|
10
|
+
Category: "Category";
|
|
11
|
+
};
|
|
7
12
|
export type DocumentStatus = 'Drafted' | 'PendingVisa' | 'PendingSignature' | 'Finished' | 'Rejected' | 'Discarded' | 'Annulled';
|
|
8
13
|
export declare const DocumentStatus: {
|
|
9
14
|
Drafted: "Drafted";
|
|
@@ -33,7 +38,7 @@ export declare const DocumentParticipantStatus: {
|
|
|
33
38
|
Resolved: "Resolved";
|
|
34
39
|
Rejected: "Rejected";
|
|
35
40
|
};
|
|
36
|
-
export type DocumentTrackingAction = 'Created' | 'Updated' | 'Submitted' | 'Visaed' | 'Signed' | 'Rejected' | 'Finished' | 'Discarded' | 'Numbered' | 'NumberAnnulled' | 'Annulled' | 'Delivered' | 'Derived' | 'Reassigned' | 'Dispatched' | 'DispatchReturned' | 'Received';
|
|
41
|
+
export type DocumentTrackingAction = 'Created' | 'Updated' | 'Submitted' | 'Visaed' | 'Signed' | 'Rejected' | 'Finished' | 'Discarded' | 'Numbered' | 'NumberAnnulled' | 'Annulled' | 'Delivered' | 'Derived' | 'Reassigned' | 'Dispatched' | 'DispatchReturned' | 'DispatchedByContingency' | 'Received' | 'EmailCopySent' | 'EmailCopyOpened' | 'DispositionRecorded' | 'TransparencyRedacted' | 'TransparencyPublished' | 'TransparencyExcluded' | 'TransparencyWithdrawn' | 'DraftReviewRequested' | 'DraftReviewApproved' | 'DraftReviewRejected' | 'DraftReviewCancelled';
|
|
37
42
|
export declare const DocumentTrackingAction: {
|
|
38
43
|
Created: "Created";
|
|
39
44
|
Updated: "Updated";
|
|
@@ -51,12 +56,39 @@ export declare const DocumentTrackingAction: {
|
|
|
51
56
|
Reassigned: "Reassigned";
|
|
52
57
|
Dispatched: "Dispatched";
|
|
53
58
|
DispatchReturned: "DispatchReturned";
|
|
59
|
+
DispatchedByContingency: "DispatchedByContingency";
|
|
54
60
|
Received: "Received";
|
|
61
|
+
EmailCopySent: "EmailCopySent";
|
|
62
|
+
EmailCopyOpened: "EmailCopyOpened";
|
|
63
|
+
DispositionRecorded: "DispositionRecorded";
|
|
64
|
+
TransparencyRedacted: "TransparencyRedacted";
|
|
65
|
+
TransparencyPublished: "TransparencyPublished";
|
|
66
|
+
TransparencyExcluded: "TransparencyExcluded";
|
|
67
|
+
TransparencyWithdrawn: "TransparencyWithdrawn";
|
|
68
|
+
DraftReviewRequested: "DraftReviewRequested";
|
|
69
|
+
DraftReviewApproved: "DraftReviewApproved";
|
|
70
|
+
DraftReviewRejected: "DraftReviewRejected";
|
|
71
|
+
DraftReviewCancelled: "DraftReviewCancelled";
|
|
72
|
+
};
|
|
73
|
+
export type DraftReviewStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
|
|
74
|
+
export declare const DraftReviewStatus: {
|
|
75
|
+
Pending: "Pending";
|
|
76
|
+
Approved: "Approved";
|
|
77
|
+
Rejected: "Rejected";
|
|
78
|
+
Cancelled: "Cancelled";
|
|
55
79
|
};
|
|
56
|
-
export type DocumentOrigin = 'Internal' | 'DocDigital';
|
|
80
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
57
81
|
export declare const DocumentOrigin: {
|
|
58
82
|
Internal: "Internal";
|
|
59
83
|
DocDigital: "DocDigital";
|
|
84
|
+
Manual: "Manual";
|
|
85
|
+
};
|
|
86
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
87
|
+
export declare const CommunicationMeans: {
|
|
88
|
+
Paper: "Paper";
|
|
89
|
+
Email: "Email";
|
|
90
|
+
Courier: "Courier";
|
|
91
|
+
Other: "Other";
|
|
60
92
|
};
|
|
61
93
|
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
62
94
|
export declare const DocumentDispatchStatus: {
|
|
@@ -121,11 +153,12 @@ export declare const CaseFileActuationType: {
|
|
|
121
153
|
Subfolder: "Subfolder";
|
|
122
154
|
PowerRegistration: "PowerRegistration";
|
|
123
155
|
};
|
|
124
|
-
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile';
|
|
156
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
125
157
|
export declare const CaseFileEntryKind: {
|
|
126
158
|
Document: "Document";
|
|
127
159
|
File: "File";
|
|
128
160
|
CaseFile: "CaseFile";
|
|
161
|
+
Physical: "Physical";
|
|
129
162
|
};
|
|
130
163
|
export type CaseFileActorRelation = 'Responsible' | 'Interested' | 'Author' | 'Referred' | 'Recipient' | 'MinisterOfFaith';
|
|
131
164
|
export declare const CaseFileActorRelation: {
|
|
@@ -143,16 +176,20 @@ export declare const CaseFileActorType: {
|
|
|
143
176
|
PrivateInstitution: "PrivateInstitution";
|
|
144
177
|
Official: "Official";
|
|
145
178
|
};
|
|
146
|
-
export type CaseFileTrackingAction = 'Created' | 'Updated' | 'EntryAdded' | 'EntryVoided' | 'ParticipantAdded' | 'ParticipantRemoved' | 'Closed' | 'Exported';
|
|
179
|
+
export type CaseFileTrackingAction = 'Created' | 'Updated' | 'EntryAdded' | 'EntryVoided' | 'EntryMoved' | 'ParticipantAdded' | 'ParticipantRemoved' | 'Closed' | 'Exported' | 'ShareLinkCreated' | 'ShareLinkRevoked' | 'DispositionRecorded';
|
|
147
180
|
export declare const CaseFileTrackingAction: {
|
|
148
181
|
Created: "Created";
|
|
149
182
|
Updated: "Updated";
|
|
150
183
|
EntryAdded: "EntryAdded";
|
|
151
184
|
EntryVoided: "EntryVoided";
|
|
185
|
+
EntryMoved: "EntryMoved";
|
|
152
186
|
ParticipantAdded: "ParticipantAdded";
|
|
153
187
|
ParticipantRemoved: "ParticipantRemoved";
|
|
154
188
|
Closed: "Closed";
|
|
155
189
|
Exported: "Exported";
|
|
190
|
+
ShareLinkCreated: "ShareLinkCreated";
|
|
191
|
+
ShareLinkRevoked: "ShareLinkRevoked";
|
|
192
|
+
DispositionRecorded: "DispositionRecorded";
|
|
156
193
|
};
|
|
157
194
|
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
158
195
|
export declare const CaseFileAccessAction: {
|
|
@@ -160,6 +197,242 @@ export declare const CaseFileAccessAction: {
|
|
|
160
197
|
FileDownloaded: "FileDownloaded";
|
|
161
198
|
Exported: "Exported";
|
|
162
199
|
};
|
|
200
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
201
|
+
export declare const ScanSessionStatus: {
|
|
202
|
+
Open: "Open";
|
|
203
|
+
Ready: "Ready";
|
|
204
|
+
};
|
|
205
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
206
|
+
export declare const TextSnippetSection: {
|
|
207
|
+
Vistos: "Vistos";
|
|
208
|
+
Considerando: "Considerando";
|
|
209
|
+
Resolutive: "Resolutive";
|
|
210
|
+
Body: "Body";
|
|
211
|
+
Closing: "Closing";
|
|
212
|
+
};
|
|
213
|
+
export type HolidaySource = 'Manual' | 'Api';
|
|
214
|
+
export declare const HolidaySource: {
|
|
215
|
+
Manual: "Manual";
|
|
216
|
+
Api: "Api";
|
|
217
|
+
};
|
|
218
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
219
|
+
export declare const WorkFolderItemKind: {
|
|
220
|
+
Document: "Document";
|
|
221
|
+
File: "File";
|
|
222
|
+
};
|
|
223
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
224
|
+
export declare const ServiceOutageKind: {
|
|
225
|
+
Unplanned: "Unplanned";
|
|
226
|
+
Planned: "Planned";
|
|
227
|
+
};
|
|
228
|
+
export type QualityMetricKey = 'Effectiveness' | 'Efficiency' | 'Availability' | 'ResponseTime' | 'Accessibility' | 'FunctionalCompleteness' | 'Interoperability';
|
|
229
|
+
export declare const QualityMetricKey: {
|
|
230
|
+
Effectiveness: "Effectiveness";
|
|
231
|
+
Efficiency: "Efficiency";
|
|
232
|
+
Availability: "Availability";
|
|
233
|
+
ResponseTime: "ResponseTime";
|
|
234
|
+
Accessibility: "Accessibility";
|
|
235
|
+
FunctionalCompleteness: "FunctionalCompleteness";
|
|
236
|
+
Interoperability: "Interoperability";
|
|
237
|
+
};
|
|
238
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
239
|
+
export declare const DocumentAccessAction: {
|
|
240
|
+
Viewed: "Viewed";
|
|
241
|
+
FileDownloaded: "FileDownloaded";
|
|
242
|
+
TrailExported: "TrailExported";
|
|
243
|
+
};
|
|
244
|
+
export type AuditEntity = 'DocumentType' | 'IssuingEntity' | 'ArchivalSeries' | 'TextSnippet' | 'Holiday' | 'Procedure' | 'QualityMetric' | 'ServiceOutage' | 'Repository' | 'DataTreatment' | 'DocumentTemplate' | 'DirectorateReviewer' | 'CategoryNumbering';
|
|
245
|
+
export declare const AuditEntity: {
|
|
246
|
+
DocumentType: "DocumentType";
|
|
247
|
+
IssuingEntity: "IssuingEntity";
|
|
248
|
+
ArchivalSeries: "ArchivalSeries";
|
|
249
|
+
TextSnippet: "TextSnippet";
|
|
250
|
+
Holiday: "Holiday";
|
|
251
|
+
Procedure: "Procedure";
|
|
252
|
+
QualityMetric: "QualityMetric";
|
|
253
|
+
ServiceOutage: "ServiceOutage";
|
|
254
|
+
Repository: "Repository";
|
|
255
|
+
DataTreatment: "DataTreatment";
|
|
256
|
+
DocumentTemplate: "DocumentTemplate";
|
|
257
|
+
DirectorateReviewer: "DirectorateReviewer";
|
|
258
|
+
CategoryNumbering: "CategoryNumbering";
|
|
259
|
+
};
|
|
260
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
261
|
+
export declare const AuditAction: {
|
|
262
|
+
Created: "Created";
|
|
263
|
+
Updated: "Updated";
|
|
264
|
+
Enabled: "Enabled";
|
|
265
|
+
Disabled: "Disabled";
|
|
266
|
+
Removed: "Removed";
|
|
267
|
+
Exported: "Exported";
|
|
268
|
+
};
|
|
269
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
270
|
+
export declare const FinalDisposition: {
|
|
271
|
+
Permanent: "Permanent";
|
|
272
|
+
Eliminate: "Eliminate";
|
|
273
|
+
Select: "Select";
|
|
274
|
+
};
|
|
275
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
276
|
+
export declare const DispositionKind: {
|
|
277
|
+
Transfer: "Transfer";
|
|
278
|
+
Elimination: "Elimination";
|
|
279
|
+
};
|
|
280
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
281
|
+
export declare const AccessRequestChannel: {
|
|
282
|
+
Portal: "Portal";
|
|
283
|
+
Email: "Email";
|
|
284
|
+
InPerson: "InPerson";
|
|
285
|
+
Letter: "Letter";
|
|
286
|
+
};
|
|
287
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
288
|
+
export declare const AccessRequestStatus: {
|
|
289
|
+
Received: "Received";
|
|
290
|
+
InCorrection: "InCorrection";
|
|
291
|
+
InProgress: "InProgress";
|
|
292
|
+
Resolved: "Resolved";
|
|
293
|
+
};
|
|
294
|
+
export type AccessRequestResolution = 'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
295
|
+
export declare const AccessRequestResolution: {
|
|
296
|
+
Delivered: "Delivered";
|
|
297
|
+
PartiallyDelivered: "PartiallyDelivered";
|
|
298
|
+
Denied: "Denied";
|
|
299
|
+
Derived: "Derived";
|
|
300
|
+
NonExistent: "NonExistent";
|
|
301
|
+
Withdrawn: "Withdrawn";
|
|
302
|
+
};
|
|
303
|
+
export type AccessRequestEventAction = 'Received' | 'Updated' | 'CorrectionRequested' | 'Corrected' | 'Assigned' | 'ThirdPartyNotified' | 'OppositionRegistered' | 'Extended' | 'Resolved' | 'AppealRegistered';
|
|
304
|
+
export declare const AccessRequestEventAction: {
|
|
305
|
+
Received: "Received";
|
|
306
|
+
Updated: "Updated";
|
|
307
|
+
CorrectionRequested: "CorrectionRequested";
|
|
308
|
+
Corrected: "Corrected";
|
|
309
|
+
Assigned: "Assigned";
|
|
310
|
+
ThirdPartyNotified: "ThirdPartyNotified";
|
|
311
|
+
OppositionRegistered: "OppositionRegistered";
|
|
312
|
+
Extended: "Extended";
|
|
313
|
+
Resolved: "Resolved";
|
|
314
|
+
AppealRegistered: "AppealRegistered";
|
|
315
|
+
};
|
|
316
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
317
|
+
export declare const TransparencyStatus: {
|
|
318
|
+
Published: "Published";
|
|
319
|
+
Excluded: "Excluded";
|
|
320
|
+
};
|
|
321
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
322
|
+
export declare const DataLegalBasis: {
|
|
323
|
+
LegalFunction: "LegalFunction";
|
|
324
|
+
LegalObligation: "LegalObligation";
|
|
325
|
+
Consent: "Consent";
|
|
326
|
+
Contract: "Contract";
|
|
327
|
+
VitalInterest: "VitalInterest";
|
|
328
|
+
};
|
|
329
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
330
|
+
export declare const DataRight: {
|
|
331
|
+
Access: "Access";
|
|
332
|
+
Rectification: "Rectification";
|
|
333
|
+
Suppression: "Suppression";
|
|
334
|
+
Opposition: "Opposition";
|
|
335
|
+
Portability: "Portability";
|
|
336
|
+
};
|
|
337
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
338
|
+
export declare const DataRightsChannel: {
|
|
339
|
+
Email: "Email";
|
|
340
|
+
WebForm: "WebForm";
|
|
341
|
+
InPerson: "InPerson";
|
|
342
|
+
Letter: "Letter";
|
|
343
|
+
};
|
|
344
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
345
|
+
export declare const DataRightsRequestStatus: {
|
|
346
|
+
Received: "Received";
|
|
347
|
+
InProgress: "InProgress";
|
|
348
|
+
Resolved: "Resolved";
|
|
349
|
+
};
|
|
350
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
351
|
+
export declare const DataRightsResolution: {
|
|
352
|
+
Granted: "Granted";
|
|
353
|
+
PartiallyGranted: "PartiallyGranted";
|
|
354
|
+
Denied: "Denied";
|
|
355
|
+
Withdrawn: "Withdrawn";
|
|
356
|
+
};
|
|
357
|
+
export type DataRightsEventAction = 'Received' | 'Updated' | 'Acknowledged' | 'IdentityVerified' | 'Assigned' | 'BlockingResolved' | 'BlockingLifted' | 'Extended' | 'Resolved' | 'ResponseSent' | 'ComplaintRegistered';
|
|
358
|
+
export declare const DataRightsEventAction: {
|
|
359
|
+
Received: "Received";
|
|
360
|
+
Updated: "Updated";
|
|
361
|
+
Acknowledged: "Acknowledged";
|
|
362
|
+
IdentityVerified: "IdentityVerified";
|
|
363
|
+
Assigned: "Assigned";
|
|
364
|
+
BlockingResolved: "BlockingResolved";
|
|
365
|
+
BlockingLifted: "BlockingLifted";
|
|
366
|
+
Extended: "Extended";
|
|
367
|
+
Resolved: "Resolved";
|
|
368
|
+
ResponseSent: "ResponseSent";
|
|
369
|
+
ComplaintRegistered: "ComplaintRegistered";
|
|
370
|
+
};
|
|
371
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
372
|
+
export declare const DataBreachKind: {
|
|
373
|
+
Destruction: "Destruction";
|
|
374
|
+
Leak: "Leak";
|
|
375
|
+
Loss: "Loss";
|
|
376
|
+
Alteration: "Alteration";
|
|
377
|
+
UnauthorizedAccess: "UnauthorizedAccess";
|
|
378
|
+
};
|
|
379
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
380
|
+
export declare const DataBreachStatus: {
|
|
381
|
+
Open: "Open";
|
|
382
|
+
Closed: "Closed";
|
|
383
|
+
};
|
|
384
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
385
|
+
export declare const DataBreachEventAction: {
|
|
386
|
+
Registered: "Registered";
|
|
387
|
+
Updated: "Updated";
|
|
388
|
+
AgencyReported: "AgencyReported";
|
|
389
|
+
HoldersNotified: "HoldersNotified";
|
|
390
|
+
Closed: "Closed";
|
|
391
|
+
};
|
|
392
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
393
|
+
export declare const DataBreachNoticeMeans: {
|
|
394
|
+
Individual: "Individual";
|
|
395
|
+
PublicNotice: "PublicNotice";
|
|
396
|
+
};
|
|
397
|
+
export type DeskFileSource = 'Upload' | 'Scan' | 'Email';
|
|
398
|
+
export declare const DeskFileSource: {
|
|
399
|
+
Upload: "Upload";
|
|
400
|
+
Scan: "Scan";
|
|
401
|
+
Email: "Email";
|
|
402
|
+
};
|
|
403
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
404
|
+
export declare const DeskFileTarget: {
|
|
405
|
+
Document: "Document";
|
|
406
|
+
CaseFile: "CaseFile";
|
|
407
|
+
};
|
|
408
|
+
export type MailIntakeStatus = 'Pending' | 'Accepted' | 'Discarded';
|
|
409
|
+
export declare const MailIntakeStatus: {
|
|
410
|
+
Pending: "Pending";
|
|
411
|
+
Accepted: "Accepted";
|
|
412
|
+
Discarded: "Discarded";
|
|
413
|
+
};
|
|
414
|
+
export type MailAuthentication = 'Pass' | 'Fail' | 'Unknown';
|
|
415
|
+
export declare const MailAuthentication: {
|
|
416
|
+
Pass: "Pass";
|
|
417
|
+
Fail: "Fail";
|
|
418
|
+
Unknown: "Unknown";
|
|
419
|
+
};
|
|
420
|
+
export type DraftingRequestStatus = 'Pending' | 'Taken' | 'Declined' | 'Cancelled';
|
|
421
|
+
export declare const DraftingRequestStatus: {
|
|
422
|
+
Pending: "Pending";
|
|
423
|
+
Taken: "Taken";
|
|
424
|
+
Declined: "Declined";
|
|
425
|
+
Cancelled: "Cancelled";
|
|
426
|
+
};
|
|
427
|
+
export type DraftingRequestEventAction = 'Created' | 'Taken' | 'Released' | 'Declined' | 'Cancelled' | 'DocumentLinked';
|
|
428
|
+
export declare const DraftingRequestEventAction: {
|
|
429
|
+
Created: "Created";
|
|
430
|
+
Taken: "Taken";
|
|
431
|
+
Released: "Released";
|
|
432
|
+
Declined: "Declined";
|
|
433
|
+
Cancelled: "Cancelled";
|
|
434
|
+
DocumentLinked: "DocumentLinked";
|
|
435
|
+
};
|
|
163
436
|
export interface DocumentTypeEntity {
|
|
164
437
|
id: string;
|
|
165
438
|
name: string;
|
|
@@ -169,11 +442,30 @@ export interface DocumentTypeEntity {
|
|
|
169
442
|
nextCorrelative: number;
|
|
170
443
|
correlativeYear?: number | null;
|
|
171
444
|
resetsYearly: boolean;
|
|
445
|
+
numbered: boolean;
|
|
446
|
+
numberingScope: DocumentNumberingScope;
|
|
447
|
+
allowsExternalNumber: boolean;
|
|
448
|
+
activeTransparency: boolean;
|
|
449
|
+
transparencySection?: string | null;
|
|
172
450
|
directorateCodeReference?: number | null;
|
|
451
|
+
draftReviewDirectorateCode?: number | null;
|
|
452
|
+
draftReviewDirectorateName?: string | null;
|
|
453
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
454
|
+
archivalSeriesId?: string | null;
|
|
455
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
456
|
+
issuingEntityId?: string | null;
|
|
457
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
458
|
+
sharesNumberingWithId?: string | null;
|
|
459
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
173
460
|
enabled: boolean;
|
|
461
|
+
version: number;
|
|
462
|
+
versions?: DocumentTypeVersionEntity[];
|
|
174
463
|
documents?: DocumentEntity[];
|
|
464
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
175
465
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
176
466
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
467
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
468
|
+
template?: DocumentTemplateEntity | null;
|
|
177
469
|
deleted: boolean;
|
|
178
470
|
createdAt: string;
|
|
179
471
|
updatedAt: string;
|
|
@@ -181,24 +473,37 @@ export interface DocumentTypeEntity {
|
|
|
181
473
|
export interface DocumentEntity {
|
|
182
474
|
id: string;
|
|
183
475
|
subject: string;
|
|
476
|
+
description?: string | null;
|
|
184
477
|
keywords: string[];
|
|
185
478
|
accessLevel: DocumentAccessLevel;
|
|
186
479
|
hasSensitiveData: boolean;
|
|
480
|
+
restrictionEndsAt?: string | null;
|
|
187
481
|
status: DocumentStatus;
|
|
188
482
|
correlative?: number | null;
|
|
189
483
|
correlativeYear?: number | null;
|
|
190
484
|
numberedAt?: string | null;
|
|
485
|
+
externalCorrelative?: number | null;
|
|
486
|
+
externalCorrelativeYear?: number | null;
|
|
191
487
|
verificationCode?: string | null;
|
|
192
488
|
signatureSheet: boolean;
|
|
193
489
|
annulledAt?: string | null;
|
|
194
490
|
annulmentReason?: string | null;
|
|
195
491
|
responseDueAt?: string | null;
|
|
492
|
+
responseDueBusinessDays?: number | null;
|
|
493
|
+
procedure?: ProcedureEntity | null;
|
|
494
|
+
procedureId?: string | null;
|
|
196
495
|
origin: DocumentOrigin;
|
|
197
496
|
intakeNumber?: number | null;
|
|
198
497
|
intakeYear?: number | null;
|
|
199
498
|
externalFolio?: string | null;
|
|
200
499
|
externalSender?: string | null;
|
|
201
500
|
externalDate?: string | null;
|
|
501
|
+
intakeMeans?: CommunicationMeans | null;
|
|
502
|
+
composition?: JsonValue | null;
|
|
503
|
+
contentText?: string | null;
|
|
504
|
+
textExtractedAt?: string | null;
|
|
505
|
+
batch?: SignatureBatchEntity | null;
|
|
506
|
+
batchId?: string | null;
|
|
202
507
|
replyTo?: DocumentEntity | null;
|
|
203
508
|
replyToDocumentId?: string | null;
|
|
204
509
|
replies?: DocumentEntity[];
|
|
@@ -210,10 +515,13 @@ export interface DocumentEntity {
|
|
|
210
515
|
originalFileName: string;
|
|
211
516
|
currentFileId?: string | null;
|
|
212
517
|
currentFileUrl?: string | null;
|
|
518
|
+
fileFormat?: string | null;
|
|
213
519
|
submittedAt?: string | null;
|
|
214
520
|
finishedAt?: string | null;
|
|
215
521
|
documentType?: DocumentTypeEntity;
|
|
216
522
|
documentTypeId: string;
|
|
523
|
+
documentTypeVersion?: DocumentTypeVersionEntity | null;
|
|
524
|
+
documentTypeVersionId?: string | null;
|
|
217
525
|
participants?: DocumentParticipantEntity[];
|
|
218
526
|
attachments?: DocumentAttachmentEntity[];
|
|
219
527
|
trackings?: DocumentTrackingEntity[];
|
|
@@ -221,17 +529,50 @@ export interface DocumentEntity {
|
|
|
221
529
|
recipients?: DocumentRecipientEntity[];
|
|
222
530
|
deliveries?: DocumentDeliveryEntity[];
|
|
223
531
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
532
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
224
533
|
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
534
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
535
|
+
accesses?: DocumentAccessEntity[];
|
|
536
|
+
disposition?: DispositionRecordEntity | null;
|
|
537
|
+
dispositionId?: string | null;
|
|
538
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
539
|
+
transparencyUrl?: string | null;
|
|
540
|
+
transparencyNote?: string | null;
|
|
541
|
+
transparencyAt?: string | null;
|
|
542
|
+
transparencyByFullName?: string | null;
|
|
543
|
+
redactedFileId?: string | null;
|
|
544
|
+
redactedFileName?: string | null;
|
|
545
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
546
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
547
|
+
versions?: DocumentVersionEntity[];
|
|
548
|
+
comments?: DocumentCommentEntity[];
|
|
549
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
550
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
551
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
552
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
225
553
|
dispatch?: DocumentDispatchEntity | null;
|
|
226
554
|
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
227
555
|
deleted: boolean;
|
|
228
556
|
createdAt: string;
|
|
229
557
|
updatedAt: string;
|
|
230
558
|
}
|
|
559
|
+
export interface SignatureBatchEntity {
|
|
560
|
+
id: string;
|
|
561
|
+
name: string;
|
|
562
|
+
createdByEmployeeId: string;
|
|
563
|
+
createdByFullName: string;
|
|
564
|
+
documentType?: DocumentTypeEntity;
|
|
565
|
+
documentTypeId: string;
|
|
566
|
+
documents?: DocumentEntity[];
|
|
567
|
+
deleted: boolean;
|
|
568
|
+
createdAt: string;
|
|
569
|
+
updatedAt: string;
|
|
570
|
+
}
|
|
231
571
|
export interface DocumentParticipantEntity {
|
|
232
572
|
id: string;
|
|
233
573
|
role: DocumentParticipantRole;
|
|
234
574
|
order: number;
|
|
575
|
+
stage: number;
|
|
235
576
|
status: DocumentParticipantStatus;
|
|
236
577
|
employeeId: string;
|
|
237
578
|
fullName: string;
|
|
@@ -259,6 +600,7 @@ export interface DocumentTrackingEntity {
|
|
|
259
600
|
id: string;
|
|
260
601
|
action: DocumentTrackingAction;
|
|
261
602
|
observation?: string | null;
|
|
603
|
+
sha256?: string | null;
|
|
262
604
|
employeeId?: string | null;
|
|
263
605
|
employeeFullName?: string | null;
|
|
264
606
|
document?: DocumentEntity;
|
|
@@ -306,10 +648,44 @@ export interface DocumentDeliveryEntity {
|
|
|
306
648
|
readAt?: string | null;
|
|
307
649
|
closedAt?: string | null;
|
|
308
650
|
closingNote?: string | null;
|
|
651
|
+
dueSoonRemindedAt?: string | null;
|
|
652
|
+
overdueRemindedAt?: string | null;
|
|
309
653
|
document?: DocumentEntity;
|
|
310
654
|
documentId: string;
|
|
311
655
|
createdAt: string;
|
|
312
656
|
}
|
|
657
|
+
export interface CategoryNumberingEntity {
|
|
658
|
+
category: DocumentCategory;
|
|
659
|
+
nextCorrelative: number;
|
|
660
|
+
correlativeYear?: number | null;
|
|
661
|
+
resetsYearly: boolean;
|
|
662
|
+
updatedAt: string;
|
|
663
|
+
}
|
|
664
|
+
export interface DocumentTypeVersionEntity {
|
|
665
|
+
id: string;
|
|
666
|
+
version: number;
|
|
667
|
+
name: string;
|
|
668
|
+
abbreviation?: string | null;
|
|
669
|
+
category: DocumentCategory;
|
|
670
|
+
description?: string | null;
|
|
671
|
+
numbered: boolean;
|
|
672
|
+
numberingScope: DocumentNumberingScope;
|
|
673
|
+
allowsExternalNumber: boolean;
|
|
674
|
+
activeTransparency: boolean;
|
|
675
|
+
transparencySection?: string | null;
|
|
676
|
+
directorateCodeReference?: number | null;
|
|
677
|
+
draftReviewDirectorateCode?: number | null;
|
|
678
|
+
draftReviewDirectorateName?: string | null;
|
|
679
|
+
issuingEntityId?: string | null;
|
|
680
|
+
sharesNumberingWithId?: string | null;
|
|
681
|
+
templateVersion?: number | null;
|
|
682
|
+
flowSteps: JsonValue;
|
|
683
|
+
createdByFullName?: string | null;
|
|
684
|
+
createdAt: string;
|
|
685
|
+
documentType?: DocumentTypeEntity;
|
|
686
|
+
documentTypeId: string;
|
|
687
|
+
documents?: DocumentEntity[];
|
|
688
|
+
}
|
|
313
689
|
export interface DocumentTypeFlowStepEntity {
|
|
314
690
|
id: string;
|
|
315
691
|
role: DocumentParticipantRole;
|
|
@@ -319,6 +695,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
319
695
|
directorateCodeReference?: number | null;
|
|
320
696
|
name: string;
|
|
321
697
|
position?: string | null;
|
|
698
|
+
withPrevious: boolean;
|
|
322
699
|
documentType?: DocumentTypeEntity;
|
|
323
700
|
documentTypeId: string;
|
|
324
701
|
createdAt: string;
|
|
@@ -329,8 +706,13 @@ export interface ProcedureEntity {
|
|
|
329
706
|
cpatId?: string | null;
|
|
330
707
|
cpatCode?: string | null;
|
|
331
708
|
description?: string | null;
|
|
709
|
+
kind?: string | null;
|
|
710
|
+
responsibleArea?: string | null;
|
|
711
|
+
cpatStatus?: string | null;
|
|
712
|
+
fromCpat: boolean;
|
|
332
713
|
enabled: boolean;
|
|
333
714
|
caseFiles?: CaseFileEntity[];
|
|
715
|
+
documents?: DocumentEntity[];
|
|
334
716
|
deleted: boolean;
|
|
335
717
|
createdAt: string;
|
|
336
718
|
updatedAt: string;
|
|
@@ -350,6 +732,9 @@ export interface CaseFileEntity {
|
|
|
350
732
|
status: CaseFileStatus;
|
|
351
733
|
accessLevel: DocumentAccessLevel;
|
|
352
734
|
hasSensitiveData: boolean;
|
|
735
|
+
restrictionEndsAt?: string | null;
|
|
736
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
737
|
+
archivalSeriesId?: string | null;
|
|
353
738
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
354
739
|
schemaVersion: string;
|
|
355
740
|
procedure?: ProcedureEntity;
|
|
@@ -358,6 +743,8 @@ export interface CaseFileEntity {
|
|
|
358
743
|
responsibleFullName: string;
|
|
359
744
|
responsiblePosition?: string | null;
|
|
360
745
|
closedAt?: string | null;
|
|
746
|
+
disposition?: DispositionRecordEntity | null;
|
|
747
|
+
dispositionId?: string | null;
|
|
361
748
|
closedByEmployeeId?: string | null;
|
|
362
749
|
closedByFullName?: string | null;
|
|
363
750
|
closingNote?: string | null;
|
|
@@ -368,8 +755,11 @@ export interface CaseFileEntity {
|
|
|
368
755
|
trackings?: CaseFileTrackingEntity[];
|
|
369
756
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
370
757
|
accesses?: CaseFileAccessEntity[];
|
|
758
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
759
|
+
integratedPdf?: JsonValue | null;
|
|
371
760
|
createdAt: string;
|
|
372
761
|
updatedAt: string;
|
|
762
|
+
workFolder?: WorkFolderEntity | null;
|
|
373
763
|
}
|
|
374
764
|
export interface CaseFileParticipantEntity {
|
|
375
765
|
id: string;
|
|
@@ -398,6 +788,7 @@ export interface CaseFileEntryEntity {
|
|
|
398
788
|
kind: CaseFileEntryKind;
|
|
399
789
|
actuationType: CaseFileActuationType;
|
|
400
790
|
title: string;
|
|
791
|
+
folder?: string | null;
|
|
401
792
|
document?: DocumentEntity | null;
|
|
402
793
|
documentId?: string | null;
|
|
403
794
|
fileId?: string | null;
|
|
@@ -408,11 +799,16 @@ export interface CaseFileEntryEntity {
|
|
|
408
799
|
keywords: string[];
|
|
409
800
|
accessLevel?: DocumentAccessLevel | null;
|
|
410
801
|
hasSensitiveData?: boolean | null;
|
|
802
|
+
physicalLocation?: string | null;
|
|
803
|
+
physicalReason?: string | null;
|
|
804
|
+
pageCount?: number | null;
|
|
411
805
|
linkedCaseFile?: CaseFileEntity | null;
|
|
412
806
|
linkedCaseFileId?: string | null;
|
|
413
807
|
sha256?: string | null;
|
|
414
808
|
size?: number | null;
|
|
415
809
|
hasAdvancedSignature: boolean;
|
|
810
|
+
fileFormat?: string | null;
|
|
811
|
+
signatureCheck?: JsonValue | null;
|
|
416
812
|
incorporatedByEmployeeId: string;
|
|
417
813
|
incorporatedByFullName: string;
|
|
418
814
|
voidedAt?: string | null;
|
|
@@ -448,12 +844,57 @@ export interface CaseFileAccessEntity {
|
|
|
448
844
|
id: string;
|
|
449
845
|
action: CaseFileAccessAction;
|
|
450
846
|
entryId?: string | null;
|
|
451
|
-
employeeId
|
|
847
|
+
employeeId?: string | null;
|
|
452
848
|
employeeFullName: string;
|
|
849
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
850
|
+
shareLinkId?: string | null;
|
|
453
851
|
caseFile?: CaseFileEntity;
|
|
454
852
|
caseFileId: string;
|
|
455
853
|
createdAt: string;
|
|
456
854
|
}
|
|
855
|
+
export interface CaseFileShareLinkEntity {
|
|
856
|
+
id: string;
|
|
857
|
+
tokenHash: string;
|
|
858
|
+
recipient: string;
|
|
859
|
+
recipientEmail?: string | null;
|
|
860
|
+
purpose?: string | null;
|
|
861
|
+
allowExport: boolean;
|
|
862
|
+
expiresAt: string;
|
|
863
|
+
createdByEmployeeId: string;
|
|
864
|
+
createdByFullName: string;
|
|
865
|
+
revokedAt?: string | null;
|
|
866
|
+
revokedByEmployeeId?: string | null;
|
|
867
|
+
revokedByFullName?: string | null;
|
|
868
|
+
caseFile?: CaseFileEntity;
|
|
869
|
+
caseFileId: string;
|
|
870
|
+
accesses?: CaseFileAccessEntity[];
|
|
871
|
+
createdAt: string;
|
|
872
|
+
}
|
|
873
|
+
export interface DocumentEmailCopyEntity {
|
|
874
|
+
id: string;
|
|
875
|
+
name: string;
|
|
876
|
+
email: string;
|
|
877
|
+
tokenHash?: string | null;
|
|
878
|
+
expiresAt?: string | null;
|
|
879
|
+
issuedAt?: string | null;
|
|
880
|
+
openedAt?: string | null;
|
|
881
|
+
downloadCount: number;
|
|
882
|
+
document?: DocumentEntity;
|
|
883
|
+
documentId: string;
|
|
884
|
+
createdAt: string;
|
|
885
|
+
}
|
|
886
|
+
export interface ScanSessionEntity {
|
|
887
|
+
id: string;
|
|
888
|
+
tokenHash: string;
|
|
889
|
+
status: ScanSessionStatus;
|
|
890
|
+
employeeId: string;
|
|
891
|
+
pages: JsonValue;
|
|
892
|
+
fileId?: string | null;
|
|
893
|
+
fileName?: string | null;
|
|
894
|
+
expiresAt: string;
|
|
895
|
+
finishedAt?: string | null;
|
|
896
|
+
createdAt: string;
|
|
897
|
+
}
|
|
457
898
|
export interface DocumentExternalRecipientEntity {
|
|
458
899
|
id: string;
|
|
459
900
|
entityId: number;
|
|
@@ -480,6 +921,11 @@ export interface DocumentDispatchEntity {
|
|
|
480
921
|
returnedByEmployeeId?: string | null;
|
|
481
922
|
returnedByFullName?: string | null;
|
|
482
923
|
returnReason?: string | null;
|
|
924
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
925
|
+
contingencySentTo?: string | null;
|
|
926
|
+
contingencyReason?: string | null;
|
|
927
|
+
contingencyReceiptFileId?: string | null;
|
|
928
|
+
contingencyReceiptName?: string | null;
|
|
483
929
|
document?: DocumentEntity;
|
|
484
930
|
documentId: string;
|
|
485
931
|
createdAt: string;
|
|
@@ -500,9 +946,12 @@ export interface DocDigitalInboundEntity {
|
|
|
500
946
|
senderEntityName?: string | null;
|
|
501
947
|
senderName?: string | null;
|
|
502
948
|
senderPosition?: string | null;
|
|
949
|
+
recipientEntityId?: number | null;
|
|
950
|
+
recipientEntityName?: string | null;
|
|
503
951
|
fileId?: string | null;
|
|
504
952
|
fileName?: string | null;
|
|
505
953
|
attachments: JsonValue;
|
|
954
|
+
signatureCheck?: JsonValue | null;
|
|
506
955
|
registeredAt?: string | null;
|
|
507
956
|
registeredByEmployeeId?: string | null;
|
|
508
957
|
registeredByFullName?: string | null;
|
|
@@ -517,10 +966,571 @@ export interface DocDigitalInboundEntity {
|
|
|
517
966
|
createdAt: string;
|
|
518
967
|
updatedAt: string;
|
|
519
968
|
}
|
|
969
|
+
export interface HolidayEntity {
|
|
970
|
+
id: string;
|
|
971
|
+
date: string;
|
|
972
|
+
name: string;
|
|
973
|
+
source: HolidaySource;
|
|
974
|
+
kind?: string | null;
|
|
975
|
+
excluded: boolean;
|
|
976
|
+
createdAt: string;
|
|
977
|
+
updatedAt: string;
|
|
978
|
+
}
|
|
979
|
+
export interface ProcedureSyncEntity {
|
|
980
|
+
institutionCode: string;
|
|
981
|
+
syncedAt: string;
|
|
982
|
+
total: number;
|
|
983
|
+
resourceName: string;
|
|
984
|
+
}
|
|
985
|
+
export interface HolidaySyncEntity {
|
|
986
|
+
year: number;
|
|
987
|
+
syncedAt: string;
|
|
988
|
+
total: number;
|
|
989
|
+
}
|
|
990
|
+
export interface TextSnippetEntity {
|
|
991
|
+
id: string;
|
|
992
|
+
title: string;
|
|
993
|
+
text: string;
|
|
994
|
+
section: TextSnippetSection;
|
|
995
|
+
keywords: string[];
|
|
996
|
+
enabled: boolean;
|
|
997
|
+
deleted: boolean;
|
|
998
|
+
createdAt: string;
|
|
999
|
+
updatedAt: string;
|
|
1000
|
+
}
|
|
1001
|
+
export interface DocumentTemplateEntity {
|
|
1002
|
+
id: string;
|
|
1003
|
+
name: string;
|
|
1004
|
+
description?: string | null;
|
|
1005
|
+
documentTypeIds: string[];
|
|
1006
|
+
documentType?: DocumentTypeEntity | null;
|
|
1007
|
+
documentTypeId?: string | null;
|
|
1008
|
+
content: JsonValue;
|
|
1009
|
+
version: number;
|
|
1010
|
+
enabled: boolean;
|
|
1011
|
+
updatedByFullName?: string | null;
|
|
1012
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1013
|
+
deleted: boolean;
|
|
1014
|
+
createdAt: string;
|
|
1015
|
+
updatedAt: string;
|
|
1016
|
+
}
|
|
1017
|
+
export interface DocumentDraftReviewEntity {
|
|
1018
|
+
id: string;
|
|
1019
|
+
documentId: string;
|
|
1020
|
+
document?: DocumentEntity;
|
|
1021
|
+
round: number;
|
|
1022
|
+
versionNumber: number;
|
|
1023
|
+
directorateCodeReference: number;
|
|
1024
|
+
directorateName: string;
|
|
1025
|
+
reviewerEmployeeId: string;
|
|
1026
|
+
reviewerFullName: string;
|
|
1027
|
+
requestedByEmployeeId: string;
|
|
1028
|
+
requestedByFullName: string;
|
|
1029
|
+
requestedAt: string;
|
|
1030
|
+
status: DraftReviewStatus;
|
|
1031
|
+
observation?: string | null;
|
|
1032
|
+
resolvedAt?: string | null;
|
|
1033
|
+
}
|
|
1034
|
+
export interface DocumentTemplateVersionEntity {
|
|
1035
|
+
id: string;
|
|
1036
|
+
templateId: string;
|
|
1037
|
+
template?: DocumentTemplateEntity;
|
|
1038
|
+
version: number;
|
|
1039
|
+
content: JsonValue;
|
|
1040
|
+
createdByFullName?: string | null;
|
|
1041
|
+
createdAt: string;
|
|
1042
|
+
}
|
|
1043
|
+
export interface ArchivalSeriesEntity {
|
|
1044
|
+
id: string;
|
|
1045
|
+
code: string;
|
|
1046
|
+
name: string;
|
|
1047
|
+
section?: string | null;
|
|
1048
|
+
description?: string | null;
|
|
1049
|
+
managementYears?: number | null;
|
|
1050
|
+
centralYears?: number | null;
|
|
1051
|
+
finalDisposition?: FinalDisposition | null;
|
|
1052
|
+
retentionNote?: string | null;
|
|
1053
|
+
enabled: boolean;
|
|
1054
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1055
|
+
caseFiles?: CaseFileEntity[];
|
|
1056
|
+
dispositions?: DispositionRecordEntity[];
|
|
1057
|
+
deleted: boolean;
|
|
1058
|
+
createdAt: string;
|
|
1059
|
+
updatedAt: string;
|
|
1060
|
+
}
|
|
1061
|
+
export interface IssuingEntityEntity {
|
|
1062
|
+
id: string;
|
|
1063
|
+
name: string;
|
|
1064
|
+
shortName?: string | null;
|
|
1065
|
+
directorateCodeReferences: number[];
|
|
1066
|
+
docDigitalEntityId?: number | null;
|
|
1067
|
+
enabled: boolean;
|
|
1068
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1069
|
+
deleted: boolean;
|
|
1070
|
+
createdAt: string;
|
|
1071
|
+
updatedAt: string;
|
|
1072
|
+
}
|
|
520
1073
|
export interface IntakeSequenceEntity {
|
|
521
1074
|
year: number;
|
|
522
1075
|
next: number;
|
|
523
1076
|
}
|
|
1077
|
+
export interface WorkFolderEntity {
|
|
1078
|
+
id: string;
|
|
1079
|
+
name: string;
|
|
1080
|
+
description?: string | null;
|
|
1081
|
+
ownerEmployeeId: string;
|
|
1082
|
+
ownerFullName: string;
|
|
1083
|
+
caseFile?: CaseFileEntity | null;
|
|
1084
|
+
caseFileId?: string | null;
|
|
1085
|
+
participants?: WorkFolderParticipantEntity[];
|
|
1086
|
+
items?: WorkFolderItemEntity[];
|
|
1087
|
+
deleted: boolean;
|
|
1088
|
+
createdAt: string;
|
|
1089
|
+
updatedAt: string;
|
|
1090
|
+
}
|
|
1091
|
+
export interface WorkFolderParticipantEntity {
|
|
1092
|
+
id: string;
|
|
1093
|
+
employeeId: string;
|
|
1094
|
+
fullName: string;
|
|
1095
|
+
folder?: WorkFolderEntity;
|
|
1096
|
+
folderId: string;
|
|
1097
|
+
createdAt: string;
|
|
1098
|
+
}
|
|
1099
|
+
export interface WorkFolderItemEntity {
|
|
1100
|
+
id: string;
|
|
1101
|
+
kind: WorkFolderItemKind;
|
|
1102
|
+
title: string;
|
|
1103
|
+
document?: DocumentEntity | null;
|
|
1104
|
+
documentId?: string | null;
|
|
1105
|
+
fileId?: string | null;
|
|
1106
|
+
fileName?: string | null;
|
|
1107
|
+
addedByEmployeeId: string;
|
|
1108
|
+
addedByFullName: string;
|
|
1109
|
+
folder?: WorkFolderEntity;
|
|
1110
|
+
folderId: string;
|
|
1111
|
+
createdAt: string;
|
|
1112
|
+
}
|
|
1113
|
+
export interface ServiceOutageEntity {
|
|
1114
|
+
id: string;
|
|
1115
|
+
kind: ServiceOutageKind;
|
|
1116
|
+
startedAt: string;
|
|
1117
|
+
endedAt?: string | null;
|
|
1118
|
+
cause: string;
|
|
1119
|
+
affectedServices?: string | null;
|
|
1120
|
+
createdByEmployeeId: string;
|
|
1121
|
+
createdByFullName: string;
|
|
1122
|
+
updatedByFullName?: string | null;
|
|
1123
|
+
deleted: boolean;
|
|
1124
|
+
createdAt: string;
|
|
1125
|
+
updatedAt: string;
|
|
1126
|
+
}
|
|
1127
|
+
export interface QualityMetricSettingEntity {
|
|
1128
|
+
key: QualityMetricKey;
|
|
1129
|
+
threshold: number;
|
|
1130
|
+
declaredValue?: number | null;
|
|
1131
|
+
declaredNote?: string | null;
|
|
1132
|
+
declaredAt?: string | null;
|
|
1133
|
+
declaredByFullName?: string | null;
|
|
1134
|
+
updatedAt: string;
|
|
1135
|
+
}
|
|
1136
|
+
export interface ServiceTimingEntity {
|
|
1137
|
+
hour: string;
|
|
1138
|
+
count: number;
|
|
1139
|
+
errorCount: number;
|
|
1140
|
+
totalMs: number;
|
|
1141
|
+
maxMs: number;
|
|
1142
|
+
under100: number;
|
|
1143
|
+
under250: number;
|
|
1144
|
+
under500: number;
|
|
1145
|
+
under1000: number;
|
|
1146
|
+
under2000: number;
|
|
1147
|
+
under5000: number;
|
|
1148
|
+
over5000: number;
|
|
1149
|
+
}
|
|
1150
|
+
export interface DocumentAccessEntity {
|
|
1151
|
+
id: string;
|
|
1152
|
+
action: DocumentAccessAction;
|
|
1153
|
+
employeeId?: string | null;
|
|
1154
|
+
employeeFullName: string;
|
|
1155
|
+
document?: DocumentEntity;
|
|
1156
|
+
documentId: string;
|
|
1157
|
+
createdAt: string;
|
|
1158
|
+
}
|
|
1159
|
+
export interface AuditLogEntity {
|
|
1160
|
+
id: string;
|
|
1161
|
+
entity: AuditEntity;
|
|
1162
|
+
action: AuditAction;
|
|
1163
|
+
entityId?: string | null;
|
|
1164
|
+
name: string;
|
|
1165
|
+
details?: JsonValue | null;
|
|
1166
|
+
employeeId?: string | null;
|
|
1167
|
+
employeeFullName: string;
|
|
1168
|
+
createdAt: string;
|
|
1169
|
+
}
|
|
1170
|
+
export interface DispositionRecordEntity {
|
|
1171
|
+
id: string;
|
|
1172
|
+
kind: DispositionKind;
|
|
1173
|
+
number: number;
|
|
1174
|
+
year: number;
|
|
1175
|
+
observation?: string | null;
|
|
1176
|
+
series?: ArchivalSeriesEntity;
|
|
1177
|
+
seriesId: string;
|
|
1178
|
+
documents?: DocumentEntity[];
|
|
1179
|
+
caseFiles?: CaseFileEntity[];
|
|
1180
|
+
createdByEmployeeId: string;
|
|
1181
|
+
createdByFullName: string;
|
|
1182
|
+
createdAt: string;
|
|
1183
|
+
}
|
|
1184
|
+
export interface AccessRequestEntity {
|
|
1185
|
+
id: string;
|
|
1186
|
+
number: number;
|
|
1187
|
+
year: number;
|
|
1188
|
+
externalFolio?: string | null;
|
|
1189
|
+
channel: AccessRequestChannel;
|
|
1190
|
+
receivedAt: string;
|
|
1191
|
+
requesterName: string;
|
|
1192
|
+
requesterEmail?: string | null;
|
|
1193
|
+
requesterAddress?: string | null;
|
|
1194
|
+
requestText: string;
|
|
1195
|
+
deliveryFormat?: string | null;
|
|
1196
|
+
status: AccessRequestStatus;
|
|
1197
|
+
correctionRequestedAt?: string | null;
|
|
1198
|
+
correctionDueAt?: string | null;
|
|
1199
|
+
correctedAt?: string | null;
|
|
1200
|
+
dueAt: string;
|
|
1201
|
+
extendedAt?: string | null;
|
|
1202
|
+
extensionNote?: string | null;
|
|
1203
|
+
assigneeEmployeeId?: string | null;
|
|
1204
|
+
assigneeFullName?: string | null;
|
|
1205
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1206
|
+
oppositionDueAt?: string | null;
|
|
1207
|
+
thirdPartyOpposed?: boolean | null;
|
|
1208
|
+
resolution?: AccessRequestResolution | null;
|
|
1209
|
+
resolvedAt?: string | null;
|
|
1210
|
+
denialGrounds: string[];
|
|
1211
|
+
derivedTo?: string | null;
|
|
1212
|
+
resolutionNote?: string | null;
|
|
1213
|
+
responseDocument?: DocumentEntity | null;
|
|
1214
|
+
responseDocumentId?: string | null;
|
|
1215
|
+
appealedAt?: string | null;
|
|
1216
|
+
appealNote?: string | null;
|
|
1217
|
+
createdByEmployeeId: string;
|
|
1218
|
+
createdByFullName: string;
|
|
1219
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1220
|
+
events?: AccessRequestEventEntity[];
|
|
1221
|
+
createdAt: string;
|
|
1222
|
+
updatedAt: string;
|
|
1223
|
+
}
|
|
1224
|
+
export interface AccessRequestDocumentEntity {
|
|
1225
|
+
accessRequest?: AccessRequestEntity;
|
|
1226
|
+
accessRequestId: string;
|
|
1227
|
+
document?: DocumentEntity;
|
|
1228
|
+
documentId: string;
|
|
1229
|
+
}
|
|
1230
|
+
export interface AccessRequestEventEntity {
|
|
1231
|
+
id: string;
|
|
1232
|
+
action: AccessRequestEventAction;
|
|
1233
|
+
note?: string | null;
|
|
1234
|
+
employeeId?: string | null;
|
|
1235
|
+
employeeFullName: string;
|
|
1236
|
+
accessRequest?: AccessRequestEntity;
|
|
1237
|
+
accessRequestId: string;
|
|
1238
|
+
createdAt: string;
|
|
1239
|
+
}
|
|
1240
|
+
export interface DataTreatmentEntity {
|
|
1241
|
+
id: string;
|
|
1242
|
+
name: string;
|
|
1243
|
+
purpose: string;
|
|
1244
|
+
legalBasis: DataLegalBasis;
|
|
1245
|
+
legalBasisDetail?: string | null;
|
|
1246
|
+
dataCategories: string[];
|
|
1247
|
+
sensitiveData: boolean;
|
|
1248
|
+
dataSubjects: string;
|
|
1249
|
+
recipients?: string | null;
|
|
1250
|
+
source?: string | null;
|
|
1251
|
+
retention?: string | null;
|
|
1252
|
+
securityMeasures?: string | null;
|
|
1253
|
+
internationalTransfer?: string | null;
|
|
1254
|
+
responsibleUnit?: string | null;
|
|
1255
|
+
published: boolean;
|
|
1256
|
+
requests?: DataRightsRequestEntity[];
|
|
1257
|
+
breaches?: DataBreachEntity[];
|
|
1258
|
+
enabled: boolean;
|
|
1259
|
+
deleted: boolean;
|
|
1260
|
+
createdAt: string;
|
|
1261
|
+
updatedAt: string;
|
|
1262
|
+
}
|
|
1263
|
+
export interface DataRightsRequestEntity {
|
|
1264
|
+
id: string;
|
|
1265
|
+
number: number;
|
|
1266
|
+
year: number;
|
|
1267
|
+
channel: DataRightsChannel;
|
|
1268
|
+
receivedAt: string;
|
|
1269
|
+
rights: DataRight[];
|
|
1270
|
+
requesterName: string;
|
|
1271
|
+
requesterRut?: string | null;
|
|
1272
|
+
requesterEmail?: string | null;
|
|
1273
|
+
requesterAddress?: string | null;
|
|
1274
|
+
representativeName?: string | null;
|
|
1275
|
+
identityVerifiedAt?: string | null;
|
|
1276
|
+
identityNote?: string | null;
|
|
1277
|
+
requestText: string;
|
|
1278
|
+
treatment?: DataTreatmentEntity | null;
|
|
1279
|
+
treatmentId?: string | null;
|
|
1280
|
+
status: DataRightsRequestStatus;
|
|
1281
|
+
acknowledgedAt?: string | null;
|
|
1282
|
+
dueAt: string;
|
|
1283
|
+
extendedAt?: string | null;
|
|
1284
|
+
extensionNote?: string | null;
|
|
1285
|
+
blockingRequested: boolean;
|
|
1286
|
+
blockingReason?: string | null;
|
|
1287
|
+
blockingDueAt?: string | null;
|
|
1288
|
+
blockingGranted?: boolean | null;
|
|
1289
|
+
blockingResolvedAt?: string | null;
|
|
1290
|
+
blockingNote?: string | null;
|
|
1291
|
+
blockingLiftedAt?: string | null;
|
|
1292
|
+
blockingLiftNote?: string | null;
|
|
1293
|
+
assigneeEmployeeId?: string | null;
|
|
1294
|
+
assigneeFullName?: string | null;
|
|
1295
|
+
resolution?: DataRightsResolution | null;
|
|
1296
|
+
resolvedAt?: string | null;
|
|
1297
|
+
denialGrounds: string[];
|
|
1298
|
+
resolutionNote?: string | null;
|
|
1299
|
+
responseDocument?: DocumentEntity | null;
|
|
1300
|
+
responseDocumentId?: string | null;
|
|
1301
|
+
responseSentAt?: string | null;
|
|
1302
|
+
responseSentTo?: string | null;
|
|
1303
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1304
|
+
complaintAt?: string | null;
|
|
1305
|
+
complaintNote?: string | null;
|
|
1306
|
+
createdByEmployeeId: string;
|
|
1307
|
+
createdByFullName: string;
|
|
1308
|
+
events?: DataRightsEventEntity[];
|
|
1309
|
+
createdAt: string;
|
|
1310
|
+
updatedAt: string;
|
|
1311
|
+
}
|
|
1312
|
+
export interface DataRightsEventEntity {
|
|
1313
|
+
id: string;
|
|
1314
|
+
action: DataRightsEventAction;
|
|
1315
|
+
note?: string | null;
|
|
1316
|
+
employeeId?: string | null;
|
|
1317
|
+
employeeFullName: string;
|
|
1318
|
+
request?: DataRightsRequestEntity;
|
|
1319
|
+
requestId: string;
|
|
1320
|
+
createdAt: string;
|
|
1321
|
+
}
|
|
1322
|
+
export interface DataBreachEntity {
|
|
1323
|
+
id: string;
|
|
1324
|
+
number: number;
|
|
1325
|
+
year: number;
|
|
1326
|
+
detectedAt: string;
|
|
1327
|
+
occurredAt?: string | null;
|
|
1328
|
+
kinds: DataBreachKind[];
|
|
1329
|
+
description: string;
|
|
1330
|
+
effects?: string | null;
|
|
1331
|
+
dataCategories: string[];
|
|
1332
|
+
affectedCount?: number | null;
|
|
1333
|
+
measures?: string | null;
|
|
1334
|
+
sensitiveData: boolean;
|
|
1335
|
+
minorsData: boolean;
|
|
1336
|
+
financialData: boolean;
|
|
1337
|
+
riskToRights: boolean;
|
|
1338
|
+
treatment?: DataTreatmentEntity | null;
|
|
1339
|
+
treatmentId?: string | null;
|
|
1340
|
+
status: DataBreachStatus;
|
|
1341
|
+
agencyReportedAt?: string | null;
|
|
1342
|
+
agencyReportNote?: string | null;
|
|
1343
|
+
holdersNotifiedAt?: string | null;
|
|
1344
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1345
|
+
holdersNoticeNote?: string | null;
|
|
1346
|
+
closedAt?: string | null;
|
|
1347
|
+
closeNote?: string | null;
|
|
1348
|
+
createdByEmployeeId: string;
|
|
1349
|
+
createdByFullName: string;
|
|
1350
|
+
events?: DataBreachEventEntity[];
|
|
1351
|
+
createdAt: string;
|
|
1352
|
+
updatedAt: string;
|
|
1353
|
+
}
|
|
1354
|
+
export interface DataBreachEventEntity {
|
|
1355
|
+
id: string;
|
|
1356
|
+
action: DataBreachEventAction;
|
|
1357
|
+
note?: string | null;
|
|
1358
|
+
employeeId?: string | null;
|
|
1359
|
+
employeeFullName: string;
|
|
1360
|
+
breach?: DataBreachEntity;
|
|
1361
|
+
breachId: string;
|
|
1362
|
+
createdAt: string;
|
|
1363
|
+
}
|
|
1364
|
+
export interface DeskFileEntity {
|
|
1365
|
+
id: string;
|
|
1366
|
+
ownerEmployeeId: string;
|
|
1367
|
+
fileId: string;
|
|
1368
|
+
fileName: string;
|
|
1369
|
+
size: number;
|
|
1370
|
+
sha256: string;
|
|
1371
|
+
source: DeskFileSource;
|
|
1372
|
+
description?: string | null;
|
|
1373
|
+
classifiedAt?: string | null;
|
|
1374
|
+
target?: DeskFileTarget | null;
|
|
1375
|
+
targetId?: string | null;
|
|
1376
|
+
targetLabel?: string | null;
|
|
1377
|
+
removedAt?: string | null;
|
|
1378
|
+
mailIntake?: MailIntakeEntity | null;
|
|
1379
|
+
mailIntakeId?: string | null;
|
|
1380
|
+
createdAt: string;
|
|
1381
|
+
updatedAt: string;
|
|
1382
|
+
}
|
|
1383
|
+
export interface MailIntakeEntity {
|
|
1384
|
+
id: string;
|
|
1385
|
+
sha256: string;
|
|
1386
|
+
messageId?: string | null;
|
|
1387
|
+
fromAddress: string;
|
|
1388
|
+
fromName?: string | null;
|
|
1389
|
+
subject: string;
|
|
1390
|
+
textPreview?: string | null;
|
|
1391
|
+
sentAt?: string | null;
|
|
1392
|
+
emlFileId: string;
|
|
1393
|
+
emlFileName: string;
|
|
1394
|
+
size: number;
|
|
1395
|
+
attachments: JsonValue;
|
|
1396
|
+
authentication: MailAuthentication;
|
|
1397
|
+
authDetail?: string | null;
|
|
1398
|
+
status: MailIntakeStatus;
|
|
1399
|
+
resolvedAt?: string | null;
|
|
1400
|
+
resolvedByEmployeeId?: string | null;
|
|
1401
|
+
deskFiles?: DeskFileEntity[];
|
|
1402
|
+
createdAt: string;
|
|
1403
|
+
updatedAt: string;
|
|
1404
|
+
}
|
|
1405
|
+
export interface PushSubscriptionEntity {
|
|
1406
|
+
id: string;
|
|
1407
|
+
employeeId: string;
|
|
1408
|
+
endpoint: string;
|
|
1409
|
+
p256dh: string;
|
|
1410
|
+
auth: string;
|
|
1411
|
+
userAgent?: string | null;
|
|
1412
|
+
lastSuccessAt?: string | null;
|
|
1413
|
+
failures: number;
|
|
1414
|
+
createdAt: string;
|
|
1415
|
+
updatedAt: string;
|
|
1416
|
+
}
|
|
1417
|
+
export interface DocumentVersionEntity {
|
|
1418
|
+
id: string;
|
|
1419
|
+
documentId: string;
|
|
1420
|
+
document?: DocumentEntity;
|
|
1421
|
+
number: number;
|
|
1422
|
+
subject: string;
|
|
1423
|
+
fileId: string;
|
|
1424
|
+
fileName: string;
|
|
1425
|
+
sha256?: string | null;
|
|
1426
|
+
composition?: JsonValue | null;
|
|
1427
|
+
note?: string | null;
|
|
1428
|
+
status: DocumentStatus;
|
|
1429
|
+
createdByEmployeeId: string;
|
|
1430
|
+
createdByFullName: string;
|
|
1431
|
+
createdAt: string;
|
|
1432
|
+
}
|
|
1433
|
+
export interface DocumentCommentEntity {
|
|
1434
|
+
id: string;
|
|
1435
|
+
documentId: string;
|
|
1436
|
+
document?: DocumentEntity;
|
|
1437
|
+
versionNumber: number;
|
|
1438
|
+
section?: string | null;
|
|
1439
|
+
quote?: string | null;
|
|
1440
|
+
text: string;
|
|
1441
|
+
authorEmployeeId: string;
|
|
1442
|
+
authorFullName: string;
|
|
1443
|
+
authorRole: string;
|
|
1444
|
+
resolvedAt?: string | null;
|
|
1445
|
+
resolvedByFullName?: string | null;
|
|
1446
|
+
resolutionNote?: string | null;
|
|
1447
|
+
createdAt: string;
|
|
1448
|
+
}
|
|
1449
|
+
export interface DraftingRequestEntity {
|
|
1450
|
+
id: string;
|
|
1451
|
+
number: number;
|
|
1452
|
+
year: number;
|
|
1453
|
+
subject: string;
|
|
1454
|
+
details: string;
|
|
1455
|
+
documentTypeId?: string | null;
|
|
1456
|
+
documentType?: DocumentTypeEntity | null;
|
|
1457
|
+
dueAt?: string | null;
|
|
1458
|
+
requesterEmployeeId: string;
|
|
1459
|
+
requesterFullName: string;
|
|
1460
|
+
requesterAreaName?: string | null;
|
|
1461
|
+
targetDirectorateCode: number;
|
|
1462
|
+
targetDirectorateName: string;
|
|
1463
|
+
status: DraftingRequestStatus;
|
|
1464
|
+
takenByEmployeeId?: string | null;
|
|
1465
|
+
takenByFullName?: string | null;
|
|
1466
|
+
takenAt?: string | null;
|
|
1467
|
+
closedAt?: string | null;
|
|
1468
|
+
closingNote?: string | null;
|
|
1469
|
+
documentId?: string | null;
|
|
1470
|
+
document?: DocumentEntity | null;
|
|
1471
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1472
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1473
|
+
events?: DraftingRequestEventEntity[];
|
|
1474
|
+
createdAt: string;
|
|
1475
|
+
updatedAt: string;
|
|
1476
|
+
}
|
|
1477
|
+
export interface DraftingRequestRecipientEntity {
|
|
1478
|
+
id: string;
|
|
1479
|
+
requestId: string;
|
|
1480
|
+
request?: DraftingRequestEntity;
|
|
1481
|
+
employeeId: string;
|
|
1482
|
+
}
|
|
1483
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1484
|
+
id: string;
|
|
1485
|
+
requestId: string;
|
|
1486
|
+
request?: DraftingRequestEntity;
|
|
1487
|
+
fileId: string;
|
|
1488
|
+
name: string;
|
|
1489
|
+
}
|
|
1490
|
+
export interface DraftingRequestEventEntity {
|
|
1491
|
+
id: string;
|
|
1492
|
+
requestId: string;
|
|
1493
|
+
request?: DraftingRequestEntity;
|
|
1494
|
+
action: DraftingRequestEventAction;
|
|
1495
|
+
note?: string | null;
|
|
1496
|
+
employeeId: string;
|
|
1497
|
+
employeeFullName: string;
|
|
1498
|
+
createdAt: string;
|
|
1499
|
+
}
|
|
1500
|
+
export interface DirectorateReviewerEntity {
|
|
1501
|
+
id: string;
|
|
1502
|
+
directorateCode: number;
|
|
1503
|
+
directorateName: string;
|
|
1504
|
+
employeeId: string;
|
|
1505
|
+
fullName: string;
|
|
1506
|
+
createdAt: string;
|
|
1507
|
+
}
|
|
1508
|
+
export interface DocumentInternalNoteEntity {
|
|
1509
|
+
id: string;
|
|
1510
|
+
documentId: string;
|
|
1511
|
+
document?: DocumentEntity;
|
|
1512
|
+
directorateCode: number;
|
|
1513
|
+
directorateName: string;
|
|
1514
|
+
headEmployeeIds: string[];
|
|
1515
|
+
versionNumber: number;
|
|
1516
|
+
authorEmployeeId: string;
|
|
1517
|
+
authorFullName: string;
|
|
1518
|
+
authorRole: string;
|
|
1519
|
+
text: string;
|
|
1520
|
+
createdAt: string;
|
|
1521
|
+
}
|
|
1522
|
+
export interface RichImageEntity {
|
|
1523
|
+
id: string;
|
|
1524
|
+
fileId: string;
|
|
1525
|
+
name: string;
|
|
1526
|
+
mimeType: string;
|
|
1527
|
+
width: number;
|
|
1528
|
+
height: number;
|
|
1529
|
+
sha256: string;
|
|
1530
|
+
sizeBytes: number;
|
|
1531
|
+
employeeId: string;
|
|
1532
|
+
createdAt: string;
|
|
1533
|
+
}
|
|
524
1534
|
type JsonValue = string | number | boolean | {
|
|
525
1535
|
[key in string]?: JsonValue;
|
|
526
1536
|
} | Array<JsonValue> | null;
|