import 'package:cargocalculaterapp/features/calculator/data/model/calculate_price_response.dart';
import 'package:cargocalculaterapp/features/calculator/data/model/lead_create_response.dart';
import 'package:cargocalculaterapp/features/calculator/data/model/lead_create_request.dart';
import 'package:cargocalculaterapp/features/calculator/data/model/price_calculate_request.dart';
import 'package:dartz/dartz.dart';
import '../../../../core/error/failure.dart';

abstract class CalculatorRepository {
  Future<Either<Failure, CalculatePriceResponse>> calculatePrice(
    PriceCalculateRequest request,
  );
  Future<Either<Failure, LeadCreateResponse>> createLead(
    LeadCreateRequest request,
  );
}
