The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, Int, ObjectType } from '@nestjs/graphql';
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
@ObjectType('AgentChatChannelSummary')
export class AgentChatChannelSummaryDTO {
@Field(() => UUIDScalarType)
channelId: string;
@Field(() => Int)
openCount: number;
@Field(() => Int)
needsInputCount: number;
@Field(() => Int)
mentionedCount: number;
@Field(() => Int)
assignedToMeCount: number;
@Field(() => Int)
assignedCount: number;
@Field(() => Int)
unassignedCount: number;
@Field(() => Int)
snoozedCount: number;
@Field(() => Int)
doneCount: number;
@Field(() => Boolean)
hasUnreadOpen: boolean;
@Field(() => Boolean)
hasUnreadAssignedToMe: boolean;
}