Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* authentication_service
* OpenAPI spec version: 0.1.0
*/
import type { GetLegacyUserPermissionsResponseCreatedAt } from './getLegacyUserPermissionsResponseCreatedAt';
import type { GetLegacyUserPermissionsResponseGroup } from './getLegacyUserPermissionsResponseGroup';
import type { GetLegacyUserPermissionsResponseName } from './getLegacyUserPermissionsResponseName';
export interface GetLegacyUserPermissionsResponse {
/** Whether the user has consented to AI data sharing */
aiDataConsent: boolean;
/** When the account was created. Absent for accounts that predate
creation-time tracking. */
createdAt?: GetLegacyUserPermissionsResponseCreatedAt;
/** The user's email */
email: string;
group?: GetLegacyUserPermissionsResponseGroup;
/** Whether the user has the chrome extension */
hasChromeExt: boolean;
/** Whether the user has trialed through stripe */
hasTrialed: boolean;
/** Whether this is an agent account rather than a person */
isAgent: boolean;
/** The user's license status */
licenseStatus: string;
/** The user's name */
name?: GetLegacyUserPermissionsResponseName;
/** The permissions the user has */
permissions: string[];
/** The referral code for the user */
referralCode: string;
/** Whether the user has completed the tutorial */
tutorialComplete: boolean;
/** The user id */
userId: string;
}