/** * Athena API * REST API for the Athena system * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { CanvasKnowledgeAssessmentEntity, CanvasTaxonomyEntity, UserContext } from '../models/index'; export interface AssessCanvasKnowledgeRequest { courseId: number; xCanvasDomain: string; xCanvasToken: string; xUserId: string; slug?: string; } export interface GenerateCanvasTaxonomyRequest { courseId: number; xCanvasDomain: string; xCanvasToken: string; xUserId: string; } export interface SyncCanvasUserProfileRequest { xCanvasDomain: string; xCanvasToken: string; xUserId: string; } /** * */ export declare class StudyPrepApi extends runtime.BaseAPI { /** * Fetches the user\'s grades for the given Canvas course, uses AI to estimate per-concept competency against the existing course taxonomy, and updates the user\'s knowledge state. The taxonomy must already exist (call generateCanvasTaxonomy first). Pass the slug returned by generateCanvasTaxonomy to skip the Canvas course lookup. * Assess user knowledge from Canvas course grades */ assessCanvasKnowledgeRaw(requestParameters: AssessCanvasKnowledgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Fetches the user\'s grades for the given Canvas course, uses AI to estimate per-concept competency against the existing course taxonomy, and updates the user\'s knowledge state. The taxonomy must already exist (call generateCanvasTaxonomy first). Pass the slug returned by generateCanvasTaxonomy to skip the Canvas course lookup. * Assess user knowledge from Canvas course grades */ assessCanvasKnowledge(requestParameters: AssessCanvasKnowledgeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Fetches quizzes, assignments, pages, modules, and syllabus from the given Canvas course, uses AI to build a knowledge taxonomy, persists it, and enrolls the user. Idempotent — if a taxonomy for this course already exists the user is enrolled and the existing record is returned. * Generate a taxonomy from a Canvas course */ generateCanvasTaxonomyRaw(requestParameters: GenerateCanvasTaxonomyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Fetches quizzes, assignments, pages, modules, and syllabus from the given Canvas course, uses AI to build a knowledge taxonomy, persists it, and enrolls the user. Idempotent — if a taxonomy for this course already exists the user is enrolled and the existing record is returned. * Generate a taxonomy from a Canvas course */ generateCanvasTaxonomy(requestParameters: GenerateCanvasTaxonomyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Fetches the user\'s display name and active course list from Canvas, uses AI to infer their primary field of study, and stores the results in the user\'s context. * Sync user profile from Canvas */ syncCanvasUserProfileRaw(requestParameters: SyncCanvasUserProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Fetches the user\'s display name and active course list from Canvas, uses AI to infer their primary field of study, and stores the results in the user\'s context. * Sync user profile from Canvas */ syncCanvasUserProfile(requestParameters: SyncCanvasUserProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; }