import { usePublicApi } from '..'; import type { RequestInterest, ResponseInterest } from '../types'; export function createInterest(payload: RequestInterest) { return usePublicApi({ endpoint: '/publics/products/interests', method: 'POST', payload, }); }