@muni-sanfer/types-gestor-documental 0.0.1-beta.3 → 0.0.1-beta.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/base/entities.d.ts +1012 -1
  2. package/dist/base/entities.js +263 -1
  3. package/dist/contracts/accessRequest.contract.d.ts +109 -0
  4. package/dist/contracts/accessRequest.contract.js +12 -0
  5. package/dist/contracts/archivalSeries.contract.d.ts +56 -0
  6. package/dist/contracts/archivalSeries.contract.js +11 -0
  7. package/dist/contracts/audit.contract.d.ts +32 -0
  8. package/dist/contracts/audit.contract.js +8 -0
  9. package/dist/contracts/caseFile.contract.d.ts +262 -0
  10. package/dist/contracts/caseFile.contract.js +26 -0
  11. package/dist/contracts/dataProtection.contract.d.ts +251 -0
  12. package/dist/contracts/dataProtection.contract.js +23 -0
  13. package/dist/contracts/desk.contract.d.ts +86 -0
  14. package/dist/contracts/desk.contract.js +13 -0
  15. package/dist/contracts/document.contract.d.ts +189 -2
  16. package/dist/contracts/document.contract.js +13 -0
  17. package/dist/contracts/documentType.contract.d.ts +11 -1
  18. package/dist/contracts/holiday.contract.d.ts +30 -0
  19. package/dist/contracts/holiday.contract.js +9 -0
  20. package/dist/contracts/index.d.ts +239 -1
  21. package/dist/contracts/index.js +60 -0
  22. package/dist/contracts/indicators.contract.d.ts +103 -0
  23. package/dist/contracts/indicators.contract.js +15 -0
  24. package/dist/contracts/issuingEntity.contract.d.ts +52 -0
  25. package/dist/contracts/issuingEntity.contract.js +11 -0
  26. package/dist/contracts/partsOffice.contract.d.ts +263 -0
  27. package/dist/contracts/partsOffice.contract.js +27 -0
  28. package/dist/contracts/procedure.contract.d.ts +50 -0
  29. package/dist/contracts/procedure.contract.js +11 -0
  30. package/dist/contracts/registerBook.contract.d.ts +27 -0
  31. package/dist/contracts/registerBook.contract.js +8 -0
  32. package/dist/contracts/repositoryExport.contract.d.ts +57 -0
  33. package/dist/contracts/repositoryExport.contract.js +13 -0
  34. package/dist/contracts/retention.contract.d.ts +58 -0
  35. package/dist/contracts/retention.contract.js +11 -0
  36. package/dist/contracts/scan.contract.d.ts +63 -0
  37. package/dist/contracts/scan.contract.js +12 -0
  38. package/dist/contracts/signatureBatch.contract.d.ts +109 -0
  39. package/dist/contracts/signatureBatch.contract.js +12 -0
  40. package/dist/contracts/signatureCheck.contract.d.ts +14 -0
  41. package/dist/contracts/signatureCheck.contract.js +7 -0
  42. package/dist/contracts/textSnippet.contract.d.ts +51 -0
  43. package/dist/contracts/textSnippet.contract.js +11 -0
  44. package/dist/contracts/transparency.contract.d.ts +96 -0
  45. package/dist/contracts/transparency.contract.js +12 -0
  46. package/dist/contracts/workFolder.contract.d.ts +114 -0
  47. package/dist/contracts/workFolder.contract.js +16 -0
  48. package/dist/entities/accessRequest/accessRequest.entity.d.ts +73 -0
  49. package/dist/entities/accessRequest/accessRequest.entity.js +2 -0
  50. package/dist/entities/accessRequest/index.d.ts +1 -0
  51. package/dist/entities/accessRequest/index.js +17 -0
  52. package/dist/entities/archivalSeries/archivalSeries.entity.d.ts +32 -0
  53. package/dist/entities/archivalSeries/archivalSeries.entity.js +2 -0
  54. package/dist/entities/archivalSeries/index.d.ts +1 -0
  55. package/dist/entities/archivalSeries/index.js +17 -0
  56. package/dist/entities/audit/audit.entity.d.ts +27 -0
  57. package/dist/entities/audit/audit.entity.js +2 -0
  58. package/dist/entities/audit/index.d.ts +1 -0
  59. package/dist/entities/audit/index.js +17 -0
  60. package/dist/entities/caseFile/caseFile.entity.d.ts +302 -0
  61. package/dist/entities/caseFile/caseFile.entity.js +2 -0
  62. package/dist/entities/caseFile/index.d.ts +1 -0
  63. package/dist/entities/caseFile/index.js +17 -0
  64. package/dist/entities/dataProtection/dataProtection.entity.d.ts +174 -0
  65. package/dist/entities/dataProtection/dataProtection.entity.js +2 -0
  66. package/dist/entities/dataProtection/index.d.ts +1 -0
  67. package/dist/entities/dataProtection/index.js +17 -0
  68. package/dist/entities/desk/desk.entity.d.ts +21 -0
  69. package/dist/entities/desk/desk.entity.js +2 -0
  70. package/dist/entities/desk/index.d.ts +1 -0
  71. package/dist/entities/desk/index.js +17 -0
  72. package/dist/entities/document/document.entity.d.ts +300 -1
  73. package/dist/entities/documentType/documentType.entity.d.ts +23 -0
  74. package/dist/entities/holiday/holiday.entity.d.ts +10 -0
  75. package/dist/entities/holiday/holiday.entity.js +2 -0
  76. package/dist/entities/holiday/index.d.ts +1 -0
  77. package/dist/entities/holiday/index.js +17 -0
  78. package/dist/entities/index.d.ts +20 -0
  79. package/dist/entities/index.js +20 -0
  80. package/dist/entities/indicators/index.d.ts +1 -0
  81. package/dist/entities/indicators/index.js +17 -0
  82. package/dist/entities/indicators/indicators.entity.d.ts +152 -0
  83. package/dist/entities/indicators/indicators.entity.js +2 -0
  84. package/dist/entities/issuingEntity/index.d.ts +1 -0
  85. package/dist/entities/issuingEntity/index.js +17 -0
  86. package/dist/entities/issuingEntity/issuingEntity.entity.d.ts +20 -0
  87. package/dist/entities/issuingEntity/issuingEntity.entity.js +2 -0
  88. package/dist/entities/partsOffice/index.d.ts +1 -0
  89. package/dist/entities/partsOffice/index.js +17 -0
  90. package/dist/entities/partsOffice/partsOffice.entity.d.ts +137 -0
  91. package/dist/entities/partsOffice/partsOffice.entity.js +2 -0
  92. package/dist/entities/procedure/index.d.ts +1 -0
  93. package/dist/entities/procedure/index.js +17 -0
  94. package/dist/entities/procedure/procedure.entity.d.ts +20 -0
  95. package/dist/entities/procedure/procedure.entity.js +2 -0
  96. package/dist/entities/registerBook/index.d.ts +1 -0
  97. package/dist/entities/registerBook/index.js +17 -0
  98. package/dist/entities/registerBook/registerBook.entity.d.ts +48 -0
  99. package/dist/entities/registerBook/registerBook.entity.js +2 -0
  100. package/dist/entities/repositoryExport/index.d.ts +1 -0
  101. package/dist/entities/repositoryExport/index.js +17 -0
  102. package/dist/entities/repositoryExport/repositoryExport.entity.d.ts +124 -0
  103. package/dist/entities/repositoryExport/repositoryExport.entity.js +2 -0
  104. package/dist/entities/retention/index.d.ts +1 -0
  105. package/dist/entities/retention/index.js +17 -0
  106. package/dist/entities/retention/retention.entity.d.ts +49 -0
  107. package/dist/entities/retention/retention.entity.js +2 -0
  108. package/dist/entities/scan/index.d.ts +1 -0
  109. package/dist/entities/scan/index.js +17 -0
  110. package/dist/entities/scan/scan.entity.d.ts +29 -0
  111. package/dist/entities/scan/scan.entity.js +2 -0
  112. package/dist/entities/signatureBatch/index.d.ts +1 -0
  113. package/dist/entities/signatureBatch/index.js +17 -0
  114. package/dist/entities/signatureBatch/signatureBatch.entity.d.ts +107 -0
  115. package/dist/entities/signatureBatch/signatureBatch.entity.js +2 -0
  116. package/dist/entities/signatureCheck/index.d.ts +1 -0
  117. package/dist/entities/signatureCheck/index.js +17 -0
  118. package/dist/entities/signatureCheck/signatureCheck.entity.d.ts +49 -0
  119. package/dist/entities/signatureCheck/signatureCheck.entity.js +2 -0
  120. package/dist/entities/textSnippet/index.d.ts +1 -0
  121. package/dist/entities/textSnippet/index.js +17 -0
  122. package/dist/entities/textSnippet/textSnippet.entity.d.ts +20 -0
  123. package/dist/entities/textSnippet/textSnippet.entity.js +2 -0
  124. package/dist/entities/transparency/index.d.ts +1 -0
  125. package/dist/entities/transparency/index.js +17 -0
  126. package/dist/entities/transparency/transparency.entity.d.ts +77 -0
  127. package/dist/entities/transparency/transparency.entity.js +2 -0
  128. package/dist/entities/workFolder/index.d.ts +1 -0
  129. package/dist/entities/workFolder/index.js +17 -0
  130. package/dist/entities/workFolder/workFolder.entity.d.ts +83 -0
  131. package/dist/entities/workFolder/workFolder.entity.js +2 -0
  132. package/package.json +1 -1
  133. package/src/base/entities.ts +1199 -1
  134. package/src/contracts/accessRequest.contract.ts +81 -0
  135. package/src/contracts/archivalSeries.contract.ts +59 -0
  136. package/src/contracts/audit.contract.ts +30 -0
  137. package/src/contracts/caseFile.contract.ts +228 -0
  138. package/src/contracts/dataProtection.contract.ts +195 -0
  139. package/src/contracts/desk.contract.ts +68 -0
  140. package/src/contracts/document.contract.ts +174 -2
  141. package/src/contracts/documentType.contract.ts +25 -3
  142. package/src/contracts/holiday.contract.ts +16 -0
  143. package/src/contracts/index.ts +82 -1
  144. package/src/contracts/indicators.contract.ts +80 -0
  145. package/src/contracts/issuingEntity.contract.ts +55 -0
  146. package/src/contracts/partsOffice.contract.ts +199 -0
  147. package/src/contracts/procedure.contract.ts +53 -0
  148. package/src/contracts/registerBook.contract.ts +24 -0
  149. package/src/contracts/repositoryExport.contract.ts +54 -0
  150. package/src/contracts/retention.contract.ts +44 -0
  151. package/src/contracts/scan.contract.ts +52 -0
  152. package/src/contracts/signatureBatch.contract.ts +96 -0
  153. package/src/contracts/signatureCheck.contract.ts +11 -0
  154. package/src/contracts/textSnippet.contract.ts +53 -0
  155. package/src/contracts/transparency.contract.ts +55 -0
  156. package/src/contracts/workFolder.contract.ts +75 -0
  157. package/src/entities/accessRequest/accessRequest.entity.ts +78 -0
  158. package/src/entities/accessRequest/index.ts +1 -0
  159. package/src/entities/archivalSeries/archivalSeries.entity.ts +37 -0
  160. package/src/entities/archivalSeries/index.ts +1 -0
  161. package/src/entities/audit/audit.entity.ts +30 -0
  162. package/src/entities/audit/index.ts +1 -0
  163. package/src/entities/caseFile/caseFile.entity.ts +326 -0
  164. package/src/entities/caseFile/index.ts +1 -0
  165. package/src/entities/dataProtection/dataProtection.entity.ts +185 -0
  166. package/src/entities/dataProtection/index.ts +1 -0
  167. package/src/entities/desk/desk.entity.ts +24 -0
  168. package/src/entities/desk/index.ts +1 -0
  169. package/src/entities/document/document.entity.ts +301 -0
  170. package/src/entities/documentType/documentType.entity.ts +16 -0
  171. package/src/entities/holiday/holiday.entity.ts +11 -0
  172. package/src/entities/holiday/index.ts +1 -0
  173. package/src/entities/index.ts +20 -0
  174. package/src/entities/indicators/index.ts +1 -0
  175. package/src/entities/indicators/indicators.entity.ts +157 -0
  176. package/src/entities/issuingEntity/index.ts +1 -0
  177. package/src/entities/issuingEntity/issuingEntity.entity.ts +24 -0
  178. package/src/entities/partsOffice/index.ts +1 -0
  179. package/src/entities/partsOffice/partsOffice.entity.ts +138 -0
  180. package/src/entities/procedure/index.ts +1 -0
  181. package/src/entities/procedure/procedure.entity.ts +24 -0
  182. package/src/entities/registerBook/index.ts +1 -0
  183. package/src/entities/registerBook/registerBook.entity.ts +52 -0
  184. package/src/entities/repositoryExport/index.ts +1 -0
  185. package/src/entities/repositoryExport/repositoryExport.entity.ts +86 -0
  186. package/src/entities/retention/index.ts +1 -0
  187. package/src/entities/retention/retention.entity.ts +53 -0
  188. package/src/entities/scan/index.ts +1 -0
  189. package/src/entities/scan/scan.entity.ts +32 -0
  190. package/src/entities/signatureBatch/index.ts +1 -0
  191. package/src/entities/signatureBatch/signatureBatch.entity.ts +110 -0
  192. package/src/entities/signatureCheck/index.ts +1 -0
  193. package/src/entities/signatureCheck/signatureCheck.entity.ts +51 -0
  194. package/src/entities/textSnippet/index.ts +1 -0
  195. package/src/entities/textSnippet/textSnippet.entity.ts +24 -0
  196. package/src/entities/transparency/index.ts +1 -0
  197. package/src/entities/transparency/transparency.entity.ts +78 -0
  198. package/src/entities/workFolder/index.ts +1 -0
  199. package/src/entities/workFolder/workFolder.entity.ts +84 -0
  200. package/tsconfig.json +1 -3
