61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
/**
|
|
* API Documentation for Redaction Gateway
|
|
* Description for redaction
|
|
*
|
|
* OpenAPI spec version: 1.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
import { Comment } from './comment';
|
|
import { Rectangle } from './rectangle';
|
|
|
|
export interface RedactionChangeLogEntry {
|
|
changeType?: RedactionChangeLogEntry.ChangeTypeEnum;
|
|
color?: Array<number>;
|
|
comments?: Array<Comment>;
|
|
dictionaryEntry?: boolean;
|
|
dossierDictionaryEntry?: boolean;
|
|
excluded?: boolean;
|
|
hint?: boolean;
|
|
id?: string;
|
|
legalBasis?: string;
|
|
manual?: boolean;
|
|
manualRedactionType?: RedactionChangeLogEntry.ManualRedactionTypeEnum;
|
|
matchedRule?: number;
|
|
positions?: Array<Rectangle>;
|
|
reason?: string;
|
|
recommendation?: boolean;
|
|
redacted?: boolean;
|
|
section?: string;
|
|
sectionNumber?: number;
|
|
status?: RedactionChangeLogEntry.StatusEnum;
|
|
textAfter?: string;
|
|
textBefore?: string;
|
|
type?: string;
|
|
value?: string;
|
|
}
|
|
|
|
export namespace RedactionChangeLogEntry {
|
|
export type ChangeTypeEnum = 'ADDED' | 'REMOVED';
|
|
export const ChangeTypeEnum = {
|
|
ADDED: 'ADDED' as ChangeTypeEnum,
|
|
REMOVED: 'REMOVED' as ChangeTypeEnum
|
|
};
|
|
export type ManualRedactionTypeEnum = 'ADD' | 'FORCE_REDACT' | 'RECATEGORIZE' | 'REMOVE';
|
|
export const ManualRedactionTypeEnum = {
|
|
ADD: 'ADD' as ManualRedactionTypeEnum,
|
|
FORCEREDACT: 'FORCE_REDACT' as ManualRedactionTypeEnum,
|
|
RECATEGORIZE: 'RECATEGORIZE' as ManualRedactionTypeEnum,
|
|
REMOVE: 'REMOVE' as ManualRedactionTypeEnum
|
|
};
|
|
export type StatusEnum = 'APPROVED' | 'DECLINED' | 'REQUESTED';
|
|
export const StatusEnum = {
|
|
APPROVED: 'APPROVED' as StatusEnum,
|
|
DECLINED: 'DECLINED' as StatusEnum,
|
|
REQUESTED: 'REQUESTED' as StatusEnum
|
|
};
|
|
}
|