import type * as Whop from "../../../../index.mjs"; /** * @example * { * experience_id: "exp_xxxxxxxxxxxxxx", * title: "title" * } */ export interface CreateCoursesRequest { /** Whether the course awards students a PDF certificate after completing all lessons. */ certificate_after_completion_enabled?: boolean | null; /** The unique identifier of the experience to create the course in (e.g., "exp_XXXXX"). */ experience_id: string; /** The decimal order position of the course within its experience. Use fractional values (e.g., "1.5") to place between existing courses. */ order?: string | null; /** Whether students must complete each lesson sequentially before advancing to the next one. */ require_completing_lessons_in_order?: boolean | null; /** A short tagline displayed beneath the course title (e.g., "Master the fundamentals of design"). */ tagline?: string | null; /** The thumbnail image for the course in PNG, JPEG, or GIF format. */ thumbnail?: CreateCoursesRequest.Thumbnail | null; /** The display title of the course (e.g., "Introduction to Web Development"). */ title: string; /** Controls whether this course is visible to students or hidden as a draft. */ visibility?: Whop.CourseVisibilities | null; } export declare namespace CreateCoursesRequest { /** * The thumbnail image for the course in PNG, JPEG, or GIF format. */ interface Thumbnail { /** The ID of an existing file object. */ id: string; } }