Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.5 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */
import type { InviteePlan } from './inviteePlan';
import type { InviteToTeamMetadataInviterName } from './inviteToTeamMetadataInviterName';
import type { InviteToTeamMetadataRole } from './inviteToTeamMetadataRole';
import type { InviteToTeamMetadataSenderProfilePictureUrl } from './inviteToTeamMetadataSenderProfilePictureUrl';

/**
 * Metadata for when a user is invited to a team.
 */
export interface InviteToTeamMetadata {
  /** The user who sent the invitation */
  invitedBy: string;
  /** What the invitee gets by joining, as the team stood when the invite was sent. */
  inviteePlan?: InviteePlan;
  /** The inviter's display name, when they have set one. It is user-provided, so it is shown
on one line, capped, and escaped; the email falls back to the inviter's address. */
  inviterName?: InviteToTeamMetadataInviterName;
  /** Whether the invite creates an agent account. */
  isAgent?: boolean;
  /** Whether this email reminds the invitee of an invite they have not answered. */
  reminder?: boolean;
  /** Role/permission level in the team */
  role?: InviteToTeamMetadataRole;
  /** The sender's profile picture URL, if available. */
  senderProfilePictureUrl?: InviteToTeamMetadataSenderProfilePictureUrl;
  /** The unique identifier of the team */
  teamId: string;
  /** The unique identifier of the team invite */
  teamInviteId: string;
  /** The name of the team being invited to */
  teamName: string;
}