@@ -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,39 @@ 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
+ versions?: DocumentVersionEntity[];
477
+ comments?: DocumentCommentEntity[];
478
+ accessRequestDeliveries?: AccessRequestDocumentEntity[];
479
+ dispatch?: DocumentDispatchEntity | null;
480
+ docDigitalInbound?: DocDigitalInboundEntity | null;
481
+ deleted: boolean;
482
+ createdAt: string;
483
+ updatedAt: string;
484
+ }
485
+ export interface SignatureBatchEntity {
486
+ id: string;
487
+ name: string;
488
+ createdByEmployeeId: string;
489
+ createdByFullName: string;
490
+ documentType?: DocumentTypeEntity;
491
+ documentTypeId: string;
492
+ documents?: DocumentEntity[];
135
493
  deleted: boolean;
136
494
  createdAt: string;
137
495
  updatedAt: string;
@@ -140,6 +498,7 @@ export interface DocumentParticipantEntity {
140
498
  id: string;
141
499
  role: DocumentParticipantRole;
142
500
  order: number;
501
+ stage: number;
143
502
  status: DocumentParticipantStatus;
144
503
  employeeId: string;
145
504
  fullName: string;
@@ -167,6 +526,7 @@ export interface DocumentTrackingEntity {
167
526
  id: string;
168
527
  action: DocumentTrackingAction;
169
528
  observation?: string | null;
529
+ sha256?: string | null;
170
530
  employeeId?: string | null;
171
531
  employeeFullName?: string | null;
172
532
  document?: DocumentEntity;
@@ -214,6 +574,8 @@ export interface DocumentDeliveryEntity {
214
574
  readAt?: string | null;
215
575
  closedAt?: string | null;
216
576
  closingNote?: string | null;
577
+ dueSoonRemindedAt?: string | null;
578
+ overdueRemindedAt?: string | null;
217
579
  document?: DocumentEntity;
218
580
  documentId: string;
219
581
  createdAt: string;
@@ -227,7 +589,656 @@ export interface DocumentTypeFlowStepEntity {
227
589
  directorateCodeReference?: number | null;
228
590
  name: string;
229
591
  position?: string | null;
592
+ withPrevious: boolean;
230
593
  documentType?: DocumentTypeEntity;
231
594
  documentTypeId: string;
232
595
  createdAt: string;
233
596
  }
597
+ export interface ProcedureEntity {
598
+ id: string;
599
+ name: string;
600
+ cpatId?: string | null;
601
+ cpatCode?: string | null;
602
+ description?: string | null;
603
+ enabled: boolean;
604
+ caseFiles?: CaseFileEntity[];
605
+ deleted: boolean;
606
+ createdAt: string;
607
+ updatedAt: string;
608
+ }
609
+ export interface CaseFileSequenceEntity {
610
+ year: number;
611
+ next: number;
612
+ }
613
+ export interface CaseFileEntity {
614
+ id: string;
615
+ code: string;
616
+ year: number;
617
+ number: number;
618
+ title: string;
619
+ subject: string;
620
+ summary?: string | null;
621
+ status: CaseFileStatus;
622
+ accessLevel: DocumentAccessLevel;
623
+ hasSensitiveData: boolean;
624
+ restrictionEndsAt?: string | null;
625
+ archivalSeries?: ArchivalSeriesEntity | null;
626
+ archivalSeriesId?: string | null;
627
+ incorporationMechanism: CaseFileIncorporationMechanism;
628
+ schemaVersion: string;
629
+ procedure?: ProcedureEntity;
630
+ procedureId: string;
631
+ responsibleEmployeeId: string;
632
+ responsibleFullName: string;
633
+ responsiblePosition?: string | null;
634
+ closedAt?: string | null;
635
+ disposition?: DispositionRecordEntity | null;
636
+ dispositionId?: string | null;
637
+ closedByEmployeeId?: string | null;
638
+ closedByFullName?: string | null;
639
+ closingNote?: string | null;
640
+ participants?: CaseFileParticipantEntity[];
641
+ actors?: CaseFileActorEntity[];
642
+ entries?: CaseFileEntryEntity[];
643
+ linkedFrom?: CaseFileEntryEntity[];
644
+ trackings?: CaseFileTrackingEntity[];
645
+ metadataChanges?: CaseFileMetadataChangeEntity[];
646
+ accesses?: CaseFileAccessEntity[];
647
+ shareLinks?: CaseFileShareLinkEntity[];
648
+ createdAt: string;
649
+ updatedAt: string;
650
+ workFolder?: WorkFolderEntity | null;
651
+ }
652
+ export interface CaseFileParticipantEntity {
653
+ id: string;
654
+ employeeId: string;
655
+ fullName: string;
656
+ position?: string | null;
657
+ addedByEmployeeId: string;
658
+ addedByFullName: string;
659
+ caseFile?: CaseFileEntity;
660
+ caseFileId: string;
661
+ createdAt: string;
662
+ }
663
+ export interface CaseFileActorEntity {
664
+ id: string;
665
+ relation: CaseFileActorRelation;
666
+ actorType: CaseFileActorType;
667
+ identifier?: string | null;
668
+ name: string;
669
+ caseFile?: CaseFileEntity;
670
+ caseFileId: string;
671
+ createdAt: string;
672
+ }
673
+ export interface CaseFileEntryEntity {
674
+ id: string;
675
+ sequence: number;
676
+ kind: CaseFileEntryKind;
677
+ actuationType: CaseFileActuationType;
678
+ title: string;
679
+ folder?: string | null;
680
+ document?: DocumentEntity | null;
681
+ documentId?: string | null;
682
+ fileId?: string | null;
683
+ fileName?: string | null;
684
+ documentTypeName?: string | null;
685
+ originDate?: string | null;
686
+ author?: string | null;
687
+ keywords: string[];
688
+ accessLevel?: DocumentAccessLevel | null;
689
+ hasSensitiveData?: boolean | null;
690
+ physicalLocation?: string | null;
691
+ physicalReason?: string | null;
692
+ pageCount?: number | null;
693
+ linkedCaseFile?: CaseFileEntity | null;
694
+ linkedCaseFileId?: string | null;
695
+ sha256?: string | null;
696
+ size?: number | null;
697
+ hasAdvancedSignature: boolean;
698
+ signatureCheck?: JsonValue | null;
699
+ incorporatedByEmployeeId: string;
700
+ incorporatedByFullName: string;
701
+ voidedAt?: string | null;
702
+ voidedByEmployeeId?: string | null;
703
+ voidedByFullName?: string | null;
704
+ voidReason?: string | null;
705
+ caseFile?: CaseFileEntity;
706
+ caseFileId: string;
707
+ createdAt: string;
708
+ }
709
+ export interface CaseFileTrackingEntity {
710
+ id: string;
711
+ action: CaseFileTrackingAction;
712
+ observation?: string | null;
713
+ employeeId?: string | null;
714
+ employeeFullName?: string | null;
715
+ caseFile?: CaseFileEntity;
716
+ caseFileId: string;
717
+ createdAt: string;
718
+ }
719
+ export interface CaseFileMetadataChangeEntity {
720
+ id: string;
721
+ field: string;
722
+ previousValue?: string | null;
723
+ newValue?: string | null;
724
+ employeeId: string;
725
+ employeeFullName: string;
726
+ caseFile?: CaseFileEntity;
727
+ caseFileId: string;
728
+ createdAt: string;
729
+ }
730
+ export interface CaseFileAccessEntity {
731
+ id: string;
732
+ action: CaseFileAccessAction;
733
+ entryId?: string | null;
734
+ employeeId?: string | null;
735
+ employeeFullName: string;
736
+ shareLink?: CaseFileShareLinkEntity | null;
737
+ shareLinkId?: string | null;
738
+ caseFile?: CaseFileEntity;
739
+ caseFileId: string;
740
+ createdAt: string;
741
+ }
742
+ export interface CaseFileShareLinkEntity {
743
+ id: string;
744
+ tokenHash: string;
745
+ recipient: string;
746
+ recipientEmail?: string | null;
747
+ purpose?: string | null;
748
+ allowExport: boolean;
749
+ expiresAt: string;
750
+ createdByEmployeeId: string;
751
+ createdByFullName: string;
752
+ revokedAt?: string | null;
753
+ revokedByEmployeeId?: string | null;
754
+ revokedByFullName?: string | null;
755
+ caseFile?: CaseFileEntity;
756
+ caseFileId: string;
757
+ accesses?: CaseFileAccessEntity[];
758
+ createdAt: string;
759
+ }
760
+ export interface DocumentEmailCopyEntity {
761
+ id: string;
762
+ name: string;
763
+ email: string;
764
+ tokenHash?: string | null;
765
+ expiresAt?: string | null;
766
+ issuedAt?: string | null;
767
+ openedAt?: string | null;
768
+ downloadCount: number;
769
+ document?: DocumentEntity;
770
+ documentId: string;
771
+ createdAt: string;
772
+ }
773
+ export interface ScanSessionEntity {
774
+ id: string;
775
+ tokenHash: string;
776
+ status: ScanSessionStatus;
777
+ employeeId: string;
778
+ pages: JsonValue;
779
+ fileId?: string | null;
780
+ fileName?: string | null;
781
+ expiresAt: string;
782
+ finishedAt?: string | null;
783
+ createdAt: string;
784
+ }
785
+ export interface DocumentExternalRecipientEntity {
786
+ id: string;
787
+ entityId: number;
788
+ entityName: string;
789
+ userId?: number | null;
790
+ userName?: string | null;
791
+ userPosition?: string | null;
792
+ document?: DocumentEntity;
793
+ documentId: string;
794
+ createdAt: string;
795
+ }
796
+ export interface DocumentDispatchEntity {
797
+ id: string;
798
+ status: DocumentDispatchStatus;
799
+ folio?: string | null;
800
+ docDigitalTypeId?: number | null;
801
+ docDigitalTypeName?: string | null;
802
+ docDigitalDocumentId?: string | null;
803
+ docDigitalRequestId?: string | null;
804
+ dispatchedAt?: string | null;
805
+ dispatchedByEmployeeId?: string | null;
806
+ dispatchedByFullName?: string | null;
807
+ returnedAt?: string | null;
808
+ returnedByEmployeeId?: string | null;
809
+ returnedByFullName?: string | null;
810
+ returnReason?: string | null;
811
+ contingencyMeans?: CommunicationMeans | null;
812
+ contingencySentTo?: string | null;
813
+ contingencyReason?: string | null;
814
+ contingencyReceiptFileId?: string | null;
815
+ contingencyReceiptName?: string | null;
816
+ document?: DocumentEntity;
817
+ documentId: string;
818
+ createdAt: string;
819
+ updatedAt: string;
820
+ }
821
+ export interface DocDigitalInboundEntity {
822
+ id: string;
823
+ docDigitalDocumentId: string;
824
+ docDigitalRequestId?: string | null;
825
+ status: DocDigitalInboundStatus;
826
+ subject: string;
827
+ description?: string | null;
828
+ folio?: string | null;
829
+ folioDate?: string | null;
830
+ typeName?: string | null;
831
+ reserved: boolean;
832
+ senderEntityId?: number | null;
833
+ senderEntityName?: string | null;
834
+ senderName?: string | null;
835
+ senderPosition?: string | null;
836
+ recipientEntityId?: number | null;
837
+ recipientEntityName?: string | null;
838
+ fileId?: string | null;
839
+ fileName?: string | null;
840
+ attachments: JsonValue;
841
+ signatureCheck?: JsonValue | null;
842
+ registeredAt?: string | null;
843
+ registeredByEmployeeId?: string | null;
844
+ registeredByFullName?: string | null;
845
+ acknowledgedAt?: string | null;
846
+ acknowledgeError?: string | null;
847
+ returnedAt?: string | null;
848
+ returnedByEmployeeId?: string | null;
849
+ returnedByFullName?: string | null;
850
+ returnReason?: string | null;
851
+ document?: DocumentEntity | null;
852
+ documentId?: string | null;
853
+ createdAt: string;
854
+ updatedAt: string;
855
+ }
856
+ export interface HolidayEntity {
857
+ id: string;
858
+ date: string;
859
+ name: string;
860
+ createdAt: string;
861
+ }
862
+ export interface TextSnippetEntity {
863
+ id: string;
864
+ title: string;
865
+ text: string;
866
+ section: TextSnippetSection;
867
+ keywords: string[];
868
+ enabled: boolean;
869
+ deleted: boolean;
870
+ createdAt: string;
871
+ updatedAt: string;
872
+ }
873
+ export interface ArchivalSeriesEntity {
874
+ id: string;
875
+ code: string;
876
+ name: string;
877
+ section?: string | null;
878
+ description?: string | null;
879
+ managementYears?: number | null;
880
+ centralYears?: number | null;
881
+ finalDisposition?: FinalDisposition | null;
882
+ retentionNote?: string | null;
883
+ enabled: boolean;
884
+ documentTypes?: DocumentTypeEntity[];
885
+ caseFiles?: CaseFileEntity[];
886
+ dispositions?: DispositionRecordEntity[];
887
+ deleted: boolean;
888
+ createdAt: string;
889
+ updatedAt: string;
890
+ }
891
+ export interface IssuingEntityEntity {
892
+ id: string;
893
+ name: string;
894
+ shortName?: string | null;
895
+ directorateCodeReferences: number[];
896
+ docDigitalEntityId?: number | null;
897
+ enabled: boolean;
898
+ documentTypes?: DocumentTypeEntity[];
899
+ deleted: boolean;
900
+ createdAt: string;
901
+ updatedAt: string;
902
+ }
903
+ export interface IntakeSequenceEntity {
904
+ year: number;
905
+ next: number;
906
+ }
907
+ export interface WorkFolderEntity {
908
+ id: string;
909
+ name: string;
910
+ description?: string | null;
911
+ ownerEmployeeId: string;
912
+ ownerFullName: string;
913
+ caseFile?: CaseFileEntity | null;
914
+ caseFileId?: string | null;
915
+ participants?: WorkFolderParticipantEntity[];
916
+ items?: WorkFolderItemEntity[];
917
+ deleted: boolean;
918
+ createdAt: string;
919
+ updatedAt: string;
920
+ }
921
+ export interface WorkFolderParticipantEntity {
922
+ id: string;
923
+ employeeId: string;
924
+ fullName: string;
925
+ folder?: WorkFolderEntity;
926
+ folderId: string;
927
+ createdAt: string;
928
+ }
929
+ export interface WorkFolderItemEntity {
930
+ id: string;
931
+ kind: WorkFolderItemKind;
932
+ title: string;
933
+ document?: DocumentEntity | null;
934
+ documentId?: string | null;
935
+ fileId?: string | null;
936
+ fileName?: string | null;
937
+ addedByEmployeeId: string;
938
+ addedByFullName: string;
939
+ folder?: WorkFolderEntity;
940
+ folderId: string;
941
+ createdAt: string;
942
+ }
943
+ export interface ServiceOutageEntity {
944
+ id: string;
945
+ kind: ServiceOutageKind;
946
+ startedAt: string;
947
+ endedAt?: string | null;
948
+ cause: string;
949
+ affectedServices?: string | null;
950
+ createdByEmployeeId: string;
951
+ createdByFullName: string;
952
+ updatedByFullName?: string | null;
953
+ deleted: boolean;
954
+ createdAt: string;
955
+ updatedAt: string;
956
+ }
957
+ export interface QualityMetricSettingEntity {
958
+ key: QualityMetricKey;
959
+ threshold: number;
960
+ declaredValue?: number | null;
961
+ declaredNote?: string | null;
962
+ declaredAt?: string | null;
963
+ declaredByFullName?: string | null;
964
+ updatedAt: string;
965
+ }
966
+ export interface ServiceTimingEntity {
967
+ hour: string;
968
+ count: number;
969
+ errorCount: number;
970
+ totalMs: number;
971
+ maxMs: number;
972
+ under100: number;
973
+ under250: number;
974
+ under500: number;
975
+ under1000: number;
976
+ under2000: number;
977
+ under5000: number;
978
+ over5000: number;
979
+ }
980
+ export interface DocumentAccessEntity {
981
+ id: string;
982
+ action: DocumentAccessAction;
983
+ employeeId?: string | null;
984
+ employeeFullName: string;
985
+ document?: DocumentEntity;
986
+ documentId: string;
987
+ createdAt: string;
988
+ }
989
+ export interface AuditLogEntity {
990
+ id: string;
991
+ entity: AuditEntity;
992
+ action: AuditAction;
993
+ entityId?: string | null;
994
+ name: string;
995
+ details?: JsonValue | null;
996
+ employeeId?: string | null;
997
+ employeeFullName: string;
998
+ createdAt: string;
999
+ }
1000
+ export interface DispositionRecordEntity {
1001
+ id: string;
1002
+ kind: DispositionKind;
1003
+ number: number;
1004
+ year: number;
1005
+ observation?: string | null;
1006
+ series?: ArchivalSeriesEntity;
1007
+ seriesId: string;
1008
+ documents?: DocumentEntity[];
1009
+ caseFiles?: CaseFileEntity[];
1010
+ createdByEmployeeId: string;
1011
+ createdByFullName: string;
1012
+ createdAt: string;
1013
+ }
1014
+ export interface AccessRequestEntity {
1015
+ id: string;
1016
+ number: number;
1017
+ year: number;
1018
+ externalFolio?: string | null;
1019
+ channel: AccessRequestChannel;
1020
+ receivedAt: string;
1021
+ requesterName: string;
1022
+ requesterEmail?: string | null;
1023
+ requesterAddress?: string | null;
1024
+ requestText: string;
1025
+ deliveryFormat?: string | null;
1026
+ status: AccessRequestStatus;
1027
+ correctionRequestedAt?: string | null;
1028
+ correctionDueAt?: string | null;
1029
+ correctedAt?: string | null;
1030
+ dueAt: string;
1031
+ extendedAt?: string | null;
1032
+ extensionNote?: string | null;
1033
+ assigneeEmployeeId?: string | null;
1034
+ assigneeFullName?: string | null;
1035
+ thirdPartyNotifiedAt?: string | null;
1036
+ oppositionDueAt?: string | null;
1037
+ thirdPartyOpposed?: boolean | null;
1038
+ resolution?: AccessRequestResolution | null;
1039
+ resolvedAt?: string | null;
1040
+ denialGrounds: string[];
1041
+ derivedTo?: string | null;
1042
+ resolutionNote?: string | null;
1043
+ responseDocument?: DocumentEntity | null;
1044
+ responseDocumentId?: string | null;
1045
+ appealedAt?: string | null;
1046
+ appealNote?: string | null;
1047
+ createdByEmployeeId: string;
1048
+ createdByFullName: string;
1049
+ documents?: AccessRequestDocumentEntity[];
1050
+ events?: AccessRequestEventEntity[];
1051
+ createdAt: string;
1052
+ updatedAt: string;
1053
+ }
1054
+ export interface AccessRequestDocumentEntity {
1055
+ accessRequest?: AccessRequestEntity;
1056
+ accessRequestId: string;
1057
+ document?: DocumentEntity;
1058
+ documentId: string;
1059
+ }
1060
+ export interface AccessRequestEventEntity {
1061
+ id: string;
1062
+ action: AccessRequestEventAction;
1063
+ note?: string | null;
1064
+ employeeId?: string | null;
1065
+ employeeFullName: string;
1066
+ accessRequest?: AccessRequestEntity;
1067
+ accessRequestId: string;
1068
+ createdAt: string;
1069
+ }
1070
+ export interface DataTreatmentEntity {
1071
+ id: string;
1072
+ name: string;
1073
+ purpose: string;
1074
+ legalBasis: DataLegalBasis;
1075
+ legalBasisDetail?: string | null;
1076
+ dataCategories: string[];
1077
+ sensitiveData: boolean;
1078
+ dataSubjects: string;
1079
+ recipients?: string | null;
1080
+ source?: string | null;
1081
+ retention?: string | null;
1082
+ securityMeasures?: string | null;
1083
+ internationalTransfer?: string | null;
1084
+ responsibleUnit?: string | null;
1085
+ published: boolean;
1086
+ requests?: DataRightsRequestEntity[];
1087
+ breaches?: DataBreachEntity[];
1088
+ enabled: boolean;
1089
+ deleted: boolean;
1090
+ createdAt: string;
1091
+ updatedAt: string;
1092
+ }
1093
+ export interface DataRightsRequestEntity {
1094
+ id: string;
1095
+ number: number;
1096
+ year: number;
1097
+ channel: DataRightsChannel;
1098
+ receivedAt: string;
1099
+ rights: DataRight[];
1100
+ requesterName: string;
1101
+ requesterRut?: string | null;
1102
+ requesterEmail?: string | null;
1103
+ requesterAddress?: string | null;
1104
+ representativeName?: string | null;
1105
+ identityVerifiedAt?: string | null;
1106
+ identityNote?: string | null;
1107
+ requestText: string;
1108
+ treatment?: DataTreatmentEntity | null;
1109
+ treatmentId?: string | null;
1110
+ status: DataRightsRequestStatus;
1111
+ acknowledgedAt?: string | null;
1112
+ dueAt: string;
1113
+ extendedAt?: string | null;
1114
+ extensionNote?: string | null;
1115
+ blockingRequested: boolean;
1116
+ blockingReason?: string | null;
1117
+ blockingDueAt?: string | null;
1118
+ blockingGranted?: boolean | null;
1119
+ blockingResolvedAt?: string | null;
1120
+ blockingNote?: string | null;
1121
+ assigneeEmployeeId?: string | null;
1122
+ assigneeFullName?: string | null;
1123
+ resolution?: DataRightsResolution | null;
1124
+ resolvedAt?: string | null;
1125
+ denialGrounds: string[];
1126
+ resolutionNote?: string | null;
1127
+ responseDocument?: DocumentEntity | null;
1128
+ responseDocumentId?: string | null;
1129
+ responseSentAt?: string | null;
1130
+ responseSentTo?: string | null;
1131
+ responseSentMeans?: CommunicationMeans | null;
1132
+ complaintAt?: string | null;
1133
+ complaintNote?: string | null;
1134
+ createdByEmployeeId: string;
1135
+ createdByFullName: string;
1136
+ events?: DataRightsEventEntity[];
1137
+ createdAt: string;
1138
+ updatedAt: string;
1139
+ }
1140
+ export interface DataRightsEventEntity {
1141
+ id: string;
1142
+ action: DataRightsEventAction;
1143
+ note?: string | null;
1144
+ employeeId?: string | null;
1145
+ employeeFullName: string;
1146
+ request?: DataRightsRequestEntity;
1147
+ requestId: string;
1148
+ createdAt: string;
1149
+ }
1150
+ export interface DataBreachEntity {
1151
+ id: string;
1152
+ number: number;
1153
+ year: number;
1154
+ detectedAt: string;
1155
+ occurredAt?: string | null;
1156
+ kinds: DataBreachKind[];
1157
+ description: string;
1158
+ effects?: string | null;
1159
+ dataCategories: string[];
1160
+ affectedCount?: number | null;
1161
+ measures?: string | null;
1162
+ sensitiveData: boolean;
1163
+ minorsData: boolean;
1164
+ financialData: boolean;
1165
+ riskToRights: boolean;
1166
+ treatment?: DataTreatmentEntity | null;
1167
+ treatmentId?: string | null;
1168
+ status: DataBreachStatus;
1169
+ agencyReportedAt?: string | null;
1170
+ agencyReportNote?: string | null;
1171
+ holdersNotifiedAt?: string | null;
1172
+ holdersNoticeMeans?: DataBreachNoticeMeans | null;
1173
+ holdersNoticeNote?: string | null;
1174
+ closedAt?: string | null;
1175
+ closeNote?: string | null;
1176
+ createdByEmployeeId: string;
1177
+ createdByFullName: string;
1178
+ events?: DataBreachEventEntity[];
1179
+ createdAt: string;
1180
+ updatedAt: string;
1181
+ }
1182
+ export interface DataBreachEventEntity {
1183
+ id: string;
1184
+ action: DataBreachEventAction;
1185
+ note?: string | null;
1186
+ employeeId?: string | null;
1187
+ employeeFullName: string;
1188
+ breach?: DataBreachEntity;
1189
+ breachId: string;
1190
+ createdAt: string;
1191
+ }
1192
+ export interface DeskFileEntity {
1193
+ id: string;
1194
+ ownerEmployeeId: string;
1195
+ fileId: string;
1196
+ fileName: string;
1197
+ size: number;
1198
+ sha256: string;
1199
+ source: DeskFileSource;
1200
+ description?: string | null;
1201
+ classifiedAt?: string | null;
1202
+ target?: DeskFileTarget | null;
1203
+ targetId?: string | null;
1204
+ targetLabel?: string | null;
1205
+ removedAt?: string | null;
1206
+ createdAt: string;
1207
+ updatedAt: string;
1208
+ }
1209
+ export interface DocumentVersionEntity {
1210
+ id: string;
1211
+ documentId: string;
1212
+ document?: DocumentEntity;
1213
+ number: number;
1214
+ subject: string;
1215
+ fileId: string;
1216
+ fileName: string;
1217
+ sha256?: string | null;
1218
+ composition?: JsonValue | null;
1219
+ note?: string | null;
1220
+ status: DocumentStatus;
1221
+ createdByEmployeeId: string;
1222
+ createdByFullName: string;
1223
+ createdAt: string;
1224
+ }
1225
+ export interface DocumentCommentEntity {
1226
+ id: string;
1227
+ documentId: string;
1228
+ document?: DocumentEntity;
1229
+ versionNumber: number;
1230
+ section?: string | null;
1231
+ quote?: string | null;
1232
+ text: string;
1233
+ authorEmployeeId: string;
1234
+ authorFullName: string;
1235
+ authorRole: string;
1236
+ resolvedAt?: string | null;
1237
+ resolvedByFullName?: string | null;
1238
+ resolutionNote?: string | null;
1239
+ createdAt: string;
1240
+ }
1241
+ type JsonValue = string | number | boolean | {
1242
+ [key in string]?: JsonValue;
1243
+ } | Array<JsonValue> | null;
1244
+ export {};