// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { InviteStatus } from "./InviteStatus";
import type { WorkspaceRole } from "./WorkspaceRole";

/**
 * A pending or historical invite. The `id` doubles as the bearer
 * token: it's an opaque URL-safe random string, single-use, and
 * invalidated on accept/revoke/expire.
 */
export type WorkspaceInvite = { id: string, workspace_id: string, email: string, role: WorkspaceRole, status: InviteStatus, invited_by_user_id: string | null,
/**
 * RFC3339 timestamps.
 */
created_at: string, expires_at: string, };
