The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, ObjectType } from '@nestjs/graphql';
import { UUIDScalarType } from 'src/engine/api/graphql/workspace-schema-builder/graphql-types/scalars';
@ObjectType('IngestedAppMessage')
export class IngestedAppMessageDTO {
@Field()
externalId: string;
// stable across re-ingestion, so safe to hang timeline activities or app records off
@Field(() => UUIDScalarType)
messageId: string;
@Field(() => UUIDScalarType)
messageThreadId: string;
}
@ObjectType('IngestAppMessagesOutput')
export class IngestAppMessagesOutput {
@Field(() => [IngestedAppMessageDTO])
messages: IngestedAppMessageDTO[];
}