@muni-sanfer/types-gestor-documental 0.0.1-beta.7 → 0.0.1-beta.70

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