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.6 KB
Raw Blame
/**
 * 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 { CreateWebhookResponseDeletedAt } from './createWebhookResponseDeletedAt';
import type { String } from './string';
import type { Vec } from './vec';
import type { WebhookStatus } from './webhookStatus';

/**
 * Webhook returned after creation, including its signing secret.

Clients deserialize this, so both derives are used.
 */
export interface CreateWebhookResponse {
  /** Creation timestamp. */
  created_at: string;
  /** User that created the webhook. */
  created_by_user_id: string;
  /** Soft-delete timestamp. */
  deleted_at?: CreateWebhookResponseDeletedAt;
  /** 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;
  /** Signing secret used to verify webhook delivery signatures. */
  signing_secret: string;
  /** Webhook lifecycle status. */
  status: WebhookStatus;
  /** Update timestamp. */
  updated_at: string;
  /** Owning workspace id. */
  workspace_id: string;
}