@parra/parra-js-sdk 0.3.517 → 0.3.519
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ParraAPI.d.ts +16 -4
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1645,6 +1645,18 @@ export interface CreateCourseLessonRequestBody {
|
|
1645
1645
|
is_preview?: boolean;
|
1646
1646
|
sort_order?: number;
|
1647
1647
|
}
|
1648
|
+
export interface UpdateCourseLessonSectionRequestBody {
|
1649
|
+
title?: string;
|
1650
|
+
description?: string | null;
|
1651
|
+
start_time?: string;
|
1652
|
+
end_time?: string;
|
1653
|
+
}
|
1654
|
+
export interface CreateCourseLessonSectionRequestBody {
|
1655
|
+
title?: string;
|
1656
|
+
description?: string | null;
|
1657
|
+
start_time?: string;
|
1658
|
+
end_time?: string;
|
1659
|
+
}
|
1648
1660
|
export interface ReportLessonProgressRequestBody {
|
1649
1661
|
complete?: boolean;
|
1650
1662
|
progress?: number;
|
@@ -5251,11 +5263,11 @@ declare class ParraAPI {
|
|
5251
5263
|
createModuleForCourse: (tenant_id: string, course_id: string, body: CreateCourseModuleRequestBody, options?: Options) => Promise<CourseModule>;
|
5252
5264
|
updateModuleForCourseById: (tenant_id: string, course_id: string, course_module_id: string, body?: UpdateCourseModuleRequestBody, options?: Options) => Promise<CourseModule>;
|
5253
5265
|
deleteModuleForCourseById: (tenant_id: string, course_id: string, course_module_id: string, options?: Options) => Promise<Response>;
|
5254
|
-
createLessonForModule: (tenant_id: string, course_id: string, course_module_id: string, body: CreateCourseLessonRequestBody, options?: Options) => Promise<
|
5255
|
-
updateLessonForCourseById: (tenant_id: string, course_id: string, lesson_id: string, body?: UpdateCourseLessonRequestBody, options?: Options) => Promise<
|
5266
|
+
createLessonForModule: (tenant_id: string, course_id: string, course_module_id: string, body: CreateCourseLessonRequestBody, options?: Options) => Promise<Lesson>;
|
5267
|
+
updateLessonForCourseById: (tenant_id: string, course_id: string, lesson_id: string, body?: UpdateCourseLessonRequestBody, options?: Options) => Promise<Lesson>;
|
5256
5268
|
deleteLessonForCourseById: (tenant_id: string, course_id: string, lesson_id: string, options?: Options) => Promise<Response>;
|
5257
|
-
createSectionForLesson: (tenant_id: string, course_id: string, lesson_id: string, body
|
5258
|
-
updateSectionForLesson: (tenant_id: string, course_id: string, lesson_id: string, lesson_section_id: string, body?:
|
5269
|
+
createSectionForLesson: (tenant_id: string, course_id: string, lesson_id: string, body: CreateCourseLessonSectionRequestBody, options?: Options) => Promise<LessonSection>;
|
5270
|
+
updateSectionForLesson: (tenant_id: string, course_id: string, lesson_id: string, lesson_section_id: string, body?: UpdateCourseLessonSectionRequestBody, options?: Options) => Promise<LessonSection>;
|
5259
5271
|
deleteSectionForLesson: (tenant_id: string, course_id: string, lesson_id: string, lesson_section_id: string, options?: Options) => Promise<Response>;
|
5260
5272
|
reportCourseLessonProgress: (tenant_id: string, lesson_id: string, body?: ReportLessonProgressRequestBody, options?: Options) => Promise<Response>;
|
5261
5273
|
listAppFaqs: (tenant_id: string, application_id: string, query?: {
|