/** Stable public account metadata projected from the provider-neutral core. */ export type SubscriptionCorePoolAccount = { allowedModelIds?: string[] | null; /** Organization list only: who the account reaches. */ reach?: import("./administration").SubscriptionCoreConnectionReach; /** * The workspace whose own account this is, or null for the organization's * and personal accounts. In another workspace's list it was shared there * by its owner (D-52), and that workspace can only remove it. */ ownerWorkspaceId?: string | null; id: string; scope: "workspace" | "user" | "organization"; providerAccountId: string | null; label: string | null; accountEmail: string | null; planType: string | null; status: "active" | "needs_relogin" | "error" | "disabled"; allocatorEnabled: boolean; version: number; allocatorVersion: number; allocatorUpdatedAt: Date | null; expiresAt: Date | null; lastRefreshAt: Date | null; /** * When the account was last signed in (connected or reconnected), which * bounds how long the provider keeps accepting it. Null when unknown. */ signedInAt: Date | null; lastError: string | null; quotaUsedPercent: number | null; quotaResetAt: Date | null; quotaCheckedAt: Date | null; exhaustedUntil: Date | null; selectionCount: number; lastSelectedAt: Date | null; connectedBySubjectId: string | null; };