Circle V2 API Docs
    Preparing search index...

    Variable formAnswersRepoConst

    formAnswersRepo: DbRepo<
        {
            bulkUpsert: (
                rows: UpsertFormAnswerRow[],
            ) => Promise<
                {
                    ai_value: unknown;
                    annotation_id: string;
                    citations: unknown;
                    context_sources: unknown;
                    coordinates_snapshot: unknown[]
                    | null;
                    created_at: string | null;
                    font_size: string | null;
                    id: string;
                    prompt_snapshot: string | null;
                    run_id: string;
                    status: string | null;
                    updated_at: string | null;
                    value: unknown[] | null;
                }[],
            >;
            getForAnnotation: (
                runId: FormRunId,
                annotationId: string,
            ) => Promise<{ aiValue: DecodedAnswerValue; value: DecodedAnswerValue }>;
            getLatestUpdatedAtForRun: (runId: FormRunId) => Promise<DbDate | null>;
            listForRun: (
                runId: FormRunId,
            ) => Promise<
                {
                    annotation_generated_by_ai: boolean
                    | null;
                    annotation_id: string;
                    annotation_is_exclusive: boolean | null;
                    annotation_prompt: string | null;
                    annotation_type: "ai_prompt" | "checkbox" | "text" | "contact";
                    citations: unknown;
                    contact_link: { contactTypeName: string; fieldKey: string } | null;
                    context_sources: NormalizedContextSource[];
                    coordinates: {
                        height: string | null;
                        id: number;
                        page: string | null;
                        value: string | null;
                        width: string | null;
                        x: string | null;
                        y: string | null;
                    }[];
                    coordinates_snapshot: unknown[]
                    | null;
                    created_at: string | null;
                    font_size: string | null;
                    has_ai_value: boolean;
                    id: string;
                    no_answer_reason: NoAnswerReasonCode | null;
                    prompt_snapshot: string | null;
                    run_id: string;
                    status: string | null;
                    updated_at: string | null;
                    value: DecodedAnswerValue;
                }[],
            >;
            updateValue: (
                runId: FormRunId,
                annotationId: string,
                value: DecodedAnswerValue,
                options?: UpdateFormAnswerValueOptions,
            ) => Promise<
                {
                    ai_value: unknown;
                    annotation_id: string;
                    citations: unknown;
                    context_sources: unknown;
                    coordinates_snapshot: unknown[]
                    | null;
                    created_at: string | null;
                    font_size: string | null;
                    id: string;
                    prompt_snapshot: string | null;
                    run_id: string;
                    status: string | null;
                    updated_at: string | null;
                    value: unknown[] | null;
                },
            >;
        },
    > = ...