@3kles/3kles-corebe
Version:
3KLES Core BackEnd
17 lines (16 loc) • 672 B
TypeScript
import { IGenericService, ExecuteOption, ServiceParams, ServiceResponse } from './IGeneric.service';
export declare abstract class AbstractGenericService implements IGenericService {
protected parameters: ServiceParams;
constructor(params?: ServiceParams);
abstract execute(type: string, data: any, option?: ExecuteOption): Promise<ServiceResponse | undefined>;
getServiceParams(): ServiceParams;
setServiceParams(params: ServiceParams): void;
setHeaders(type: string, headers: {
[key: string]: string;
}): {
[key: string]: string;
};
setCustomHeaders(type: string, data: any): {
[key: string]: string;
};
}