Circle V2 API Docs
    Preparing search index...
    listForCurrentUser: QueryProcedure<
        {
            input: { from: string; to: string };
            meta: object;
            output: {
                sessions: {
                    end_timestamp: DbDate;
                    id: SessionId;
                    patient_first_name: string | null;
                    patient_id: string & { __brand: "PatientId" } | null;
                    patient_last_name: 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;
                }[];
            };
        },
    > = ...