export type TOrganization = { id: string; name: string; createdAt?: string; updatedAt?: string; billing?: unknown; isAIEnabled?: boolean; whitelabel?: unknown; }; export type TMembership = { userId: string; organizationId: string; accepted: boolean; role: string; deprecatedRole?: string | null; }; export type TOrganizationMember = { userId: string; organizationId: string; accepted: boolean; role: string; email: string; name: string; avatar?: string | null; }; export type TOrganizationInvite = { id: string; email: string; name?: string | null; role?: string | null; createdAt: string; expiresAt: string; }; export type TDeleteOrganizationMemberResult = { organizationId: string; userId: string; deleted: boolean; }; export type TDeleteOrganizationInviteResult = { organizationId: string; inviteId: string; deleted: boolean; }; export type TUserOrganizationInvite = { id: string; email: string; name?: string | null; role?: string | null; createdAt: string; expiresAt: string; organizationId: string; organizationName: string; inviterName?: string | null; inviterEmail?: string | null; };