import { api } from '@/shared/api/client'
import { responseSchema, type RequestDto, type ResponseDto } from './schema'
export async function execute(request: RequestDto): Promise<ResponseDto> {
  const response = await api.post('/api/v1/__MODULE__/__FEATURE__', request, { headers: { 'Idempotency-Key': request.idempotencyKey } })
  return responseSchema.parse(response.data)
}
