@hmcts/media-viewer
Version:
20 lines • 958 B
TypeScript
import { Observable } from 'rxjs';
import { HttpClient, HttpResponse } from '@angular/common/http';
import { BulkRedaction, Redaction } from './redaction.model';
import * as i0 from "@angular/core";
export declare class RedactionApiService {
private readonly httpClient;
private markupsApiUrl;
private redactApiUrl;
private markupsSearchApiUrl;
constructor(httpClient: HttpClient);
getRedactions(documentId: string): Observable<HttpResponse<Redaction[]>>;
saveRedaction(body: any): Observable<Redaction>;
saveBulkRedaction(body: any): Observable<BulkRedaction>;
deleteRedaction(payload: any): Observable<null>;
deleteAllMarkers(documentId: any): Observable<null>;
redact(payload: any): Observable<HttpResponse<Blob>>;
static ɵfac: i0.ɵɵFactoryDeclaration<RedactionApiService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<RedactionApiService>;
}
//# sourceMappingURL=redaction-api.service.d.ts.map