regenerated http calls
This commit is contained in:
parent
1bea2aecc9
commit
eb25c27e0b
@ -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();
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@ -16,6 +16,7 @@ export interface AddRedactionRequest {
|
||||
type?: string;
|
||||
value?: string;
|
||||
reason?: string;
|
||||
legalBasis?: string;
|
||||
addToDictionary?: boolean;
|
||||
positions?: Array<Rectangle>;
|
||||
comment?: AddCommentRequest;
|
||||
|
||||
@ -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 =
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -32,3 +32,5 @@ export * from './user';
|
||||
export * from './userRequest';
|
||||
export * from './userResponse';
|
||||
export * from './versionsResponse';
|
||||
export * from './viewedPages';
|
||||
export * from './viewedPagesRequest';
|
||||
|
||||
@ -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 = {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -20,7 +20,6 @@ export interface ReportData {
|
||||
project?: string;
|
||||
status?: ReportData.StatusEnum;
|
||||
}
|
||||
|
||||
export namespace ReportData {
|
||||
export type StatusEnum =
|
||||
| 'UNPROCESSED'
|
||||
|
||||
@ -32,6 +32,4 @@ export interface TypeValue {
|
||||
*/
|
||||
type?: string;
|
||||
isDefaultFilter?: boolean;
|
||||
virtual?: boolean;
|
||||
label?: string;
|
||||
}
|
||||
|
||||
15
libs/red-ui-http/src/lib/model/viewedPages.ts
Normal file
15
libs/red-ui-http/src/lib/model/viewedPages.ts
Normal 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>;
|
||||
}
|
||||
15
libs/red-ui-http/src/lib/model/viewedPagesRequest.ts
Normal file
15
libs/red-ui-http/src/lib/model/viewedPagesRequest.ts
Normal 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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user