@trii/types 2.10.722 → 2.10.723
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/Tickets/Security.d.ts +79 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ITicketAuditedEntity, TicketPropertyValue } from "./Common";
|
|
2
|
+
import { TicketFieldType } from "./Fields";
|
|
2
3
|
import { TicketConditionOperator } from "./Workflow";
|
|
3
4
|
export declare enum TicketSecurityResourceType {
|
|
4
5
|
TICKET = "TICKET",
|
|
@@ -180,12 +181,36 @@ export interface IUpdateTicketSecurityPolicyDto {
|
|
|
180
181
|
}
|
|
181
182
|
export interface ITicketFieldSecurityDefinition extends ITicketAuditedEntity {
|
|
182
183
|
fieldNameKey: string;
|
|
183
|
-
|
|
184
|
+
label: string;
|
|
185
|
+
type: TicketFieldType;
|
|
186
|
+
isSystem: boolean;
|
|
187
|
+
enabled: boolean;
|
|
188
|
+
classification?: TicketDataClassification;
|
|
184
189
|
containsPii: boolean;
|
|
185
190
|
maskingStrategy: TicketMaskingStrategy;
|
|
186
|
-
searchableWhenMasked
|
|
191
|
+
searchableWhenMasked: boolean;
|
|
187
192
|
exportable: boolean;
|
|
188
193
|
retentionPolicyId?: string;
|
|
194
|
+
readRoleIds?: string[];
|
|
195
|
+
writeRoleIds?: string[];
|
|
196
|
+
searchable: boolean;
|
|
197
|
+
filterable: boolean;
|
|
198
|
+
sortable: boolean;
|
|
199
|
+
version: number;
|
|
200
|
+
}
|
|
201
|
+
export interface IUpdateTicketFieldSecurityDefinitionDto {
|
|
202
|
+
expectedVersion: number;
|
|
203
|
+
classification?: TicketDataClassification;
|
|
204
|
+
containsPii?: boolean;
|
|
205
|
+
maskingStrategy?: TicketMaskingStrategy;
|
|
206
|
+
searchableWhenMasked?: boolean;
|
|
207
|
+
exportable?: boolean;
|
|
208
|
+
retentionPolicyId?: string;
|
|
209
|
+
readRoleIds?: string[];
|
|
210
|
+
writeRoleIds?: string[];
|
|
211
|
+
searchable?: boolean;
|
|
212
|
+
filterable?: boolean;
|
|
213
|
+
sortable?: boolean;
|
|
189
214
|
}
|
|
190
215
|
export interface ITicketSecurityState {
|
|
191
216
|
sensitivity: TicketSensitivityLevel;
|
|
@@ -221,6 +246,58 @@ export interface ITicketRetentionPolicy extends ITicketAuditedEntity {
|
|
|
221
246
|
dataClassifications?: TicketDataClassification[];
|
|
222
247
|
preserveAuditLog: boolean;
|
|
223
248
|
enabled: boolean;
|
|
249
|
+
version: number;
|
|
250
|
+
}
|
|
251
|
+
export interface ICreateTicketRetentionPolicyDto {
|
|
252
|
+
name: string;
|
|
253
|
+
description?: string;
|
|
254
|
+
retentionDays: number;
|
|
255
|
+
action: TicketRetentionAction;
|
|
256
|
+
categoryIds?: string[];
|
|
257
|
+
dataClassifications?: TicketDataClassification[];
|
|
258
|
+
preserveAuditLog?: boolean;
|
|
259
|
+
enabled?: boolean;
|
|
260
|
+
}
|
|
261
|
+
export interface IUpdateTicketRetentionPolicyDto {
|
|
262
|
+
expectedVersion: number;
|
|
263
|
+
name?: string;
|
|
264
|
+
description?: string;
|
|
265
|
+
retentionDays?: number;
|
|
266
|
+
action?: TicketRetentionAction;
|
|
267
|
+
categoryIds?: string[];
|
|
268
|
+
dataClassifications?: TicketDataClassification[];
|
|
269
|
+
preserveAuditLog?: boolean;
|
|
270
|
+
enabled?: boolean;
|
|
271
|
+
}
|
|
272
|
+
export interface ITicketFieldSecurityValidationIssue {
|
|
273
|
+
code: string;
|
|
274
|
+
severity: 'ERROR' | 'WARNING';
|
|
275
|
+
message: string;
|
|
276
|
+
path?: string;
|
|
277
|
+
}
|
|
278
|
+
export interface ITicketFieldSecurityValidationEntry {
|
|
279
|
+
fieldNameKey: string;
|
|
280
|
+
issues: ITicketFieldSecurityValidationIssue[];
|
|
281
|
+
}
|
|
282
|
+
export interface IValidateTicketFieldSecurityResponse {
|
|
283
|
+
fields: ITicketFieldSecurityValidationEntry[];
|
|
284
|
+
}
|
|
285
|
+
export interface ITicketFieldSecurityPreviewRequest {
|
|
286
|
+
roleIds: string[];
|
|
287
|
+
}
|
|
288
|
+
export interface ITicketFieldSecurityPreviewEntry {
|
|
289
|
+
fieldNameKey: string;
|
|
290
|
+
label: string;
|
|
291
|
+
visible: boolean;
|
|
292
|
+
editable: boolean;
|
|
293
|
+
masked: boolean;
|
|
294
|
+
maskingStrategy?: TicketMaskingStrategy;
|
|
295
|
+
searchable: boolean;
|
|
296
|
+
exportable: boolean;
|
|
297
|
+
}
|
|
298
|
+
export interface ITicketFieldSecurityPreviewResponse {
|
|
299
|
+
roleIds: string[];
|
|
300
|
+
fields: ITicketFieldSecurityPreviewEntry[];
|
|
224
301
|
}
|
|
225
302
|
export interface ITicketLegalHold {
|
|
226
303
|
id: string;
|