@muni-sanfer/types-gestor-documental 0.0.1-beta.32 → 0.0.1-beta.33
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 +4 -1
- package/dist/base/entities.js +1 -0
- package/dist/contracts/dataProtection.contract.d.ts +5 -0
- package/dist/entities/dataProtection/dataProtection.entity.d.ts +6 -0
- package/package.json +1 -1
- package/src/base/entities.ts +4 -0
- package/src/contracts/dataProtection.contract.ts +2 -0
- package/src/entities/dataProtection/dataProtection.entity.ts +6 -0
package/dist/base/entities.d.ts
CHANGED
|
@@ -330,7 +330,7 @@ export declare const DataRightsResolution: {
|
|
|
330
330
|
Denied: "Denied";
|
|
331
331
|
Withdrawn: "Withdrawn";
|
|
332
332
|
};
|
|
333
|
-
export type DataRightsEventAction = 'Received' | 'Updated' | 'Acknowledged' | 'IdentityVerified' | 'Assigned' | 'BlockingResolved' | 'Extended' | 'Resolved' | 'ResponseSent' | 'ComplaintRegistered';
|
|
333
|
+
export type DataRightsEventAction = 'Received' | 'Updated' | 'Acknowledged' | 'IdentityVerified' | 'Assigned' | 'BlockingResolved' | 'BlockingLifted' | 'Extended' | 'Resolved' | 'ResponseSent' | 'ComplaintRegistered';
|
|
334
334
|
export declare const DataRightsEventAction: {
|
|
335
335
|
Received: "Received";
|
|
336
336
|
Updated: "Updated";
|
|
@@ -338,6 +338,7 @@ export declare const DataRightsEventAction: {
|
|
|
338
338
|
IdentityVerified: "IdentityVerified";
|
|
339
339
|
Assigned: "Assigned";
|
|
340
340
|
BlockingResolved: "BlockingResolved";
|
|
341
|
+
BlockingLifted: "BlockingLifted";
|
|
341
342
|
Extended: "Extended";
|
|
342
343
|
Resolved: "Resolved";
|
|
343
344
|
ResponseSent: "ResponseSent";
|
|
@@ -1118,6 +1119,8 @@ export interface DataRightsRequestEntity {
|
|
|
1118
1119
|
blockingGranted?: boolean | null;
|
|
1119
1120
|
blockingResolvedAt?: string | null;
|
|
1120
1121
|
blockingNote?: string | null;
|
|
1122
|
+
blockingLiftedAt?: string | null;
|
|
1123
|
+
blockingLiftNote?: string | null;
|
|
1121
1124
|
assigneeEmployeeId?: string | null;
|
|
1122
1125
|
assigneeFullName?: string | null;
|
|
1123
1126
|
resolution?: DataRightsResolution | null;
|
package/dist/base/entities.js
CHANGED
|
@@ -298,6 +298,7 @@ exports.DataRightsEventAction = {
|
|
|
298
298
|
IdentityVerified: 'IdentityVerified',
|
|
299
299
|
Assigned: 'Assigned',
|
|
300
300
|
BlockingResolved: 'BlockingResolved',
|
|
301
|
+
BlockingLifted: 'BlockingLifted',
|
|
301
302
|
Extended: 'Extended',
|
|
302
303
|
Resolved: 'Resolved',
|
|
303
304
|
ResponseSent: 'ResponseSent',
|
|
@@ -76,6 +76,11 @@ export type DataRightsAction = {
|
|
|
76
76
|
type: 'resolveBlocking';
|
|
77
77
|
granted: boolean;
|
|
78
78
|
note?: string | null;
|
|
79
|
+
}
|
|
80
|
+
/** Levanta el bloqueo concedido (también después de responder): esos datos se vuelven a tratar. */
|
|
81
|
+
| {
|
|
82
|
+
type: 'liftBlocking';
|
|
83
|
+
note?: string | null;
|
|
79
84
|
} | {
|
|
80
85
|
type: 'extend';
|
|
81
86
|
note: string;
|
|
@@ -50,6 +50,8 @@ export interface DataRightsRequestListItemEntity {
|
|
|
50
50
|
identityVerified: boolean;
|
|
51
51
|
/** Bloqueo temporal pedido y sin resolver. */
|
|
52
52
|
blockingPending: boolean;
|
|
53
|
+
/** Bloqueo temporal concedido y todavía no levantado: esos datos no se tratan. */
|
|
54
|
+
blockingActive: boolean;
|
|
53
55
|
/** Solo mientras está abierta. */
|
|
54
56
|
dueStatus: DataRightsDueStatus | null;
|
|
55
57
|
daysLeft: number | null;
|
|
@@ -79,6 +81,8 @@ export interface DataRightsRequestDetailEntity extends DataRightsRequestListItem
|
|
|
79
81
|
blockingGranted: boolean | null;
|
|
80
82
|
blockingResolvedAt: string | null;
|
|
81
83
|
blockingNote: string | null;
|
|
84
|
+
blockingLiftedAt: string | null;
|
|
85
|
+
blockingLiftNote: string | null;
|
|
82
86
|
assigneeEmployeeId: string | null;
|
|
83
87
|
resolvedAt: string | null;
|
|
84
88
|
denialGrounds: string[];
|
|
@@ -113,6 +117,8 @@ export interface DataRightsSummaryEntity {
|
|
|
113
117
|
unacknowledged: number;
|
|
114
118
|
/** Bloqueos temporales pedidos y sin resolver. */
|
|
115
119
|
blockingPending: number;
|
|
120
|
+
/** Bloqueos temporales concedidos y no levantados, de cualquier año. */
|
|
121
|
+
blockingActive: number;
|
|
116
122
|
byRight: Record<DataRight, number>;
|
|
117
123
|
resolved: Record<DataRightsResolution, number>;
|
|
118
124
|
/** Respondidas dentro del plazo sobre las respondidas, en %. */
|
package/package.json
CHANGED
package/src/base/entities.ts
CHANGED
|
@@ -500,6 +500,7 @@ export type DataRightsEventAction =
|
|
|
500
500
|
| 'IdentityVerified'
|
|
501
501
|
| 'Assigned'
|
|
502
502
|
| 'BlockingResolved'
|
|
503
|
+
| 'BlockingLifted'
|
|
503
504
|
| 'Extended'
|
|
504
505
|
| 'Resolved'
|
|
505
506
|
| 'ResponseSent'
|
|
@@ -512,6 +513,7 @@ export const DataRightsEventAction = {
|
|
|
512
513
|
IdentityVerified: 'IdentityVerified',
|
|
513
514
|
Assigned: 'Assigned',
|
|
514
515
|
BlockingResolved: 'BlockingResolved',
|
|
516
|
+
BlockingLifted: 'BlockingLifted',
|
|
515
517
|
Extended: 'Extended',
|
|
516
518
|
Resolved: 'Resolved',
|
|
517
519
|
ResponseSent: 'ResponseSent',
|
|
@@ -1348,6 +1350,8 @@ export interface DataRightsRequestEntity {
|
|
|
1348
1350
|
blockingGranted?: boolean | null;
|
|
1349
1351
|
blockingResolvedAt?: string | null;
|
|
1350
1352
|
blockingNote?: string | null;
|
|
1353
|
+
blockingLiftedAt?: string | null;
|
|
1354
|
+
blockingLiftNote?: string | null;
|
|
1351
1355
|
assigneeEmployeeId?: string | null;
|
|
1352
1356
|
assigneeFullName?: string | null;
|
|
1353
1357
|
resolution?: DataRightsResolution | null;
|
|
@@ -83,6 +83,8 @@ export type DataRightsAction =
|
|
|
83
83
|
| { type: 'assign'; employeeId: string; fullName: string; note?: string | null }
|
|
84
84
|
/** Bloqueo temporal, en 2 días hábiles; si se rechaza, fundado (y se comunica a la Agencia). */
|
|
85
85
|
| { type: 'resolveBlocking'; granted: boolean; note?: string | null }
|
|
86
|
+
/** Levanta el bloqueo concedido (también después de responder): esos datos se vuelven a tratar. */
|
|
87
|
+
| { type: 'liftBlocking'; note?: string | null }
|
|
86
88
|
| { type: 'extend'; note: string }
|
|
87
89
|
| {
|
|
88
90
|
type: 'resolve';
|
|
@@ -66,6 +66,8 @@ export interface DataRightsRequestListItemEntity {
|
|
|
66
66
|
identityVerified: boolean;
|
|
67
67
|
/** Bloqueo temporal pedido y sin resolver. */
|
|
68
68
|
blockingPending: boolean;
|
|
69
|
+
/** Bloqueo temporal concedido y todavía no levantado: esos datos no se tratan. */
|
|
70
|
+
blockingActive: boolean;
|
|
69
71
|
/** Solo mientras está abierta. */
|
|
70
72
|
dueStatus: DataRightsDueStatus | null;
|
|
71
73
|
daysLeft: number | null;
|
|
@@ -97,6 +99,8 @@ export interface DataRightsRequestDetailEntity extends DataRightsRequestListItem
|
|
|
97
99
|
blockingGranted: boolean | null;
|
|
98
100
|
blockingResolvedAt: string | null;
|
|
99
101
|
blockingNote: string | null;
|
|
102
|
+
blockingLiftedAt: string | null;
|
|
103
|
+
blockingLiftNote: string | null;
|
|
100
104
|
assigneeEmployeeId: string | null;
|
|
101
105
|
resolvedAt: string | null;
|
|
102
106
|
denialGrounds: string[];
|
|
@@ -127,6 +131,8 @@ export interface DataRightsSummaryEntity {
|
|
|
127
131
|
unacknowledged: number;
|
|
128
132
|
/** Bloqueos temporales pedidos y sin resolver. */
|
|
129
133
|
blockingPending: number;
|
|
134
|
+
/** Bloqueos temporales concedidos y no levantados, de cualquier año. */
|
|
135
|
+
blockingActive: number;
|
|
130
136
|
byRight: Record<DataRight, number>;
|
|
131
137
|
resolved: Record<DataRightsResolution, number>;
|
|
132
138
|
/** Respondidas dentro del plazo sobre las respondidas, en %. */
|