@muni-sanfer/types-gestor-documental 0.0.1-beta.6 → 0.0.1-beta.61
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 -7
- package/dist/base/entities.js +258 -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/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 +236 -3
- package/dist/contracts/document.contract.js +16 -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 +33 -3
- package/dist/contracts/documentType.contract.js +2 -0
- package/dist/contracts/draftingRequest.contract.d.ts +97 -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 +249 -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 +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/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 +109 -0
- package/dist/contracts/signatureBatch.contract.js +12 -0
- 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 +28 -0
- package/dist/contracts/visaInitials.contract.js +11 -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/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 +476 -1
- package/dist/entities/document/index.d.ts +2 -0
- package/dist/entities/document/index.js +2 -0
- package/dist/entities/document/richStyle.d.ts +219 -0
- package/dist/entities/document/richStyle.js +81 -0
- package/dist/entities/document/stampPlacement.d.ts +42 -0
- package/dist/entities/document/stampPlacement.js +16 -0
- package/dist/entities/documentTemplate/documentTemplate.entity.d.ts +25 -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 +64 -1
- 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 +78 -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 +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/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/signatureBatch/index.d.ts +1 -0
- package/dist/entities/signatureBatch/index.js +17 -0
- package/dist/entities/signatureBatch/signatureBatch.entity.d.ts +107 -0
- package/dist/entities/signatureBatch/signatureBatch.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 +13 -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 +1244 -7
- 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/dataProtection.contract.ts +197 -0
- package/src/contracts/desk.contract.ts +72 -0
- package/src/contracts/document.contract.ts +223 -3
- package/src/contracts/documentTemplate.contract.ts +17 -0
- package/src/contracts/documentType.contract.ts +57 -4
- package/src/contracts/draftingRequest.contract.ts +77 -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 +48 -0
- package/src/contracts/issuingEntity.contract.ts +55 -0
- package/src/contracts/mailIntake.contract.ts +49 -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 +96 -0
- 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 +23 -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/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 +464 -1
- package/src/entities/document/index.ts +2 -0
- package/src/entities/document/richStyle.ts +200 -0
- package/src/entities/document/stampPlacement.ts +35 -0
- package/src/entities/documentTemplate/documentTemplate.entity.ts +27 -0
- package/src/entities/documentTemplate/index.ts +1 -0
- package/src/entities/documentType/documentCategory.ts +40 -0
- package/src/entities/documentType/documentType.entity.ts +76 -1
- package/src/entities/documentType/index.ts +1 -0
- package/src/entities/draftingRequest/draftingRequest.entity.ts +81 -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 +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/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/signatureBatch/index.ts +1 -0
- package/src/entities/signatureBatch/signatureBatch.entity.ts +110 -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 +12 -0
- package/src/entities/workFolder/index.ts +1 -0
- package/src/entities/workFolder/workFolder.entity.ts +84 -0
- package/tsconfig.json +1 -3
package/dist/base/entities.d.ts
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
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 DocumentVisaMode = 'Stamp' | 'Signature';
|
|
16
|
+
export declare const DocumentVisaMode: {
|
|
17
|
+
Stamp: "Stamp";
|
|
18
|
+
Signature: "Signature";
|
|
19
|
+
};
|
|
20
|
+
export type DocumentNumberingScope = 'Type' | 'Category';
|
|
21
|
+
export declare const DocumentNumberingScope: {
|
|
22
|
+
Type: "Type";
|
|
23
|
+
Category: "Category";
|
|
24
|
+
};
|
|
7
25
|
export type DocumentStatus = 'Drafted' | 'PendingVisa' | 'PendingSignature' | 'Finished' | 'Rejected' | 'Discarded' | 'Annulled';
|
|
8
26
|
export declare const DocumentStatus: {
|
|
9
27
|
Drafted: "Drafted";
|
|
@@ -33,7 +51,7 @@ export declare const DocumentParticipantStatus: {
|
|
|
33
51
|
Resolved: "Resolved";
|
|
34
52
|
Rejected: "Rejected";
|
|
35
53
|
};
|
|
36
|
-
export type DocumentTrackingAction = 'Created' | 'Updated' | 'Submitted' | 'Visaed' | 'Signed' | 'Rejected' | 'Finished' | 'Discarded' | 'Numbered' | 'NumberAnnulled' | 'Annulled' | 'Delivered' | 'Derived' | 'Reassigned' | 'Dispatched' | 'DispatchReturned' | 'Received';
|
|
54
|
+
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
55
|
export declare const DocumentTrackingAction: {
|
|
38
56
|
Created: "Created";
|
|
39
57
|
Updated: "Updated";
|
|
@@ -51,12 +69,45 @@ export declare const DocumentTrackingAction: {
|
|
|
51
69
|
Reassigned: "Reassigned";
|
|
52
70
|
Dispatched: "Dispatched";
|
|
53
71
|
DispatchReturned: "DispatchReturned";
|
|
72
|
+
DispatchedByContingency: "DispatchedByContingency";
|
|
54
73
|
Received: "Received";
|
|
74
|
+
EmailCopySent: "EmailCopySent";
|
|
75
|
+
EmailCopyOpened: "EmailCopyOpened";
|
|
76
|
+
DispositionRecorded: "DispositionRecorded";
|
|
77
|
+
TransparencyRedacted: "TransparencyRedacted";
|
|
78
|
+
TransparencyPublished: "TransparencyPublished";
|
|
79
|
+
TransparencyExcluded: "TransparencyExcluded";
|
|
80
|
+
TransparencyWithdrawn: "TransparencyWithdrawn";
|
|
81
|
+
DraftReviewRequested: "DraftReviewRequested";
|
|
82
|
+
DraftReviewApproved: "DraftReviewApproved";
|
|
83
|
+
DraftReviewRejected: "DraftReviewRejected";
|
|
84
|
+
DraftReviewCancelled: "DraftReviewCancelled";
|
|
85
|
+
DraftCorrected: "DraftCorrected";
|
|
86
|
+
};
|
|
87
|
+
export type DraftReviewStage = 'Draft' | 'Official';
|
|
88
|
+
export declare const DraftReviewStage: {
|
|
89
|
+
Draft: "Draft";
|
|
90
|
+
Official: "Official";
|
|
91
|
+
};
|
|
92
|
+
export type DraftReviewStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled';
|
|
93
|
+
export declare const DraftReviewStatus: {
|
|
94
|
+
Pending: "Pending";
|
|
95
|
+
Approved: "Approved";
|
|
96
|
+
Rejected: "Rejected";
|
|
97
|
+
Cancelled: "Cancelled";
|
|
55
98
|
};
|
|
56
|
-
export type DocumentOrigin = 'Internal' | 'DocDigital';
|
|
99
|
+
export type DocumentOrigin = 'Internal' | 'DocDigital' | 'Manual';
|
|
57
100
|
export declare const DocumentOrigin: {
|
|
58
101
|
Internal: "Internal";
|
|
59
102
|
DocDigital: "DocDigital";
|
|
103
|
+
Manual: "Manual";
|
|
104
|
+
};
|
|
105
|
+
export type CommunicationMeans = 'Paper' | 'Email' | 'Courier' | 'Other';
|
|
106
|
+
export declare const CommunicationMeans: {
|
|
107
|
+
Paper: "Paper";
|
|
108
|
+
Email: "Email";
|
|
109
|
+
Courier: "Courier";
|
|
110
|
+
Other: "Other";
|
|
60
111
|
};
|
|
61
112
|
export type DocumentDispatchStatus = 'Pending' | 'Dispatched' | 'Returned';
|
|
62
113
|
export declare const DocumentDispatchStatus: {
|
|
@@ -121,11 +172,12 @@ export declare const CaseFileActuationType: {
|
|
|
121
172
|
Subfolder: "Subfolder";
|
|
122
173
|
PowerRegistration: "PowerRegistration";
|
|
123
174
|
};
|
|
124
|
-
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile';
|
|
175
|
+
export type CaseFileEntryKind = 'Document' | 'File' | 'CaseFile' | 'Physical';
|
|
125
176
|
export declare const CaseFileEntryKind: {
|
|
126
177
|
Document: "Document";
|
|
127
178
|
File: "File";
|
|
128
179
|
CaseFile: "CaseFile";
|
|
180
|
+
Physical: "Physical";
|
|
129
181
|
};
|
|
130
182
|
export type CaseFileActorRelation = 'Responsible' | 'Interested' | 'Author' | 'Referred' | 'Recipient' | 'MinisterOfFaith';
|
|
131
183
|
export declare const CaseFileActorRelation: {
|
|
@@ -143,16 +195,20 @@ export declare const CaseFileActorType: {
|
|
|
143
195
|
PrivateInstitution: "PrivateInstitution";
|
|
144
196
|
Official: "Official";
|
|
145
197
|
};
|
|
146
|
-
export type CaseFileTrackingAction = 'Created' | 'Updated' | 'EntryAdded' | 'EntryVoided' | 'ParticipantAdded' | 'ParticipantRemoved' | 'Closed' | 'Exported';
|
|
198
|
+
export type CaseFileTrackingAction = 'Created' | 'Updated' | 'EntryAdded' | 'EntryVoided' | 'EntryMoved' | 'ParticipantAdded' | 'ParticipantRemoved' | 'Closed' | 'Exported' | 'ShareLinkCreated' | 'ShareLinkRevoked' | 'DispositionRecorded';
|
|
147
199
|
export declare const CaseFileTrackingAction: {
|
|
148
200
|
Created: "Created";
|
|
149
201
|
Updated: "Updated";
|
|
150
202
|
EntryAdded: "EntryAdded";
|
|
151
203
|
EntryVoided: "EntryVoided";
|
|
204
|
+
EntryMoved: "EntryMoved";
|
|
152
205
|
ParticipantAdded: "ParticipantAdded";
|
|
153
206
|
ParticipantRemoved: "ParticipantRemoved";
|
|
154
207
|
Closed: "Closed";
|
|
155
208
|
Exported: "Exported";
|
|
209
|
+
ShareLinkCreated: "ShareLinkCreated";
|
|
210
|
+
ShareLinkRevoked: "ShareLinkRevoked";
|
|
211
|
+
DispositionRecorded: "DispositionRecorded";
|
|
156
212
|
};
|
|
157
213
|
export type CaseFileAccessAction = 'Viewed' | 'FileDownloaded' | 'Exported';
|
|
158
214
|
export declare const CaseFileAccessAction: {
|
|
@@ -160,6 +216,242 @@ export declare const CaseFileAccessAction: {
|
|
|
160
216
|
FileDownloaded: "FileDownloaded";
|
|
161
217
|
Exported: "Exported";
|
|
162
218
|
};
|
|
219
|
+
export type ScanSessionStatus = 'Open' | 'Ready';
|
|
220
|
+
export declare const ScanSessionStatus: {
|
|
221
|
+
Open: "Open";
|
|
222
|
+
Ready: "Ready";
|
|
223
|
+
};
|
|
224
|
+
export type TextSnippetSection = 'Vistos' | 'Considerando' | 'Resolutive' | 'Body' | 'Closing';
|
|
225
|
+
export declare const TextSnippetSection: {
|
|
226
|
+
Vistos: "Vistos";
|
|
227
|
+
Considerando: "Considerando";
|
|
228
|
+
Resolutive: "Resolutive";
|
|
229
|
+
Body: "Body";
|
|
230
|
+
Closing: "Closing";
|
|
231
|
+
};
|
|
232
|
+
export type HolidaySource = 'Manual' | 'Api';
|
|
233
|
+
export declare const HolidaySource: {
|
|
234
|
+
Manual: "Manual";
|
|
235
|
+
Api: "Api";
|
|
236
|
+
};
|
|
237
|
+
export type WorkFolderItemKind = 'Document' | 'File';
|
|
238
|
+
export declare const WorkFolderItemKind: {
|
|
239
|
+
Document: "Document";
|
|
240
|
+
File: "File";
|
|
241
|
+
};
|
|
242
|
+
export type ServiceOutageKind = 'Unplanned' | 'Planned';
|
|
243
|
+
export declare const ServiceOutageKind: {
|
|
244
|
+
Unplanned: "Unplanned";
|
|
245
|
+
Planned: "Planned";
|
|
246
|
+
};
|
|
247
|
+
export type QualityMetricKey = 'Effectiveness' | 'Efficiency' | 'Availability' | 'ResponseTime' | 'Accessibility' | 'FunctionalCompleteness' | 'Interoperability';
|
|
248
|
+
export declare const QualityMetricKey: {
|
|
249
|
+
Effectiveness: "Effectiveness";
|
|
250
|
+
Efficiency: "Efficiency";
|
|
251
|
+
Availability: "Availability";
|
|
252
|
+
ResponseTime: "ResponseTime";
|
|
253
|
+
Accessibility: "Accessibility";
|
|
254
|
+
FunctionalCompleteness: "FunctionalCompleteness";
|
|
255
|
+
Interoperability: "Interoperability";
|
|
256
|
+
};
|
|
257
|
+
export type DocumentAccessAction = 'Viewed' | 'FileDownloaded' | 'TrailExported';
|
|
258
|
+
export declare const DocumentAccessAction: {
|
|
259
|
+
Viewed: "Viewed";
|
|
260
|
+
FileDownloaded: "FileDownloaded";
|
|
261
|
+
TrailExported: "TrailExported";
|
|
262
|
+
};
|
|
263
|
+
export type AuditEntity = 'DocumentType' | 'IssuingEntity' | 'ArchivalSeries' | 'TextSnippet' | 'Holiday' | 'Procedure' | 'QualityMetric' | 'ServiceOutage' | 'Repository' | 'DataTreatment' | 'DocumentTemplate' | 'DirectorateReviewer' | 'CategoryNumbering';
|
|
264
|
+
export declare const AuditEntity: {
|
|
265
|
+
DocumentType: "DocumentType";
|
|
266
|
+
IssuingEntity: "IssuingEntity";
|
|
267
|
+
ArchivalSeries: "ArchivalSeries";
|
|
268
|
+
TextSnippet: "TextSnippet";
|
|
269
|
+
Holiday: "Holiday";
|
|
270
|
+
Procedure: "Procedure";
|
|
271
|
+
QualityMetric: "QualityMetric";
|
|
272
|
+
ServiceOutage: "ServiceOutage";
|
|
273
|
+
Repository: "Repository";
|
|
274
|
+
DataTreatment: "DataTreatment";
|
|
275
|
+
DocumentTemplate: "DocumentTemplate";
|
|
276
|
+
DirectorateReviewer: "DirectorateReviewer";
|
|
277
|
+
CategoryNumbering: "CategoryNumbering";
|
|
278
|
+
};
|
|
279
|
+
export type AuditAction = 'Created' | 'Updated' | 'Enabled' | 'Disabled' | 'Removed' | 'Exported';
|
|
280
|
+
export declare const AuditAction: {
|
|
281
|
+
Created: "Created";
|
|
282
|
+
Updated: "Updated";
|
|
283
|
+
Enabled: "Enabled";
|
|
284
|
+
Disabled: "Disabled";
|
|
285
|
+
Removed: "Removed";
|
|
286
|
+
Exported: "Exported";
|
|
287
|
+
};
|
|
288
|
+
export type FinalDisposition = 'Permanent' | 'Eliminate' | 'Select';
|
|
289
|
+
export declare const FinalDisposition: {
|
|
290
|
+
Permanent: "Permanent";
|
|
291
|
+
Eliminate: "Eliminate";
|
|
292
|
+
Select: "Select";
|
|
293
|
+
};
|
|
294
|
+
export type DispositionKind = 'Transfer' | 'Elimination';
|
|
295
|
+
export declare const DispositionKind: {
|
|
296
|
+
Transfer: "Transfer";
|
|
297
|
+
Elimination: "Elimination";
|
|
298
|
+
};
|
|
299
|
+
export type AccessRequestChannel = 'Portal' | 'Email' | 'InPerson' | 'Letter';
|
|
300
|
+
export declare const AccessRequestChannel: {
|
|
301
|
+
Portal: "Portal";
|
|
302
|
+
Email: "Email";
|
|
303
|
+
InPerson: "InPerson";
|
|
304
|
+
Letter: "Letter";
|
|
305
|
+
};
|
|
306
|
+
export type AccessRequestStatus = 'Received' | 'InCorrection' | 'InProgress' | 'Resolved';
|
|
307
|
+
export declare const AccessRequestStatus: {
|
|
308
|
+
Received: "Received";
|
|
309
|
+
InCorrection: "InCorrection";
|
|
310
|
+
InProgress: "InProgress";
|
|
311
|
+
Resolved: "Resolved";
|
|
312
|
+
};
|
|
313
|
+
export type AccessRequestResolution = 'Delivered' | 'PartiallyDelivered' | 'Denied' | 'Derived' | 'NonExistent' | 'Withdrawn';
|
|
314
|
+
export declare const AccessRequestResolution: {
|
|
315
|
+
Delivered: "Delivered";
|
|
316
|
+
PartiallyDelivered: "PartiallyDelivered";
|
|
317
|
+
Denied: "Denied";
|
|
318
|
+
Derived: "Derived";
|
|
319
|
+
NonExistent: "NonExistent";
|
|
320
|
+
Withdrawn: "Withdrawn";
|
|
321
|
+
};
|
|
322
|
+
export type AccessRequestEventAction = 'Received' | 'Updated' | 'CorrectionRequested' | 'Corrected' | 'Assigned' | 'ThirdPartyNotified' | 'OppositionRegistered' | 'Extended' | 'Resolved' | 'AppealRegistered';
|
|
323
|
+
export declare const AccessRequestEventAction: {
|
|
324
|
+
Received: "Received";
|
|
325
|
+
Updated: "Updated";
|
|
326
|
+
CorrectionRequested: "CorrectionRequested";
|
|
327
|
+
Corrected: "Corrected";
|
|
328
|
+
Assigned: "Assigned";
|
|
329
|
+
ThirdPartyNotified: "ThirdPartyNotified";
|
|
330
|
+
OppositionRegistered: "OppositionRegistered";
|
|
331
|
+
Extended: "Extended";
|
|
332
|
+
Resolved: "Resolved";
|
|
333
|
+
AppealRegistered: "AppealRegistered";
|
|
334
|
+
};
|
|
335
|
+
export type TransparencyStatus = 'Published' | 'Excluded';
|
|
336
|
+
export declare const TransparencyStatus: {
|
|
337
|
+
Published: "Published";
|
|
338
|
+
Excluded: "Excluded";
|
|
339
|
+
};
|
|
340
|
+
export type DataLegalBasis = 'LegalFunction' | 'LegalObligation' | 'Consent' | 'Contract' | 'VitalInterest';
|
|
341
|
+
export declare const DataLegalBasis: {
|
|
342
|
+
LegalFunction: "LegalFunction";
|
|
343
|
+
LegalObligation: "LegalObligation";
|
|
344
|
+
Consent: "Consent";
|
|
345
|
+
Contract: "Contract";
|
|
346
|
+
VitalInterest: "VitalInterest";
|
|
347
|
+
};
|
|
348
|
+
export type DataRight = 'Access' | 'Rectification' | 'Suppression' | 'Opposition' | 'Portability';
|
|
349
|
+
export declare const DataRight: {
|
|
350
|
+
Access: "Access";
|
|
351
|
+
Rectification: "Rectification";
|
|
352
|
+
Suppression: "Suppression";
|
|
353
|
+
Opposition: "Opposition";
|
|
354
|
+
Portability: "Portability";
|
|
355
|
+
};
|
|
356
|
+
export type DataRightsChannel = 'Email' | 'WebForm' | 'InPerson' | 'Letter';
|
|
357
|
+
export declare const DataRightsChannel: {
|
|
358
|
+
Email: "Email";
|
|
359
|
+
WebForm: "WebForm";
|
|
360
|
+
InPerson: "InPerson";
|
|
361
|
+
Letter: "Letter";
|
|
362
|
+
};
|
|
363
|
+
export type DataRightsRequestStatus = 'Received' | 'InProgress' | 'Resolved';
|
|
364
|
+
export declare const DataRightsRequestStatus: {
|
|
365
|
+
Received: "Received";
|
|
366
|
+
InProgress: "InProgress";
|
|
367
|
+
Resolved: "Resolved";
|
|
368
|
+
};
|
|
369
|
+
export type DataRightsResolution = 'Granted' | 'PartiallyGranted' | 'Denied' | 'Withdrawn';
|
|
370
|
+
export declare const DataRightsResolution: {
|
|
371
|
+
Granted: "Granted";
|
|
372
|
+
PartiallyGranted: "PartiallyGranted";
|
|
373
|
+
Denied: "Denied";
|
|
374
|
+
Withdrawn: "Withdrawn";
|
|
375
|
+
};
|
|
376
|
+
export type DataRightsEventAction = 'Received' | 'Updated' | 'Acknowledged' | 'IdentityVerified' | 'Assigned' | 'BlockingResolved' | 'BlockingLifted' | 'Extended' | 'Resolved' | 'ResponseSent' | 'ComplaintRegistered';
|
|
377
|
+
export declare const DataRightsEventAction: {
|
|
378
|
+
Received: "Received";
|
|
379
|
+
Updated: "Updated";
|
|
380
|
+
Acknowledged: "Acknowledged";
|
|
381
|
+
IdentityVerified: "IdentityVerified";
|
|
382
|
+
Assigned: "Assigned";
|
|
383
|
+
BlockingResolved: "BlockingResolved";
|
|
384
|
+
BlockingLifted: "BlockingLifted";
|
|
385
|
+
Extended: "Extended";
|
|
386
|
+
Resolved: "Resolved";
|
|
387
|
+
ResponseSent: "ResponseSent";
|
|
388
|
+
ComplaintRegistered: "ComplaintRegistered";
|
|
389
|
+
};
|
|
390
|
+
export type DataBreachKind = 'Destruction' | 'Leak' | 'Loss' | 'Alteration' | 'UnauthorizedAccess';
|
|
391
|
+
export declare const DataBreachKind: {
|
|
392
|
+
Destruction: "Destruction";
|
|
393
|
+
Leak: "Leak";
|
|
394
|
+
Loss: "Loss";
|
|
395
|
+
Alteration: "Alteration";
|
|
396
|
+
UnauthorizedAccess: "UnauthorizedAccess";
|
|
397
|
+
};
|
|
398
|
+
export type DataBreachStatus = 'Open' | 'Closed';
|
|
399
|
+
export declare const DataBreachStatus: {
|
|
400
|
+
Open: "Open";
|
|
401
|
+
Closed: "Closed";
|
|
402
|
+
};
|
|
403
|
+
export type DataBreachEventAction = 'Registered' | 'Updated' | 'AgencyReported' | 'HoldersNotified' | 'Closed';
|
|
404
|
+
export declare const DataBreachEventAction: {
|
|
405
|
+
Registered: "Registered";
|
|
406
|
+
Updated: "Updated";
|
|
407
|
+
AgencyReported: "AgencyReported";
|
|
408
|
+
HoldersNotified: "HoldersNotified";
|
|
409
|
+
Closed: "Closed";
|
|
410
|
+
};
|
|
411
|
+
export type DataBreachNoticeMeans = 'Individual' | 'PublicNotice';
|
|
412
|
+
export declare const DataBreachNoticeMeans: {
|
|
413
|
+
Individual: "Individual";
|
|
414
|
+
PublicNotice: "PublicNotice";
|
|
415
|
+
};
|
|
416
|
+
export type DeskFileSource = 'Upload' | 'Scan' | 'Email';
|
|
417
|
+
export declare const DeskFileSource: {
|
|
418
|
+
Upload: "Upload";
|
|
419
|
+
Scan: "Scan";
|
|
420
|
+
Email: "Email";
|
|
421
|
+
};
|
|
422
|
+
export type DeskFileTarget = 'Document' | 'CaseFile';
|
|
423
|
+
export declare const DeskFileTarget: {
|
|
424
|
+
Document: "Document";
|
|
425
|
+
CaseFile: "CaseFile";
|
|
426
|
+
};
|
|
427
|
+
export type MailIntakeStatus = 'Pending' | 'Accepted' | 'Discarded';
|
|
428
|
+
export declare const MailIntakeStatus: {
|
|
429
|
+
Pending: "Pending";
|
|
430
|
+
Accepted: "Accepted";
|
|
431
|
+
Discarded: "Discarded";
|
|
432
|
+
};
|
|
433
|
+
export type MailAuthentication = 'Pass' | 'Fail' | 'Unknown';
|
|
434
|
+
export declare const MailAuthentication: {
|
|
435
|
+
Pass: "Pass";
|
|
436
|
+
Fail: "Fail";
|
|
437
|
+
Unknown: "Unknown";
|
|
438
|
+
};
|
|
439
|
+
export type DraftingRequestStatus = 'Pending' | 'Taken' | 'Declined' | 'Cancelled';
|
|
440
|
+
export declare const DraftingRequestStatus: {
|
|
441
|
+
Pending: "Pending";
|
|
442
|
+
Taken: "Taken";
|
|
443
|
+
Declined: "Declined";
|
|
444
|
+
Cancelled: "Cancelled";
|
|
445
|
+
};
|
|
446
|
+
export type DraftingRequestEventAction = 'Created' | 'Taken' | 'Released' | 'Declined' | 'Cancelled' | 'DocumentLinked';
|
|
447
|
+
export declare const DraftingRequestEventAction: {
|
|
448
|
+
Created: "Created";
|
|
449
|
+
Taken: "Taken";
|
|
450
|
+
Released: "Released";
|
|
451
|
+
Declined: "Declined";
|
|
452
|
+
Cancelled: "Cancelled";
|
|
453
|
+
DocumentLinked: "DocumentLinked";
|
|
454
|
+
};
|
|
163
455
|
export interface DocumentTypeEntity {
|
|
164
456
|
id: string;
|
|
165
457
|
name: string;
|
|
@@ -169,11 +461,32 @@ export interface DocumentTypeEntity {
|
|
|
169
461
|
nextCorrelative: number;
|
|
170
462
|
correlativeYear?: number | null;
|
|
171
463
|
resetsYearly: boolean;
|
|
464
|
+
numbered: boolean;
|
|
465
|
+
numberingScope: DocumentNumberingScope;
|
|
466
|
+
allowsExternalNumber: boolean;
|
|
467
|
+
usesPartsOffice: boolean;
|
|
468
|
+
visaMode: DocumentVisaMode;
|
|
469
|
+
activeTransparency: boolean;
|
|
470
|
+
transparencySection?: string | null;
|
|
172
471
|
directorateCodeReference?: number | null;
|
|
472
|
+
draftReviewDirectorateCode?: number | null;
|
|
473
|
+
draftReviewDirectorateName?: string | null;
|
|
474
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
475
|
+
archivalSeriesId?: string | null;
|
|
476
|
+
issuingEntity?: IssuingEntityEntity | null;
|
|
477
|
+
issuingEntityId?: string | null;
|
|
478
|
+
sharesNumberingWith?: DocumentTypeEntity | null;
|
|
479
|
+
sharesNumberingWithId?: string | null;
|
|
480
|
+
numberingMembers?: DocumentTypeEntity[];
|
|
173
481
|
enabled: boolean;
|
|
482
|
+
version: number;
|
|
483
|
+
versions?: DocumentTypeVersionEntity[];
|
|
174
484
|
documents?: DocumentEntity[];
|
|
485
|
+
draftingRequests?: DraftingRequestEntity[];
|
|
175
486
|
annulledNumbers?: DocumentAnnulledNumberEntity[];
|
|
176
487
|
flowSteps?: DocumentTypeFlowStepEntity[];
|
|
488
|
+
signatureBatches?: SignatureBatchEntity[];
|
|
489
|
+
template?: DocumentTemplateEntity | null;
|
|
177
490
|
deleted: boolean;
|
|
178
491
|
createdAt: string;
|
|
179
492
|
updatedAt: string;
|
|
@@ -181,41 +494,60 @@ export interface DocumentTypeEntity {
|
|
|
181
494
|
export interface DocumentEntity {
|
|
182
495
|
id: string;
|
|
183
496
|
subject: string;
|
|
497
|
+
description?: string | null;
|
|
184
498
|
keywords: string[];
|
|
185
499
|
accessLevel: DocumentAccessLevel;
|
|
186
500
|
hasSensitiveData: boolean;
|
|
501
|
+
restrictionEndsAt?: string | null;
|
|
187
502
|
status: DocumentStatus;
|
|
188
503
|
correlative?: number | null;
|
|
189
504
|
correlativeYear?: number | null;
|
|
190
505
|
numberedAt?: string | null;
|
|
506
|
+
externalCorrelative?: number | null;
|
|
507
|
+
externalCorrelativeYear?: number | null;
|
|
191
508
|
verificationCode?: string | null;
|
|
192
509
|
signatureSheet: boolean;
|
|
193
510
|
annulledAt?: string | null;
|
|
194
511
|
annulmentReason?: string | null;
|
|
195
512
|
responseDueAt?: string | null;
|
|
513
|
+
responseDueBusinessDays?: number | null;
|
|
514
|
+
procedure?: ProcedureEntity | null;
|
|
515
|
+
procedureId?: string | null;
|
|
196
516
|
origin: DocumentOrigin;
|
|
197
517
|
intakeNumber?: number | null;
|
|
198
518
|
intakeYear?: number | null;
|
|
199
519
|
externalFolio?: string | null;
|
|
200
520
|
externalSender?: string | null;
|
|
201
521
|
externalDate?: string | null;
|
|
522
|
+
intakeMeans?: CommunicationMeans | null;
|
|
523
|
+
composition?: JsonValue | null;
|
|
202
524
|
contentText?: string | null;
|
|
203
525
|
textExtractedAt?: string | null;
|
|
526
|
+
batch?: SignatureBatchEntity | null;
|
|
527
|
+
batchId?: string | null;
|
|
204
528
|
replyTo?: DocumentEntity | null;
|
|
205
529
|
replyToDocumentId?: string | null;
|
|
206
530
|
replies?: DocumentEntity[];
|
|
207
531
|
directorateCodeReference?: number | null;
|
|
208
532
|
departmentId?: string | null;
|
|
533
|
+
issuingUnitName?: string | null;
|
|
534
|
+
issuingDirectorateName?: string | null;
|
|
535
|
+
stampPlacements?: JsonValue | null;
|
|
536
|
+
selfValidated: boolean;
|
|
537
|
+
selfValidationNote?: string | null;
|
|
209
538
|
createdByEmployeeId: string;
|
|
210
539
|
createdByFullName: string;
|
|
211
540
|
originalFileId: string;
|
|
212
541
|
originalFileName: string;
|
|
213
542
|
currentFileId?: string | null;
|
|
214
543
|
currentFileUrl?: string | null;
|
|
544
|
+
fileFormat?: string | null;
|
|
215
545
|
submittedAt?: string | null;
|
|
216
546
|
finishedAt?: string | null;
|
|
217
547
|
documentType?: DocumentTypeEntity;
|
|
218
548
|
documentTypeId: string;
|
|
549
|
+
documentTypeVersion?: DocumentTypeVersionEntity | null;
|
|
550
|
+
documentTypeVersionId?: string | null;
|
|
219
551
|
participants?: DocumentParticipantEntity[];
|
|
220
552
|
attachments?: DocumentAttachmentEntity[];
|
|
221
553
|
trackings?: DocumentTrackingEntity[];
|
|
@@ -223,23 +555,57 @@ export interface DocumentEntity {
|
|
|
223
555
|
recipients?: DocumentRecipientEntity[];
|
|
224
556
|
deliveries?: DocumentDeliveryEntity[];
|
|
225
557
|
caseFileEntries?: CaseFileEntryEntity[];
|
|
558
|
+
workFolderItems?: WorkFolderItemEntity[];
|
|
226
559
|
externalRecipients?: DocumentExternalRecipientEntity[];
|
|
560
|
+
emailCopies?: DocumentEmailCopyEntity[];
|
|
561
|
+
accesses?: DocumentAccessEntity[];
|
|
562
|
+
disposition?: DispositionRecordEntity | null;
|
|
563
|
+
dispositionId?: string | null;
|
|
564
|
+
transparencyStatus?: TransparencyStatus | null;
|
|
565
|
+
transparencyUrl?: string | null;
|
|
566
|
+
transparencyNote?: string | null;
|
|
567
|
+
transparencyAt?: string | null;
|
|
568
|
+
transparencyByFullName?: string | null;
|
|
569
|
+
redactedFileId?: string | null;
|
|
570
|
+
redactedFileName?: string | null;
|
|
571
|
+
accessRequestResponses?: AccessRequestEntity[];
|
|
572
|
+
dataRightsResponses?: DataRightsRequestEntity[];
|
|
573
|
+
versions?: DocumentVersionEntity[];
|
|
574
|
+
comments?: DocumentCommentEntity[];
|
|
575
|
+
draftReviews?: DocumentDraftReviewEntity[];
|
|
576
|
+
draftingRequest?: DraftingRequestEntity | null;
|
|
577
|
+
internalNotes?: DocumentInternalNoteEntity[];
|
|
578
|
+
accessRequestDeliveries?: AccessRequestDocumentEntity[];
|
|
227
579
|
dispatch?: DocumentDispatchEntity | null;
|
|
228
580
|
docDigitalInbound?: DocDigitalInboundEntity | null;
|
|
229
581
|
deleted: boolean;
|
|
230
582
|
createdAt: string;
|
|
231
583
|
updatedAt: string;
|
|
232
584
|
}
|
|
585
|
+
export interface SignatureBatchEntity {
|
|
586
|
+
id: string;
|
|
587
|
+
name: string;
|
|
588
|
+
createdByEmployeeId: string;
|
|
589
|
+
createdByFullName: string;
|
|
590
|
+
documentType?: DocumentTypeEntity;
|
|
591
|
+
documentTypeId: string;
|
|
592
|
+
documents?: DocumentEntity[];
|
|
593
|
+
deleted: boolean;
|
|
594
|
+
createdAt: string;
|
|
595
|
+
updatedAt: string;
|
|
596
|
+
}
|
|
233
597
|
export interface DocumentParticipantEntity {
|
|
234
598
|
id: string;
|
|
235
599
|
role: DocumentParticipantRole;
|
|
236
600
|
order: number;
|
|
601
|
+
stage: number;
|
|
237
602
|
status: DocumentParticipantStatus;
|
|
238
603
|
employeeId: string;
|
|
239
604
|
fullName: string;
|
|
240
605
|
position?: string | null;
|
|
241
606
|
observation?: string | null;
|
|
242
607
|
resolvedAt?: string | null;
|
|
608
|
+
initials?: string | null;
|
|
243
609
|
document?: DocumentEntity;
|
|
244
610
|
documentId: string;
|
|
245
611
|
createdAt: string;
|
|
@@ -261,6 +627,7 @@ export interface DocumentTrackingEntity {
|
|
|
261
627
|
id: string;
|
|
262
628
|
action: DocumentTrackingAction;
|
|
263
629
|
observation?: string | null;
|
|
630
|
+
sha256?: string | null;
|
|
264
631
|
employeeId?: string | null;
|
|
265
632
|
employeeFullName?: string | null;
|
|
266
633
|
document?: DocumentEntity;
|
|
@@ -308,10 +675,46 @@ export interface DocumentDeliveryEntity {
|
|
|
308
675
|
readAt?: string | null;
|
|
309
676
|
closedAt?: string | null;
|
|
310
677
|
closingNote?: string | null;
|
|
678
|
+
dueSoonRemindedAt?: string | null;
|
|
679
|
+
overdueRemindedAt?: string | null;
|
|
311
680
|
document?: DocumentEntity;
|
|
312
681
|
documentId: string;
|
|
313
682
|
createdAt: string;
|
|
314
683
|
}
|
|
684
|
+
export interface CategoryNumberingEntity {
|
|
685
|
+
category: DocumentCategory;
|
|
686
|
+
nextCorrelative: number;
|
|
687
|
+
correlativeYear?: number | null;
|
|
688
|
+
resetsYearly: boolean;
|
|
689
|
+
updatedAt: string;
|
|
690
|
+
}
|
|
691
|
+
export interface DocumentTypeVersionEntity {
|
|
692
|
+
id: string;
|
|
693
|
+
version: number;
|
|
694
|
+
name: string;
|
|
695
|
+
abbreviation?: string | null;
|
|
696
|
+
category: DocumentCategory;
|
|
697
|
+
description?: string | null;
|
|
698
|
+
numbered: boolean;
|
|
699
|
+
numberingScope: DocumentNumberingScope;
|
|
700
|
+
allowsExternalNumber: boolean;
|
|
701
|
+
usesPartsOffice: boolean;
|
|
702
|
+
visaMode: DocumentVisaMode;
|
|
703
|
+
activeTransparency: boolean;
|
|
704
|
+
transparencySection?: string | null;
|
|
705
|
+
directorateCodeReference?: number | null;
|
|
706
|
+
draftReviewDirectorateCode?: number | null;
|
|
707
|
+
draftReviewDirectorateName?: string | null;
|
|
708
|
+
issuingEntityId?: string | null;
|
|
709
|
+
sharesNumberingWithId?: string | null;
|
|
710
|
+
templateVersion?: number | null;
|
|
711
|
+
flowSteps: JsonValue;
|
|
712
|
+
createdByFullName?: string | null;
|
|
713
|
+
createdAt: string;
|
|
714
|
+
documentType?: DocumentTypeEntity;
|
|
715
|
+
documentTypeId: string;
|
|
716
|
+
documents?: DocumentEntity[];
|
|
717
|
+
}
|
|
315
718
|
export interface DocumentTypeFlowStepEntity {
|
|
316
719
|
id: string;
|
|
317
720
|
role: DocumentParticipantRole;
|
|
@@ -321,6 +724,7 @@ export interface DocumentTypeFlowStepEntity {
|
|
|
321
724
|
directorateCodeReference?: number | null;
|
|
322
725
|
name: string;
|
|
323
726
|
position?: string | null;
|
|
727
|
+
withPrevious: boolean;
|
|
324
728
|
documentType?: DocumentTypeEntity;
|
|
325
729
|
documentTypeId: string;
|
|
326
730
|
createdAt: string;
|
|
@@ -331,8 +735,13 @@ export interface ProcedureEntity {
|
|
|
331
735
|
cpatId?: string | null;
|
|
332
736
|
cpatCode?: string | null;
|
|
333
737
|
description?: string | null;
|
|
738
|
+
kind?: string | null;
|
|
739
|
+
responsibleArea?: string | null;
|
|
740
|
+
cpatStatus?: string | null;
|
|
741
|
+
fromCpat: boolean;
|
|
334
742
|
enabled: boolean;
|
|
335
743
|
caseFiles?: CaseFileEntity[];
|
|
744
|
+
documents?: DocumentEntity[];
|
|
336
745
|
deleted: boolean;
|
|
337
746
|
createdAt: string;
|
|
338
747
|
updatedAt: string;
|
|
@@ -352,6 +761,9 @@ export interface CaseFileEntity {
|
|
|
352
761
|
status: CaseFileStatus;
|
|
353
762
|
accessLevel: DocumentAccessLevel;
|
|
354
763
|
hasSensitiveData: boolean;
|
|
764
|
+
restrictionEndsAt?: string | null;
|
|
765
|
+
archivalSeries?: ArchivalSeriesEntity | null;
|
|
766
|
+
archivalSeriesId?: string | null;
|
|
355
767
|
incorporationMechanism: CaseFileIncorporationMechanism;
|
|
356
768
|
schemaVersion: string;
|
|
357
769
|
procedure?: ProcedureEntity;
|
|
@@ -360,6 +772,8 @@ export interface CaseFileEntity {
|
|
|
360
772
|
responsibleFullName: string;
|
|
361
773
|
responsiblePosition?: string | null;
|
|
362
774
|
closedAt?: string | null;
|
|
775
|
+
disposition?: DispositionRecordEntity | null;
|
|
776
|
+
dispositionId?: string | null;
|
|
363
777
|
closedByEmployeeId?: string | null;
|
|
364
778
|
closedByFullName?: string | null;
|
|
365
779
|
closingNote?: string | null;
|
|
@@ -370,8 +784,11 @@ export interface CaseFileEntity {
|
|
|
370
784
|
trackings?: CaseFileTrackingEntity[];
|
|
371
785
|
metadataChanges?: CaseFileMetadataChangeEntity[];
|
|
372
786
|
accesses?: CaseFileAccessEntity[];
|
|
787
|
+
shareLinks?: CaseFileShareLinkEntity[];
|
|
788
|
+
integratedPdf?: JsonValue | null;
|
|
373
789
|
createdAt: string;
|
|
374
790
|
updatedAt: string;
|
|
791
|
+
workFolder?: WorkFolderEntity | null;
|
|
375
792
|
}
|
|
376
793
|
export interface CaseFileParticipantEntity {
|
|
377
794
|
id: string;
|
|
@@ -400,6 +817,7 @@ export interface CaseFileEntryEntity {
|
|
|
400
817
|
kind: CaseFileEntryKind;
|
|
401
818
|
actuationType: CaseFileActuationType;
|
|
402
819
|
title: string;
|
|
820
|
+
folder?: string | null;
|
|
403
821
|
document?: DocumentEntity | null;
|
|
404
822
|
documentId?: string | null;
|
|
405
823
|
fileId?: string | null;
|
|
@@ -410,11 +828,16 @@ export interface CaseFileEntryEntity {
|
|
|
410
828
|
keywords: string[];
|
|
411
829
|
accessLevel?: DocumentAccessLevel | null;
|
|
412
830
|
hasSensitiveData?: boolean | null;
|
|
831
|
+
physicalLocation?: string | null;
|
|
832
|
+
physicalReason?: string | null;
|
|
833
|
+
pageCount?: number | null;
|
|
413
834
|
linkedCaseFile?: CaseFileEntity | null;
|
|
414
835
|
linkedCaseFileId?: string | null;
|
|
415
836
|
sha256?: string | null;
|
|
416
837
|
size?: number | null;
|
|
417
838
|
hasAdvancedSignature: boolean;
|
|
839
|
+
fileFormat?: string | null;
|
|
840
|
+
signatureCheck?: JsonValue | null;
|
|
418
841
|
incorporatedByEmployeeId: string;
|
|
419
842
|
incorporatedByFullName: string;
|
|
420
843
|
voidedAt?: string | null;
|
|
@@ -450,10 +873,55 @@ export interface CaseFileAccessEntity {
|
|
|
450
873
|
id: string;
|
|
451
874
|
action: CaseFileAccessAction;
|
|
452
875
|
entryId?: string | null;
|
|
453
|
-
employeeId
|
|
876
|
+
employeeId?: string | null;
|
|
454
877
|
employeeFullName: string;
|
|
878
|
+
shareLink?: CaseFileShareLinkEntity | null;
|
|
879
|
+
shareLinkId?: string | null;
|
|
880
|
+
caseFile?: CaseFileEntity;
|
|
881
|
+
caseFileId: string;
|
|
882
|
+
createdAt: string;
|
|
883
|
+
}
|
|
884
|
+
export interface CaseFileShareLinkEntity {
|
|
885
|
+
id: string;
|
|
886
|
+
tokenHash: string;
|
|
887
|
+
recipient: string;
|
|
888
|
+
recipientEmail?: string | null;
|
|
889
|
+
purpose?: string | null;
|
|
890
|
+
allowExport: boolean;
|
|
891
|
+
expiresAt: string;
|
|
892
|
+
createdByEmployeeId: string;
|
|
893
|
+
createdByFullName: string;
|
|
894
|
+
revokedAt?: string | null;
|
|
895
|
+
revokedByEmployeeId?: string | null;
|
|
896
|
+
revokedByFullName?: string | null;
|
|
455
897
|
caseFile?: CaseFileEntity;
|
|
456
898
|
caseFileId: string;
|
|
899
|
+
accesses?: CaseFileAccessEntity[];
|
|
900
|
+
createdAt: string;
|
|
901
|
+
}
|
|
902
|
+
export interface DocumentEmailCopyEntity {
|
|
903
|
+
id: string;
|
|
904
|
+
name: string;
|
|
905
|
+
email: string;
|
|
906
|
+
tokenHash?: string | null;
|
|
907
|
+
expiresAt?: string | null;
|
|
908
|
+
issuedAt?: string | null;
|
|
909
|
+
openedAt?: string | null;
|
|
910
|
+
downloadCount: number;
|
|
911
|
+
document?: DocumentEntity;
|
|
912
|
+
documentId: string;
|
|
913
|
+
createdAt: string;
|
|
914
|
+
}
|
|
915
|
+
export interface ScanSessionEntity {
|
|
916
|
+
id: string;
|
|
917
|
+
tokenHash: string;
|
|
918
|
+
status: ScanSessionStatus;
|
|
919
|
+
employeeId: string;
|
|
920
|
+
pages: JsonValue;
|
|
921
|
+
fileId?: string | null;
|
|
922
|
+
fileName?: string | null;
|
|
923
|
+
expiresAt: string;
|
|
924
|
+
finishedAt?: string | null;
|
|
457
925
|
createdAt: string;
|
|
458
926
|
}
|
|
459
927
|
export interface DocumentExternalRecipientEntity {
|
|
@@ -482,6 +950,11 @@ export interface DocumentDispatchEntity {
|
|
|
482
950
|
returnedByEmployeeId?: string | null;
|
|
483
951
|
returnedByFullName?: string | null;
|
|
484
952
|
returnReason?: string | null;
|
|
953
|
+
contingencyMeans?: CommunicationMeans | null;
|
|
954
|
+
contingencySentTo?: string | null;
|
|
955
|
+
contingencyReason?: string | null;
|
|
956
|
+
contingencyReceiptFileId?: string | null;
|
|
957
|
+
contingencyReceiptName?: string | null;
|
|
485
958
|
document?: DocumentEntity;
|
|
486
959
|
documentId: string;
|
|
487
960
|
createdAt: string;
|
|
@@ -502,9 +975,12 @@ export interface DocDigitalInboundEntity {
|
|
|
502
975
|
senderEntityName?: string | null;
|
|
503
976
|
senderName?: string | null;
|
|
504
977
|
senderPosition?: string | null;
|
|
978
|
+
recipientEntityId?: number | null;
|
|
979
|
+
recipientEntityName?: string | null;
|
|
505
980
|
fileId?: string | null;
|
|
506
981
|
fileName?: string | null;
|
|
507
982
|
attachments: JsonValue;
|
|
983
|
+
signatureCheck?: JsonValue | null;
|
|
508
984
|
registeredAt?: string | null;
|
|
509
985
|
registeredByEmployeeId?: string | null;
|
|
510
986
|
registeredByFullName?: string | null;
|
|
@@ -519,10 +995,582 @@ export interface DocDigitalInboundEntity {
|
|
|
519
995
|
createdAt: string;
|
|
520
996
|
updatedAt: string;
|
|
521
997
|
}
|
|
998
|
+
export interface HolidayEntity {
|
|
999
|
+
id: string;
|
|
1000
|
+
date: string;
|
|
1001
|
+
name: string;
|
|
1002
|
+
source: HolidaySource;
|
|
1003
|
+
kind?: string | null;
|
|
1004
|
+
excluded: boolean;
|
|
1005
|
+
createdAt: string;
|
|
1006
|
+
updatedAt: string;
|
|
1007
|
+
}
|
|
1008
|
+
export interface ProcedureSyncEntity {
|
|
1009
|
+
institutionCode: string;
|
|
1010
|
+
syncedAt: string;
|
|
1011
|
+
total: number;
|
|
1012
|
+
resourceName: string;
|
|
1013
|
+
}
|
|
1014
|
+
export interface HolidaySyncEntity {
|
|
1015
|
+
year: number;
|
|
1016
|
+
syncedAt: string;
|
|
1017
|
+
total: number;
|
|
1018
|
+
}
|
|
1019
|
+
export interface TextSnippetEntity {
|
|
1020
|
+
id: string;
|
|
1021
|
+
title: string;
|
|
1022
|
+
text: string;
|
|
1023
|
+
section: TextSnippetSection;
|
|
1024
|
+
keywords: string[];
|
|
1025
|
+
enabled: boolean;
|
|
1026
|
+
deleted: boolean;
|
|
1027
|
+
createdAt: string;
|
|
1028
|
+
updatedAt: string;
|
|
1029
|
+
}
|
|
1030
|
+
export interface DocumentTemplateEntity {
|
|
1031
|
+
id: string;
|
|
1032
|
+
name: string;
|
|
1033
|
+
description?: string | null;
|
|
1034
|
+
documentTypeIds: string[];
|
|
1035
|
+
documentType?: DocumentTypeEntity | null;
|
|
1036
|
+
documentTypeId?: string | null;
|
|
1037
|
+
content: JsonValue;
|
|
1038
|
+
version: number;
|
|
1039
|
+
enabled: boolean;
|
|
1040
|
+
updatedByFullName?: string | null;
|
|
1041
|
+
versions?: DocumentTemplateVersionEntity[];
|
|
1042
|
+
deleted: boolean;
|
|
1043
|
+
createdAt: string;
|
|
1044
|
+
updatedAt: string;
|
|
1045
|
+
}
|
|
1046
|
+
export interface DocumentDraftReviewEntity {
|
|
1047
|
+
id: string;
|
|
1048
|
+
documentId: string;
|
|
1049
|
+
document?: DocumentEntity;
|
|
1050
|
+
round: number;
|
|
1051
|
+
stage: DraftReviewStage;
|
|
1052
|
+
versionNumber: number;
|
|
1053
|
+
directorateCodeReference: number;
|
|
1054
|
+
directorateName: string;
|
|
1055
|
+
reviewerEmployeeId: string;
|
|
1056
|
+
reviewerFullName: string;
|
|
1057
|
+
requestedByEmployeeId: string;
|
|
1058
|
+
requestedByFullName: string;
|
|
1059
|
+
requestedAt: string;
|
|
1060
|
+
status: DraftReviewStatus;
|
|
1061
|
+
observation?: string | null;
|
|
1062
|
+
resolvedAt?: 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
|
+
}
|
|
522
1103
|
export interface IntakeSequenceEntity {
|
|
523
1104
|
year: number;
|
|
524
1105
|
next: number;
|
|
525
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 PushSubscriptionEntity {
|
|
1442
|
+
id: string;
|
|
1443
|
+
employeeId: string;
|
|
1444
|
+
endpoint: string;
|
|
1445
|
+
p256dh: string;
|
|
1446
|
+
auth: string;
|
|
1447
|
+
userAgent?: string | null;
|
|
1448
|
+
lastSuccessAt?: string | null;
|
|
1449
|
+
failures: number;
|
|
1450
|
+
createdAt: string;
|
|
1451
|
+
updatedAt: string;
|
|
1452
|
+
}
|
|
1453
|
+
export interface DocumentVersionEntity {
|
|
1454
|
+
id: string;
|
|
1455
|
+
documentId: string;
|
|
1456
|
+
document?: DocumentEntity;
|
|
1457
|
+
number: number;
|
|
1458
|
+
subject: string;
|
|
1459
|
+
fileId: string;
|
|
1460
|
+
fileName: string;
|
|
1461
|
+
sha256?: string | null;
|
|
1462
|
+
composition?: JsonValue | null;
|
|
1463
|
+
note?: string | null;
|
|
1464
|
+
status: DocumentStatus;
|
|
1465
|
+
correction: boolean;
|
|
1466
|
+
createdByEmployeeId: string;
|
|
1467
|
+
createdByFullName: string;
|
|
1468
|
+
createdAt: string;
|
|
1469
|
+
}
|
|
1470
|
+
export interface DocumentCommentEntity {
|
|
1471
|
+
id: string;
|
|
1472
|
+
documentId: string;
|
|
1473
|
+
document?: DocumentEntity;
|
|
1474
|
+
versionNumber: number;
|
|
1475
|
+
section?: string | null;
|
|
1476
|
+
quote?: string | null;
|
|
1477
|
+
text: string;
|
|
1478
|
+
authorEmployeeId: string;
|
|
1479
|
+
authorFullName: string;
|
|
1480
|
+
authorRole: string;
|
|
1481
|
+
resolvedAt?: string | null;
|
|
1482
|
+
resolvedByFullName?: string | null;
|
|
1483
|
+
resolutionNote?: string | null;
|
|
1484
|
+
createdAt: string;
|
|
1485
|
+
}
|
|
1486
|
+
export interface DraftingRequestEntity {
|
|
1487
|
+
id: string;
|
|
1488
|
+
number: number;
|
|
1489
|
+
year: number;
|
|
1490
|
+
subject: string;
|
|
1491
|
+
details: string;
|
|
1492
|
+
documentTypeId?: string | null;
|
|
1493
|
+
documentType?: DocumentTypeEntity | null;
|
|
1494
|
+
dueAt?: string | null;
|
|
1495
|
+
requesterEmployeeId: string;
|
|
1496
|
+
requesterFullName: string;
|
|
1497
|
+
requesterAreaName?: string | null;
|
|
1498
|
+
requesterDirectorateCode?: number | null;
|
|
1499
|
+
requesterDepartmentId?: string | null;
|
|
1500
|
+
requesterDirectorateName?: string | null;
|
|
1501
|
+
targetDirectorateCode: number;
|
|
1502
|
+
targetDirectorateName: string;
|
|
1503
|
+
status: DraftingRequestStatus;
|
|
1504
|
+
takenByEmployeeId?: string | null;
|
|
1505
|
+
takenByFullName?: string | null;
|
|
1506
|
+
takenAt?: string | null;
|
|
1507
|
+
closedAt?: string | null;
|
|
1508
|
+
closingNote?: string | null;
|
|
1509
|
+
documentId?: string | null;
|
|
1510
|
+
document?: DocumentEntity | null;
|
|
1511
|
+
recipients?: DraftingRequestRecipientEntity[];
|
|
1512
|
+
attachments?: DraftingRequestAttachmentEntity[];
|
|
1513
|
+
events?: DraftingRequestEventEntity[];
|
|
1514
|
+
createdAt: string;
|
|
1515
|
+
updatedAt: string;
|
|
1516
|
+
}
|
|
1517
|
+
export interface DraftingRequestRecipientEntity {
|
|
1518
|
+
id: string;
|
|
1519
|
+
requestId: string;
|
|
1520
|
+
request?: DraftingRequestEntity;
|
|
1521
|
+
employeeId: string;
|
|
1522
|
+
}
|
|
1523
|
+
export interface DraftingRequestAttachmentEntity {
|
|
1524
|
+
id: string;
|
|
1525
|
+
requestId: string;
|
|
1526
|
+
request?: DraftingRequestEntity;
|
|
1527
|
+
fileId: string;
|
|
1528
|
+
name: string;
|
|
1529
|
+
}
|
|
1530
|
+
export interface DraftingRequestEventEntity {
|
|
1531
|
+
id: string;
|
|
1532
|
+
requestId: string;
|
|
1533
|
+
request?: DraftingRequestEntity;
|
|
1534
|
+
action: DraftingRequestEventAction;
|
|
1535
|
+
note?: string | null;
|
|
1536
|
+
employeeId: string;
|
|
1537
|
+
employeeFullName: string;
|
|
1538
|
+
createdAt: string;
|
|
1539
|
+
}
|
|
1540
|
+
export interface DirectorateReviewerEntity {
|
|
1541
|
+
id: string;
|
|
1542
|
+
directorateCode: number;
|
|
1543
|
+
directorateName: string;
|
|
1544
|
+
employeeId: string;
|
|
1545
|
+
fullName: string;
|
|
1546
|
+
createdAt: string;
|
|
1547
|
+
}
|
|
1548
|
+
export interface DocumentInternalNoteEntity {
|
|
1549
|
+
id: string;
|
|
1550
|
+
documentId: string;
|
|
1551
|
+
document?: DocumentEntity;
|
|
1552
|
+
directorateCode: number;
|
|
1553
|
+
directorateName: string;
|
|
1554
|
+
headEmployeeIds: string[];
|
|
1555
|
+
versionNumber: number;
|
|
1556
|
+
authorEmployeeId: string;
|
|
1557
|
+
authorFullName: string;
|
|
1558
|
+
authorRole: string;
|
|
1559
|
+
text: string;
|
|
1560
|
+
createdAt: string;
|
|
1561
|
+
}
|
|
1562
|
+
export interface RichImageEntity {
|
|
1563
|
+
id: string;
|
|
1564
|
+
fileId: string;
|
|
1565
|
+
name: string;
|
|
1566
|
+
mimeType: string;
|
|
1567
|
+
width: number;
|
|
1568
|
+
height: number;
|
|
1569
|
+
sha256: string;
|
|
1570
|
+
sizeBytes: number;
|
|
1571
|
+
employeeId: string;
|
|
1572
|
+
createdAt: string;
|
|
1573
|
+
}
|
|
526
1574
|
type JsonValue = string | number | boolean | {
|
|
527
1575
|
[key in string]?: JsonValue;
|
|
528
1576
|
} | Array<JsonValue> | null;
|