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

import dev.sonpx.loyalty.mcp.reward.model.PoolDefinition;
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 PoolDefinitionClient {

    @GetExchange("/api/pool-definition/{poolId}")
    PoolDefinition findById(@PathVariable("poolId") String poolId);

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