Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

718 B
Raw Blame
import type { ReferralStatusString } from '@lobechat/types';
import { Plans } from '@lobechat/types';

export interface OnUserActivityForBusinessParams {
  currentTime: Date;
  previousLastActiveAt: Date;
  userCreatedAt: Date;
  userId: string;
}

export async function getReferralStatus(
  _userId: string,
): Promise<ReferralStatusString | undefined> {
  return undefined;
}

export async function getSubscriptionPlan(_userId: string): Promise<Plans> {
  return Plans.Free;
}

export async function initNewUserForBusiness(
  _userId: string,
  _createdAt: Date | null | undefined,
): Promise<void> {}

export async function onUserActivityForBusiness(
  _params: OnUserActivityForBusinessParams,
): Promise<void> {}