import type * as Pinnacle from "../../../../index.mjs"; /** * @example * { * name: "Contact request (v2)", * can_update: true, * expires_at: "2026-12-31T23:59:59Z" * } */ export interface UpdateFormParams { /** Replace the form's title. Pass `null` to clear. */ name?: string | null; /** Replace the form's description. Pass `null` to clear. */ description?: string | null; /** Replace the full set of fields on the form. Partial field updates aren't supported — send the complete new list. */ fields?: Pinnacle.FormField[]; /** Toggle whether the recipient can re-edit their submission. */ can_update?: boolean; /** Set or clear the form's expiration timestamp. */ expires_at?: string | null; /** Replace the per-form theme override. Pass `null` to revert to team defaults. */ theme_override?: Pinnacle.FormThemeOverride | null; /** Set to an ISO timestamp to archive the form (soft-delete), or `null` to restore an archived form. */ archived_at?: string | null; }