/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ export type PatchedPipelineStage = { /** * Server-assigned id. */ readonly id?: number; /** * Pipeline this stage belongs to. Set automatically from the URL path; you cannot move a stage between Pipelines. */ readonly pipeline?: number; /** * Stable identifier referenced by `Deal.stage` payloads. Unique within the Pipeline. */ code?: string; /** * Display name shown on Kanban boards. */ name?: string; /** * Win likelihood at this stage (0–100). Used for revenue forecasting. */ probability?: number; /** * Left-to-right position on the Kanban board. */ sort_order?: number; /** * Closed-won terminal stage. Moving a Deal here sets `Deal.status='won'`. */ is_won?: boolean; /** * Closed-lost terminal stage. Moving a Deal here sets `Deal.status='lost'`. */ is_lost?: boolean; /** * Free-form JSON for Platform-defined attributes. */ metadata?: any; readonly created_at?: string; readonly updated_at?: string; };