/** * 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 { CreatePracticeQuizRequest, PracticeQuiz, PracticeQuizStatusList } from '../models/index'; export interface CreatePracticeQuizOperationRequest { xUserId: string; createPracticeQuizRequest: CreatePracticeQuizRequest; xAthenaClient?: string; } export interface ListPracticeQuizzesRequest { canvasCourseId: string; canvasObjectIds: Array; xUserId: string; modes?: Array; } /** * */ export declare class PracticeQuizzesApi extends runtime.BaseAPI { /** * Atomically finds the existing chat for (canvasCourseId, canvasObjectId, mode) or creates a new one with chatType=\'practice-quiz\'. When forceNew=true, abandons the existing association and creates a fresh chat; the old chat remains in the learner\'s history. * Find or create a practice-quiz slot */ createPracticeQuizRaw(requestParameters: CreatePracticeQuizOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Atomically finds the existing chat for (canvasCourseId, canvasObjectId, mode) or creates a new one with chatType=\'practice-quiz\'. When forceNew=true, abandons the existing association and creates a fresh chat; the old chat remains in the learner\'s history. * Find or create a practice-quiz slot */ createPracticeQuiz(requestParameters: CreatePracticeQuizOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; /** * Batch lookup of practice-quiz associations within a single Canvas course. Returns one entry per requested (canvasObjectId, mode) pair, including null entries when no row exists yet. * List practice-quiz slots for a course */ listPracticeQuizzesRaw(requestParameters: ListPracticeQuizzesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise>; /** * Batch lookup of practice-quiz associations within a single Canvas course. Returns one entry per requested (canvasObjectId, mode) pair, including null entries when no row exists yet. * List practice-quiz slots for a course */ listPracticeQuizzes(requestParameters: ListPracticeQuizzesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise; } /** * @export */ export declare const ListPracticeQuizzesModesEnum: { readonly Quiz: "quiz"; readonly Flashcards: "flashcards"; }; export type ListPracticeQuizzesModesEnum = typeof ListPracticeQuizzesModesEnum[keyof typeof ListPracticeQuizzesModesEnum];