The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, ObjectType } from '@nestjs/graphql';
import { GraphQLBigInt } from 'graphql-scalars';
@ObjectType('AiChatUserCreditsUsage')
export class AiChatUserCreditsUsageDTO {
@Field(() => GraphQLBigInt)
limitValue: number;
@Field(() => GraphQLBigInt, { nullable: true })
consumedValue: number | null;
@Field(() => Date)
periodEnd: Date;
}