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