@muni-sanfer/types-gestor-documental 0.0.1-beta.5 → 0.0.1-beta.51

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