76 lines
1.7 KiB
TypeScript
76 lines
1.7 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;
|
|
/**
|
|
* The current reviewer's (if any) user id.
|
|
*/
|
|
currentReviewer?: string;
|
|
/**
|
|
* The ID of the file.
|
|
*/
|
|
fileId?: string;
|
|
/**
|
|
* The file's name.
|
|
*/
|
|
filename?: string;
|
|
/**
|
|
* 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;
|
|
/**
|
|
* The status of the file with regard to its analysis an review processes.
|
|
*/
|
|
status?: FileStatus.StatusEnum;
|
|
}
|
|
|
|
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
|
|
};
|
|
}
|