@muni-sanfer/types-gestor-documental 0.0.1-beta.3 → 0.0.1-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/entities.d.ts +978 -1
- package/dist/base/entities.js +263 -1
- package/dist/contracts/accessRequest.contract.d.ts +109 -0
- package/dist/contracts/accessRequest.contract.js +12 -0
- package/dist/contracts/archivalSeries.contract.d.ts +56 -0
- package/dist/contracts/archivalSeries.contract.js +11 -0
- package/dist/contracts/audit.contract.d.ts +32 -0
- package/dist/contracts/audit.contract.js +8 -0
- package/dist/contracts/caseFile.contract.d.ts +262 -0
- package/dist/contracts/caseFile.contract.js +26 -0
- package/dist/contracts/dataProtection.contract.d.ts +251 -0
- package/dist/contracts/dataProtection.contract.js +23 -0
- package/dist/contracts/desk.contract.d.ts +86 -0
- package/dist/contracts/desk.contract.js +13 -0
- package/dist/contracts/document.contract.d.ts +130 -2
- package/dist/contracts/document.contract.js +8 -0
- package/dist/contracts/documentType.contract.d.ts +11 -1
- package/dist/contracts/holiday.contract.d.ts +30 -0
- package/dist/contracts/holiday.contract.js +9 -0
- package/dist/contracts/index.d.ts +234 -1
- package/dist/contracts/index.js +60 -0
- package/dist/contracts/indicators.contract.d.ts +103 -0
- package/dist/contracts/indicators.contract.js +15 -0
- package/dist/contracts/issuingEntity.contract.d.ts +52 -0
- package/dist/contracts/issuingEntity.contract.js +11 -0
- package/dist/contracts/partsOffice.contract.d.ts +263 -0
- package/dist/contracts/partsOffice.contract.js +27 -0
- package/dist/contracts/procedure.contract.d.ts +50 -0
- package/dist/contracts/procedure.contract.js +11 -0
- package/dist/contracts/registerBook.contract.d.ts +27 -0
- package/dist/contracts/registerBook.contract.js +8 -0
- package/dist/contracts/repositoryExport.contract.d.ts +57 -0
- package/dist/contracts/repositoryExport.contract.js +13 -0
- package/dist/contracts/retention.contract.d.ts +58 -0
- package/dist/contracts/retention.contract.js +11 -0
- package/dist/contracts/scan.contract.d.ts +63 -0
- package/dist/contracts/scan.contract.js +12 -0
- package/dist/contracts/signatureBatch.contract.d.ts +109 -0
- package/dist/contracts/signatureBatch.contract.js +12 -0
- package/dist/contracts/signatureCheck.contract.d.ts +14 -0
- package/dist/contracts/signatureCheck.contract.js +7 -0
- package/dist/contracts/textSnippet.contract.d.ts +51 -0
- package/dist/contracts/textSnippet.contract.js +11 -0
- package/dist/contracts/transparency.contract.d.ts +96 -0
- package/dist/contracts/transparency.contract.js +12 -0
- package/dist/contracts/workFolder.contract.d.ts +114 -0
- package/dist/contracts/workFolder.contract.js +16 -0
- package/dist/entities/accessRequest/accessRequest.entity.d.ts +73 -0
- package/dist/entities/accessRequest/accessRequest.entity.js +2 -0
- package/dist/entities/accessRequest/index.d.ts +1 -0
- package/dist/entities/accessRequest/index.js +17 -0
- package/dist/entities/archivalSeries/archivalSeries.entity.d.ts +32 -0
- package/dist/entities/archivalSeries/archivalSeries.entity.js +2 -0
- package/dist/entities/archivalSeries/index.d.ts +1 -0
- package/dist/entities/archivalSeries/index.js +17 -0
- package/dist/entities/audit/audit.entity.d.ts +27 -0
- package/dist/entities/audit/audit.entity.js +2 -0
- package/dist/entities/audit/index.d.ts +1 -0
- package/dist/entities/audit/index.js +17 -0
- package/dist/entities/caseFile/caseFile.entity.d.ts +302 -0
- package/dist/entities/caseFile/caseFile.entity.js +2 -0
- package/dist/entities/caseFile/index.d.ts +1 -0
- package/dist/entities/caseFile/index.js +17 -0
- package/dist/entities/dataProtection/dataProtection.entity.d.ts +174 -0
- package/dist/entities/dataProtection/dataProtection.entity.js +2 -0
- package/dist/entities/dataProtection/index.d.ts +1 -0
- package/dist/entities/dataProtection/index.js +17 -0
- package/dist/entities/desk/desk.entity.d.ts +21 -0
- package/dist/entities/desk/desk.entity.js +2 -0
- package/dist/entities/desk/index.d.ts +1 -0
- package/dist/entities/desk/index.js +17 -0
- package/dist/entities/document/document.entity.d.ts +256 -1
- package/dist/entities/documentType/documentType.entity.d.ts +23 -0
- package/dist/entities/holiday/holiday.entity.d.ts +10 -0
- package/dist/entities/holiday/holiday.entity.js +2 -0
- package/dist/entities/holiday/index.d.ts +1 -0
- package/dist/entities/holiday/index.js +17 -0
- package/dist/entities/index.d.ts +20 -0
- package/dist/entities/index.js +20 -0
- package/dist/entities/indicators/index.d.ts +1 -0
- package/dist/entities/indicators/index.js +17 -0
- package/dist/entities/indicators/indicators.entity.d.ts +152 -0
- package/dist/entities/indicators/indicators.entity.js +2 -0
- package/dist/entities/issuingEntity/index.d.ts +1 -0
- package/dist/entities/issuingEntity/index.js +17 -0
- package/dist/entities/issuingEntity/issuingEntity.entity.d.ts +20 -0
- package/dist/entities/issuingEntity/issuingEntity.entity.js +2 -0
- package/dist/entities/partsOffice/index.d.ts +1 -0
- package/dist/entities/partsOffice/index.js +17 -0
- package/dist/entities/partsOffice/partsOffice.entity.d.ts +137 -0
- package/dist/entities/partsOffice/partsOffice.entity.js +2 -0
- package/dist/entities/procedure/index.d.ts +1 -0
- package/dist/entities/procedure/index.js +17 -0
- package/dist/entities/procedure/procedure.entity.d.ts +20 -0
- package/dist/entities/procedure/procedure.entity.js +2 -0
- package/dist/entities/registerBook/index.d.ts +1 -0
- package/dist/entities/registerBook/index.js +17 -0
- package/dist/entities/registerBook/registerBook.entity.d.ts +48 -0
- package/dist/entities/registerBook/registerBook.entity.js +2 -0
- package/dist/entities/repositoryExport/index.d.ts +1 -0
- package/dist/entities/repositoryExport/index.js +17 -0
- package/dist/entities/repositoryExport/repositoryExport.entity.d.ts +124 -0
- package/dist/entities/repositoryExport/repositoryExport.entity.js +2 -0
- package/dist/entities/retention/index.d.ts +1 -0
- package/dist/entities/retention/index.js +17 -0
- package/dist/entities/retention/retention.entity.d.ts +49 -0
- package/dist/entities/retention/retention.entity.js +2 -0
- package/dist/entities/scan/index.d.ts +1 -0
- package/dist/entities/scan/index.js +17 -0
- package/dist/entities/scan/scan.entity.d.ts +29 -0
- package/dist/entities/scan/scan.entity.js +2 -0
- package/dist/entities/signatureBatch/index.d.ts +1 -0
- package/dist/entities/signatureBatch/index.js +17 -0
- package/dist/entities/signatureBatch/signatureBatch.entity.d.ts +107 -0
- package/dist/entities/signatureBatch/signatureBatch.entity.js +2 -0
- package/dist/entities/signatureCheck/index.d.ts +1 -0
- package/dist/entities/signatureCheck/index.js +17 -0
- package/dist/entities/signatureCheck/signatureCheck.entity.d.ts +49 -0
- package/dist/entities/signatureCheck/signatureCheck.entity.js +2 -0
- package/dist/entities/textSnippet/index.d.ts +1 -0
- package/dist/entities/textSnippet/index.js +17 -0
- package/dist/entities/textSnippet/textSnippet.entity.d.ts +20 -0
- package/dist/entities/textSnippet/textSnippet.entity.js +2 -0
- package/dist/entities/transparency/index.d.ts +1 -0
- package/dist/entities/transparency/index.js +17 -0
- package/dist/entities/transparency/transparency.entity.d.ts +77 -0
- package/dist/entities/transparency/transparency.entity.js +2 -0
- package/dist/entities/workFolder/index.d.ts +1 -0
- package/dist/entities/workFolder/index.js +17 -0
- package/dist/entities/workFolder/workFolder.entity.d.ts +83 -0
- package/dist/entities/workFolder/workFolder.entity.js +2 -0
- package/package.json +1 -1
- package/src/base/entities.ts +1163 -1
- package/src/contracts/accessRequest.contract.ts +81 -0
- package/src/contracts/archivalSeries.contract.ts +59 -0
- package/src/contracts/audit.contract.ts +30 -0
- package/src/contracts/caseFile.contract.ts +228 -0
- package/src/contracts/dataProtection.contract.ts +195 -0
- package/src/contracts/desk.contract.ts +68 -0
- package/src/contracts/document.contract.ts +133 -2
- package/src/contracts/documentType.contract.ts +25 -3
- package/src/contracts/holiday.contract.ts +16 -0
- package/src/contracts/index.ts +82 -1
- package/src/contracts/indicators.contract.ts +80 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/partsOffice.contract.ts +199 -0
- package/src/contracts/procedure.contract.ts +53 -0
- package/src/contracts/registerBook.contract.ts +24 -0
- package/src/contracts/repositoryExport.contract.ts +54 -0
- package/src/contracts/retention.contract.ts +44 -0
- package/src/contracts/scan.contract.ts +52 -0
- package/src/contracts/signatureBatch.contract.ts +96 -0
- package/src/contracts/signatureCheck.contract.ts +11 -0
- package/src/contracts/textSnippet.contract.ts +53 -0
- package/src/contracts/transparency.contract.ts +55 -0
- package/src/contracts/workFolder.contract.ts +75 -0
- package/src/entities/accessRequest/accessRequest.entity.ts +78 -0
- package/src/entities/accessRequest/index.ts +1 -0
- package/src/entities/archivalSeries/archivalSeries.entity.ts +37 -0
- package/src/entities/archivalSeries/index.ts +1 -0
- package/src/entities/audit/audit.entity.ts +30 -0
- package/src/entities/audit/index.ts +1 -0
- package/src/entities/caseFile/caseFile.entity.ts +326 -0
- package/src/entities/caseFile/index.ts +1 -0
- package/src/entities/dataProtection/dataProtection.entity.ts +185 -0
- package/src/entities/dataProtection/index.ts +1 -0
- package/src/entities/desk/desk.entity.ts +24 -0
- package/src/entities/desk/index.ts +1 -0
- package/src/entities/document/document.entity.ts +252 -0
- package/src/entities/documentType/documentType.entity.ts +16 -0
- package/src/entities/holiday/holiday.entity.ts +11 -0
- package/src/entities/holiday/index.ts +1 -0
- package/src/entities/index.ts +20 -0
- package/src/entities/indicators/index.ts +1 -0
- package/src/entities/indicators/indicators.entity.ts +157 -0
- package/src/entities/issuingEntity/index.ts +1 -0
- package/src/entities/issuingEntity/issuingEntity.entity.ts +24 -0
- package/src/entities/partsOffice/index.ts +1 -0
- package/src/entities/partsOffice/partsOffice.entity.ts +138 -0
- package/src/entities/procedure/index.ts +1 -0
- package/src/entities/procedure/procedure.entity.ts +24 -0
- package/src/entities/registerBook/index.ts +1 -0
- package/src/entities/registerBook/registerBook.entity.ts +52 -0
- package/src/entities/repositoryExport/index.ts +1 -0
- package/src/entities/repositoryExport/repositoryExport.entity.ts +86 -0
- package/src/entities/retention/index.ts +1 -0
- package/src/entities/retention/retention.entity.ts +53 -0
- package/src/entities/scan/index.ts +1 -0
- package/src/entities/scan/scan.entity.ts +32 -0
- package/src/entities/signatureBatch/index.ts +1 -0
- package/src/entities/signatureBatch/signatureBatch.entity.ts +110 -0
- package/src/entities/signatureCheck/index.ts +1 -0
- package/src/entities/signatureCheck/signatureCheck.entity.ts +51 -0
- package/src/entities/textSnippet/index.ts +1 -0
- package/src/entities/textSnippet/textSnippet.entity.ts +24 -0
- package/src/entities/transparency/index.ts +1 -0
- package/src/entities/transparency/transparency.entity.ts +78 -0
- package/src/entities/workFolder/index.ts +1 -0
- package/src/entities/workFolder/workFolder.entity.ts +84 -0
- package/tsconfig.json +1 -3
package/dist/base/entities.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare const DocumentParticipantStatus: {
|
|
|
33
33
|
Resolved: "Resolved";
|
|
34
34
|
Rejected: "Rejected";
|
|
35
35
|
};
|
|
36
|
-
export type DocumentTrackingAction = 'Created' | 'Updated' | 'Submitted' | 'Visaed' | 'Signed' | 'Rejected' | 'Finished' | 'Discarded' | 'Numbered' | 'NumberAnnulled' | 'Annulled' | 'Delivered' | 'Derived' | 'Reassigned';
|
|
36
|
+
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';
|
|
37
37
|
export declare const DocumentTrackingAction: {
|
|
38
38
|
Created: "Created";
|
|
39
39
|
Updated: "Updated";
|
|
@@ -49,6 +49,42 @@ export declare const DocumentTrackingAction: {
|
|
|
49
49
|
Delivered: "Delivered";
|
|
50
50
|
Derived: "Derived";
|
|
51
51
|
Reassigned: "Reassigned";
|
|
52
|
+
Dispatched: "Dispatched";
|
|
53
|
+
DispatchReturned: "DispatchReturned";
|
|
54
|
+
DispatchedByContingency: "DispatchedByContingency";
|
|
55
|
+
Received: "Received";
|
|
56
|
+
EmailCopySent: "EmailCopySent";
|
|
57
|
+
EmailCopyOpened: "EmailCopyOpened";
|
|
58
|
+
DispositionRecorded: "DispositionRecorded";
|
|
59
|
+
TransparencyRedacted: "TransparencyRedacted";
|
|
60
|
+
TransparencyPublished: "TransparencyPublished";
|
|
61
|
+
TransparencyExcluded: "TransparencyExcluded";
|
|
62
|
+
TransparencyWithdrawn: "TransparencyWithdrawn";
|
|
63
|
+
};
|
|
64
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
65
|
+
export declare const DocumentOrigin: {
|
|
66
|
+
Internal: "Internal";
|
|
67
|
+
DocDigital: "DocDigital";
|
|
68
|
+
Manual: "Manual";
|
|
69
|
+
};
|
|
70
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
71
|
+
export declare const CommunicationMeans: {
|
|
72
|
+
Paper: "Paper";
|
|
73
|
+
Email: "Email";
|
|
74
|
+
Courier: "Courier";
|
|
75
|
+
Other: "Other";
|
|
76
|
+
};
|
|
77
|
+
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
78
|
+
export declare const DocumentDispatchStatus: {
|
|
79
|
+
Pending: "Pending";
|
|
80
|
+
Dispatched: "Dispatched";
|
|
81
|
+
Returned: "Returned";
|
|
82
|
+
};
|
|
83
|
+
export type DocDigitalInboundStatus = 'Pending' | 'Registered' | 'Returned';
|
|
84
|
+
export declare const DocDigitalInboundStatus: {
|
|
85
|
+
Pending: "Pending";
|
|
86
|
+
Registered: "Registered";
|
|
87
|
+
Returned: "Returned";
|
|
52
88
|
};
|
|
53
89
|
export type DocumentFlowStepType = 'Employee' | 'DirectorateHead';
|
|
54
90
|
export declare const DocumentFlowStepType: {
|
|
@@ -78,6 +114,271 @@ export declare const DocumentInstruction: {
|
|
|
78
114
|
Respond: "Respond";
|
|
79
115
|
Archive: "Archive";
|
|
80
116
|
};
|
|
117
|
+
export type CaseFileStatus = 'Open' | 'Closed';
|
|
118
|
+
export declare const CaseFileStatus: {
|
|
119
|
+
Open: "Open";
|
|
120
|
+
Closed: "Closed";
|
|
121
|
+
};
|
|
122
|
+
export type CaseFileIncorporationMechanism = 'Manual' | 'WebService' | 'Mixed' | 'CitizenRepository' | 'Interoperability';
|
|
123
|
+
export declare const CaseFileIncorporationMechanism: {
|
|
124
|
+
Manual: "Manual";
|
|
125
|
+
WebService: "WebService";
|
|
126
|
+
Mixed: "Mixed";
|
|
127
|
+
CitizenRepository: "CitizenRepository";
|
|
128
|
+
Interoperability: "Interoperability";
|
|
129
|
+
};
|
|
130
|
+
export type CaseFileActuationType = 'AdministrativeAct' | 'Notification' | 'OfficialCommunication' | 'Interoperability' | 'RequestReception' | 'Subfolder' | 'PowerRegistration';
|
|
131
|
+
export declare const CaseFileActuationType: {
|
|
132
|
+
AdministrativeAct: "AdministrativeAct";
|
|
133
|
+
Notification: "Notification";
|
|
134
|
+
OfficialCommunication: "OfficialCommunication";
|
|
135
|
+
Interoperability: "Interoperability";
|
|
136
|
+
RequestReception: "RequestReception";
|
|
137
|
+
Subfolder: "Subfolder";
|
|
138
|
+
PowerRegistration: "PowerRegistration";
|
|
139
|
+
};
|
|
140
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
141
|
+
export declare const CaseFileEntryKind: {
|
|
142
|
+
Document: "Document";
|
|
143
|
+
File: "File";
|
|
144
|
+
CaseFile: "CaseFile";
|
|
145
|
+
Physical: "Physical";
|
|
146
|
+
};
|
|
147
|
+
export type CaseFileActorRelation = 'Responsible' | 'Interested' | 'Author' | 'Referred' | 'Recipient' | 'MinisterOfFaith';
|
|
148
|
+
export declare const CaseFileActorRelation: {
|
|
149
|
+
Responsible: "Responsible";
|
|
150
|
+
Interested: "Interested";
|
|
151
|
+
Author: "Author";
|
|
152
|
+
Referred: "Referred";
|
|
153
|
+
Recipient: "Recipient";
|
|
154
|
+
MinisterOfFaith: "MinisterOfFaith";
|
|
155
|
+
};
|
|
156
|
+
export type CaseFileActorType = 'Citizen' | 'Foreigner' | 'PrivateInstitution' | 'Official';
|
|
157
|
+
export declare const CaseFileActorType: {
|
|
158
|
+
Citizen: "Citizen";
|
|
159
|
+
Foreigner: "Foreigner";
|
|
160
|
+
PrivateInstitution: "PrivateInstitution";
|
|
161
|
+
Official: "Official";
|
|
162
|
+
};
|
|
163
|
+
export type CaseFileTrackingAction = 'Created' | 'Updated' | 'EntryAdded' | 'EntryVoided' | 'EntryMoved' | 'ParticipantAdded' | 'ParticipantRemoved' | 'Closed' | 'Exported' | 'ShareLinkCreated' | 'ShareLinkRevoked' | 'DispositionRecorded';
|
|
164
|
+
export declare const CaseFileTrackingAction: {
|
|
165
|
+
Created: "Created";
|
|
166
|
+
Updated: "Updated";
|
|
167
|
+
EntryAdded: "EntryAdded";
|
|
168
|
+
EntryVoided: "EntryVoided";
|
|
169
|
+
EntryMoved: "EntryMoved";
|
|
170
|
+
ParticipantAdded: "ParticipantAdded";
|
|
171
|
+
ParticipantRemoved: "ParticipantRemoved";
|
|
172
|
+
Closed: "Closed";
|
|
173
|
+
Exported: "Exported";
|
|
174
|
+
ShareLinkCreated: "ShareLinkCreated";
|
|
175
|
+
ShareLinkRevoked: "ShareLinkRevoked";
|
|
176
|
+
DispositionRecorded: "DispositionRecorded";
|
|
177
|
+
};
|
|
178
|
+
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
179
|
+
export declare const CaseFileAccessAction: {
|
|
180
|
+
Viewed: "Viewed";
|
|
181
|
+
FileDownloaded: "FileDownloaded";
|
|
182
|
+
Exported: "Exported";
|
|
183
|
+
};
|
|
184
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
185
|
+
export declare const ScanSessionStatus: {
|
|
186
|
+
Open: "Open";
|
|
187
|
+
Ready: "Ready";
|
|
188
|
+
};
|
|
189
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
190
|
+
export declare const TextSnippetSection: {
|
|
191
|
+
Vistos: "Vistos";
|
|
192
|
+
Considerando: "Considerando";
|
|
193
|
+
Resolutive: "Resolutive";
|
|
194
|
+
Body: "Body";
|
|
195
|
+
Closing: "Closing";
|
|
196
|
+
};
|
|
197
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
198
|
+
export declare const WorkFolderItemKind: {
|
|
199
|
+
Document: "Document";
|
|
200
|
+
File: "File";
|
|
201
|
+
};
|
|
202
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
203
|
+
export declare const ServiceOutageKind: {
|
|
204
|
+
Unplanned: "Unplanned";
|
|
205
|
+
Planned: "Planned";
|
|
206
|
+
};
|
|
207
|
+
export type QualityMetricKey = 'Effectiveness' | 'Efficiency' | 'Availability' | 'ResponseTime' | 'Accessibility' | 'FunctionalCompleteness' | 'Interoperability';
|
|
208
|
+
export declare const QualityMetricKey: {
|
|
209
|
+
Effectiveness: "Effectiveness";
|
|
210
|
+
Efficiency: "Efficiency";
|
|
211
|
+
Availability: "Availability";
|
|
212
|
+
ResponseTime: "ResponseTime";
|
|
213
|
+
Accessibility: "Accessibility";
|
|
214
|
+
FunctionalCompleteness: "FunctionalCompleteness";
|
|
215
|
+
Interoperability: "Interoperability";
|
|
216
|
+
};
|
|
217
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
218
|
+
export declare const DocumentAccessAction: {
|
|
219
|
+
Viewed: "Viewed";
|
|
220
|
+
FileDownloaded: "FileDownloaded";
|
|
221
|
+
TrailExported: "TrailExported";
|
|
222
|
+
};
|
|
223
|
+
export type AuditEntity = 'DocumentType' | 'IssuingEntity' | 'ArchivalSeries' | 'TextSnippet' | 'Holiday' | 'Procedure' | 'QualityMetric' | 'ServiceOutage' | 'Repository' | 'DataTreatment';
|
|
224
|
+
export declare const AuditEntity: {
|
|
225
|
+
DocumentType: "DocumentType";
|
|
226
|
+
IssuingEntity: "IssuingEntity";
|
|
227
|
+
ArchivalSeries: "ArchivalSeries";
|
|
228
|
+
TextSnippet: "TextSnippet";
|
|
229
|
+
Holiday: "Holiday";
|
|
230
|
+
Procedure: "Procedure";
|
|
231
|
+
QualityMetric: "QualityMetric";
|
|
232
|
+
ServiceOutage: "ServiceOutage";
|
|
233
|
+
Repository: "Repository";
|
|
234
|
+
DataTreatment: "DataTreatment";
|
|
235
|
+
};
|
|
236
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
237
|
+
export declare const AuditAction: {
|
|
238
|
+
Created: "Created";
|
|
239
|
+
Updated: "Updated";
|
|
240
|
+
Enabled: "Enabled";
|
|
241
|
+
Disabled: "Disabled";
|
|
242
|
+
Removed: "Removed";
|
|
243
|
+
Exported: "Exported";
|
|
244
|
+
};
|
|
245
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
246
|
+
export declare const FinalDisposition: {
|
|
247
|
+
Permanent: "Permanent";
|
|
248
|
+
Eliminate: "Eliminate";
|
|
249
|
+
Select: "Select";
|
|
250
|
+
};
|
|
251
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
252
|
+
export declare const DispositionKind: {
|
|
253
|
+
Transfer: "Transfer";
|
|
254
|
+
Elimination: "Elimination";
|
|
255
|
+
};
|
|
256
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
257
|
+
export declare const AccessRequestChannel: {
|
|
258
|
+
Portal: "Portal";
|
|
259
|
+
Email: "Email";
|
|
260
|
+
InPerson: "InPerson";
|
|
261
|
+
Letter: "Letter";
|
|
262
|
+
};
|
|
263
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
264
|
+
export declare const AccessRequestStatus: {
|
|
265
|
+
Received: "Received";
|
|
266
|
+
InCorrection: "InCorrection";
|
|
267
|
+
InProgress: "InProgress";
|
|
268
|
+
Resolved: "Resolved";
|
|
269
|
+
};
|
|
270
|
+
export type AccessRequestResolution = 'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
271
|
+
export declare const AccessRequestResolution: {
|
|
272
|
+
Delivered: "Delivered";
|
|
273
|
+
PartiallyDelivered: "PartiallyDelivered";
|
|
274
|
+
Denied: "Denied";
|
|
275
|
+
Derived: "Derived";
|
|
276
|
+
NonExistent: "NonExistent";
|
|
277
|
+
Withdrawn: "Withdrawn";
|
|
278
|
+
};
|
|
279
|
+
export type AccessRequestEventAction = 'Received' | 'Updated' | 'CorrectionRequested' | 'Corrected' | 'Assigned' | 'ThirdPartyNotified' | 'OppositionRegistered' | 'Extended' | 'Resolved' | 'AppealRegistered';
|
|
280
|
+
export declare const AccessRequestEventAction: {
|
|
281
|
+
Received: "Received";
|
|
282
|
+
Updated: "Updated";
|
|
283
|
+
CorrectionRequested: "CorrectionRequested";
|
|
284
|
+
Corrected: "Corrected";
|
|
285
|
+
Assigned: "Assigned";
|
|
286
|
+
ThirdPartyNotified: "ThirdPartyNotified";
|
|
287
|
+
OppositionRegistered: "OppositionRegistered";
|
|
288
|
+
Extended: "Extended";
|
|
289
|
+
Resolved: "Resolved";
|
|
290
|
+
AppealRegistered: "AppealRegistered";
|
|
291
|
+
};
|
|
292
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
293
|
+
export declare const TransparencyStatus: {
|
|
294
|
+
Published: "Published";
|
|
295
|
+
Excluded: "Excluded";
|
|
296
|
+
};
|
|
297
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
298
|
+
export declare const DataLegalBasis: {
|
|
299
|
+
LegalFunction: "LegalFunction";
|
|
300
|
+
LegalObligation: "LegalObligation";
|
|
301
|
+
Consent: "Consent";
|
|
302
|
+
Contract: "Contract";
|
|
303
|
+
VitalInterest: "VitalInterest";
|
|
304
|
+
};
|
|
305
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
306
|
+
export declare const DataRight: {
|
|
307
|
+
Access: "Access";
|
|
308
|
+
Rectification: "Rectification";
|
|
309
|
+
Suppression: "Suppression";
|
|
310
|
+
Opposition: "Opposition";
|
|
311
|
+
Portability: "Portability";
|
|
312
|
+
};
|
|
313
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
314
|
+
export declare const DataRightsChannel: {
|
|
315
|
+
Email: "Email";
|
|
316
|
+
WebForm: "WebForm";
|
|
317
|
+
InPerson: "InPerson";
|
|
318
|
+
Letter: "Letter";
|
|
319
|
+
};
|
|
320
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
321
|
+
export declare const DataRightsRequestStatus: {
|
|
322
|
+
Received: "Received";
|
|
323
|
+
InProgress: "InProgress";
|
|
324
|
+
Resolved: "Resolved";
|
|
325
|
+
};
|
|
326
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
327
|
+
export declare const DataRightsResolution: {
|
|
328
|
+
Granted: "Granted";
|
|
329
|
+
PartiallyGranted: "PartiallyGranted";
|
|
330
|
+
Denied: "Denied";
|
|
331
|
+
Withdrawn: "Withdrawn";
|
|
332
|
+
};
|
|
333
|
+
export type DataRightsEventAction = 'Received' | 'Updated' | 'Acknowledged' | 'IdentityVerified' | 'Assigned' | 'BlockingResolved' | 'Extended' | 'Resolved' | 'ResponseSent' | 'ComplaintRegistered';
|
|
334
|
+
export declare const DataRightsEventAction: {
|
|
335
|
+
Received: "Received";
|
|
336
|
+
Updated: "Updated";
|
|
337
|
+
Acknowledged: "Acknowledged";
|
|
338
|
+
IdentityVerified: "IdentityVerified";
|
|
339
|
+
Assigned: "Assigned";
|
|
340
|
+
BlockingResolved: "BlockingResolved";
|
|
341
|
+
Extended: "Extended";
|
|
342
|
+
Resolved: "Resolved";
|
|
343
|
+
ResponseSent: "ResponseSent";
|
|
344
|
+
ComplaintRegistered: "ComplaintRegistered";
|
|
345
|
+
};
|
|
346
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
347
|
+
export declare const DataBreachKind: {
|
|
348
|
+
Destruction: "Destruction";
|
|
349
|
+
Leak: "Leak";
|
|
350
|
+
Loss: "Loss";
|
|
351
|
+
Alteration: "Alteration";
|
|
352
|
+
UnauthorizedAccess: "UnauthorizedAccess";
|
|
353
|
+
};
|
|
354
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
355
|
+
export declare const DataBreachStatus: {
|
|
356
|
+
Open: "Open";
|
|
357
|
+
Closed: "Closed";
|
|
358
|
+
};
|
|
359
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
360
|
+
export declare const DataBreachEventAction: {
|
|
361
|
+
Registered: "Registered";
|
|
362
|
+
Updated: "Updated";
|
|
363
|
+
AgencyReported: "AgencyReported";
|
|
364
|
+
HoldersNotified: "HoldersNotified";
|
|
365
|
+
Closed: "Closed";
|
|
366
|
+
};
|
|
367
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
368
|
+
export declare const DataBreachNoticeMeans: {
|
|
369
|
+
Individual: "Individual";
|
|
370
|
+
PublicNotice: "PublicNotice";
|
|
371
|
+
};
|
|
372
|
+
export type DeskFileSource = 'Upload' | 'Scan';
|
|
373
|
+
export declare const DeskFileSource: {
|
|
374
|
+
Upload: "Upload";
|
|
375
|
+
Scan: "Scan";
|
|
376
|
+
};
|
|
377
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
378
|
+
export declare const DeskFileTarget: {
|
|
379
|
+
Document: "Document";
|
|
380
|
+
CaseFile: "CaseFile";
|
|
381
|
+
};
|
|
81
382
|
export interface DocumentTypeEntity {
|
|
82
383
|
id: string;
|
|
83
384
|
name: string;
|
|
@@ -87,11 +388,22 @@ export interface DocumentTypeEntity {
|
|
|
87
388
|
nextCorrelative: number;
|
|
88
389
|
correlativeYear?: number | null;
|
|
89
390
|
resetsYearly: boolean;
|
|
391
|
+
numbered: boolean;
|
|
392
|
+
activeTransparency: boolean;
|
|
393
|
+
transparencySection?: string | null;
|
|
90
394
|
directorateCodeReference?: number | null;
|
|
395
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
396
|
+
archivalSeriesId?: string | null;
|
|
397
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
398
|
+
issuingEntityId?: string | null;
|
|
399
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
400
|
+
sharesNumberingWithId?: string | null;
|
|
401
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
91
402
|
enabled: boolean;
|
|
92
403
|
documents?: DocumentEntity[];
|
|
93
404
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
94
405
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
406
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
95
407
|
deleted: boolean;
|
|
96
408
|
createdAt: string;
|
|
97
409
|
updatedAt: string;
|
|
@@ -102,6 +414,7 @@ export interface DocumentEntity {
|
|
|
102
414
|
keywords: string[];
|
|
103
415
|
accessLevel: DocumentAccessLevel;
|
|
104
416
|
hasSensitiveData: boolean;
|
|
417
|
+
restrictionEndsAt?: string | null;
|
|
105
418
|
status: DocumentStatus;
|
|
106
419
|
correlative?: number | null;
|
|
107
420
|
correlativeYear?: number | null;
|
|
@@ -111,6 +424,18 @@ export interface DocumentEntity {
|
|
|
111
424
|
annulledAt?: string | null;
|
|
112
425
|
annulmentReason?: string | null;
|
|
113
426
|
responseDueAt?: string | null;
|
|
427
|
+
origin: DocumentOrigin;
|
|
428
|
+
intakeNumber?: number | null;
|
|
429
|
+
intakeYear?: number | null;
|
|
430
|
+
externalFolio?: string | null;
|
|
431
|
+
externalSender?: string | null;
|
|
432
|
+
externalDate?: string | null;
|
|
433
|
+
intakeMeans?: CommunicationMeans | null;
|
|
434
|
+
composition?: JsonValue | null;
|
|
435
|
+
contentText?: string | null;
|
|
436
|
+
textExtractedAt?: string | null;
|
|
437
|
+
batch?: SignatureBatchEntity | null;
|
|
438
|
+
batchId?: string | null;
|
|
114
439
|
replyTo?: DocumentEntity | null;
|
|
115
440
|
replyToDocumentId?: string | null;
|
|
116
441
|
replies?: DocumentEntity[];
|
|
@@ -132,6 +457,37 @@ export interface DocumentEntity {
|
|
|
132
457
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
133
458
|
recipients?: DocumentRecipientEntity[];
|
|
134
459
|
deliveries?: DocumentDeliveryEntity[];
|
|
460
|
+
caseFileEntries?: CaseFileEntryEntity[];
|
|
461
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
462
|
+
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
463
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
464
|
+
accesses?: DocumentAccessEntity[];
|
|
465
|
+
disposition?: DispositionRecordEntity | null;
|
|
466
|
+
dispositionId?: string | null;
|
|
467
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
468
|
+
transparencyUrl?: string | null;
|
|
469
|
+
transparencyNote?: string | null;
|
|
470
|
+
transparencyAt?: string | null;
|
|
471
|
+
transparencyByFullName?: string | null;
|
|
472
|
+
redactedFileId?: string | null;
|
|
473
|
+
redactedFileName?: string | null;
|
|
474
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
475
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
476
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
477
|
+
dispatch?: DocumentDispatchEntity | null;
|
|
478
|
+
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
479
|
+
deleted: boolean;
|
|
480
|
+
createdAt: string;
|
|
481
|
+
updatedAt: string;
|
|
482
|
+
}
|
|
483
|
+
export interface SignatureBatchEntity {
|
|
484
|
+
id: string;
|
|
485
|
+
name: string;
|
|
486
|
+
createdByEmployeeId: string;
|
|
487
|
+
createdByFullName: string;
|
|
488
|
+
documentType?: DocumentTypeEntity;
|
|
489
|
+
documentTypeId: string;
|
|
490
|
+
documents?: DocumentEntity[];
|
|
135
491
|
deleted: boolean;
|
|
136
492
|
createdAt: string;
|
|
137
493
|
updatedAt: string;
|
|
@@ -140,6 +496,7 @@ export interface DocumentParticipantEntity {
|
|
|
140
496
|
id: string;
|
|
141
497
|
role: DocumentParticipantRole;
|
|
142
498
|
order: number;
|
|
499
|
+
stage: number;
|
|
143
500
|
status: DocumentParticipantStatus;
|
|
144
501
|
employeeId: string;
|
|
145
502
|
fullName: string;
|
|
@@ -167,6 +524,7 @@ export interface DocumentTrackingEntity {
|
|
|
167
524
|
id: string;
|
|
168
525
|
action: DocumentTrackingAction;
|
|
169
526
|
observation?: string | null;
|
|
527
|
+
sha256?: string | null;
|
|
170
528
|
employeeId?: string | null;
|
|
171
529
|
employeeFullName?: string | null;
|
|
172
530
|
document?: DocumentEntity;
|
|
@@ -214,6 +572,8 @@ export interface DocumentDeliveryEntity {
|
|
|
214
572
|
readAt?: string | null;
|
|
215
573
|
closedAt?: string | null;
|
|
216
574
|
closingNote?: string | null;
|
|
575
|
+
dueSoonRemindedAt?: string | null;
|
|
576
|
+
overdueRemindedAt?: string | null;
|
|
217
577
|
document?: DocumentEntity;
|
|
218
578
|
documentId: string;
|
|
219
579
|
createdAt: string;
|
|
@@ -227,7 +587,624 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
227
587
|
directorateCodeReference?: number | null;
|
|
228
588
|
name: string;
|
|
229
589
|
position?: string | null;
|
|
590
|
+
withPrevious: boolean;
|
|
230
591
|
documentType?: DocumentTypeEntity;
|
|
231
592
|
documentTypeId: string;
|
|
232
593
|
createdAt: string;
|
|
233
594
|
}
|
|
595
|
+
export interface ProcedureEntity {
|
|
596
|
+
id: string;
|
|
597
|
+
name: string;
|
|
598
|
+
cpatId?: string | null;
|
|
599
|
+
cpatCode?: string | null;
|
|
600
|
+
description?: string | null;
|
|
601
|
+
enabled: boolean;
|
|
602
|
+
caseFiles?: CaseFileEntity[];
|
|
603
|
+
deleted: boolean;
|
|
604
|
+
createdAt: string;
|
|
605
|
+
updatedAt: string;
|
|
606
|
+
}
|
|
607
|
+
export interface CaseFileSequenceEntity {
|
|
608
|
+
year: number;
|
|
609
|
+
next: number;
|
|
610
|
+
}
|
|
611
|
+
export interface CaseFileEntity {
|
|
612
|
+
id: string;
|
|
613
|
+
code: string;
|
|
614
|
+
year: number;
|
|
615
|
+
number: number;
|
|
616
|
+
title: string;
|
|
617
|
+
subject: string;
|
|
618
|
+
summary?: string | null;
|
|
619
|
+
status: CaseFileStatus;
|
|
620
|
+
accessLevel: DocumentAccessLevel;
|
|
621
|
+
hasSensitiveData: boolean;
|
|
622
|
+
restrictionEndsAt?: string | null;
|
|
623
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
624
|
+
archivalSeriesId?: string | null;
|
|
625
|
+
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
626
|
+
schemaVersion: string;
|
|
627
|
+
procedure?: ProcedureEntity;
|
|
628
|
+
procedureId: string;
|
|
629
|
+
responsibleEmployeeId: string;
|
|
630
|
+
responsibleFullName: string;
|
|
631
|
+
responsiblePosition?: string | null;
|
|
632
|
+
closedAt?: string | null;
|
|
633
|
+
disposition?: DispositionRecordEntity | null;
|
|
634
|
+
dispositionId?: string | null;
|
|
635
|
+
closedByEmployeeId?: string | null;
|
|
636
|
+
closedByFullName?: string | null;
|
|
637
|
+
closingNote?: string | null;
|
|
638
|
+
participants?: CaseFileParticipantEntity[];
|
|
639
|
+
actors?: CaseFileActorEntity[];
|
|
640
|
+
entries?: CaseFileEntryEntity[];
|
|
641
|
+
linkedFrom?: CaseFileEntryEntity[];
|
|
642
|
+
trackings?: CaseFileTrackingEntity[];
|
|
643
|
+
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
644
|
+
accesses?: CaseFileAccessEntity[];
|
|
645
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
646
|
+
createdAt: string;
|
|
647
|
+
updatedAt: string;
|
|
648
|
+
workFolder?: WorkFolderEntity | null;
|
|
649
|
+
}
|
|
650
|
+
export interface CaseFileParticipantEntity {
|
|
651
|
+
id: string;
|
|
652
|
+
employeeId: string;
|
|
653
|
+
fullName: string;
|
|
654
|
+
position?: string | null;
|
|
655
|
+
addedByEmployeeId: string;
|
|
656
|
+
addedByFullName: string;
|
|
657
|
+
caseFile?: CaseFileEntity;
|
|
658
|
+
caseFileId: string;
|
|
659
|
+
createdAt: string;
|
|
660
|
+
}
|
|
661
|
+
export interface CaseFileActorEntity {
|
|
662
|
+
id: string;
|
|
663
|
+
relation: CaseFileActorRelation;
|
|
664
|
+
actorType: CaseFileActorType;
|
|
665
|
+
identifier?: string | null;
|
|
666
|
+
name: string;
|
|
667
|
+
caseFile?: CaseFileEntity;
|
|
668
|
+
caseFileId: string;
|
|
669
|
+
createdAt: string;
|
|
670
|
+
}
|
|
671
|
+
export interface CaseFileEntryEntity {
|
|
672
|
+
id: string;
|
|
673
|
+
sequence: number;
|
|
674
|
+
kind: CaseFileEntryKind;
|
|
675
|
+
actuationType: CaseFileActuationType;
|
|
676
|
+
title: string;
|
|
677
|
+
folder?: string | null;
|
|
678
|
+
document?: DocumentEntity | null;
|
|
679
|
+
documentId?: string | null;
|
|
680
|
+
fileId?: string | null;
|
|
681
|
+
fileName?: string | null;
|
|
682
|
+
documentTypeName?: string | null;
|
|
683
|
+
originDate?: string | null;
|
|
684
|
+
author?: string | null;
|
|
685
|
+
keywords: string[];
|
|
686
|
+
accessLevel?: DocumentAccessLevel | null;
|
|
687
|
+
hasSensitiveData?: boolean | null;
|
|
688
|
+
physicalLocation?: string | null;
|
|
689
|
+
physicalReason?: string | null;
|
|
690
|
+
pageCount?: number | null;
|
|
691
|
+
linkedCaseFile?: CaseFileEntity | null;
|
|
692
|
+
linkedCaseFileId?: string | null;
|
|
693
|
+
sha256?: string | null;
|
|
694
|
+
size?: number | null;
|
|
695
|
+
hasAdvancedSignature: boolean;
|
|
696
|
+
signatureCheck?: JsonValue | null;
|
|
697
|
+
incorporatedByEmployeeId: string;
|
|
698
|
+
incorporatedByFullName: string;
|
|
699
|
+
voidedAt?: string | null;
|
|
700
|
+
voidedByEmployeeId?: string | null;
|
|
701
|
+
voidedByFullName?: string | null;
|
|
702
|
+
voidReason?: string | null;
|
|
703
|
+
caseFile?: CaseFileEntity;
|
|
704
|
+
caseFileId: string;
|
|
705
|
+
createdAt: string;
|
|
706
|
+
}
|
|
707
|
+
export interface CaseFileTrackingEntity {
|
|
708
|
+
id: string;
|
|
709
|
+
action: CaseFileTrackingAction;
|
|
710
|
+
observation?: string | null;
|
|
711
|
+
employeeId?: string | null;
|
|
712
|
+
employeeFullName?: string | null;
|
|
713
|
+
caseFile?: CaseFileEntity;
|
|
714
|
+
caseFileId: string;
|
|
715
|
+
createdAt: string;
|
|
716
|
+
}
|
|
717
|
+
export interface CaseFileMetadataChangeEntity {
|
|
718
|
+
id: string;
|
|
719
|
+
field: string;
|
|
720
|
+
previousValue?: string | null;
|
|
721
|
+
newValue?: string | null;
|
|
722
|
+
employeeId: string;
|
|
723
|
+
employeeFullName: string;
|
|
724
|
+
caseFile?: CaseFileEntity;
|
|
725
|
+
caseFileId: string;
|
|
726
|
+
createdAt: string;
|
|
727
|
+
}
|
|
728
|
+
export interface CaseFileAccessEntity {
|
|
729
|
+
id: string;
|
|
730
|
+
action: CaseFileAccessAction;
|
|
731
|
+
entryId?: string | null;
|
|
732
|
+
employeeId?: string | null;
|
|
733
|
+
employeeFullName: string;
|
|
734
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
735
|
+
shareLinkId?: string | null;
|
|
736
|
+
caseFile?: CaseFileEntity;
|
|
737
|
+
caseFileId: string;
|
|
738
|
+
createdAt: string;
|
|
739
|
+
}
|
|
740
|
+
export interface CaseFileShareLinkEntity {
|
|
741
|
+
id: string;
|
|
742
|
+
tokenHash: string;
|
|
743
|
+
recipient: string;
|
|
744
|
+
recipientEmail?: string | null;
|
|
745
|
+
purpose?: string | null;
|
|
746
|
+
allowExport: boolean;
|
|
747
|
+
expiresAt: string;
|
|
748
|
+
createdByEmployeeId: string;
|
|
749
|
+
createdByFullName: string;
|
|
750
|
+
revokedAt?: string | null;
|
|
751
|
+
revokedByEmployeeId?: string | null;
|
|
752
|
+
revokedByFullName?: string | null;
|
|
753
|
+
caseFile?: CaseFileEntity;
|
|
754
|
+
caseFileId: string;
|
|
755
|
+
accesses?: CaseFileAccessEntity[];
|
|
756
|
+
createdAt: string;
|
|
757
|
+
}
|
|
758
|
+
export interface DocumentEmailCopyEntity {
|
|
759
|
+
id: string;
|
|
760
|
+
name: string;
|
|
761
|
+
email: string;
|
|
762
|
+
tokenHash?: string | null;
|
|
763
|
+
expiresAt?: string | null;
|
|
764
|
+
issuedAt?: string | null;
|
|
765
|
+
openedAt?: string | null;
|
|
766
|
+
downloadCount: number;
|
|
767
|
+
document?: DocumentEntity;
|
|
768
|
+
documentId: string;
|
|
769
|
+
createdAt: string;
|
|
770
|
+
}
|
|
771
|
+
export interface ScanSessionEntity {
|
|
772
|
+
id: string;
|
|
773
|
+
tokenHash: string;
|
|
774
|
+
status: ScanSessionStatus;
|
|
775
|
+
employeeId: string;
|
|
776
|
+
pages: JsonValue;
|
|
777
|
+
fileId?: string | null;
|
|
778
|
+
fileName?: string | null;
|
|
779
|
+
expiresAt: string;
|
|
780
|
+
finishedAt?: string | null;
|
|
781
|
+
createdAt: string;
|
|
782
|
+
}
|
|
783
|
+
export interface DocumentExternalRecipientEntity {
|
|
784
|
+
id: string;
|
|
785
|
+
entityId: number;
|
|
786
|
+
entityName: string;
|
|
787
|
+
userId?: number | null;
|
|
788
|
+
userName?: string | null;
|
|
789
|
+
userPosition?: string | null;
|
|
790
|
+
document?: DocumentEntity;
|
|
791
|
+
documentId: string;
|
|
792
|
+
createdAt: string;
|
|
793
|
+
}
|
|
794
|
+
export interface DocumentDispatchEntity {
|
|
795
|
+
id: string;
|
|
796
|
+
status: DocumentDispatchStatus;
|
|
797
|
+
folio?: string | null;
|
|
798
|
+
docDigitalTypeId?: number | null;
|
|
799
|
+
docDigitalTypeName?: string | null;
|
|
800
|
+
docDigitalDocumentId?: string | null;
|
|
801
|
+
docDigitalRequestId?: string | null;
|
|
802
|
+
dispatchedAt?: string | null;
|
|
803
|
+
dispatchedByEmployeeId?: string | null;
|
|
804
|
+
dispatchedByFullName?: string | null;
|
|
805
|
+
returnedAt?: string | null;
|
|
806
|
+
returnedByEmployeeId?: string | null;
|
|
807
|
+
returnedByFullName?: string | null;
|
|
808
|
+
returnReason?: string | null;
|
|
809
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
810
|
+
contingencySentTo?: string | null;
|
|
811
|
+
contingencyReason?: string | null;
|
|
812
|
+
contingencyReceiptFileId?: string | null;
|
|
813
|
+
contingencyReceiptName?: string | null;
|
|
814
|
+
document?: DocumentEntity;
|
|
815
|
+
documentId: string;
|
|
816
|
+
createdAt: string;
|
|
817
|
+
updatedAt: string;
|
|
818
|
+
}
|
|
819
|
+
export interface DocDigitalInboundEntity {
|
|
820
|
+
id: string;
|
|
821
|
+
docDigitalDocumentId: string;
|
|
822
|
+
docDigitalRequestId?: string | null;
|
|
823
|
+
status: DocDigitalInboundStatus;
|
|
824
|
+
subject: string;
|
|
825
|
+
description?: string | null;
|
|
826
|
+
folio?: string | null;
|
|
827
|
+
folioDate?: string | null;
|
|
828
|
+
typeName?: string | null;
|
|
829
|
+
reserved: boolean;
|
|
830
|
+
senderEntityId?: number | null;
|
|
831
|
+
senderEntityName?: string | null;
|
|
832
|
+
senderName?: string | null;
|
|
833
|
+
senderPosition?: string | null;
|
|
834
|
+
recipientEntityId?: number | null;
|
|
835
|
+
recipientEntityName?: string | null;
|
|
836
|
+
fileId?: string | null;
|
|
837
|
+
fileName?: string | null;
|
|
838
|
+
attachments: JsonValue;
|
|
839
|
+
signatureCheck?: JsonValue | null;
|
|
840
|
+
registeredAt?: string | null;
|
|
841
|
+
registeredByEmployeeId?: string | null;
|
|
842
|
+
registeredByFullName?: string | null;
|
|
843
|
+
acknowledgedAt?: string | null;
|
|
844
|
+
acknowledgeError?: string | null;
|
|
845
|
+
returnedAt?: string | null;
|
|
846
|
+
returnedByEmployeeId?: string | null;
|
|
847
|
+
returnedByFullName?: string | null;
|
|
848
|
+
returnReason?: string | null;
|
|
849
|
+
document?: DocumentEntity | null;
|
|
850
|
+
documentId?: string | null;
|
|
851
|
+
createdAt: string;
|
|
852
|
+
updatedAt: string;
|
|
853
|
+
}
|
|
854
|
+
export interface HolidayEntity {
|
|
855
|
+
id: string;
|
|
856
|
+
date: string;
|
|
857
|
+
name: string;
|
|
858
|
+
createdAt: string;
|
|
859
|
+
}
|
|
860
|
+
export interface TextSnippetEntity {
|
|
861
|
+
id: string;
|
|
862
|
+
title: string;
|
|
863
|
+
text: string;
|
|
864
|
+
section: TextSnippetSection;
|
|
865
|
+
keywords: string[];
|
|
866
|
+
enabled: boolean;
|
|
867
|
+
deleted: boolean;
|
|
868
|
+
createdAt: string;
|
|
869
|
+
updatedAt: string;
|
|
870
|
+
}
|
|
871
|
+
export interface ArchivalSeriesEntity {
|
|
872
|
+
id: string;
|
|
873
|
+
code: string;
|
|
874
|
+
name: string;
|
|
875
|
+
section?: string | null;
|
|
876
|
+
description?: string | null;
|
|
877
|
+
managementYears?: number | null;
|
|
878
|
+
centralYears?: number | null;
|
|
879
|
+
finalDisposition?: FinalDisposition | null;
|
|
880
|
+
retentionNote?: string | null;
|
|
881
|
+
enabled: boolean;
|
|
882
|
+
documentTypes?: DocumentTypeEntity[];
|
|
883
|
+
caseFiles?: CaseFileEntity[];
|
|
884
|
+
dispositions?: DispositionRecordEntity[];
|
|
885
|
+
deleted: boolean;
|
|
886
|
+
createdAt: string;
|
|
887
|
+
updatedAt: string;
|
|
888
|
+
}
|
|
889
|
+
export interface IssuingEntityEntity {
|
|
890
|
+
id: string;
|
|
891
|
+
name: string;
|
|
892
|
+
shortName?: string | null;
|
|
893
|
+
directorateCodeReferences: number[];
|
|
894
|
+
docDigitalEntityId?: number | null;
|
|
895
|
+
enabled: boolean;
|
|
896
|
+
documentTypes?: DocumentTypeEntity[];
|
|
897
|
+
deleted: boolean;
|
|
898
|
+
createdAt: string;
|
|
899
|
+
updatedAt: string;
|
|
900
|
+
}
|
|
901
|
+
export interface IntakeSequenceEntity {
|
|
902
|
+
year: number;
|
|
903
|
+
next: number;
|
|
904
|
+
}
|
|
905
|
+
export interface WorkFolderEntity {
|
|
906
|
+
id: string;
|
|
907
|
+
name: string;
|
|
908
|
+
description?: string | null;
|
|
909
|
+
ownerEmployeeId: string;
|
|
910
|
+
ownerFullName: string;
|
|
911
|
+
caseFile?: CaseFileEntity | null;
|
|
912
|
+
caseFileId?: string | null;
|
|
913
|
+
participants?: WorkFolderParticipantEntity[];
|
|
914
|
+
items?: WorkFolderItemEntity[];
|
|
915
|
+
deleted: boolean;
|
|
916
|
+
createdAt: string;
|
|
917
|
+
updatedAt: string;
|
|
918
|
+
}
|
|
919
|
+
export interface WorkFolderParticipantEntity {
|
|
920
|
+
id: string;
|
|
921
|
+
employeeId: string;
|
|
922
|
+
fullName: string;
|
|
923
|
+
folder?: WorkFolderEntity;
|
|
924
|
+
folderId: string;
|
|
925
|
+
createdAt: string;
|
|
926
|
+
}
|
|
927
|
+
export interface WorkFolderItemEntity {
|
|
928
|
+
id: string;
|
|
929
|
+
kind: WorkFolderItemKind;
|
|
930
|
+
title: string;
|
|
931
|
+
document?: DocumentEntity | null;
|
|
932
|
+
documentId?: string | null;
|
|
933
|
+
fileId?: string | null;
|
|
934
|
+
fileName?: string | null;
|
|
935
|
+
addedByEmployeeId: string;
|
|
936
|
+
addedByFullName: string;
|
|
937
|
+
folder?: WorkFolderEntity;
|
|
938
|
+
folderId: string;
|
|
939
|
+
createdAt: string;
|
|
940
|
+
}
|
|
941
|
+
export interface ServiceOutageEntity {
|
|
942
|
+
id: string;
|
|
943
|
+
kind: ServiceOutageKind;
|
|
944
|
+
startedAt: string;
|
|
945
|
+
endedAt?: string | null;
|
|
946
|
+
cause: string;
|
|
947
|
+
affectedServices?: string | null;
|
|
948
|
+
createdByEmployeeId: string;
|
|
949
|
+
createdByFullName: string;
|
|
950
|
+
updatedByFullName?: string | null;
|
|
951
|
+
deleted: boolean;
|
|
952
|
+
createdAt: string;
|
|
953
|
+
updatedAt: string;
|
|
954
|
+
}
|
|
955
|
+
export interface QualityMetricSettingEntity {
|
|
956
|
+
key: QualityMetricKey;
|
|
957
|
+
threshold: number;
|
|
958
|
+
declaredValue?: number | null;
|
|
959
|
+
declaredNote?: string | null;
|
|
960
|
+
declaredAt?: string | null;
|
|
961
|
+
declaredByFullName?: string | null;
|
|
962
|
+
updatedAt: string;
|
|
963
|
+
}
|
|
964
|
+
export interface ServiceTimingEntity {
|
|
965
|
+
hour: string;
|
|
966
|
+
count: number;
|
|
967
|
+
errorCount: number;
|
|
968
|
+
totalMs: number;
|
|
969
|
+
maxMs: number;
|
|
970
|
+
under100: number;
|
|
971
|
+
under250: number;
|
|
972
|
+
under500: number;
|
|
973
|
+
under1000: number;
|
|
974
|
+
under2000: number;
|
|
975
|
+
under5000: number;
|
|
976
|
+
over5000: number;
|
|
977
|
+
}
|
|
978
|
+
export interface DocumentAccessEntity {
|
|
979
|
+
id: string;
|
|
980
|
+
action: DocumentAccessAction;
|
|
981
|
+
employeeId?: string | null;
|
|
982
|
+
employeeFullName: string;
|
|
983
|
+
document?: DocumentEntity;
|
|
984
|
+
documentId: string;
|
|
985
|
+
createdAt: string;
|
|
986
|
+
}
|
|
987
|
+
export interface AuditLogEntity {
|
|
988
|
+
id: string;
|
|
989
|
+
entity: AuditEntity;
|
|
990
|
+
action: AuditAction;
|
|
991
|
+
entityId?: string | null;
|
|
992
|
+
name: string;
|
|
993
|
+
details?: JsonValue | null;
|
|
994
|
+
employeeId?: string | null;
|
|
995
|
+
employeeFullName: string;
|
|
996
|
+
createdAt: string;
|
|
997
|
+
}
|
|
998
|
+
export interface DispositionRecordEntity {
|
|
999
|
+
id: string;
|
|
1000
|
+
kind: DispositionKind;
|
|
1001
|
+
number: number;
|
|
1002
|
+
year: number;
|
|
1003
|
+
observation?: string | null;
|
|
1004
|
+
series?: ArchivalSeriesEntity;
|
|
1005
|
+
seriesId: string;
|
|
1006
|
+
documents?: DocumentEntity[];
|
|
1007
|
+
caseFiles?: CaseFileEntity[];
|
|
1008
|
+
createdByEmployeeId: string;
|
|
1009
|
+
createdByFullName: string;
|
|
1010
|
+
createdAt: string;
|
|
1011
|
+
}
|
|
1012
|
+
export interface AccessRequestEntity {
|
|
1013
|
+
id: string;
|
|
1014
|
+
number: number;
|
|
1015
|
+
year: number;
|
|
1016
|
+
externalFolio?: string | null;
|
|
1017
|
+
channel: AccessRequestChannel;
|
|
1018
|
+
receivedAt: string;
|
|
1019
|
+
requesterName: string;
|
|
1020
|
+
requesterEmail?: string | null;
|
|
1021
|
+
requesterAddress?: string | null;
|
|
1022
|
+
requestText: string;
|
|
1023
|
+
deliveryFormat?: string | null;
|
|
1024
|
+
status: AccessRequestStatus;
|
|
1025
|
+
correctionRequestedAt?: string | null;
|
|
1026
|
+
correctionDueAt?: string | null;
|
|
1027
|
+
correctedAt?: string | null;
|
|
1028
|
+
dueAt: string;
|
|
1029
|
+
extendedAt?: string | null;
|
|
1030
|
+
extensionNote?: string | null;
|
|
1031
|
+
assigneeEmployeeId?: string | null;
|
|
1032
|
+
assigneeFullName?: string | null;
|
|
1033
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1034
|
+
oppositionDueAt?: string | null;
|
|
1035
|
+
thirdPartyOpposed?: boolean | null;
|
|
1036
|
+
resolution?: AccessRequestResolution | null;
|
|
1037
|
+
resolvedAt?: string | null;
|
|
1038
|
+
denialGrounds: string[];
|
|
1039
|
+
derivedTo?: string | null;
|
|
1040
|
+
resolutionNote?: string | null;
|
|
1041
|
+
responseDocument?: DocumentEntity | null;
|
|
1042
|
+
responseDocumentId?: string | null;
|
|
1043
|
+
appealedAt?: string | null;
|
|
1044
|
+
appealNote?: string | null;
|
|
1045
|
+
createdByEmployeeId: string;
|
|
1046
|
+
createdByFullName: string;
|
|
1047
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1048
|
+
events?: AccessRequestEventEntity[];
|
|
1049
|
+
createdAt: string;
|
|
1050
|
+
updatedAt: string;
|
|
1051
|
+
}
|
|
1052
|
+
export interface AccessRequestDocumentEntity {
|
|
1053
|
+
accessRequest?: AccessRequestEntity;
|
|
1054
|
+
accessRequestId: string;
|
|
1055
|
+
document?: DocumentEntity;
|
|
1056
|
+
documentId: string;
|
|
1057
|
+
}
|
|
1058
|
+
export interface AccessRequestEventEntity {
|
|
1059
|
+
id: string;
|
|
1060
|
+
action: AccessRequestEventAction;
|
|
1061
|
+
note?: string | null;
|
|
1062
|
+
employeeId?: string | null;
|
|
1063
|
+
employeeFullName: string;
|
|
1064
|
+
accessRequest?: AccessRequestEntity;
|
|
1065
|
+
accessRequestId: string;
|
|
1066
|
+
createdAt: string;
|
|
1067
|
+
}
|
|
1068
|
+
export interface DataTreatmentEntity {
|
|
1069
|
+
id: string;
|
|
1070
|
+
name: string;
|
|
1071
|
+
purpose: string;
|
|
1072
|
+
legalBasis: DataLegalBasis;
|
|
1073
|
+
legalBasisDetail?: string | null;
|
|
1074
|
+
dataCategories: string[];
|
|
1075
|
+
sensitiveData: boolean;
|
|
1076
|
+
dataSubjects: string;
|
|
1077
|
+
recipients?: string | null;
|
|
1078
|
+
source?: string | null;
|
|
1079
|
+
retention?: string | null;
|
|
1080
|
+
securityMeasures?: string | null;
|
|
1081
|
+
internationalTransfer?: string | null;
|
|
1082
|
+
responsibleUnit?: string | null;
|
|
1083
|
+
published: boolean;
|
|
1084
|
+
requests?: DataRightsRequestEntity[];
|
|
1085
|
+
breaches?: DataBreachEntity[];
|
|
1086
|
+
enabled: boolean;
|
|
1087
|
+
deleted: boolean;
|
|
1088
|
+
createdAt: string;
|
|
1089
|
+
updatedAt: string;
|
|
1090
|
+
}
|
|
1091
|
+
export interface DataRightsRequestEntity {
|
|
1092
|
+
id: string;
|
|
1093
|
+
number: number;
|
|
1094
|
+
year: number;
|
|
1095
|
+
channel: DataRightsChannel;
|
|
1096
|
+
receivedAt: string;
|
|
1097
|
+
rights: DataRight[];
|
|
1098
|
+
requesterName: string;
|
|
1099
|
+
requesterRut?: string | null;
|
|
1100
|
+
requesterEmail?: string | null;
|
|
1101
|
+
requesterAddress?: string | null;
|
|
1102
|
+
representativeName?: string | null;
|
|
1103
|
+
identityVerifiedAt?: string | null;
|
|
1104
|
+
identityNote?: string | null;
|
|
1105
|
+
requestText: string;
|
|
1106
|
+
treatment?: DataTreatmentEntity | null;
|
|
1107
|
+
treatmentId?: string | null;
|
|
1108
|
+
status: DataRightsRequestStatus;
|
|
1109
|
+
acknowledgedAt?: string | null;
|
|
1110
|
+
dueAt: string;
|
|
1111
|
+
extendedAt?: string | null;
|
|
1112
|
+
extensionNote?: string | null;
|
|
1113
|
+
blockingRequested: boolean;
|
|
1114
|
+
blockingReason?: string | null;
|
|
1115
|
+
blockingDueAt?: string | null;
|
|
1116
|
+
blockingGranted?: boolean | null;
|
|
1117
|
+
blockingResolvedAt?: string | null;
|
|
1118
|
+
blockingNote?: string | null;
|
|
1119
|
+
assigneeEmployeeId?: string | null;
|
|
1120
|
+
assigneeFullName?: string | null;
|
|
1121
|
+
resolution?: DataRightsResolution | null;
|
|
1122
|
+
resolvedAt?: string | null;
|
|
1123
|
+
denialGrounds: string[];
|
|
1124
|
+
resolutionNote?: string | null;
|
|
1125
|
+
responseDocument?: DocumentEntity | null;
|
|
1126
|
+
responseDocumentId?: string | null;
|
|
1127
|
+
responseSentAt?: string | null;
|
|
1128
|
+
responseSentTo?: string | null;
|
|
1129
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1130
|
+
complaintAt?: string | null;
|
|
1131
|
+
complaintNote?: string | null;
|
|
1132
|
+
createdByEmployeeId: string;
|
|
1133
|
+
createdByFullName: string;
|
|
1134
|
+
events?: DataRightsEventEntity[];
|
|
1135
|
+
createdAt: string;
|
|
1136
|
+
updatedAt: string;
|
|
1137
|
+
}
|
|
1138
|
+
export interface DataRightsEventEntity {
|
|
1139
|
+
id: string;
|
|
1140
|
+
action: DataRightsEventAction;
|
|
1141
|
+
note?: string | null;
|
|
1142
|
+
employeeId?: string | null;
|
|
1143
|
+
employeeFullName: string;
|
|
1144
|
+
request?: DataRightsRequestEntity;
|
|
1145
|
+
requestId: string;
|
|
1146
|
+
createdAt: string;
|
|
1147
|
+
}
|
|
1148
|
+
export interface DataBreachEntity {
|
|
1149
|
+
id: string;
|
|
1150
|
+
number: number;
|
|
1151
|
+
year: number;
|
|
1152
|
+
detectedAt: string;
|
|
1153
|
+
occurredAt?: string | null;
|
|
1154
|
+
kinds: DataBreachKind[];
|
|
1155
|
+
description: string;
|
|
1156
|
+
effects?: string | null;
|
|
1157
|
+
dataCategories: string[];
|
|
1158
|
+
affectedCount?: number | null;
|
|
1159
|
+
measures?: string | null;
|
|
1160
|
+
sensitiveData: boolean;
|
|
1161
|
+
minorsData: boolean;
|
|
1162
|
+
financialData: boolean;
|
|
1163
|
+
riskToRights: boolean;
|
|
1164
|
+
treatment?: DataTreatmentEntity | null;
|
|
1165
|
+
treatmentId?: string | null;
|
|
1166
|
+
status: DataBreachStatus;
|
|
1167
|
+
agencyReportedAt?: string | null;
|
|
1168
|
+
agencyReportNote?: string | null;
|
|
1169
|
+
holdersNotifiedAt?: string | null;
|
|
1170
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1171
|
+
holdersNoticeNote?: string | null;
|
|
1172
|
+
closedAt?: string | null;
|
|
1173
|
+
closeNote?: string | null;
|
|
1174
|
+
createdByEmployeeId: string;
|
|
1175
|
+
createdByFullName: string;
|
|
1176
|
+
events?: DataBreachEventEntity[];
|
|
1177
|
+
createdAt: string;
|
|
1178
|
+
updatedAt: string;
|
|
1179
|
+
}
|
|
1180
|
+
export interface DataBreachEventEntity {
|
|
1181
|
+
id: string;
|
|
1182
|
+
action: DataBreachEventAction;
|
|
1183
|
+
note?: string | null;
|
|
1184
|
+
employeeId?: string | null;
|
|
1185
|
+
employeeFullName: string;
|
|
1186
|
+
breach?: DataBreachEntity;
|
|
1187
|
+
breachId: string;
|
|
1188
|
+
createdAt: string;
|
|
1189
|
+
}
|
|
1190
|
+
export interface DeskFileEntity {
|
|
1191
|
+
id: string;
|
|
1192
|
+
ownerEmployeeId: string;
|
|
1193
|
+
fileId: string;
|
|
1194
|
+
fileName: string;
|
|
1195
|
+
size: number;
|
|
1196
|
+
sha256: string;
|
|
1197
|
+
source: DeskFileSource;
|
|
1198
|
+
description?: string | null;
|
|
1199
|
+
classifiedAt?: string | null;
|
|
1200
|
+
target?: DeskFileTarget | null;
|
|
1201
|
+
targetId?: string | null;
|
|
1202
|
+
targetLabel?: string | null;
|
|
1203
|
+
removedAt?: string | null;
|
|
1204
|
+
createdAt: string;
|
|
1205
|
+
updatedAt: string;
|
|
1206
|
+
}
|
|
1207
|
+
type JsonValue = string | number | boolean | {
|
|
1208
|
+
[key in string]?: JsonValue;
|
|
1209
|
+
} | Array<JsonValue> | null;
|
|
1210
|
+
export {};
|