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.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { BTreeMap } from './bTreeMap';
import type { String } from './string';
import type { Vec } from './vec';
import type { WebhookDeletedAt } from './webhookDeletedAt';
import type { WebhookStatus } from './webhookStatus';
/**
* Webhook row returned by application APIs.
Clients deserialize this, so both derives are used.
*/
export interface Webhook {
/** Creation timestamp. */
created_at: string;
/** User that created the webhook. */
created_by_user_id: string;
/** Soft-delete timestamp. */
deleted_at?: WebhookDeletedAt;
/** Endpoint URL. HTTPS is required outside local environments. */
endpoint_url: string;
/** Typed filters used to match events and optional entity ids. */
filters: Vec;
/** Custom delivery headers, after decryption by the repository. */
headers: BTreeMap;
/** Webhook id. */
id: String;
/** Whether the current endpoint configuration has passed validation. */
is_valid: boolean;
/** Display name. */
name: string;
/** Caller-chosen namespace, unique among the owning workspace's webhooks.
Set at creation time only; it cannot be changed afterwards. */
namespace: string;
/** Webhook lifecycle status. */
status: WebhookStatus;
/** Update timestamp. */
updated_at: string;
/** Owning workspace id. */
workspace_id: string;
}