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