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

import dev.sonpx.loyalty.mcp.reward.model.CounterDefinition;
import java.util.List;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.HttpExchange;

@HttpExchange
public interface CounterDefinitionClient {

    @GetExchange("/api/counter-definition/counter-id/{counterId}")
    CounterDefinition findById(@PathVariable("counterId") String counterId);

    @GetExchange("/api/counter-definition/list-by-ids")
    List<CounterDefinition> findActiveByIds(@RequestParam("idList") List<String> idList);
}
