@easyedu/js-lsm-api 1.29.0 → 1.31.0
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/.openapi-generator/FILES +211 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +90 -1
- package/dist/apis/ContentApi.js +286 -17
- package/dist/apis/CourseApi.js +37 -12
- package/dist/apis/ModuleApi.js +14 -4
- package/dist/apis/OtherApi.js +2 -1
- package/dist/apis/PortalApi.js +19 -7
- package/dist/apis/QuestionApi.js +13 -5
- package/dist/apis/QuizApi.js +79 -25
- package/dist/apis/ReportingApi.js +39 -9
- package/dist/apis/UserApi.js +16 -7
- package/dist/esm/apis/ContentApi.d.ts +90 -1
- package/dist/esm/apis/ContentApi.js +286 -17
- package/dist/esm/apis/CourseApi.js +37 -12
- package/dist/esm/apis/ModuleApi.js +14 -4
- package/dist/esm/apis/OtherApi.js +2 -1
- package/dist/esm/apis/PortalApi.js +19 -7
- package/dist/esm/apis/QuestionApi.js +13 -5
- package/dist/esm/apis/QuizApi.js +79 -25
- package/dist/esm/apis/ReportingApi.js +39 -9
- package/dist/esm/apis/UserApi.js +16 -7
- package/dist/esm/models/GetContentContentData.js +6 -0
- package/dist/esm/models/GetContentSessionDetail.d.ts +4 -4
- package/dist/esm/models/GetContentSessionDetail.js +3 -3
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.d.ts +38 -0
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.js +47 -0
- package/dist/esm/models/GetContentSessionListItem.d.ts +3 -3
- package/dist/esm/models/GetContentSessionListItem.js +3 -3
- package/dist/esm/models/GetContentSessionListItemScormSessionData.d.ts +32 -0
- package/dist/esm/models/{GetContentSessionDetailScormSessionData.js → GetContentSessionListItemScormSessionData.js} +8 -8
- package/dist/esm/models/GetContentVersion.js +2 -2
- package/dist/esm/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/esm/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/esm/models/GetQuestionListFilters.js +2 -2
- package/dist/esm/models/GetQuiz.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/esm/models/GetQuizCriteriaItem.js +2 -2
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/esm/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/esm/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/esm/models/GetQuizResultsTiming.js +2 -2
- package/dist/esm/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/esm/models/PostContentQuizAssignment.js +3 -3
- package/dist/esm/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/esm/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/esm/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
- package/dist/esm/models/PostVerifyManifest.js +73 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
- package/dist/esm/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/esm/models/QuizContentAssignment.js +3 -3
- package/dist/esm/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/esm/models/ScormGetValueResponse.js +47 -0
- package/dist/esm/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/esm/models/ScormSetValueRequest.js +47 -0
- package/dist/esm/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/esm/models/ScormSetValueResponse.js +43 -0
- package/dist/esm/models/index.d.ts +8 -1
- package/dist/esm/models/index.js +8 -1
- package/dist/esm/runtime.d.ts +3 -1
- package/dist/esm/runtime.js +5 -1
- package/dist/models/GetContentContentData.js +6 -0
- package/dist/models/GetContentSessionDetail.d.ts +4 -4
- package/dist/models/GetContentSessionDetail.js +3 -3
- package/dist/models/GetContentSessionDetailScormSessionDataInner.d.ts +38 -0
- package/dist/models/GetContentSessionDetailScormSessionDataInner.js +54 -0
- package/dist/models/GetContentSessionListItem.d.ts +3 -3
- package/dist/models/GetContentSessionListItem.js +3 -3
- package/dist/models/GetContentSessionListItemScormSessionData.d.ts +32 -0
- package/dist/models/GetContentSessionListItemScormSessionData.js +50 -0
- package/dist/models/GetContentVersion.js +2 -2
- package/dist/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/models/GetQuestionListFilters.js +2 -2
- package/dist/models/GetQuiz.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/models/GetQuizCriteriaItem.js +2 -2
- package/dist/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/models/GetQuizResultsTiming.js +2 -2
- package/dist/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/models/PostContentQuizAssignment.js +3 -3
- package/dist/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/models/PostVerifyManifest.d.ts +106 -0
- package/dist/models/PostVerifyManifest.js +80 -0
- package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/models/PostVerifyManifestItemsInner.js +62 -0
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
- package/dist/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/models/QuizContentAssignment.js +3 -3
- package/dist/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/models/ScormGetValueResponse.js +54 -0
- package/dist/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/models/ScormSetValueRequest.js +54 -0
- package/dist/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/models/ScormSetValueResponse.js +50 -0
- package/dist/models/index.d.ts +8 -1
- package/dist/models/index.js +8 -1
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +5 -1
- package/docs/ContentApi.md +1642 -0
- package/docs/CourseApi.md +845 -0
- package/docs/CriteriaBasedSelection.md +40 -0
- package/docs/CriteriaBasedSelectionCriteria.md +42 -0
- package/docs/CriteriaBasedSelectionDistribution.md +37 -0
- package/docs/FillInBlank.md +36 -0
- package/docs/FillInBlank1.md +36 -0
- package/docs/GetContent.md +58 -0
- package/docs/GetContentContentData.md +53 -0
- package/docs/GetContentGradeDetail.md +50 -0
- package/docs/GetContentGrades.md +42 -0
- package/docs/GetContentGradesItemsInner.md +40 -0
- package/docs/GetContentGradesItemsInnerUser.md +38 -0
- package/docs/GetContentInstructorBasicReporting.md +38 -0
- package/docs/GetContentInstructorBasicReportingContentInfo.md +38 -0
- package/docs/GetContentInstructorBasicReportingEngagement.md +42 -0
- package/docs/GetContentInstructorBasicReportingPerformance.md +36 -0
- package/docs/GetContentList.md +43 -0
- package/docs/GetContentSession.md +45 -0
- package/docs/GetContentSessionDetail.md +51 -0
- package/docs/GetContentSessionDetailScormSessionDataInner.md +36 -0
- package/docs/GetContentSessionDetailUserData.md +36 -0
- package/docs/GetContentSessionList.md +43 -0
- package/docs/GetContentSessionListItem.md +45 -0
- package/docs/GetContentSessionListItemScormSessionData.md +35 -0
- package/docs/GetContentUpload.md +38 -0
- package/docs/GetContentVersion.md +49 -0
- package/docs/GetContentVersionList.md +43 -0
- package/docs/GetContentVersionListItemsInner.md +42 -0
- package/docs/GetContentVersionSandbox.md +35 -0
- package/docs/GetContentVersionScormData.md +35 -0
- package/docs/GetCourse.md +44 -0
- package/docs/GetCourseEnrollment.md +51 -0
- package/docs/GetCourseEnrollmentList.md +43 -0
- package/docs/GetCourseEnrollmentListItem.md +53 -0
- package/docs/GetCourseExport.md +49 -0
- package/docs/GetCourseExportList.md +43 -0
- package/docs/GetCourseList.md +43 -0
- package/docs/GetCourseReportingBasic.md +38 -0
- package/docs/GetCourseStudentReporting.md +38 -0
- package/docs/GetCourseStudentReportingCourseInfo.md +34 -0
- package/docs/GetCourseStudentReportingEngagement.md +36 -0
- package/docs/GetCourseStudentReportingPerformance.md +34 -0
- package/docs/GetManualQuestionSelectionItem.md +48 -0
- package/docs/GetManualQuestionSelectionList.md +44 -0
- package/docs/GetModule.md +44 -0
- package/docs/GetModuleInstructorBasicReporting.md +38 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +34 -0
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +34 -0
- package/docs/GetModuleInstructorBasicReportingPerformance.md +34 -0
- package/docs/GetModuleList.md +43 -0
- package/docs/GetModuleStudentReporting.md +38 -0
- package/docs/GetModuleStudentReportingAccess.md +36 -0
- package/docs/GetModuleStudentReportingProgress.md +36 -0
- package/docs/GetPortal.md +48 -0
- package/docs/GetPortalBasicReporting.md +36 -0
- package/docs/GetPortalBasicReportingCertificates.md +34 -0
- package/docs/GetPortalBasicReportingPortalInfo.md +38 -0
- package/docs/GetPortalList.md +43 -0
- package/docs/GetPortalStudentReporting.md +36 -0
- package/docs/GetPortalStudentReportingCertificates.md +34 -0
- package/docs/GetPortalStudentReportingPortalInfo.md +38 -0
- package/docs/GetPortalUser.md +45 -0
- package/docs/GetPortalUserList.md +43 -0
- package/docs/GetQuestion.md +62 -0
- package/docs/GetQuestionAnswerChoicesInner.md +38 -0
- package/docs/GetQuestionList.md +44 -0
- package/docs/GetQuestionListFilters.md +48 -0
- package/docs/GetQuiz.md +68 -0
- package/docs/GetQuizAttempt.md +38 -0
- package/docs/GetQuizAttemptAnalytics.md +46 -0
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +49 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +39 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +58 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsScoring.md +49 -0
- package/docs/GetQuizAttemptAttempt.md +61 -0
- package/docs/GetQuizAttemptList.md +46 -0
- package/docs/GetQuizAttemptListAllOfAttempts.md +68 -0
- package/docs/GetQuizAttemptListAllOfFilters.md +45 -0
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +37 -0
- package/docs/GetQuizAttemptListAllOfSummary.md +45 -0
- package/docs/GetQuizAttemptQuestionsInner.md +52 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +41 -0
- package/docs/GetQuizAttemptQuizSettings.md +45 -0
- package/docs/GetQuizCriteria.md +38 -0
- package/docs/GetQuizCriteriaEstimatedQuestions.md +39 -0
- package/docs/GetQuizCriteriaItem.md +58 -0
- package/docs/GetQuizCriteriaList.md +42 -0
- package/docs/GetQuizCriteriaListItemsInner.md +58 -0
- package/docs/GetQuizList.md +44 -0
- package/docs/GetQuizListAllOfFilters.md +43 -0
- package/docs/GetQuizListAllOfQuizzes.md +64 -0
- package/docs/GetQuizListAllOfStatistics.md +43 -0
- package/docs/GetQuizQuestions.md +48 -0
- package/docs/GetQuizQuestionsItemsInner.md +48 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +53 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +42 -0
- package/docs/GetQuizResults.md +52 -0
- package/docs/GetQuizResultsFeedback.md +39 -0
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +40 -0
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInner.md +50 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +43 -0
- package/docs/GetQuizResultsScore.md +41 -0
- package/docs/GetQuizResultsTiming.md +43 -0
- package/docs/GetQuizStatistics.md +43 -0
- package/docs/GetScormApiLogItem.md +45 -0
- package/docs/GetScormApiLogs.md +43 -0
- package/docs/GetScormPackage.md +37 -0
- package/docs/GetScormPackagePackageInfo.md +59 -0
- package/docs/GetScormSessionData.md +43 -0
- package/docs/GetScormSessionDataActivity.md +36 -0
- package/docs/GetUser.md +42 -0
- package/docs/GetUserQuizAttempts.md +46 -0
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +70 -0
- package/docs/GetUserQuizAttemptsAllOfFilters.md +47 -0
- package/docs/GetUserQuizAttemptsAllOfSummary.md +47 -0
- package/docs/LoginRes.md +36 -0
- package/docs/LoginResAuthData.md +36 -0
- package/docs/LoginResUserData.md +40 -0
- package/docs/LoginResUserDataSelectedPortal.md +36 -0
- package/docs/ManualSelection.md +36 -0
- package/docs/MediaContent.md +38 -0
- package/docs/ModuleApi.md +284 -0
- package/docs/MultipleAnswer.md +36 -0
- package/docs/MultipleAnswer1.md +36 -0
- package/docs/NoAnswer.md +34 -0
- package/docs/OtherApi.md +66 -0
- package/docs/Paginated.md +40 -0
- package/docs/PortalApi.md +493 -0
- package/docs/PostContentQuiz.md +42 -0
- package/docs/PostContentQuizAssignment.md +41 -0
- package/docs/PostContentQuizQuestionSelection.md +43 -0
- package/docs/PostContentQuizSettings.md +51 -0
- package/docs/PostContentSession.md +43 -0
- package/docs/PostContentUpload.md +36 -0
- package/docs/PostCourse.md +38 -0
- package/docs/PostCourseEnrollment.md +40 -0
- package/docs/PostCourseExport.md +35 -0
- package/docs/PostLogin.md +36 -0
- package/docs/PostManualQuestionSelection.md +40 -0
- package/docs/PostModule.md +38 -0
- package/docs/PostPortal.md +38 -0
- package/docs/PostPortalInvite.md +40 -0
- package/docs/PostQuestion.md +52 -0
- package/docs/PostQuestionAnswerChoicesInner.md +36 -0
- package/docs/PostQuiz.md +58 -0
- package/docs/PostQuizAttempt.md +38 -0
- package/docs/PostQuizAttemptAttempt.md +55 -0
- package/docs/PostQuizAttemptQuestionsInner.md +48 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/PostQuizAttemptQuizSettings.md +45 -0
- package/docs/PostQuizAttemptSubmit.md +38 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +36 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +41 -0
- package/docs/PostQuizCriteria.md +36 -0
- package/docs/PostQuizCriteriaCriteriaInner.md +49 -0
- package/docs/PostQuizQuestions.md +36 -0
- package/docs/PostQuizQuestionsQuestionsInner.md +40 -0
- package/docs/PostQuizSettings.md +41 -0
- package/docs/PostResetPassword.md +36 -0
- package/docs/PostSendResetPassword.md +34 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/PutContent.md +36 -0
- package/docs/PutContentVersion.md +35 -0
- package/docs/PutCourse.md +44 -0
- package/docs/PutCourseEnrollment.md +40 -0
- package/docs/PutModule.md +40 -0
- package/docs/PutPortalBranding.md +38 -0
- package/docs/PutQuestion.md +52 -0
- package/docs/PutQuestionAnswerChoicesInner.md +38 -0
- package/docs/PutQuiz.md +56 -0
- package/docs/PutQuizAnswer.md +36 -0
- package/docs/PutQuizAnswerAnswer.md +41 -0
- package/docs/PutQuizSettings.md +41 -0
- package/docs/PutUser.md +42 -0
- package/docs/QuestionApi.md +368 -0
- package/docs/QuizApi.md +1793 -0
- package/docs/QuizContent.md +40 -0
- package/docs/QuizContentAssignment.md +39 -0
- package/docs/QuizContentSettings.md +43 -0
- package/docs/ReportingApi.md +674 -0
- package/docs/SCORMContent.md +38 -0
- package/docs/ScormGetValueResponse.md +37 -0
- package/docs/ScormSessionData.md +43 -0
- package/docs/ScormSessionDataProgress.md +36 -0
- package/docs/ScormSessionDataScore.md +40 -0
- package/docs/ScormSessionDataSession.md +34 -0
- package/docs/ScormSessionDataStatus.md +40 -0
- package/docs/ScormSessionDataTime.md +40 -0
- package/docs/ScormSetValueRequest.md +37 -0
- package/docs/ScormSetValueResponse.md +35 -0
- package/docs/SingleAnswer.md +36 -0
- package/docs/UserApi.md +460 -0
- package/package.json +2 -2
- package/src/apis/ContentApi.ts +411 -16
- package/src/apis/CourseApi.ts +61 -12
- package/src/apis/ModuleApi.ts +22 -4
- package/src/apis/OtherApi.ts +4 -1
- package/src/apis/PortalApi.ts +33 -7
- package/src/apis/QuestionApi.ts +23 -5
- package/src/apis/QuizApi.ts +129 -25
- package/src/apis/ReportingApi.ts +57 -9
- package/src/apis/UserApi.ts +30 -7
- package/src/models/GetContentContentData.ts +6 -3
- package/src/models/GetContentSessionDetail.ts +12 -12
- package/src/models/GetContentSessionDetailScormSessionDataInner.ts +75 -0
- package/src/models/GetContentSessionListItem.ts +11 -11
- package/src/models/GetContentSessionListItemScormSessionData.ts +66 -0
- package/src/models/GetContentVersion.ts +2 -2
- package/src/models/GetContentVersionListItemsInner.ts +2 -2
- package/src/models/GetManualQuestionSelectionItem.ts +1 -1
- package/src/models/GetQuestionListFilters.ts +2 -2
- package/src/models/GetQuiz.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +1 -1
- package/src/models/GetQuizAttemptAttempt.ts +3 -3
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +2 -2
- package/src/models/GetQuizAttemptListAllOfFiltersDateRange.ts +2 -2
- package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/GetQuizAttemptQuestionsInnerCurrentAnswer.ts +1 -1
- package/src/models/GetQuizCriteriaItem.ts +2 -2
- package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
- package/src/models/GetQuizListAllOfQuizzes.ts +2 -2
- package/src/models/GetQuizQuestionsItemsInner.ts +1 -1
- package/src/models/GetQuizResultsTiming.ts +2 -2
- package/src/models/GetScormPackagePackageInfo.ts +2 -2
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +2 -2
- package/src/models/PostContentQuizAssignment.ts +3 -3
- package/src/models/PostContentQuizQuestionSelection.ts +6 -3
- package/src/models/PostQuizAttemptAttempt.ts +2 -2
- package/src/models/PostQuizAttemptSubmit.ts +1 -1
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +6 -3
- package/src/models/PostVerifyManifest.ts +179 -0
- package/src/models/PostVerifyManifestItemsInner.ts +121 -0
- package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
- package/src/models/PutQuizAnswerAnswer.ts +6 -3
- package/src/models/QuizContentAssignment.ts +3 -3
- package/src/models/ScormGetValueResponse.ts +75 -0
- package/src/models/ScormSetValueRequest.ts +75 -0
- package/src/models/ScormSetValueResponse.ts +66 -0
- package/src/models/index.ts +8 -1
- package/src/runtime.ts +5 -4
- package/dist/esm/models/GetContentSessionDetailScormSessionData.d.ts +0 -32
- package/dist/models/GetContentSessionDetailScormSessionData.d.ts +0 -32
- package/dist/models/GetContentSessionDetailScormSessionData.js +0 -50
- package/src/models/GetContentSessionDetailScormSessionData.ts +0 -66
|
@@ -0,0 +1,674 @@
|
|
|
1
|
+
# ReportingApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com/stage1*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**getContentGradeDetail**](ReportingApi.md#getcontentgradedetail) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades/{studentId} | Get detailed grade information for a specific student and content (can use \'current\' for studentId) |
|
|
8
|
+
| [**getContentGrades**](ReportingApi.md#getcontentgrades) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades | Get grades for all students enrolled in course for specific content |
|
|
9
|
+
| [**getContentInstructorBasicReporting**](ReportingApi.md#getcontentinstructorbasicreporting) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic | Get basic instructor reporting for content |
|
|
10
|
+
| [**getCourseInstructorReportingBasic**](ReportingApi.md#getcourseinstructorreportingbasic) | **GET** /courses/{courseId}/reporting/instructor/basic | Get basic course reporting data for instructors |
|
|
11
|
+
| [**getCourseStudentReporting**](ReportingApi.md#getcoursestudentreporting) | **GET** /courses/{courseId}/reporting/students/{studentId} | Get student-specific reporting for a course (can use \'current\' for studentId) |
|
|
12
|
+
| [**getModuleInstructorBasicReporting**](ReportingApi.md#getmoduleinstructorbasicreporting) | **GET** /courses/{courseId}/modules/{moduleId}/reporting/instructor/basic | Get basic instructor reporting for a module |
|
|
13
|
+
| [**getModuleStudentReporting**](ReportingApi.md#getmodulestudentreporting) | **GET** /courses/{courseId}/modules/{moduleId}/reporting/students/{studentId} | Get student-specific reporting for a module (can use \'current\' for studentId) |
|
|
14
|
+
| [**getPortalBasicReporting**](ReportingApi.md#getportalbasicreporting) | **GET** /portals/{portalId}/reporting/basic | Get basic reporting for a portal (can use \'current\' for portalId) |
|
|
15
|
+
| [**getPortalStudentReporting**](ReportingApi.md#getportalstudentreporting) | **GET** /portals/{portalId}/reporting/students/{studentId} | Get student reporting for a portal (can use \'current\' for portalId and studentId) |
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## getContentGradeDetail
|
|
20
|
+
|
|
21
|
+
> GetContentGradeDetail getContentGradeDetail(courseId, moduleId, contentId, studentId)
|
|
22
|
+
|
|
23
|
+
Get detailed grade information for a specific student and content (can use \'current\' for studentId)
|
|
24
|
+
|
|
25
|
+
### Example
|
|
26
|
+
|
|
27
|
+
```ts
|
|
28
|
+
import {
|
|
29
|
+
Configuration,
|
|
30
|
+
ReportingApi,
|
|
31
|
+
} from '@easyedu/js-lsm-api';
|
|
32
|
+
import type { GetContentGradeDetailRequest } from '@easyedu/js-lsm-api';
|
|
33
|
+
|
|
34
|
+
async function example() {
|
|
35
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
36
|
+
const api = new ReportingApi();
|
|
37
|
+
|
|
38
|
+
const body = {
|
|
39
|
+
// string
|
|
40
|
+
courseId: courseId_example,
|
|
41
|
+
// string
|
|
42
|
+
moduleId: moduleId_example,
|
|
43
|
+
// string
|
|
44
|
+
contentId: contentId_example,
|
|
45
|
+
// string | The student\'s external ID
|
|
46
|
+
studentId: studentId_example,
|
|
47
|
+
} satisfies GetContentGradeDetailRequest;
|
|
48
|
+
|
|
49
|
+
try {
|
|
50
|
+
const data = await api.getContentGradeDetail(body);
|
|
51
|
+
console.log(data);
|
|
52
|
+
} catch (error) {
|
|
53
|
+
console.error(error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Run the test
|
|
58
|
+
example().catch(console.error);
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Parameters
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
| Name | Type | Description | Notes |
|
|
65
|
+
|------------- | ------------- | ------------- | -------------|
|
|
66
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
67
|
+
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
68
|
+
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
69
|
+
| **studentId** | `string` | The student\'s external ID | [Defaults to `undefined`] |
|
|
70
|
+
|
|
71
|
+
### Return type
|
|
72
|
+
|
|
73
|
+
[**GetContentGradeDetail**](GetContentGradeDetail.md)
|
|
74
|
+
|
|
75
|
+
### Authorization
|
|
76
|
+
|
|
77
|
+
No authorization required
|
|
78
|
+
|
|
79
|
+
### HTTP request headers
|
|
80
|
+
|
|
81
|
+
- **Content-Type**: Not defined
|
|
82
|
+
- **Accept**: `application/json`
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### HTTP response details
|
|
86
|
+
| Status code | Description | Response headers |
|
|
87
|
+
|-------------|-------------|------------------|
|
|
88
|
+
| **200** | Successful response | - |
|
|
89
|
+
| **401** | Unauthorized | - |
|
|
90
|
+
| **403** | Forbidden | - |
|
|
91
|
+
| **404** | Course, module, content, or student not found | - |
|
|
92
|
+
|
|
93
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## getContentGrades
|
|
97
|
+
|
|
98
|
+
> GetContentGrades getContentGrades(courseId, moduleId, contentId, page, pageSize, search)
|
|
99
|
+
|
|
100
|
+
Get grades for all students enrolled in course for specific content
|
|
101
|
+
|
|
102
|
+
### Example
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
import {
|
|
106
|
+
Configuration,
|
|
107
|
+
ReportingApi,
|
|
108
|
+
} from '@easyedu/js-lsm-api';
|
|
109
|
+
import type { GetContentGradesRequest } from '@easyedu/js-lsm-api';
|
|
110
|
+
|
|
111
|
+
async function example() {
|
|
112
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
113
|
+
const api = new ReportingApi();
|
|
114
|
+
|
|
115
|
+
const body = {
|
|
116
|
+
// string
|
|
117
|
+
courseId: courseId_example,
|
|
118
|
+
// string
|
|
119
|
+
moduleId: moduleId_example,
|
|
120
|
+
// string
|
|
121
|
+
contentId: contentId_example,
|
|
122
|
+
// number | Page number for pagination (optional)
|
|
123
|
+
page: 56,
|
|
124
|
+
// number | Number of items per page (optional)
|
|
125
|
+
pageSize: 56,
|
|
126
|
+
// string | Search filter for user first name or last name (optional)
|
|
127
|
+
search: search_example,
|
|
128
|
+
} satisfies GetContentGradesRequest;
|
|
129
|
+
|
|
130
|
+
try {
|
|
131
|
+
const data = await api.getContentGrades(body);
|
|
132
|
+
console.log(data);
|
|
133
|
+
} catch (error) {
|
|
134
|
+
console.error(error);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// Run the test
|
|
139
|
+
example().catch(console.error);
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Parameters
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
| Name | Type | Description | Notes |
|
|
146
|
+
|------------- | ------------- | ------------- | -------------|
|
|
147
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
148
|
+
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
149
|
+
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
150
|
+
| **page** | `number` | Page number for pagination | [Optional] [Defaults to `1`] |
|
|
151
|
+
| **pageSize** | `number` | Number of items per page | [Optional] [Defaults to `20`] |
|
|
152
|
+
| **search** | `string` | Search filter for user first name or last name | [Optional] [Defaults to `undefined`] |
|
|
153
|
+
|
|
154
|
+
### Return type
|
|
155
|
+
|
|
156
|
+
[**GetContentGrades**](GetContentGrades.md)
|
|
157
|
+
|
|
158
|
+
### Authorization
|
|
159
|
+
|
|
160
|
+
No authorization required
|
|
161
|
+
|
|
162
|
+
### HTTP request headers
|
|
163
|
+
|
|
164
|
+
- **Content-Type**: Not defined
|
|
165
|
+
- **Accept**: `application/json`
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### HTTP response details
|
|
169
|
+
| Status code | Description | Response headers |
|
|
170
|
+
|-------------|-------------|------------------|
|
|
171
|
+
| **200** | Successful response | - |
|
|
172
|
+
| **401** | Unauthorized | - |
|
|
173
|
+
| **403** | Forbidden | - |
|
|
174
|
+
| **404** | Course, module, or content not found | - |
|
|
175
|
+
|
|
176
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
## getContentInstructorBasicReporting
|
|
180
|
+
|
|
181
|
+
> GetContentInstructorBasicReporting getContentInstructorBasicReporting(courseId, moduleId, contentId)
|
|
182
|
+
|
|
183
|
+
Get basic instructor reporting for content
|
|
184
|
+
|
|
185
|
+
### Example
|
|
186
|
+
|
|
187
|
+
```ts
|
|
188
|
+
import {
|
|
189
|
+
Configuration,
|
|
190
|
+
ReportingApi,
|
|
191
|
+
} from '@easyedu/js-lsm-api';
|
|
192
|
+
import type { GetContentInstructorBasicReportingRequest } from '@easyedu/js-lsm-api';
|
|
193
|
+
|
|
194
|
+
async function example() {
|
|
195
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
196
|
+
const api = new ReportingApi();
|
|
197
|
+
|
|
198
|
+
const body = {
|
|
199
|
+
// string
|
|
200
|
+
courseId: courseId_example,
|
|
201
|
+
// string
|
|
202
|
+
moduleId: moduleId_example,
|
|
203
|
+
// string
|
|
204
|
+
contentId: contentId_example,
|
|
205
|
+
} satisfies GetContentInstructorBasicReportingRequest;
|
|
206
|
+
|
|
207
|
+
try {
|
|
208
|
+
const data = await api.getContentInstructorBasicReporting(body);
|
|
209
|
+
console.log(data);
|
|
210
|
+
} catch (error) {
|
|
211
|
+
console.error(error);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
// Run the test
|
|
216
|
+
example().catch(console.error);
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Parameters
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
| Name | Type | Description | Notes |
|
|
223
|
+
|------------- | ------------- | ------------- | -------------|
|
|
224
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
225
|
+
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
226
|
+
| **contentId** | `string` | | [Defaults to `undefined`] |
|
|
227
|
+
|
|
228
|
+
### Return type
|
|
229
|
+
|
|
230
|
+
[**GetContentInstructorBasicReporting**](GetContentInstructorBasicReporting.md)
|
|
231
|
+
|
|
232
|
+
### Authorization
|
|
233
|
+
|
|
234
|
+
No authorization required
|
|
235
|
+
|
|
236
|
+
### HTTP request headers
|
|
237
|
+
|
|
238
|
+
- **Content-Type**: Not defined
|
|
239
|
+
- **Accept**: `application/json`
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
### HTTP response details
|
|
243
|
+
| Status code | Description | Response headers |
|
|
244
|
+
|-------------|-------------|------------------|
|
|
245
|
+
| **200** | Successful response | - |
|
|
246
|
+
| **401** | Unauthorized | - |
|
|
247
|
+
| **403** | Forbidden | - |
|
|
248
|
+
| **404** | Course, module, or content not found | - |
|
|
249
|
+
|
|
250
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
## getCourseInstructorReportingBasic
|
|
254
|
+
|
|
255
|
+
> GetCourseReportingBasic getCourseInstructorReportingBasic(courseId)
|
|
256
|
+
|
|
257
|
+
Get basic course reporting data for instructors
|
|
258
|
+
|
|
259
|
+
### Example
|
|
260
|
+
|
|
261
|
+
```ts
|
|
262
|
+
import {
|
|
263
|
+
Configuration,
|
|
264
|
+
ReportingApi,
|
|
265
|
+
} from '@easyedu/js-lsm-api';
|
|
266
|
+
import type { GetCourseInstructorReportingBasicRequest } from '@easyedu/js-lsm-api';
|
|
267
|
+
|
|
268
|
+
async function example() {
|
|
269
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
270
|
+
const api = new ReportingApi();
|
|
271
|
+
|
|
272
|
+
const body = {
|
|
273
|
+
// string
|
|
274
|
+
courseId: courseId_example,
|
|
275
|
+
} satisfies GetCourseInstructorReportingBasicRequest;
|
|
276
|
+
|
|
277
|
+
try {
|
|
278
|
+
const data = await api.getCourseInstructorReportingBasic(body);
|
|
279
|
+
console.log(data);
|
|
280
|
+
} catch (error) {
|
|
281
|
+
console.error(error);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// Run the test
|
|
286
|
+
example().catch(console.error);
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
### Parameters
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
| Name | Type | Description | Notes |
|
|
293
|
+
|------------- | ------------- | ------------- | -------------|
|
|
294
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
295
|
+
|
|
296
|
+
### Return type
|
|
297
|
+
|
|
298
|
+
[**GetCourseReportingBasic**](GetCourseReportingBasic.md)
|
|
299
|
+
|
|
300
|
+
### Authorization
|
|
301
|
+
|
|
302
|
+
No authorization required
|
|
303
|
+
|
|
304
|
+
### HTTP request headers
|
|
305
|
+
|
|
306
|
+
- **Content-Type**: Not defined
|
|
307
|
+
- **Accept**: `application/json`
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### HTTP response details
|
|
311
|
+
| Status code | Description | Response headers |
|
|
312
|
+
|-------------|-------------|------------------|
|
|
313
|
+
| **200** | Successful response | - |
|
|
314
|
+
| **401** | Unauthorized | - |
|
|
315
|
+
| **403** | Forbidden | - |
|
|
316
|
+
| **404** | Course not found | - |
|
|
317
|
+
|
|
318
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
## getCourseStudentReporting
|
|
322
|
+
|
|
323
|
+
> GetCourseStudentReporting getCourseStudentReporting(courseId, studentId)
|
|
324
|
+
|
|
325
|
+
Get student-specific reporting for a course (can use \'current\' for studentId)
|
|
326
|
+
|
|
327
|
+
### Example
|
|
328
|
+
|
|
329
|
+
```ts
|
|
330
|
+
import {
|
|
331
|
+
Configuration,
|
|
332
|
+
ReportingApi,
|
|
333
|
+
} from '@easyedu/js-lsm-api';
|
|
334
|
+
import type { GetCourseStudentReportingRequest } from '@easyedu/js-lsm-api';
|
|
335
|
+
|
|
336
|
+
async function example() {
|
|
337
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
338
|
+
const api = new ReportingApi();
|
|
339
|
+
|
|
340
|
+
const body = {
|
|
341
|
+
// string
|
|
342
|
+
courseId: courseId_example,
|
|
343
|
+
// string | The student\'s external ID
|
|
344
|
+
studentId: studentId_example,
|
|
345
|
+
} satisfies GetCourseStudentReportingRequest;
|
|
346
|
+
|
|
347
|
+
try {
|
|
348
|
+
const data = await api.getCourseStudentReporting(body);
|
|
349
|
+
console.log(data);
|
|
350
|
+
} catch (error) {
|
|
351
|
+
console.error(error);
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
// Run the test
|
|
356
|
+
example().catch(console.error);
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
### Parameters
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
| Name | Type | Description | Notes |
|
|
363
|
+
|------------- | ------------- | ------------- | -------------|
|
|
364
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
365
|
+
| **studentId** | `string` | The student\'s external ID | [Defaults to `undefined`] |
|
|
366
|
+
|
|
367
|
+
### Return type
|
|
368
|
+
|
|
369
|
+
[**GetCourseStudentReporting**](GetCourseStudentReporting.md)
|
|
370
|
+
|
|
371
|
+
### Authorization
|
|
372
|
+
|
|
373
|
+
No authorization required
|
|
374
|
+
|
|
375
|
+
### HTTP request headers
|
|
376
|
+
|
|
377
|
+
- **Content-Type**: Not defined
|
|
378
|
+
- **Accept**: `application/json`
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
### HTTP response details
|
|
382
|
+
| Status code | Description | Response headers |
|
|
383
|
+
|-------------|-------------|------------------|
|
|
384
|
+
| **200** | Successful response | - |
|
|
385
|
+
| **401** | Unauthorized | - |
|
|
386
|
+
| **403** | Forbidden | - |
|
|
387
|
+
| **404** | Course or student not found | - |
|
|
388
|
+
|
|
389
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
## getModuleInstructorBasicReporting
|
|
393
|
+
|
|
394
|
+
> GetModuleInstructorBasicReporting getModuleInstructorBasicReporting(courseId, moduleId)
|
|
395
|
+
|
|
396
|
+
Get basic instructor reporting for a module
|
|
397
|
+
|
|
398
|
+
### Example
|
|
399
|
+
|
|
400
|
+
```ts
|
|
401
|
+
import {
|
|
402
|
+
Configuration,
|
|
403
|
+
ReportingApi,
|
|
404
|
+
} from '@easyedu/js-lsm-api';
|
|
405
|
+
import type { GetModuleInstructorBasicReportingRequest } from '@easyedu/js-lsm-api';
|
|
406
|
+
|
|
407
|
+
async function example() {
|
|
408
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
409
|
+
const api = new ReportingApi();
|
|
410
|
+
|
|
411
|
+
const body = {
|
|
412
|
+
// string
|
|
413
|
+
courseId: courseId_example,
|
|
414
|
+
// string
|
|
415
|
+
moduleId: moduleId_example,
|
|
416
|
+
} satisfies GetModuleInstructorBasicReportingRequest;
|
|
417
|
+
|
|
418
|
+
try {
|
|
419
|
+
const data = await api.getModuleInstructorBasicReporting(body);
|
|
420
|
+
console.log(data);
|
|
421
|
+
} catch (error) {
|
|
422
|
+
console.error(error);
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// Run the test
|
|
427
|
+
example().catch(console.error);
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
### Parameters
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
| Name | Type | Description | Notes |
|
|
434
|
+
|------------- | ------------- | ------------- | -------------|
|
|
435
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
436
|
+
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
437
|
+
|
|
438
|
+
### Return type
|
|
439
|
+
|
|
440
|
+
[**GetModuleInstructorBasicReporting**](GetModuleInstructorBasicReporting.md)
|
|
441
|
+
|
|
442
|
+
### Authorization
|
|
443
|
+
|
|
444
|
+
No authorization required
|
|
445
|
+
|
|
446
|
+
### HTTP request headers
|
|
447
|
+
|
|
448
|
+
- **Content-Type**: Not defined
|
|
449
|
+
- **Accept**: `application/json`
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
### HTTP response details
|
|
453
|
+
| Status code | Description | Response headers |
|
|
454
|
+
|-------------|-------------|------------------|
|
|
455
|
+
| **200** | Successful response | - |
|
|
456
|
+
| **401** | Unauthorized | - |
|
|
457
|
+
| **403** | Forbidden | - |
|
|
458
|
+
| **404** | Course or module not found | - |
|
|
459
|
+
|
|
460
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
## getModuleStudentReporting
|
|
464
|
+
|
|
465
|
+
> GetModuleStudentReporting getModuleStudentReporting(courseId, moduleId, studentId)
|
|
466
|
+
|
|
467
|
+
Get student-specific reporting for a module (can use \'current\' for studentId)
|
|
468
|
+
|
|
469
|
+
### Example
|
|
470
|
+
|
|
471
|
+
```ts
|
|
472
|
+
import {
|
|
473
|
+
Configuration,
|
|
474
|
+
ReportingApi,
|
|
475
|
+
} from '@easyedu/js-lsm-api';
|
|
476
|
+
import type { GetModuleStudentReportingRequest } from '@easyedu/js-lsm-api';
|
|
477
|
+
|
|
478
|
+
async function example() {
|
|
479
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
480
|
+
const api = new ReportingApi();
|
|
481
|
+
|
|
482
|
+
const body = {
|
|
483
|
+
// string
|
|
484
|
+
courseId: courseId_example,
|
|
485
|
+
// string
|
|
486
|
+
moduleId: moduleId_example,
|
|
487
|
+
// string | The student\'s external ID
|
|
488
|
+
studentId: studentId_example,
|
|
489
|
+
} satisfies GetModuleStudentReportingRequest;
|
|
490
|
+
|
|
491
|
+
try {
|
|
492
|
+
const data = await api.getModuleStudentReporting(body);
|
|
493
|
+
console.log(data);
|
|
494
|
+
} catch (error) {
|
|
495
|
+
console.error(error);
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
// Run the test
|
|
500
|
+
example().catch(console.error);
|
|
501
|
+
```
|
|
502
|
+
|
|
503
|
+
### Parameters
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
| Name | Type | Description | Notes |
|
|
507
|
+
|------------- | ------------- | ------------- | -------------|
|
|
508
|
+
| **courseId** | `string` | | [Defaults to `undefined`] |
|
|
509
|
+
| **moduleId** | `string` | | [Defaults to `undefined`] |
|
|
510
|
+
| **studentId** | `string` | The student\'s external ID | [Defaults to `undefined`] |
|
|
511
|
+
|
|
512
|
+
### Return type
|
|
513
|
+
|
|
514
|
+
[**GetModuleStudentReporting**](GetModuleStudentReporting.md)
|
|
515
|
+
|
|
516
|
+
### Authorization
|
|
517
|
+
|
|
518
|
+
No authorization required
|
|
519
|
+
|
|
520
|
+
### HTTP request headers
|
|
521
|
+
|
|
522
|
+
- **Content-Type**: Not defined
|
|
523
|
+
- **Accept**: `application/json`
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
### HTTP response details
|
|
527
|
+
| Status code | Description | Response headers |
|
|
528
|
+
|-------------|-------------|------------------|
|
|
529
|
+
| **200** | Successful response | - |
|
|
530
|
+
| **401** | Unauthorized | - |
|
|
531
|
+
| **403** | Forbidden | - |
|
|
532
|
+
| **404** | Course, module, or user not found | - |
|
|
533
|
+
|
|
534
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
## getPortalBasicReporting
|
|
538
|
+
|
|
539
|
+
> GetPortalBasicReporting getPortalBasicReporting(portalId)
|
|
540
|
+
|
|
541
|
+
Get basic reporting for a portal (can use \'current\' for portalId)
|
|
542
|
+
|
|
543
|
+
### Example
|
|
544
|
+
|
|
545
|
+
```ts
|
|
546
|
+
import {
|
|
547
|
+
Configuration,
|
|
548
|
+
ReportingApi,
|
|
549
|
+
} from '@easyedu/js-lsm-api';
|
|
550
|
+
import type { GetPortalBasicReportingRequest } from '@easyedu/js-lsm-api';
|
|
551
|
+
|
|
552
|
+
async function example() {
|
|
553
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
554
|
+
const api = new ReportingApi();
|
|
555
|
+
|
|
556
|
+
const body = {
|
|
557
|
+
// string
|
|
558
|
+
portalId: portalId_example,
|
|
559
|
+
} satisfies GetPortalBasicReportingRequest;
|
|
560
|
+
|
|
561
|
+
try {
|
|
562
|
+
const data = await api.getPortalBasicReporting(body);
|
|
563
|
+
console.log(data);
|
|
564
|
+
} catch (error) {
|
|
565
|
+
console.error(error);
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
// Run the test
|
|
570
|
+
example().catch(console.error);
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
### Parameters
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
| Name | Type | Description | Notes |
|
|
577
|
+
|------------- | ------------- | ------------- | -------------|
|
|
578
|
+
| **portalId** | `string` | | [Defaults to `undefined`] |
|
|
579
|
+
|
|
580
|
+
### Return type
|
|
581
|
+
|
|
582
|
+
[**GetPortalBasicReporting**](GetPortalBasicReporting.md)
|
|
583
|
+
|
|
584
|
+
### Authorization
|
|
585
|
+
|
|
586
|
+
No authorization required
|
|
587
|
+
|
|
588
|
+
### HTTP request headers
|
|
589
|
+
|
|
590
|
+
- **Content-Type**: Not defined
|
|
591
|
+
- **Accept**: `application/json`
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
### HTTP response details
|
|
595
|
+
| Status code | Description | Response headers |
|
|
596
|
+
|-------------|-------------|------------------|
|
|
597
|
+
| **200** | Successful response | - |
|
|
598
|
+
| **401** | Unauthorized | - |
|
|
599
|
+
| **403** | Forbidden | - |
|
|
600
|
+
| **404** | Portal not found | - |
|
|
601
|
+
|
|
602
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
## getPortalStudentReporting
|
|
606
|
+
|
|
607
|
+
> GetPortalStudentReporting getPortalStudentReporting(portalId, studentId)
|
|
608
|
+
|
|
609
|
+
Get student reporting for a portal (can use \'current\' for portalId and studentId)
|
|
610
|
+
|
|
611
|
+
### Example
|
|
612
|
+
|
|
613
|
+
```ts
|
|
614
|
+
import {
|
|
615
|
+
Configuration,
|
|
616
|
+
ReportingApi,
|
|
617
|
+
} from '@easyedu/js-lsm-api';
|
|
618
|
+
import type { GetPortalStudentReportingRequest } from '@easyedu/js-lsm-api';
|
|
619
|
+
|
|
620
|
+
async function example() {
|
|
621
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
622
|
+
const api = new ReportingApi();
|
|
623
|
+
|
|
624
|
+
const body = {
|
|
625
|
+
// string
|
|
626
|
+
portalId: portalId_example,
|
|
627
|
+
// string
|
|
628
|
+
studentId: studentId_example,
|
|
629
|
+
} satisfies GetPortalStudentReportingRequest;
|
|
630
|
+
|
|
631
|
+
try {
|
|
632
|
+
const data = await api.getPortalStudentReporting(body);
|
|
633
|
+
console.log(data);
|
|
634
|
+
} catch (error) {
|
|
635
|
+
console.error(error);
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// Run the test
|
|
640
|
+
example().catch(console.error);
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
### Parameters
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
| Name | Type | Description | Notes |
|
|
647
|
+
|------------- | ------------- | ------------- | -------------|
|
|
648
|
+
| **portalId** | `string` | | [Defaults to `undefined`] |
|
|
649
|
+
| **studentId** | `string` | | [Defaults to `undefined`] |
|
|
650
|
+
|
|
651
|
+
### Return type
|
|
652
|
+
|
|
653
|
+
[**GetPortalStudentReporting**](GetPortalStudentReporting.md)
|
|
654
|
+
|
|
655
|
+
### Authorization
|
|
656
|
+
|
|
657
|
+
No authorization required
|
|
658
|
+
|
|
659
|
+
### HTTP request headers
|
|
660
|
+
|
|
661
|
+
- **Content-Type**: Not defined
|
|
662
|
+
- **Accept**: `application/json`
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
### HTTP response details
|
|
666
|
+
| Status code | Description | Response headers |
|
|
667
|
+
|-------------|-------------|------------------|
|
|
668
|
+
| **200** | Successful response | - |
|
|
669
|
+
| **401** | Unauthorized | - |
|
|
670
|
+
| **403** | Forbidden | - |
|
|
671
|
+
| **404** | Portal or student not found | - |
|
|
672
|
+
|
|
673
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
674
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# SCORMContent
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`scormVersion` | string
|
|
10
|
+
`launchUrl` | string
|
|
11
|
+
`manifestData` | object
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { SCORMContent } from '@easyedu/js-lsm-api'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"scormVersion": null,
|
|
21
|
+
"launchUrl": null,
|
|
22
|
+
"manifestData": null,
|
|
23
|
+
} satisfies SCORMContent
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as SCORMContent
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|