import { Invite } from "@prisma/client";
import { TUserLocale } from "@formbricks/types/user";

export interface InviteWithCreator extends Pick<
  Invite,
  "id" | "expiresAt" | "organizationId" | "role" | "teamIds"
> {
  creator: {
    name: string | null;
    email: string;
    locale: TUserLocale;
  };
}

export interface CreateMembershipInvite extends Pick<Invite, "organizationId" | "role" | "teamIds"> {}
