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.1 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * calendar_service
 * OpenAPI spec version: 0.1.0
 */
import type { BookingLinkEventDailyLimit } from './bookingLinkEventDailyLimit';
import type { BookingQuestion } from './bookingQuestion';
import type { SchedulingMode } from './schedulingMode';

/**
 * All editable rules for one link. Personal links must use the authenticated user as host.
 */
export interface BookingLinkEvent {
  /**
   * Protected time after a meeting.
   * @minimum 0
   */
  afterMinutes: number;
  /**
   * Protected time before a meeting.
   * @minimum 0
   */
  beforeMinutes: number;
  /**
   * Maximum bookings for this event on one schedule-local day.
   * @minimum 0
   */
  dailyLimit?: BookingLinkEventDailyLimit;
  /** Public description. */
  description: string;
  /**
   * Meeting duration.
   * @minimum 0
   */
  durationMinutes: number;
  /** Whether new bookings are accepted. */
  enabled: boolean;
  /** Generate a Google Meet conference. Mutually exclusive with `macroCall`. */
  googleMeet: boolean;
  /**
   * Maximum days ahead.
   * @minimum 0
   */
  horizonDays: number;
  /** Current Macro user identities selected as hosts. */
  hosts: string[];
  /**
   * Spacing of offered start times.
   * @minimum 0
   */
  intervalMinutes: number;
  /** Meeting location. */
  location: string;
  /** Attach a Macro call when someone books. A join link is created for that
booking and written onto the calendar invitation. Mutually exclusive
with `googleMeet`. Prefer this for a Macro booking; omit or false when
the link should use Google Meet or no video. False is omitted so drafts
saved before this field still round-trip unchanged. */
  macroCall?: boolean;
  /** Host assignment policy. */
  mode: SchedulingMode;
  /**
   * Minimum notice in minutes.
   * @minimum 0
   */
  noticeMinutes: number;
  /** Additional form fields. */
  questions: BookingQuestion[];
  /** Hold bookings for host approval. */
  requiresConfirmation: boolean;
  /** Unique link segment within a profile. */
  slug: string;
  /** Public title. */
  title: string;
}