Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

453 B
Raw Blame
export interface InviteCodeUser {
  _id: string;
  firstName?: string;
  lastName?: string;
  username?: string;
  telegramId?: string;
}

export interface UsageHistoryEntry {
  userId: InviteCodeUser;
  usedAt: string;
}

export interface InviteCode {
  _id: string;
  code: string;
  owner: string;
  type: 'USER' | 'CAMPAIGN';
  maxUses: number;
  currentUses: number;
  usageHistory: UsageHistoryEntry[];
  isActive: boolean;
  createdAt: string;
}