import type * as Whop from "../../../../index.js"; /** * @example * { * chapter_id: "chap_xxxxxxxxxxxxx", * lesson_type: "text" * } */ export interface CreateCourseLessonsRequest { /** The unique identifier of the chapter to create the lesson in (e.g., "chap_XXXXX"). */ chapter_id: string; /** The Markdown content body of the lesson. */ content?: string | null; /** The number of days after a student starts the course before this lesson becomes accessible. */ days_from_course_start_until_unlock?: number | null; /** The external video identifier for embedded content (e.g., a YouTube video ID or Loom share ID). */ embed_id?: string | null; /** The type of video embed for this lesson, such as YouTube or Loom. */ embed_type?: Whop.EmbedTypes | null; /** The content type of the lesson, such as video, text, quiz, or knowledge check. */ lesson_type: Whop.LessonTypes; /** The thumbnail image for the lesson in PNG, JPEG, or GIF format. */ thumbnail?: CreateCourseLessonsRequest.Thumbnail | null; /** The display title of the lesson (e.g., "Getting Started with APIs"). */ title?: string | null; } export declare namespace CreateCourseLessonsRequest { /** * The thumbnail image for the lesson in PNG, JPEG, or GIF format. */ interface Thumbnail { /** The ID of an existing file object. */ id: string; } }