The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { type AiChatThreadTriageStatus } from '@/ai/types/AiChatThreadTriageStatus';
export const isAiChatThreadStatusChangeNoOp = ({
currentStatus,
nextStatus,
}: {
currentStatus: AiChatThreadTriageStatus | undefined;
nextStatus: AiChatThreadTriageStatus;
}) => nextStatus === currentStatus && nextStatus !== 'snoozed';