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 { CalendarAttendeeInputBody } from './calendarAttendeeInputBody';
import type { CreateCalendarEventRequestCalendarId } from './createCalendarEventRequestCalendarId';
import type { CreateCalendarEventRequestConference } from './createCalendarEventRequestConference';
import type { CreateCalendarEventRequestDescription } from './createCalendarEventRequestDescription';
import type { CreateCalendarEventRequestEmailLinkId } from './createCalendarEventRequestEmailLinkId';
import type { CreateCalendarEventRequestGuestPolicy } from './createCalendarEventRequestGuestPolicy';
import type { CreateCalendarEventRequestIdempotencyKey } from './createCalendarEventRequestIdempotencyKey';
import type { CreateCalendarEventRequestLocation } from './createCalendarEventRequestLocation';
import type { CreateCalendarEventRequestOutOfOffice } from './createCalendarEventRequestOutOfOffice';
import type { CreateCalendarEventRequestReminders } from './createCalendarEventRequestReminders';
import type { CreateCalendarEventRequestTransparency } from './createCalendarEventRequestTransparency';
import type { CreateCalendarEventRequestVisibility } from './createCalendarEventRequestVisibility';
import type { EventTime } from './eventTime';
/**
* Request body creating a calendar event on the requester's calendar.
*/
export interface CreateCalendarEventRequest {
/** Invited attendees. */
attendees?: CalendarAttendeeInputBody[];
/** Exact calendar to create the event on; takes precedence over the
inbox default. */
calendarId?: CreateCalendarEventRequestCalendarId;
conference?: CreateCalendarEventRequestConference;
/** Optional event body. */
description?: CreateCalendarEventRequestDescription;
/** Connected inbox whose primary calendar receives the event; defaults
to the requester's primary inbox. */
emailLinkId?: CreateCalendarEventRequestEmailLinkId;
guestPolicy?: CreateCalendarEventRequestGuestPolicy;
/** Stable retry identity, scoped to the authenticated organizer. */
idempotencyKey?: CreateCalendarEventRequestIdempotencyKey;
/** Optional location label. */
location?: CreateCalendarEventRequestLocation;
/** Mint a Macro call and write its join link into the description and
location before creating the event, so the invitation carries it.
Cannot be combined with `conference`. */
macroCall?: boolean;
outOfOffice?: CreateCalendarEventRequestOutOfOffice;
/** Raw RFC 5545 recurrence properties (`RRULE`, `RDATE`, `EXDATE`). */
recurrenceLines?: string[];
reminders?: CreateCalendarEventRequestReminders;
/** Timed or all-day shape. */
time: EventTime;
/** Display title. */
title: string;
transparency?: CreateCalendarEventRequestTransparency;
visibility?: CreateCalendarEventRequestVisibility;
}