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 { CreateWebhookRequestHeaders } from './createWebhookRequestHeaders';
import type { Vec } from './vec';
import type { WebhookScope } from './webhookScope';
/**
* Request to create a webhook.
Clients serialize this, so both derives are used.
*/
export interface CreateWebhookRequest {
/** Endpoint URL. HTTPS is required outside local environments. */
endpoint_url: string;
/** Typed filters used to match events and optional entity ids. */
filters: Vec;
headers?: CreateWebhookRequestHeaders;
/** 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;
/** Scope that owns the webhook. */
scope: WebhookScope;
}