import { api } from '../../shared/api/client';
import { researchSellPolicyRequestSchema, researchSellPolicyResponseSchema } from './schema';
export async function evaluateResearchSellPolicy(command) {
    const request = researchSellPolicyRequestSchema.parse(command.request);
    const { data } = await api.post('/internal/v1/research/sell-policy/evaluate', request, { headers: { 'Idempotency-Key': command.idempotencyKey } });
    return researchSellPolicyResponseSchema.parse(data);
}
