Skip to content

The open alternative to Salesforce, designed for AI.

360 B
Raw Blame
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;
}