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.
* calendar_service
* OpenAPI spec version: 0.1.0
*/
import type { CalendarCapabilities } from './calendarCapabilities';
import type { CalendarProvider } from './calendarProvider';
import type { EventReminderOverride } from './eventReminderOverride';
import type { VisibleCalendarColor } from './visibleCalendarColor';
import type { VisibleCalendarSyncError } from './visibleCalendarSyncError';
/**
* A calendar visible to a requester, listed for pickers and filters.
*/
export interface VisibleCalendar {
/** Provider features available on this actual calendar. */
capabilities: CalendarCapabilities;
/** Provider color. */
color?: VisibleCalendarColor;
/** Whether this calendar counts toward the requester's busy time: their
setting, by default only the primary calendars of inboxes they own.
The nearest thing to "this is the requester's own": a provider's
access role only says what they may do, on a colleague's calendar too. */
contributesToAvailability?: boolean;
/** Default reminders applied to events that keep `useDefault`. */
defaultReminders: EventReminderOverride[];
/** Connected inbox address, for grouping in multi-inbox pickers. */
emailAddress: string;
/** Connected inbox that syncs this calendar. */
emailLinkId: string;
/** Persisted Macro calendar identifier. */
id: string;
/** Whether this is its account's primary calendar. */
isPrimary: boolean;
/** Whether this is one of Google's shared system calendars (holidays,
birthdays) the account subscribes to rather than one a person maintains. */
isSubscription: boolean;
/** Whether the grant can create and modify events on this calendar. */
isWritable: boolean;
/** Provider display name. */
name: string;
/** Calendar provider, for display and reconnect routing. */
provider: CalendarProvider;
/** A persistent sync failure isolated to this calendar, surfaced so the
settings row can badge it. `None` while the calendar is syncing
normally or a failure has not yet crossed the persistence threshold. */
syncError?: VisibleCalendarSyncError;
}