44 lines
1.2 KiB
TypeScript
44 lines
1.2 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 { Rectangle } from './rectangle';
|
|
|
|
export interface RedactionLogEntry {
|
|
color?: Array<number>;
|
|
hint?: boolean;
|
|
id?: string;
|
|
legalBasis?: string;
|
|
manual?: boolean;
|
|
manualRedactionType?: RedactionLogEntry.ManualRedactionTypeEnum;
|
|
matchedRule?: number;
|
|
positions?: Array<Rectangle>;
|
|
reason?: string;
|
|
redacted?: boolean;
|
|
section?: string;
|
|
sectionNumber?: number;
|
|
status?: RedactionLogEntry.StatusEnum;
|
|
type?: string;
|
|
value?: string;
|
|
}
|
|
export namespace RedactionLogEntry {
|
|
export type ManualRedactionTypeEnum = 'ADD' | 'REMOVE';
|
|
export const ManualRedactionTypeEnum = {
|
|
ADD: 'ADD' as ManualRedactionTypeEnum,
|
|
REMOVE: 'REMOVE' as ManualRedactionTypeEnum
|
|
};
|
|
export type StatusEnum = 'REQUESTED' | 'APPROVED' | 'DECLINED';
|
|
export const StatusEnum = {
|
|
REQUESTED: 'REQUESTED' as StatusEnum,
|
|
APPROVED: 'APPROVED' as StatusEnum,
|
|
DECLINED: 'DECLINED' as StatusEnum
|
|
};
|
|
}
|