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.
* notification_service
* OpenAPI spec version: 0.1.0
*/
import type { ReminderMetadataScheduledFor } from './reminderMetadataScheduledFor';
/**
* Metadata for a reminder the user set for themselves coming due.
There is no sender: a reminder is self-set, so the dispatcher sends it with
`sender_id: None` (a recipient who is also the sender is filtered out of
their own notification). Every formatter here must therefore work without
one.
The associated entity, when there is one, lives on the notification row
rather than in here, and clients resolve its name from that — so the
dispatcher does not have to look up a name across five entity types.
*/
export interface ReminderMetadata {
/** What the user asked to be reminded about. */
description: string;
/** The reminder that fired. */
reminderId: string;
/** Which firing this is — the occurrence the reminder came due for.
What distinguishes two firings of the same recurring reminder, which are
otherwise identical: same id, same description. The collapse key is
built from it, so without it Tuesday's alert would replace Monday's
unread one on the lock screen.
Optional because notifications written before recurring dispatch existed
have no such field, and they still have to read back. */
scheduledFor?: ReminderMetadataScheduledFor;
}