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 { ApiUserNotificationAllOfDeletedAt } from './apiUserNotificationAllOfDeletedAt';
import type { ApiUserNotificationAllOfSenderId } from './apiUserNotificationAllOfSenderId';
import type { ApiUserNotificationAllOfViewedAt } from './apiUserNotificationAllOfViewedAt';
import type { NotifEvent } from './notifEvent';
import type { NotificationState } from './notificationState';
export type ApiUserNotificationAllOf = {
/** When the notification was created. */
created_at: string;
/** When the notification was deleted. */
deleted_at?: ApiUserNotificationAllOfDeletedAt;
/** The notification ID. */
id: string;
/** The notification event type string (e.g. "channel_mention").
TODO make this a new type */
notification_event_type: string;
/** Deserialized notification metadata. */
notification_metadata: NotifEvent;
/** The user who owns this notification. */
owner_id: string;
/** The user who triggered the notification. */
sender_id?: ApiUserNotificationAllOfSenderId;
/** Whether the notification has been sent. */
sent: boolean;
/** The authoritative notification lifecycle state. */
state: NotificationState;
/** When the notification was last updated. */
updated_at: string;
/** When the notification was viewed/seen. */
viewed_at?: ApiUserNotificationAllOfViewedAt;
};