2020-11-04 00:46:07 +02:00

103 lines
2.5 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.
*/
/**
* Object containing information on a specific file.
*/
export interface FileStatus {
/**
* Date and time when the file was added to the system.
*/
added?: string;
/**
* Shows if all manual changes have been applied by a reanalysis.
*/
allManualRedactionsApplied?: boolean;
/**
* The current reviewer's (if any) user id.
*/
currentReviewer?: string;
/**
* Shows which dictionary versions was used during the analysis.
*/
dictionaryVersion?: number;
/**
* The ID of the file.
*/
fileId?: string;
/**
* The file's name.
*/
filename?: string;
/**
* Shows if any hints were found during the analysis.
*/
hasHints?: boolean;
/**
* Shows if any redactions were found during the analysis.
*/
hasRedactions?: boolean;
/**
* Shows if any requests were found during the analysis.
*/
hasRequests?: boolean;
/**
* Date and time when the file was last updated.
*/
lastUpdated?: string;
/**
* The number of times the file has been analyzed.
*/
numberOfAnalyses?: number;
/**
* The number of pages of the file.
*/
numberOfPages?: number;
/**
* The ID of the project the file belongs to.
*/
projectId?: string;
/**
* Shows which rules versions was used during the analysis.
*/
rulesVersion?: number;
/**
* The status of the file with regard to its analysis an review processes.
*/
status?: FileStatus.StatusEnum;
/**
* The ID of the user who uploaded the file.
*/
uploader?: string;
}
export namespace FileStatus {
export type StatusEnum =
| 'UNPROCESSED'
| 'REPROCESS'
| 'PROCESSING'
| 'ERROR'
| 'UNASSIGNED'
| 'UNDER_REVIEW'
| 'UNDER_APPROVAL'
| 'APPROVED';
export const StatusEnum = {
UNPROCESSED: 'UNPROCESSED' as StatusEnum,
REPROCESS: 'REPROCESS' as StatusEnum,
PROCESSING: 'PROCESSING' as StatusEnum,
ERROR: 'ERROR' as StatusEnum,
UNASSIGNED: 'UNASSIGNED' as StatusEnum,
UNDERREVIEW: 'UNDER_REVIEW' as StatusEnum,
UNDERAPPROVAL: 'UNDER_APPROVAL' as StatusEnum,
APPROVED: 'APPROVED' as StatusEnum
};
}