/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ import type { PipelineStage } from './PipelineStage'; export type PatchedPipeline = { /** * Server-assigned id. */ readonly id?: number; /** * Platform this Pipeline belongs to. Set automatically from your credentials; you cannot pass another Platform's id. */ readonly platform?: number; /** * Display name (e.g. 'B2B Sales', 'Renewals'). */ name?: string; /** * Stable slug used in API payloads. Unique per Platform; lowercase letters, digits, and hyphens. */ code?: string; /** * Mark this as the default Pipeline new Deals land in when none is specified. At most one default per Platform — promoting a new default requires un-flagging the old one in the same call set. */ is_default?: boolean; /** * Days a Deal can sit in a stage before it's surfaced as stale. */ rotten_days?: number; readonly stages?: Array; /** * Free-form JSON for Platform-defined attributes. */ metadata?: any; readonly created_at?: string; readonly updated_at?: string; };