package dev.sonpx.loyalty.mcp.reward.client;

import dev.sonpx.loyalty.mcp.reward.model.DeductionSequences;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

@HttpExchange
public interface DeductionSequenceClient {

    @GetExchange("/api/deduction-seq/find-deduction-seq-by-id")
    DeductionSequences findById(@RequestParam("deductionSeqId") String deductionSeqId);

    @GetExchange("/api/deduction-seq/find-default")
    DeductionSequences findDefault();
}
