Circle V2 API Docs
    Preparing search index...
    updatePrivateNote: MutationProcedure<
        {
            input: { id: string; privateNote: string };
            meta: object;
            output: {
                ai_summarized_note: string | null;
                as_summarized_note_type: string | null;
                audit_run_id: string & { __brand: "AuditRunId" } | null;
                audit_status:
                    | "error"
                    | "pass"
                    | "fail"
                    | "needs_review"
                    | "pending"
                    | "in_progress"
                    | "not_started"
                    | null;
                case_id: string & { __brand: "CaseId" }
                | null;
                cpt_code: unknown[] | null;
                created_at: DbDate;
                created_by: string | null;
                dsm_code:
                    | {
                        code: string;
                        description: string;
                        status: "suggested"
                        | "accepted"
                        | "rejected";
                    }[]
                    | null;
                end_timestamp: DbDate;
                error_msg: string
                | null;
                file_url: string | null;
                icd_code:
                    | {
                        code: string;
                        description: string;
                        status: "suggested"
                        | "accepted"
                        | "rejected";
                    }[]
                    | null;
                id: SessionId;
                manual_entry: boolean
                | null;
                patient_id: string & { __brand: "PatientId" } | null;
                private_note: string | null;
                progress_status:
                    | "initialized"
                    | "processing"
                    | "transcribing"
                    | "complete"
                    | "failed"
                    | null;
                selected_template: | {
                    additional_ai_instructions?: string;
                    check_cpt?: boolean;
                    check_demo?: boolean;
                    check_dsm_5?: boolean;
                    check_icd_10?: boolean;
                    created_by?: UserId
                    | null;
                    created_by_circle?: boolean;
                    hidden_instructions?: string | null;
                    id: TemplateId;
                    is_allow_bullet_points?: boolean;
                    is_unstructured_narrative?: boolean;
                    last_updated?: string | null;
                    last_used?: string | null;
                    name?: string;
                    original_template_id?: string;
                    sections: {
                        body: string;
                        bullet_format?: boolean;
                        id: SectionId;
                        name: string;
                        optional: boolean;
                        order: number;
                    }[];
                    selected_audit_template_ids?: number[];
                    shared_with_org_id?: string;
                    title: string;
                    [key: string]: unknown;
                }
                | null;
                start_timestamp: DbDate;
                transcript: string
                | null;
                updated_by: number | null;
            };
        },
    > = ...