Circle V2 API Docs
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    supabase: SupabaseClient<Database>

    Methods

    • Parameters

      • userId: string

      Returns Promise<
          {
              audit_question: {
                  id: number;
                  question: string
                  | null;
                  question_order: number | null;
                  question_type: "pass_fail" | "summary";
              }[];
              description: string
              | null;
              id: number;
              name: string | null;
          }[],
      >

    • Parameters

      • id: number

      Returns Promise<
          {
              audit_question: {
                  id: number;
                  manual: boolean;
                  question: string
                  | null;
                  question_order: number | null;
                  question_type: "pass_fail" | "summary";
                  updated_at: string | null;
              }[];
              created_at: string;
              created_by: string
              | null;
              custom_review_criteria_prompt: string | null;
              custom_summary_prompt: string | null;
              description: string | null;
              id: number;
              name: string | null;
              org_id: number | null;
              share_with_org: boolean | null;
              shared_by: string | null;
              shared_with_entity_id: number | null;
              updated_at: string | null;
          },
      >

    • Parameters

      • questionId: number

      Returns Promise<
          {
              id: number;
              question: string
              | null;
              question_type: "pass_fail" | "summary";
          },
      >

    • Parameters

      • ids: number[]

      Returns Promise<
          {
              audit_question: {
                  id: number;
                  question: string
                  | null;
                  question_order: number | null;
                  question_type: "pass_fail" | "summary";
              }[];
              created_at: string;
              created_by: string
              | null;
              custom_review_criteria_prompt: string | null;
              custom_summary_prompt: string | null;
              description: string | null;
              id: number;
              name: string | null;
              org_id: number | null;
              share_with_org: boolean | null;
              shared_by: string | null;
              shared_with_entity_id: number | null;
              updated_at: string | null;
          }[],
      >

    • Parameters

      • options: { supabase: SupabaseClient<Database> }

      Returns this