@muni-sanfer/types-gestor-documental 0.0.1-beta.10 → 0.0.1-beta.100
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 +1055 -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 +281 -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 +38 -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/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 +534 -3
- package/dist/entities/document/folio.d.ts +105 -0
- package/dist/entities/document/folio.js +90 -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 +22 -0
- package/dist/entities/document/richDistribution.js +11 -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 +15 -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 +67 -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 +1254 -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 +278 -11
- package/src/contracts/documentTemplate.contract.ts +17 -0
- package/src/contracts/documentType.contract.ts +69 -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/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 +533 -6
- package/src/entities/document/folio.ts +172 -0
- package/src/entities/document/index.ts +4 -0
- package/src/entities/document/richDistribution.ts +18 -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 +22 -0
- package/src/entities/documentType/documentCategory.ts +40 -0
- package/src/entities/documentType/documentType.entity.ts +83 -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,36 @@ export interface DocumentTypeEntity {
|
|
|
175
489
|
correlativeYear?: number | null;
|
|
176
490
|
resetsYearly: boolean;
|
|
177
491
|
numbered: boolean;
|
|
178
|
-
|
|
492
|
+
numberingScope: DocumentNumberingScope;
|
|
493
|
+
usesPartsOffice: boolean;
|
|
494
|
+
internalDistribution: DistributionRule;
|
|
495
|
+
externalDistribution: DistributionRule;
|
|
496
|
+
emailDistribution: DistributionRule;
|
|
497
|
+
laterDistribution: boolean;
|
|
498
|
+
decreeKind?: DecreeKind | null;
|
|
499
|
+
folioFormat?: JsonValue | null;
|
|
500
|
+
processingSlaDays?: number | null;
|
|
501
|
+
turnSlaDays?: number | null;
|
|
502
|
+
reviewSlaDays?: number | null;
|
|
503
|
+
responseSlaDays?: number | null;
|
|
504
|
+
activeTransparency: boolean;
|
|
505
|
+
transparencySection?: string | null;
|
|
506
|
+
directorateCodeReferences: number[];
|
|
507
|
+
draftReviewDirectorateCode?: number | null;
|
|
508
|
+
draftReviewDirectorateName?: string | null;
|
|
509
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
510
|
+
archivalSeriesId?: string | null;
|
|
511
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
512
|
+
issuingEntityId?: string | null;
|
|
179
513
|
enabled: boolean;
|
|
514
|
+
version: number;
|
|
515
|
+
versions?: DocumentTypeVersionEntity[];
|
|
180
516
|
documents?: DocumentEntity[];
|
|
517
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
181
518
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
182
519
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
183
520
|
signatureBatches?: SignatureBatchEntity[];
|
|
521
|
+
template?: DocumentTemplateEntity | null;
|
|
184
522
|
deleted: boolean;
|
|
185
523
|
createdAt: string;
|
|
186
524
|
updatedAt: string;
|
|
@@ -188,24 +526,32 @@ export interface DocumentTypeEntity {
|
|
|
188
526
|
export interface DocumentEntity {
|
|
189
527
|
id: string;
|
|
190
528
|
subject: string;
|
|
529
|
+
description?: string | null;
|
|
191
530
|
keywords: string[];
|
|
192
531
|
accessLevel: DocumentAccessLevel;
|
|
193
532
|
hasSensitiveData: boolean;
|
|
533
|
+
restrictionEndsAt?: string | null;
|
|
194
534
|
status: DocumentStatus;
|
|
195
535
|
correlative?: number | null;
|
|
196
536
|
correlativeYear?: number | null;
|
|
197
537
|
numberedAt?: string | null;
|
|
538
|
+
stampedAt?: string | null;
|
|
539
|
+
folioStamp?: JsonValue | null;
|
|
198
540
|
verificationCode?: string | null;
|
|
199
|
-
signatureSheet: boolean;
|
|
200
541
|
annulledAt?: string | null;
|
|
201
542
|
annulmentReason?: string | null;
|
|
202
543
|
responseDueAt?: string | null;
|
|
544
|
+
responseDueBusinessDays?: number | null;
|
|
545
|
+
procedure?: ProcedureEntity | null;
|
|
546
|
+
procedureId?: string | null;
|
|
203
547
|
origin: DocumentOrigin;
|
|
204
548
|
intakeNumber?: number | null;
|
|
205
549
|
intakeYear?: number | null;
|
|
206
550
|
externalFolio?: string | null;
|
|
207
551
|
externalSender?: string | null;
|
|
208
552
|
externalDate?: string | null;
|
|
553
|
+
intakeMeans?: CommunicationMeans | null;
|
|
554
|
+
composition?: JsonValue | null;
|
|
209
555
|
contentText?: string | null;
|
|
210
556
|
textExtractedAt?: string | null;
|
|
211
557
|
batch?: SignatureBatchEntity | null;
|
|
@@ -215,16 +561,25 @@ export interface DocumentEntity {
|
|
|
215
561
|
replies?: DocumentEntity[];
|
|
216
562
|
directorateCodeReference?: number | null;
|
|
217
563
|
departmentId?: string | null;
|
|
564
|
+
issuingUnitName?: string | null;
|
|
565
|
+
issuingDirectorateName?: string | null;
|
|
566
|
+
stampPlacements?: JsonValue | null;
|
|
567
|
+
selfValidated: boolean;
|
|
568
|
+
selfValidationNote?: string | null;
|
|
218
569
|
createdByEmployeeId: string;
|
|
219
570
|
createdByFullName: string;
|
|
220
571
|
originalFileId: string;
|
|
221
572
|
originalFileName: string;
|
|
222
573
|
currentFileId?: string | null;
|
|
223
574
|
currentFileUrl?: string | null;
|
|
575
|
+
fileFormat?: string | null;
|
|
224
576
|
submittedAt?: string | null;
|
|
577
|
+
processingOverdueRemindedAt?: string | null;
|
|
225
578
|
finishedAt?: string | null;
|
|
226
579
|
documentType?: DocumentTypeEntity;
|
|
227
580
|
documentTypeId: string;
|
|
581
|
+
documentTypeVersion?: DocumentTypeVersionEntity | null;
|
|
582
|
+
documentTypeVersionId?: string | null;
|
|
228
583
|
participants?: DocumentParticipantEntity[];
|
|
229
584
|
attachments?: DocumentAttachmentEntity[];
|
|
230
585
|
trackings?: DocumentTrackingEntity[];
|
|
@@ -234,6 +589,25 @@ export interface DocumentEntity {
|
|
|
234
589
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
235
590
|
workFolderItems?: WorkFolderItemEntity[];
|
|
236
591
|
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
592
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
593
|
+
accesses?: DocumentAccessEntity[];
|
|
594
|
+
disposition?: DispositionRecordEntity | null;
|
|
595
|
+
dispositionId?: string | null;
|
|
596
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
597
|
+
transparencyUrl?: string | null;
|
|
598
|
+
transparencyNote?: string | null;
|
|
599
|
+
transparencyAt?: string | null;
|
|
600
|
+
transparencyByFullName?: string | null;
|
|
601
|
+
redactedFileId?: string | null;
|
|
602
|
+
redactedFileName?: string | null;
|
|
603
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
604
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
605
|
+
versions?: DocumentVersionEntity[];
|
|
606
|
+
comments?: DocumentCommentEntity[];
|
|
607
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
608
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
609
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
610
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
237
611
|
dispatch?: DocumentDispatchEntity | null;
|
|
238
612
|
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
239
613
|
deleted: boolean;
|
|
@@ -263,6 +637,9 @@ export interface DocumentParticipantEntity {
|
|
|
263
637
|
position?: string | null;
|
|
264
638
|
observation?: string | null;
|
|
265
639
|
resolvedAt?: string | null;
|
|
640
|
+
initials?: string | null;
|
|
641
|
+
currentSince?: string | null;
|
|
642
|
+
overdueRemindedAt?: string | null;
|
|
266
643
|
document?: DocumentEntity;
|
|
267
644
|
documentId: string;
|
|
268
645
|
createdAt: string;
|
|
@@ -284,6 +661,7 @@ export interface DocumentTrackingEntity {
|
|
|
284
661
|
id: string;
|
|
285
662
|
action: DocumentTrackingAction;
|
|
286
663
|
observation?: string | null;
|
|
664
|
+
sha256?: string | null;
|
|
287
665
|
employeeId?: string | null;
|
|
288
666
|
employeeFullName?: string | null;
|
|
289
667
|
document?: DocumentEntity;
|
|
@@ -318,9 +696,11 @@ export interface DocumentRecipientEntity {
|
|
|
318
696
|
export interface DocumentDeliveryEntity {
|
|
319
697
|
id: string;
|
|
320
698
|
origin: DocumentDeliveryOrigin;
|
|
321
|
-
employeeId
|
|
322
|
-
fullName
|
|
699
|
+
employeeId?: string | null;
|
|
700
|
+
fullName?: string | null;
|
|
323
701
|
position?: string | null;
|
|
702
|
+
directorateCodeReference?: number | null;
|
|
703
|
+
departmentId?: string | null;
|
|
324
704
|
areaName?: string | null;
|
|
325
705
|
sentByEmployeeId?: string | null;
|
|
326
706
|
sentByFullName?: string | null;
|
|
@@ -331,10 +711,57 @@ export interface DocumentDeliveryEntity {
|
|
|
331
711
|
readAt?: string | null;
|
|
332
712
|
closedAt?: string | null;
|
|
333
713
|
closingNote?: string | null;
|
|
714
|
+
readByEmployeeId?: string | null;
|
|
715
|
+
readByFullName?: string | null;
|
|
716
|
+
closedByEmployeeId?: string | null;
|
|
717
|
+
closedByFullName?: string | null;
|
|
718
|
+
dueSoonRemindedAt?: string | null;
|
|
719
|
+
overdueRemindedAt?: string | null;
|
|
334
720
|
document?: DocumentEntity;
|
|
335
721
|
documentId: string;
|
|
336
722
|
createdAt: string;
|
|
337
723
|
}
|
|
724
|
+
export interface CategoryNumberingEntity {
|
|
725
|
+
category: DocumentCategory;
|
|
726
|
+
nextCorrelative: number;
|
|
727
|
+
correlativeYear?: number | null;
|
|
728
|
+
resetsYearly: boolean;
|
|
729
|
+
updatedAt: string;
|
|
730
|
+
}
|
|
731
|
+
export interface DocumentTypeVersionEntity {
|
|
732
|
+
id: string;
|
|
733
|
+
version: number;
|
|
734
|
+
name: string;
|
|
735
|
+
abbreviation?: string | null;
|
|
736
|
+
category: DocumentCategory;
|
|
737
|
+
description?: string | null;
|
|
738
|
+
numbered: boolean;
|
|
739
|
+
numberingScope: DocumentNumberingScope;
|
|
740
|
+
usesPartsOffice: boolean;
|
|
741
|
+
decreeKind?: DecreeKind | null;
|
|
742
|
+
folioFormat?: JsonValue | null;
|
|
743
|
+
internalDistribution: DistributionRule;
|
|
744
|
+
externalDistribution: DistributionRule;
|
|
745
|
+
emailDistribution: DistributionRule;
|
|
746
|
+
laterDistribution: boolean;
|
|
747
|
+
processingSlaDays?: number | null;
|
|
748
|
+
turnSlaDays?: number | null;
|
|
749
|
+
reviewSlaDays?: number | null;
|
|
750
|
+
responseSlaDays?: number | null;
|
|
751
|
+
activeTransparency: boolean;
|
|
752
|
+
transparencySection?: string | null;
|
|
753
|
+
directorateCodeReferences: number[];
|
|
754
|
+
draftReviewDirectorateCode?: number | null;
|
|
755
|
+
draftReviewDirectorateName?: string | null;
|
|
756
|
+
issuingEntityId?: string | null;
|
|
757
|
+
templateVersion?: number | null;
|
|
758
|
+
flowSteps: JsonValue;
|
|
759
|
+
createdByFullName?: string | null;
|
|
760
|
+
createdAt: string;
|
|
761
|
+
documentType?: DocumentTypeEntity;
|
|
762
|
+
documentTypeId: string;
|
|
763
|
+
documents?: DocumentEntity[];
|
|
764
|
+
}
|
|
338
765
|
export interface DocumentTypeFlowStepEntity {
|
|
339
766
|
id: string;
|
|
340
767
|
role: DocumentParticipantRole;
|
|
@@ -344,6 +771,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
344
771
|
directorateCodeReference?: number | null;
|
|
345
772
|
name: string;
|
|
346
773
|
position?: string | null;
|
|
774
|
+
withPrevious: boolean;
|
|
347
775
|
documentType?: DocumentTypeEntity;
|
|
348
776
|
documentTypeId: string;
|
|
349
777
|
createdAt: string;
|
|
@@ -354,8 +782,13 @@ export interface ProcedureEntity {
|
|
|
354
782
|
cpatId?: string | null;
|
|
355
783
|
cpatCode?: string | null;
|
|
356
784
|
description?: string | null;
|
|
785
|
+
kind?: string | null;
|
|
786
|
+
responsibleArea?: string | null;
|
|
787
|
+
cpatStatus?: string | null;
|
|
788
|
+
fromCpat: boolean;
|
|
357
789
|
enabled: boolean;
|
|
358
790
|
caseFiles?: CaseFileEntity[];
|
|
791
|
+
documents?: DocumentEntity[];
|
|
359
792
|
deleted: boolean;
|
|
360
793
|
createdAt: string;
|
|
361
794
|
updatedAt: string;
|
|
@@ -375,6 +808,9 @@ export interface CaseFileEntity {
|
|
|
375
808
|
status: CaseFileStatus;
|
|
376
809
|
accessLevel: DocumentAccessLevel;
|
|
377
810
|
hasSensitiveData: boolean;
|
|
811
|
+
restrictionEndsAt?: string | null;
|
|
812
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
813
|
+
archivalSeriesId?: string | null;
|
|
378
814
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
379
815
|
schemaVersion: string;
|
|
380
816
|
procedure?: ProcedureEntity;
|
|
@@ -383,6 +819,8 @@ export interface CaseFileEntity {
|
|
|
383
819
|
responsibleFullName: string;
|
|
384
820
|
responsiblePosition?: string | null;
|
|
385
821
|
closedAt?: string | null;
|
|
822
|
+
disposition?: DispositionRecordEntity | null;
|
|
823
|
+
dispositionId?: string | null;
|
|
386
824
|
closedByEmployeeId?: string | null;
|
|
387
825
|
closedByFullName?: string | null;
|
|
388
826
|
closingNote?: string | null;
|
|
@@ -393,6 +831,8 @@ export interface CaseFileEntity {
|
|
|
393
831
|
trackings?: CaseFileTrackingEntity[];
|
|
394
832
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
395
833
|
accesses?: CaseFileAccessEntity[];
|
|
834
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
835
|
+
integratedPdf?: JsonValue | null;
|
|
396
836
|
createdAt: string;
|
|
397
837
|
updatedAt: string;
|
|
398
838
|
workFolder?: WorkFolderEntity | null;
|
|
@@ -424,6 +864,7 @@ export interface CaseFileEntryEntity {
|
|
|
424
864
|
kind: CaseFileEntryKind;
|
|
425
865
|
actuationType: CaseFileActuationType;
|
|
426
866
|
title: string;
|
|
867
|
+
folder?: string | null;
|
|
427
868
|
document?: DocumentEntity | null;
|
|
428
869
|
documentId?: string | null;
|
|
429
870
|
fileId?: string | null;
|
|
@@ -434,11 +875,16 @@ export interface CaseFileEntryEntity {
|
|
|
434
875
|
keywords: string[];
|
|
435
876
|
accessLevel?: DocumentAccessLevel | null;
|
|
436
877
|
hasSensitiveData?: boolean | null;
|
|
878
|
+
physicalLocation?: string | null;
|
|
879
|
+
physicalReason?: string | null;
|
|
880
|
+
pageCount?: number | null;
|
|
437
881
|
linkedCaseFile?: CaseFileEntity | null;
|
|
438
882
|
linkedCaseFileId?: string | null;
|
|
439
883
|
sha256?: string | null;
|
|
440
884
|
size?: number | null;
|
|
441
885
|
hasAdvancedSignature: boolean;
|
|
886
|
+
fileFormat?: string | null;
|
|
887
|
+
signatureCheck?: JsonValue | null;
|
|
442
888
|
incorporatedByEmployeeId: string;
|
|
443
889
|
incorporatedByFullName: string;
|
|
444
890
|
voidedAt?: string | null;
|
|
@@ -474,12 +920,57 @@ export interface CaseFileAccessEntity {
|
|
|
474
920
|
id: string;
|
|
475
921
|
action: CaseFileAccessAction;
|
|
476
922
|
entryId?: string | null;
|
|
477
|
-
employeeId
|
|
923
|
+
employeeId?: string | null;
|
|
478
924
|
employeeFullName: string;
|
|
925
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
926
|
+
shareLinkId?: string | null;
|
|
479
927
|
caseFile?: CaseFileEntity;
|
|
480
928
|
caseFileId: string;
|
|
481
929
|
createdAt: string;
|
|
482
930
|
}
|
|
931
|
+
export interface CaseFileShareLinkEntity {
|
|
932
|
+
id: string;
|
|
933
|
+
tokenHash: string;
|
|
934
|
+
recipient: string;
|
|
935
|
+
recipientEmail?: string | null;
|
|
936
|
+
purpose?: string | null;
|
|
937
|
+
allowExport: boolean;
|
|
938
|
+
expiresAt: string;
|
|
939
|
+
createdByEmployeeId: string;
|
|
940
|
+
createdByFullName: string;
|
|
941
|
+
revokedAt?: string | null;
|
|
942
|
+
revokedByEmployeeId?: string | null;
|
|
943
|
+
revokedByFullName?: string | null;
|
|
944
|
+
caseFile?: CaseFileEntity;
|
|
945
|
+
caseFileId: string;
|
|
946
|
+
accesses?: CaseFileAccessEntity[];
|
|
947
|
+
createdAt: string;
|
|
948
|
+
}
|
|
949
|
+
export interface DocumentEmailCopyEntity {
|
|
950
|
+
id: string;
|
|
951
|
+
name: string;
|
|
952
|
+
email: string;
|
|
953
|
+
tokenHash?: string | null;
|
|
954
|
+
expiresAt?: string | null;
|
|
955
|
+
issuedAt?: string | null;
|
|
956
|
+
openedAt?: string | null;
|
|
957
|
+
downloadCount: number;
|
|
958
|
+
document?: DocumentEntity;
|
|
959
|
+
documentId: string;
|
|
960
|
+
createdAt: string;
|
|
961
|
+
}
|
|
962
|
+
export interface ScanSessionEntity {
|
|
963
|
+
id: string;
|
|
964
|
+
tokenHash: string;
|
|
965
|
+
status: ScanSessionStatus;
|
|
966
|
+
employeeId: string;
|
|
967
|
+
pages: JsonValue;
|
|
968
|
+
fileId?: string | null;
|
|
969
|
+
fileName?: string | null;
|
|
970
|
+
expiresAt: string;
|
|
971
|
+
finishedAt?: string | null;
|
|
972
|
+
createdAt: string;
|
|
973
|
+
}
|
|
483
974
|
export interface DocumentExternalRecipientEntity {
|
|
484
975
|
id: string;
|
|
485
976
|
entityId: number;
|
|
@@ -506,6 +997,11 @@ export interface DocumentDispatchEntity {
|
|
|
506
997
|
returnedByEmployeeId?: string | null;
|
|
507
998
|
returnedByFullName?: string | null;
|
|
508
999
|
returnReason?: string | null;
|
|
1000
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
1001
|
+
contingencySentTo?: string | null;
|
|
1002
|
+
contingencyReason?: string | null;
|
|
1003
|
+
contingencyReceiptFileId?: string | null;
|
|
1004
|
+
contingencyReceiptName?: string | null;
|
|
509
1005
|
document?: DocumentEntity;
|
|
510
1006
|
documentId: string;
|
|
511
1007
|
createdAt: string;
|
|
@@ -526,9 +1022,12 @@ export interface DocDigitalInboundEntity {
|
|
|
526
1022
|
senderEntityName?: string | null;
|
|
527
1023
|
senderName?: string | null;
|
|
528
1024
|
senderPosition?: string | null;
|
|
1025
|
+
recipientEntityId?: number | null;
|
|
1026
|
+
recipientEntityName?: string | null;
|
|
529
1027
|
fileId?: string | null;
|
|
530
1028
|
fileName?: string | null;
|
|
531
1029
|
attachments: JsonValue;
|
|
1030
|
+
signatureCheck?: JsonValue | null;
|
|
532
1031
|
registeredAt?: string | null;
|
|
533
1032
|
registeredByEmployeeId?: string | null;
|
|
534
1033
|
registeredByFullName?: string | null;
|
|
@@ -543,6 +1042,112 @@ export interface DocDigitalInboundEntity {
|
|
|
543
1042
|
createdAt: string;
|
|
544
1043
|
updatedAt: string;
|
|
545
1044
|
}
|
|
1045
|
+
export interface HolidayEntity {
|
|
1046
|
+
id: string;
|
|
1047
|
+
date: string;
|
|
1048
|
+
name: string;
|
|
1049
|
+
source: HolidaySource;
|
|
1050
|
+
kind?: string | null;
|
|
1051
|
+
excluded: boolean;
|
|
1052
|
+
createdAt: string;
|
|
1053
|
+
updatedAt: string;
|
|
1054
|
+
}
|
|
1055
|
+
export interface ProcedureSyncEntity {
|
|
1056
|
+
institutionCode: string;
|
|
1057
|
+
syncedAt: string;
|
|
1058
|
+
total: number;
|
|
1059
|
+
resourceName: string;
|
|
1060
|
+
}
|
|
1061
|
+
export interface HolidaySyncEntity {
|
|
1062
|
+
year: number;
|
|
1063
|
+
syncedAt: string;
|
|
1064
|
+
total: number;
|
|
1065
|
+
}
|
|
1066
|
+
export interface TextSnippetEntity {
|
|
1067
|
+
id: string;
|
|
1068
|
+
title: string;
|
|
1069
|
+
text: string;
|
|
1070
|
+
section: TextSnippetSection;
|
|
1071
|
+
keywords: string[];
|
|
1072
|
+
enabled: boolean;
|
|
1073
|
+
deleted: boolean;
|
|
1074
|
+
createdAt: string;
|
|
1075
|
+
updatedAt: string;
|
|
1076
|
+
}
|
|
1077
|
+
export interface DocumentTemplateEntity {
|
|
1078
|
+
id: string;
|
|
1079
|
+
name: string;
|
|
1080
|
+
description?: string | null;
|
|
1081
|
+
documentTypeIds: string[];
|
|
1082
|
+
documentType?: DocumentTypeEntity | null;
|
|
1083
|
+
documentTypeId?: string | null;
|
|
1084
|
+
content: JsonValue;
|
|
1085
|
+
version: number;
|
|
1086
|
+
enabled: boolean;
|
|
1087
|
+
updatedByFullName?: string | null;
|
|
1088
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1089
|
+
deleted: boolean;
|
|
1090
|
+
createdAt: string;
|
|
1091
|
+
updatedAt: string;
|
|
1092
|
+
}
|
|
1093
|
+
export interface DocumentDraftReviewEntity {
|
|
1094
|
+
id: string;
|
|
1095
|
+
documentId: string;
|
|
1096
|
+
document?: DocumentEntity;
|
|
1097
|
+
round: number;
|
|
1098
|
+
stage: DraftReviewStage;
|
|
1099
|
+
versionNumber: number;
|
|
1100
|
+
directorateCodeReference: number;
|
|
1101
|
+
directorateName: string;
|
|
1102
|
+
reviewerEmployeeId: string;
|
|
1103
|
+
reviewerFullName: string;
|
|
1104
|
+
requestedByEmployeeId: string;
|
|
1105
|
+
requestedByFullName: string;
|
|
1106
|
+
requestedAt: string;
|
|
1107
|
+
status: DraftReviewStatus;
|
|
1108
|
+
observation?: string | null;
|
|
1109
|
+
resolvedAt?: string | null;
|
|
1110
|
+
overdueRemindedAt?: string | null;
|
|
1111
|
+
}
|
|
1112
|
+
export interface DocumentTemplateVersionEntity {
|
|
1113
|
+
id: string;
|
|
1114
|
+
templateId: string;
|
|
1115
|
+
template?: DocumentTemplateEntity;
|
|
1116
|
+
version: number;
|
|
1117
|
+
content: JsonValue;
|
|
1118
|
+
createdByFullName?: string | null;
|
|
1119
|
+
createdAt: string;
|
|
1120
|
+
}
|
|
1121
|
+
export interface ArchivalSeriesEntity {
|
|
1122
|
+
id: string;
|
|
1123
|
+
code: string;
|
|
1124
|
+
name: string;
|
|
1125
|
+
section?: string | null;
|
|
1126
|
+
description?: string | null;
|
|
1127
|
+
managementYears?: number | null;
|
|
1128
|
+
centralYears?: number | null;
|
|
1129
|
+
finalDisposition?: FinalDisposition | null;
|
|
1130
|
+
retentionNote?: string | null;
|
|
1131
|
+
enabled: boolean;
|
|
1132
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1133
|
+
caseFiles?: CaseFileEntity[];
|
|
1134
|
+
dispositions?: DispositionRecordEntity[];
|
|
1135
|
+
deleted: boolean;
|
|
1136
|
+
createdAt: string;
|
|
1137
|
+
updatedAt: string;
|
|
1138
|
+
}
|
|
1139
|
+
export interface IssuingEntityEntity {
|
|
1140
|
+
id: string;
|
|
1141
|
+
name: string;
|
|
1142
|
+
shortName?: string | null;
|
|
1143
|
+
directorateCodeReferences: number[];
|
|
1144
|
+
docDigitalEntityId?: number | null;
|
|
1145
|
+
enabled: boolean;
|
|
1146
|
+
documentTypes?: DocumentTypeEntity[];
|
|
1147
|
+
deleted: boolean;
|
|
1148
|
+
createdAt: string;
|
|
1149
|
+
updatedAt: string;
|
|
1150
|
+
}
|
|
546
1151
|
export interface IntakeSequenceEntity {
|
|
547
1152
|
year: number;
|
|
548
1153
|
next: number;
|
|
@@ -583,6 +1188,444 @@ export interface WorkFolderItemEntity {
|
|
|
583
1188
|
folderId: string;
|
|
584
1189
|
createdAt: string;
|
|
585
1190
|
}
|
|
1191
|
+
export interface ServiceOutageEntity {
|
|
1192
|
+
id: string;
|
|
1193
|
+
kind: ServiceOutageKind;
|
|
1194
|
+
startedAt: string;
|
|
1195
|
+
endedAt?: string | null;
|
|
1196
|
+
cause: string;
|
|
1197
|
+
affectedServices?: string | null;
|
|
1198
|
+
createdByEmployeeId: string;
|
|
1199
|
+
createdByFullName: string;
|
|
1200
|
+
updatedByFullName?: string | null;
|
|
1201
|
+
deleted: boolean;
|
|
1202
|
+
createdAt: string;
|
|
1203
|
+
updatedAt: string;
|
|
1204
|
+
}
|
|
1205
|
+
export interface QualityMetricSettingEntity {
|
|
1206
|
+
key: QualityMetricKey;
|
|
1207
|
+
threshold: number;
|
|
1208
|
+
declaredValue?: number | null;
|
|
1209
|
+
declaredNote?: string | null;
|
|
1210
|
+
declaredAt?: string | null;
|
|
1211
|
+
declaredByFullName?: string | null;
|
|
1212
|
+
updatedAt: string;
|
|
1213
|
+
}
|
|
1214
|
+
export interface ServiceTimingEntity {
|
|
1215
|
+
hour: string;
|
|
1216
|
+
count: number;
|
|
1217
|
+
errorCount: number;
|
|
1218
|
+
totalMs: number;
|
|
1219
|
+
maxMs: number;
|
|
1220
|
+
under100: number;
|
|
1221
|
+
under250: number;
|
|
1222
|
+
under500: number;
|
|
1223
|
+
under1000: number;
|
|
1224
|
+
under2000: number;
|
|
1225
|
+
under5000: number;
|
|
1226
|
+
over5000: number;
|
|
1227
|
+
}
|
|
1228
|
+
export interface DocumentAccessEntity {
|
|
1229
|
+
id: string;
|
|
1230
|
+
action: DocumentAccessAction;
|
|
1231
|
+
employeeId?: string | null;
|
|
1232
|
+
employeeFullName: string;
|
|
1233
|
+
document?: DocumentEntity;
|
|
1234
|
+
documentId: string;
|
|
1235
|
+
createdAt: string;
|
|
1236
|
+
}
|
|
1237
|
+
export interface AuditLogEntity {
|
|
1238
|
+
id: string;
|
|
1239
|
+
entity: AuditEntity;
|
|
1240
|
+
action: AuditAction;
|
|
1241
|
+
entityId?: string | null;
|
|
1242
|
+
name: string;
|
|
1243
|
+
details?: JsonValue | null;
|
|
1244
|
+
employeeId?: string | null;
|
|
1245
|
+
employeeFullName: string;
|
|
1246
|
+
createdAt: string;
|
|
1247
|
+
}
|
|
1248
|
+
export interface DispositionRecordEntity {
|
|
1249
|
+
id: string;
|
|
1250
|
+
kind: DispositionKind;
|
|
1251
|
+
number: number;
|
|
1252
|
+
year: number;
|
|
1253
|
+
observation?: string | null;
|
|
1254
|
+
series?: ArchivalSeriesEntity;
|
|
1255
|
+
seriesId: string;
|
|
1256
|
+
documents?: DocumentEntity[];
|
|
1257
|
+
caseFiles?: CaseFileEntity[];
|
|
1258
|
+
createdByEmployeeId: string;
|
|
1259
|
+
createdByFullName: string;
|
|
1260
|
+
createdAt: string;
|
|
1261
|
+
}
|
|
1262
|
+
export interface AccessRequestEntity {
|
|
1263
|
+
id: string;
|
|
1264
|
+
number: number;
|
|
1265
|
+
year: number;
|
|
1266
|
+
externalFolio?: string | null;
|
|
1267
|
+
channel: AccessRequestChannel;
|
|
1268
|
+
receivedAt: string;
|
|
1269
|
+
requesterName: string;
|
|
1270
|
+
requesterEmail?: string | null;
|
|
1271
|
+
requesterAddress?: string | null;
|
|
1272
|
+
requestText: string;
|
|
1273
|
+
deliveryFormat?: string | null;
|
|
1274
|
+
status: AccessRequestStatus;
|
|
1275
|
+
correctionRequestedAt?: string | null;
|
|
1276
|
+
correctionDueAt?: string | null;
|
|
1277
|
+
correctedAt?: string | null;
|
|
1278
|
+
dueAt: string;
|
|
1279
|
+
extendedAt?: string | null;
|
|
1280
|
+
extensionNote?: string | null;
|
|
1281
|
+
assigneeEmployeeId?: string | null;
|
|
1282
|
+
assigneeFullName?: string | null;
|
|
1283
|
+
thirdPartyNotifiedAt?: string | null;
|
|
1284
|
+
oppositionDueAt?: string | null;
|
|
1285
|
+
thirdPartyOpposed?: boolean | null;
|
|
1286
|
+
resolution?: AccessRequestResolution | null;
|
|
1287
|
+
resolvedAt?: string | null;
|
|
1288
|
+
denialGrounds: string[];
|
|
1289
|
+
derivedTo?: string | null;
|
|
1290
|
+
resolutionNote?: string | null;
|
|
1291
|
+
responseDocument?: DocumentEntity | null;
|
|
1292
|
+
responseDocumentId?: string | null;
|
|
1293
|
+
appealedAt?: string | null;
|
|
1294
|
+
appealNote?: string | null;
|
|
1295
|
+
createdByEmployeeId: string;
|
|
1296
|
+
createdByFullName: string;
|
|
1297
|
+
documents?: AccessRequestDocumentEntity[];
|
|
1298
|
+
events?: AccessRequestEventEntity[];
|
|
1299
|
+
createdAt: string;
|
|
1300
|
+
updatedAt: string;
|
|
1301
|
+
}
|
|
1302
|
+
export interface AccessRequestDocumentEntity {
|
|
1303
|
+
accessRequest?: AccessRequestEntity;
|
|
1304
|
+
accessRequestId: string;
|
|
1305
|
+
document?: DocumentEntity;
|
|
1306
|
+
documentId: string;
|
|
1307
|
+
}
|
|
1308
|
+
export interface AccessRequestEventEntity {
|
|
1309
|
+
id: string;
|
|
1310
|
+
action: AccessRequestEventAction;
|
|
1311
|
+
note?: string | null;
|
|
1312
|
+
employeeId?: string | null;
|
|
1313
|
+
employeeFullName: string;
|
|
1314
|
+
accessRequest?: AccessRequestEntity;
|
|
1315
|
+
accessRequestId: string;
|
|
1316
|
+
createdAt: string;
|
|
1317
|
+
}
|
|
1318
|
+
export interface DataTreatmentEntity {
|
|
1319
|
+
id: string;
|
|
1320
|
+
name: string;
|
|
1321
|
+
purpose: string;
|
|
1322
|
+
legalBasis: DataLegalBasis;
|
|
1323
|
+
legalBasisDetail?: string | null;
|
|
1324
|
+
dataCategories: string[];
|
|
1325
|
+
sensitiveData: boolean;
|
|
1326
|
+
dataSubjects: string;
|
|
1327
|
+
recipients?: string | null;
|
|
1328
|
+
source?: string | null;
|
|
1329
|
+
retention?: string | null;
|
|
1330
|
+
securityMeasures?: string | null;
|
|
1331
|
+
internationalTransfer?: string | null;
|
|
1332
|
+
responsibleUnit?: string | null;
|
|
1333
|
+
published: boolean;
|
|
1334
|
+
requests?: DataRightsRequestEntity[];
|
|
1335
|
+
breaches?: DataBreachEntity[];
|
|
1336
|
+
enabled: boolean;
|
|
1337
|
+
deleted: boolean;
|
|
1338
|
+
createdAt: string;
|
|
1339
|
+
updatedAt: string;
|
|
1340
|
+
}
|
|
1341
|
+
export interface DataRightsRequestEntity {
|
|
1342
|
+
id: string;
|
|
1343
|
+
number: number;
|
|
1344
|
+
year: number;
|
|
1345
|
+
channel: DataRightsChannel;
|
|
1346
|
+
receivedAt: string;
|
|
1347
|
+
rights: DataRight[];
|
|
1348
|
+
requesterName: string;
|
|
1349
|
+
requesterRut?: string | null;
|
|
1350
|
+
requesterEmail?: string | null;
|
|
1351
|
+
requesterAddress?: string | null;
|
|
1352
|
+
representativeName?: string | null;
|
|
1353
|
+
identityVerifiedAt?: string | null;
|
|
1354
|
+
identityNote?: string | null;
|
|
1355
|
+
requestText: string;
|
|
1356
|
+
treatment?: DataTreatmentEntity | null;
|
|
1357
|
+
treatmentId?: string | null;
|
|
1358
|
+
status: DataRightsRequestStatus;
|
|
1359
|
+
acknowledgedAt?: string | null;
|
|
1360
|
+
dueAt: string;
|
|
1361
|
+
extendedAt?: string | null;
|
|
1362
|
+
extensionNote?: string | null;
|
|
1363
|
+
blockingRequested: boolean;
|
|
1364
|
+
blockingReason?: string | null;
|
|
1365
|
+
blockingDueAt?: string | null;
|
|
1366
|
+
blockingGranted?: boolean | null;
|
|
1367
|
+
blockingResolvedAt?: string | null;
|
|
1368
|
+
blockingNote?: string | null;
|
|
1369
|
+
blockingLiftedAt?: string | null;
|
|
1370
|
+
blockingLiftNote?: string | null;
|
|
1371
|
+
assigneeEmployeeId?: string | null;
|
|
1372
|
+
assigneeFullName?: string | null;
|
|
1373
|
+
resolution?: DataRightsResolution | null;
|
|
1374
|
+
resolvedAt?: string | null;
|
|
1375
|
+
denialGrounds: string[];
|
|
1376
|
+
resolutionNote?: string | null;
|
|
1377
|
+
responseDocument?: DocumentEntity | null;
|
|
1378
|
+
responseDocumentId?: string | null;
|
|
1379
|
+
responseSentAt?: string | null;
|
|
1380
|
+
responseSentTo?: string | null;
|
|
1381
|
+
responseSentMeans?: CommunicationMeans | null;
|
|
1382
|
+
complaintAt?: string | null;
|
|
1383
|
+
complaintNote?: string | null;
|
|
1384
|
+
createdByEmployeeId: string;
|
|
1385
|
+
createdByFullName: string;
|
|
1386
|
+
events?: DataRightsEventEntity[];
|
|
1387
|
+
createdAt: string;
|
|
1388
|
+
updatedAt: string;
|
|
1389
|
+
}
|
|
1390
|
+
export interface DataRightsEventEntity {
|
|
1391
|
+
id: string;
|
|
1392
|
+
action: DataRightsEventAction;
|
|
1393
|
+
note?: string | null;
|
|
1394
|
+
employeeId?: string | null;
|
|
1395
|
+
employeeFullName: string;
|
|
1396
|
+
request?: DataRightsRequestEntity;
|
|
1397
|
+
requestId: string;
|
|
1398
|
+
createdAt: string;
|
|
1399
|
+
}
|
|
1400
|
+
export interface DataBreachEntity {
|
|
1401
|
+
id: string;
|
|
1402
|
+
number: number;
|
|
1403
|
+
year: number;
|
|
1404
|
+
detectedAt: string;
|
|
1405
|
+
occurredAt?: string | null;
|
|
1406
|
+
kinds: DataBreachKind[];
|
|
1407
|
+
description: string;
|
|
1408
|
+
effects?: string | null;
|
|
1409
|
+
dataCategories: string[];
|
|
1410
|
+
affectedCount?: number | null;
|
|
1411
|
+
measures?: string | null;
|
|
1412
|
+
sensitiveData: boolean;
|
|
1413
|
+
minorsData: boolean;
|
|
1414
|
+
financialData: boolean;
|
|
1415
|
+
riskToRights: boolean;
|
|
1416
|
+
treatment?: DataTreatmentEntity | null;
|
|
1417
|
+
treatmentId?: string | null;
|
|
1418
|
+
status: DataBreachStatus;
|
|
1419
|
+
agencyReportedAt?: string | null;
|
|
1420
|
+
agencyReportNote?: string | null;
|
|
1421
|
+
holdersNotifiedAt?: string | null;
|
|
1422
|
+
holdersNoticeMeans?: DataBreachNoticeMeans | null;
|
|
1423
|
+
holdersNoticeNote?: string | null;
|
|
1424
|
+
closedAt?: string | null;
|
|
1425
|
+
closeNote?: string | null;
|
|
1426
|
+
createdByEmployeeId: string;
|
|
1427
|
+
createdByFullName: string;
|
|
1428
|
+
events?: DataBreachEventEntity[];
|
|
1429
|
+
createdAt: string;
|
|
1430
|
+
updatedAt: string;
|
|
1431
|
+
}
|
|
1432
|
+
export interface DataBreachEventEntity {
|
|
1433
|
+
id: string;
|
|
1434
|
+
action: DataBreachEventAction;
|
|
1435
|
+
note?: string | null;
|
|
1436
|
+
employeeId?: string | null;
|
|
1437
|
+
employeeFullName: string;
|
|
1438
|
+
breach?: DataBreachEntity;
|
|
1439
|
+
breachId: string;
|
|
1440
|
+
createdAt: string;
|
|
1441
|
+
}
|
|
1442
|
+
export interface DeskFileEntity {
|
|
1443
|
+
id: string;
|
|
1444
|
+
ownerEmployeeId: string;
|
|
1445
|
+
fileId: string;
|
|
1446
|
+
fileName: string;
|
|
1447
|
+
size: number;
|
|
1448
|
+
sha256: string;
|
|
1449
|
+
source: DeskFileSource;
|
|
1450
|
+
description?: string | null;
|
|
1451
|
+
classifiedAt?: string | null;
|
|
1452
|
+
target?: DeskFileTarget | null;
|
|
1453
|
+
targetId?: string | null;
|
|
1454
|
+
targetLabel?: string | null;
|
|
1455
|
+
removedAt?: string | null;
|
|
1456
|
+
mailIntake?: MailIntakeEntity | null;
|
|
1457
|
+
mailIntakeId?: string | null;
|
|
1458
|
+
createdAt: string;
|
|
1459
|
+
updatedAt: string;
|
|
1460
|
+
}
|
|
1461
|
+
export interface MailIntakeEntity {
|
|
1462
|
+
id: string;
|
|
1463
|
+
sha256: string;
|
|
1464
|
+
messageId?: string | null;
|
|
1465
|
+
fromAddress: string;
|
|
1466
|
+
fromName?: string | null;
|
|
1467
|
+
subject: string;
|
|
1468
|
+
textPreview?: string | null;
|
|
1469
|
+
sentAt?: string | null;
|
|
1470
|
+
emlFileId: string;
|
|
1471
|
+
emlFileName: string;
|
|
1472
|
+
size: number;
|
|
1473
|
+
attachments: JsonValue;
|
|
1474
|
+
authentication: MailAuthentication;
|
|
1475
|
+
authDetail?: string | null;
|
|
1476
|
+
status: MailIntakeStatus;
|
|
1477
|
+
resolvedAt?: string | null;
|
|
1478
|
+
resolvedByEmployeeId?: string | null;
|
|
1479
|
+
deskFiles?: DeskFileEntity[];
|
|
1480
|
+
createdAt: string;
|
|
1481
|
+
updatedAt: string;
|
|
1482
|
+
}
|
|
1483
|
+
export interface VisaInitialsEntity {
|
|
1484
|
+
employeeId: string;
|
|
1485
|
+
initials: string;
|
|
1486
|
+
createdAt: string;
|
|
1487
|
+
updatedAt: string;
|
|
1488
|
+
}
|
|
1489
|
+
export interface NotificationPreferenceEntity {
|
|
1490
|
+
employeeId: string;
|
|
1491
|
+
mode: NotificationMode;
|
|
1492
|
+
digestSentOn?: string | null;
|
|
1493
|
+
createdAt: string;
|
|
1494
|
+
updatedAt: string;
|
|
1495
|
+
}
|
|
1496
|
+
export interface PushSubscriptionEntity {
|
|
1497
|
+
id: string;
|
|
1498
|
+
employeeId: string;
|
|
1499
|
+
endpoint: string;
|
|
1500
|
+
p256dh: string;
|
|
1501
|
+
auth: string;
|
|
1502
|
+
userAgent?: string | null;
|
|
1503
|
+
lastSuccessAt?: string | null;
|
|
1504
|
+
failures: number;
|
|
1505
|
+
createdAt: string;
|
|
1506
|
+
updatedAt: string;
|
|
1507
|
+
}
|
|
1508
|
+
export interface DocumentVersionEntity {
|
|
1509
|
+
id: string;
|
|
1510
|
+
documentId: string;
|
|
1511
|
+
document?: DocumentEntity;
|
|
1512
|
+
number: number;
|
|
1513
|
+
subject: string;
|
|
1514
|
+
fileId: string;
|
|
1515
|
+
fileName: string;
|
|
1516
|
+
sha256?: string | null;
|
|
1517
|
+
composition?: JsonValue | null;
|
|
1518
|
+
note?: string | null;
|
|
1519
|
+
status: DocumentStatus;
|
|
1520
|
+
correction: boolean;
|
|
1521
|
+
createdByEmployeeId: string;
|
|
1522
|
+
createdByFullName: string;
|
|
1523
|
+
createdAt: string;
|
|
1524
|
+
}
|
|
1525
|
+
export interface DocumentCommentEntity {
|
|
1526
|
+
id: string;
|
|
1527
|
+
documentId: string;
|
|
1528
|
+
document?: DocumentEntity;
|
|
1529
|
+
versionNumber: number;
|
|
1530
|
+
section?: string | null;
|
|
1531
|
+
quote?: string | null;
|
|
1532
|
+
text: string;
|
|
1533
|
+
authorEmployeeId: string;
|
|
1534
|
+
authorFullName: string;
|
|
1535
|
+
authorRole: string;
|
|
1536
|
+
resolvedAt?: string | null;
|
|
1537
|
+
resolvedByFullName?: string | null;
|
|
1538
|
+
resolutionNote?: string | null;
|
|
1539
|
+
createdAt: string;
|
|
1540
|
+
}
|
|
1541
|
+
export interface DraftingRequestEntity {
|
|
1542
|
+
id: string;
|
|
1543
|
+
number: number;
|
|
1544
|
+
year: number;
|
|
1545
|
+
subject: string;
|
|
1546
|
+
details: string;
|
|
1547
|
+
documentTypeId?: string | null;
|
|
1548
|
+
documentType?: DocumentTypeEntity | null;
|
|
1549
|
+
dueAt?: string | null;
|
|
1550
|
+
requesterEmployeeId: string;
|
|
1551
|
+
requesterFullName: string;
|
|
1552
|
+
requesterAreaName?: string | null;
|
|
1553
|
+
requesterDirectorateCode?: number | null;
|
|
1554
|
+
requesterDepartmentId?: string | null;
|
|
1555
|
+
requesterDirectorateName?: string | null;
|
|
1556
|
+
targetDirectorateCode: number;
|
|
1557
|
+
targetDirectorateName: string;
|
|
1558
|
+
targetDepartmentId?: string | null;
|
|
1559
|
+
targetDepartmentName?: string | null;
|
|
1560
|
+
status: DraftingRequestStatus;
|
|
1561
|
+
takenByEmployeeId?: string | null;
|
|
1562
|
+
takenByFullName?: string | null;
|
|
1563
|
+
takenAt?: string | null;
|
|
1564
|
+
closedAt?: string | null;
|
|
1565
|
+
closingNote?: string | null;
|
|
1566
|
+
documentId?: string | null;
|
|
1567
|
+
document?: DocumentEntity | null;
|
|
1568
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1569
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1570
|
+
events?: DraftingRequestEventEntity[];
|
|
1571
|
+
createdAt: string;
|
|
1572
|
+
updatedAt: string;
|
|
1573
|
+
}
|
|
1574
|
+
export interface DraftingRequestRecipientEntity {
|
|
1575
|
+
id: string;
|
|
1576
|
+
requestId: string;
|
|
1577
|
+
request?: DraftingRequestEntity;
|
|
1578
|
+
employeeId: string;
|
|
1579
|
+
}
|
|
1580
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1581
|
+
id: string;
|
|
1582
|
+
requestId: string;
|
|
1583
|
+
request?: DraftingRequestEntity;
|
|
1584
|
+
fileId: string;
|
|
1585
|
+
name: string;
|
|
1586
|
+
}
|
|
1587
|
+
export interface DraftingRequestEventEntity {
|
|
1588
|
+
id: string;
|
|
1589
|
+
requestId: string;
|
|
1590
|
+
request?: DraftingRequestEntity;
|
|
1591
|
+
action: DraftingRequestEventAction;
|
|
1592
|
+
note?: string | null;
|
|
1593
|
+
employeeId: string;
|
|
1594
|
+
employeeFullName: string;
|
|
1595
|
+
createdAt: string;
|
|
1596
|
+
}
|
|
1597
|
+
export interface DocumentInternalNoteEntity {
|
|
1598
|
+
id: string;
|
|
1599
|
+
documentId: string;
|
|
1600
|
+
document?: DocumentEntity;
|
|
1601
|
+
directorateCode: number;
|
|
1602
|
+
directorateName: string;
|
|
1603
|
+
departmentId?: string | null;
|
|
1604
|
+
departmentName?: string | null;
|
|
1605
|
+
headEmployeeIds: string[];
|
|
1606
|
+
versionNumber: number;
|
|
1607
|
+
authorEmployeeId: string;
|
|
1608
|
+
authorFullName: string;
|
|
1609
|
+
authorRole: string;
|
|
1610
|
+
text: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* Lo que concluye la revisora para su jefatura: todo correcto o posible rechazo. Sin valor, solo comenta.
|
|
1613
|
+
*/
|
|
1614
|
+
verdict?: InternalNoteVerdict | null;
|
|
1615
|
+
createdAt: string;
|
|
1616
|
+
}
|
|
1617
|
+
export interface RichImageEntity {
|
|
1618
|
+
id: string;
|
|
1619
|
+
fileId: string;
|
|
1620
|
+
name: string;
|
|
1621
|
+
mimeType: string;
|
|
1622
|
+
width: number;
|
|
1623
|
+
height: number;
|
|
1624
|
+
sha256: string;
|
|
1625
|
+
sizeBytes: number;
|
|
1626
|
+
employeeId: string;
|
|
1627
|
+
createdAt: string;
|
|
1628
|
+
}
|
|
586
1629
|
type JsonValue = string | number | boolean | {
|
|
587
1630
|
[key in string]?: JsonValue;
|
|
588
1631
|
} | Array<JsonValue> | null;
|