regenerated http calls

This commit is contained in:
Timo Bejan 2020-11-04 00:02:12 +02:00
parent 1bea2aecc9
commit eb25c27e0b
12 changed files with 59 additions and 16 deletions

View File

@ -291,14 +291,26 @@ export class FilePreviewScreenComponent implements OnInit {
}
public rejectSuggestion($event: MouseEvent, annotation: AnnotationWrapper) {
this._dialogRef = this._dialogService.openRejectSuggestionModal($event, annotation, () => {
this._cleanupAndRedrawManualAnnotations();
this.ngZone.run(() => {
this._dialogRef = this._dialogService.openRejectSuggestionModal(
$event,
annotation,
() => {
this._cleanupAndRedrawManualAnnotations();
}
);
});
}
suggestRemoveAnnotation($event: MouseEvent, annotation: AnnotationWrapper) {
this._dialogRef = this._dialogService.openRemoveAnnotationModal($event, annotation, () => {
this._cleanupAndRedrawManualAnnotations();
this.ngZone.run(() => {
this._dialogRef = this._dialogService.openRemoveAnnotationModal(
$event,
annotation,
() => {
this._cleanupAndRedrawManualAnnotations();
}
);
});
}

View File

@ -16,6 +16,7 @@ export interface AddRedactionRequest {
type?: string;
value?: string;
reason?: string;
legalBasis?: string;
addToDictionary?: boolean;
positions?: Array<Rectangle>;
comment?: AddCommentRequest;

View File

@ -74,6 +74,10 @@ export interface FileStatus {
* 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 =

View File

@ -9,16 +9,15 @@
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { Comment } from './comment';
export interface IdRemoval {
comments?: Array<Comment>;
id?: string;
processedDate?: string;
removeFromDictionary?: boolean;
requestDate?: string;
status?: IdRemoval.StatusEnum;
user?: string;
}
export namespace IdRemoval {
export type StatusEnum = 'REQUESTED' | 'APPROVED' | 'DECLINED';
export const StatusEnum = {

View File

@ -16,13 +16,13 @@ export interface ManualRedactionEntry {
id?: string;
legalBasis?: string;
positions?: Array<Rectangle>;
processedDate?: string;
reason?: string;
requestDate?: string;
status?: ManualRedactionEntry.StatusEnum;
type?: string;
user?: string;
value?: string;
requestDate?: string;
processedDate?: string;
}
export namespace ManualRedactionEntry {
export type StatusEnum = 'REQUESTED' | 'APPROVED' | 'DECLINED';

View File

@ -32,3 +32,5 @@ export * from './user';
export * from './userRequest';
export * from './userResponse';
export * from './versionsResponse';
export * from './viewedPages';
export * from './viewedPagesRequest';

View File

@ -13,14 +13,13 @@
export interface Project {
date?: string;
description?: string;
dueDate?: string;
memberIds?: Array<string>;
ownerId?: string;
projectId?: string;
dueDate?: string;
projectName?: string;
status?: Project.StatusEnum;
}
export namespace Project {
export type StatusEnum = 'ACTIVE' | 'DELETED';
export const StatusEnum = {

View File

@ -9,10 +9,9 @@
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { AddCommentRequest } from './addCommentRequest';
export interface RemoveRedactionRequest {
annotationId?: string;
removeFromDictionary?: boolean;
comment?: AddCommentRequest;
comment?: string;
}

View File

@ -20,7 +20,6 @@ export interface ReportData {
project?: string;
status?: ReportData.StatusEnum;
}
export namespace ReportData {
export type StatusEnum =
| 'UNPROCESSED'

View File

@ -32,6 +32,4 @@ export interface TypeValue {
*/
type?: string;
isDefaultFilter?: boolean;
virtual?: boolean;
label?: string;
}

View File

@ -0,0 +1,15 @@
/**
* 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.
*/
export interface ViewedPages {
pages?: Array<number>;
}

View File

@ -0,0 +1,15 @@
/**
* 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.
*/
export interface ViewedPagesRequest {
page?: number;
}