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.6 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */
import type { CalendarEventReminderMetadataEndsAt } from './calendarEventReminderMetadataEndsAt';
import type { CalendarEventReminderMetadataStartDate } from './calendarEventReminderMetadataStartDate';
import type { CalendarEventReminderMetadataStartsAt } from './calendarEventReminderMetadataStartsAt';
import type { CalendarEventReminderMetadataTimeZone } from './calendarEventReminderMetadataTimeZone';

/**
 * A calendar event alarm came due. Like [`ReminderMetadata`], these are
self-notifications: `sender_id` must stay `None` or the only recipient is
filtered out. Everything the alert renders rides in here so the
dispatcher never has to resolve the event again at display time.
 */
export interface CalendarEventReminderMetadata {
  /** Instance end, for timed events. */
  endsAt?: CalendarEventReminderMetadataEndsAt;
  /** The calendar event entity the alarm belongs to. */
  eventId: string;
  /** Minutes before the start the alarm was configured to fire. */
  minutesBefore: number;
  /** Stable occurrence key of the instance that is starting. */
  occurrenceKey: string;
  /** Instance start date, for all-day events. */
  startDate?: CalendarEventReminderMetadataStartDate;
  /** Instance start, for timed events. */
  startsAt?: CalendarEventReminderMetadataStartsAt;
  /** IANA zone for rendering local clock times, when known. */
  timeZone?: CalendarEventReminderMetadataTimeZone;
  /** Event display title at dispatch time. */
  title: string;
}