/* generated using openapi-typescript-codegen -- do not edit */ /* istanbul ignore file */ /* tslint:disable */ /* eslint-disable */ /** * Request serializer for CourseSuggestionManagementView POST endpoint */ export type CourseSuggestionCreate = { /** * The platform for the suggestion */ platform_key: string; /** * The course ID to suggest */ course_id: string; /** * The user to suggest the course to */ user_id: string; /** * The username of the user to suggest the course to */ username?: string; /** * The email of the user to suggest the course to */ email?: string; /** * Whether the suggestion is accepted */ accepted?: boolean; /** * Whether the suggestion is visible */ visible?: boolean; /** * Additional suggestion metadata */ metadata?: Record; /** * The user who suggested the course */ suggested_by?: string; /** * Whether the suggestion is direct */ direct?: boolean; /** * Flag to ensure department admins can call the API */ department_mode?: boolean; };