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.2 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * notification_service
 * OpenAPI spec version: 0.1.0
 */
import type { CallStartedMetadataChannelName } from './callStartedMetadataChannelName';
import type { CallStartedMetadataSenderProfilePictureUrl } from './callStartedMetadataSenderProfilePictureUrl';

/**
 * Metadata for a notification that a call has started in a channel.

Mirrors the producer-side `CallStartedNotification` in the `call` crate:
both serialize the same wire shape (snake_case fields) under the same
`call_started` [`Notification::TYPE_NAME`]. This type is the read-side
model used by [`crate::NotifEvent`]; the producer keeps its own type
because it additionally builds the incoming-call APNS/VoIP push.

Rows persisted before the type name was normalized used the kebab-case
`call-started`; the [`crate::NotifEvent::CallStarted`] variant carries a
`#[serde(alias = "call-started")]` so those rows still deserialize.
 */
export interface CallStartedMetadata {
  /** The name of the channel the call started in, when available. */
  channel_name?: CallStartedMetadataChannelName;
  /** Profile picture URL of the user who started the call, when available. */
  sender_profile_picture_url?: CallStartedMetadataSenderProfilePictureUrl;
}