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.

2.9 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { CalendarMentionEventDescription } from './calendarMentionEventDescription';
import type { CalendarMentionEventJoinRequestStatus } from './calendarMentionEventJoinRequestStatus';
import type { CalendarMentionEventLocation } from './calendarMentionEventLocation';
import type { CalendarMentionEventOccurrenceKey } from './calendarMentionEventOccurrenceKey';
import type { CalendarMentionEventOrganizerEmail } from './calendarMentionEventOrganizerEmail';
import type { CalendarMentionEventOrganizerName } from './calendarMentionEventOrganizerName';
import type { CalendarMentionEventViewerCopy } from './calendarMentionEventViewerCopy';
import type { CalendarMentionEventViewerEventId } from './calendarMentionEventViewerEventId';
import type { EventTime } from './eventTime';

/**
 * Meeting-level fields shown in a calendar event mention preview, taken from
the requester's own projection of the meeting, or — when the requester has
none — from the mentioned projection a channel they belong to was given.
 */
export interface CalendarMentionEvent {
  /**
   * Number of attendees on the previewed copy.
   * @minimum 0
   */
  attendeeCount: number;
  /** For a channel-shared preview, whether the person who shared it can
add the requester as a guest. Always false for the requester's own
copy. */
  canRequestToJoin?: boolean;
  /** Provider description, plain text or HTML, truncated for the preview.
Clients must sanitize it before rendering. */
  description?: CalendarMentionEventDescription;
  /** Whether the event repeats. */
  isRecurring: boolean;
  joinRequestStatus?: CalendarMentionEventJoinRequestStatus;
  /** Location label, when set. */
  location?: CalendarMentionEventLocation;
  /** Key of the previewed instance, absent when no occurrence is
materialized. */
  occurrenceKey?: CalendarMentionEventOccurrenceKey;
  /** Organizer email. */
  organizerEmail?: CalendarMentionEventOrganizerEmail;
  /** Organizer display name. */
  organizerName?: CalendarMentionEventOrganizerName;
  /** Time of the previewed instance: the requested occurrence when it
exists, else the next upcoming one, else the latest past one, else the
series start. */
  time: EventTime;
  /** Display title. */
  title: string;
  /** Entity update time of the previewed copy. */
  updatedAt: string;
  /** The calendars holding `viewer_event_id`, the canonical copy's first. */
  viewerCalendarIds?: string[];
  viewerCopy?: CalendarMentionEventViewerCopy;
  /** The requester's own event entity for the mentioned meeting. Differs
from the mentioned id when the mention came from another attendee.
Absent when the meeting is on none of the requester's calendars and
they see it only because it was shared with one of their channels:
that preview is read-only and there is no event of theirs to open. */
  viewerEventId?: CalendarMentionEventViewerEventId;
}