import { HttpClient } from '@angular/common/http'; import { QueryOptions } from '../../interfaces/request/get.interface'; import { Observable } from 'rxjs/internal/Observable'; import { SqlInsertValue } from '../../interfaces/request/insert.interface'; import { Update } from '../../interfaces/request/update.interface'; import { DeletionPayload, SqlDelete } from '../../interfaces/request/deletion.interface'; import { Response } from '../../interfaces/response/response.interface'; import * as i0 from "@angular/core"; export declare class GenericService { private http; constructor(http: HttpClient); /** * Makes an http request to get service logs * @param filter QueryOptions * @param relativePath string path of the service to consume * @returns an observable of type Response */ getRegistries(filter: QueryOptions, relativePath: string): Observable; getRegistriesNoFilter(relativePath: string): Observable; /** * Makes an http request to create a new record * @param newRecord SqlInsertValue[] * @param relativePath string path of the service to consume * @returns an observable of type Response */ createRegistry(newRecord: SqlInsertValue[], relativePath: string): Observable; /** * Makes an http request to update a record * @param updateRecord Update[] * @param relativePath string path of the service to consume * @returns an observable of type Response */ updateRegistry(updateRecord: Update[], relativePath: string): Observable; /** * Makes an http request to delete a record * @param recordDelete SqlDelete[] * @param relativePath string path of the service to consume * @returns an observable of type Response */ deleteRegistry(recordDelete: SqlDelete[], relativePath: string): Observable; /** * Makes an http request to delete multiple records * @param recordsDelete DeletionPayload * @param relativePath string path of the service to consume * @returns an observable of type Response */ deleteSeveralRegistry(recordsDelete: DeletionPayload, relativePath: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }