Circle V2 API Docs
    Preparing search index...
    superadminTemplatesRouter: BuiltRouter<
        {
            ctx: TRPCContext;
            errorShape: DefaultErrorShape;
            meta: object;
            transformer: false;
        },
        DecorateCreateRouterOptions<
            {
                list: QueryProcedure<
                    {
                        input: {
                            createdAtDateRange?: { from: string; to: string };
                            createdByIds?: string[];
                            cursor?: number;
                            limit?: number;
                            offset?: number;
                            orgIds?: number[];
                            search?: string;
                            sortOrder?: "asc" | "desc";
                        };
                        meta: object;
                        output: PaginatedResponse<
                            {
                                created_at: DbDate;
                                first_name: string
                                | null;
                                id: AuditTemplateId;
                                last_name: string | null;
                                name: string | null;
                                org_name: string | null;
                                question_count: number | null;
                            },
                        >;
                    },
                >;
                listCreators: QueryProcedure<
                    {
                        input: {
                            cursor?: number;
                            limit?: number;
                            offset?: number;
                            search?: string;
                        };
                        meta: object;
                        output: PaginatedResponse<
                            {
                                first_name: string
                                | null;
                                last_name: string | null;
                                user_id: UserId;
                            },
                        >;
                    },
                >;
                listForExport: QueryProcedure<
                    {
                        input: {
                            createdAtDateRange?: { from: string; to: string };
                            createdByIds?: string[];
                            orgIds?: number[];
                            search?: string;
                        };
                        meta: object;
                        output: {
                            created_at: DbDate;
                            custom_review_criteria_prompt: string
                            | null;
                            custom_summary_prompt: string | null;
                            description: string | null;
                            id: AuditTemplateId;
                            name: string | null;
                            questions: {
                                additional_instructions: string | null;
                                id: AuditQuestionId;
                                manual: boolean;
                                question: string | null;
                                question_order: number | null;
                                question_type: "summary" | "pass_fail";
                            }[];
                        }[];
                    },
                >;
            },
        >,
    > = ...