selva-riskeval
Version:
Testing One MGA sdk creation
12 lines (11 loc) • 506 B
TypeScript
export default class InsuranceProduct {
apiKey: string;
baseURL: string;
constructor(apiKey: string);
createProduct(data: any): Promise<any>;
getProducts(): Promise<import("axios").AxiosResponse<any, any>>;
getProductById(id: string): Promise<import("axios").AxiosResponse<any, any>>;
createService(data: any): Promise<any>;
getServiceById(id: string): Promise<import("axios").AxiosResponse<any, any>>;
getServices(): Promise<import("axios").AxiosResponse<any, any>>;
}