@easyedu/js-lsm-api 1.30.0 → 1.32.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 +209 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +94 -4
- package/dist/apis/ContentApi.js +292 -20
- 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 +94 -4
- package/dist/esm/apis/ContentApi.js +292 -20
- 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/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 +6 -0
- package/dist/esm/models/index.js +6 -0
- 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/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 +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +5 -1
- package/docs/ContentApi.md +1645 -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 +421 -21
- 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/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 +6 -0
- package/src/runtime.ts +5 -4
package/README.md
CHANGED
|
@@ -1,46 +1,396 @@
|
|
|
1
|
-
|
|
1
|
+
# @easyedu/js-lsm-api@1.32.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
* Node.js
|
|
7
|
-
* Webpack
|
|
8
|
-
* Browserify
|
|
5
|
+
## Usage
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
* ES5 - you must have a Promises/A+ library installed
|
|
12
|
-
* ES6
|
|
7
|
+
First, install the SDK from npm.
|
|
13
8
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install @easyedu/js-lsm-api --save
|
|
11
|
+
```
|
|
17
12
|
|
|
18
|
-
|
|
13
|
+
Next, try it out.
|
|
19
14
|
|
|
20
|
-
### Building
|
|
21
15
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
```ts
|
|
17
|
+
import {
|
|
18
|
+
Configuration,
|
|
19
|
+
ContentApi,
|
|
20
|
+
} from '@easyedu/js-lsm-api';
|
|
21
|
+
import type { CommitScormSessionRequest } from '@easyedu/js-lsm-api';
|
|
22
|
+
|
|
23
|
+
async function example() {
|
|
24
|
+
console.log("🚀 Testing @easyedu/js-lsm-api SDK...");
|
|
25
|
+
const api = new ContentApi();
|
|
26
|
+
|
|
27
|
+
const body = {
|
|
28
|
+
// string | The external_id of the SCORM session
|
|
29
|
+
scormSessionId: scormSessionId_example,
|
|
30
|
+
} satisfies CommitScormSessionRequest;
|
|
31
|
+
|
|
32
|
+
try {
|
|
33
|
+
const data = await api.commitScormSession(body);
|
|
34
|
+
console.log(data);
|
|
35
|
+
} catch (error) {
|
|
36
|
+
console.error(error);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Run the test
|
|
41
|
+
example().catch(console.error);
|
|
26
42
|
```
|
|
27
43
|
|
|
28
|
-
### Publishing
|
|
29
44
|
|
|
30
|
-
|
|
45
|
+
## Documentation
|
|
31
46
|
|
|
32
|
-
###
|
|
47
|
+
### API Endpoints
|
|
33
48
|
|
|
34
|
-
|
|
49
|
+
All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com/stage1*
|
|
35
50
|
|
|
36
|
-
|
|
51
|
+
| Class | Method | HTTP request | Description
|
|
52
|
+
| ----- | ------ | ------------ | -------------
|
|
53
|
+
*ContentApi* | [**commitScormSession**](docs/ContentApi.md#commitscormsession) | **POST** /scorm/sessions/{scormSessionId}/commit | Commit SCORM session data
|
|
54
|
+
*ContentApi* | [**getContent**](docs/ContentApi.md#getcontent) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId} | get content
|
|
55
|
+
*ContentApi* | [**getContentList**](docs/ContentApi.md#getcontentlist) | **GET** /courses/{courseId}/modules/{moduleId}/contents | get content list
|
|
56
|
+
*ContentApi* | [**getContentSession**](docs/ContentApi.md#getcontentsession) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/session | get content session
|
|
57
|
+
*ContentApi* | [**getContentSessionDetail**](docs/ContentApi.md#getcontentsessiondetail) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/sessions/{sessionId} | Get content session details (instructor only)
|
|
58
|
+
*ContentApi* | [**getContentVersion**](docs/ContentApi.md#getcontentversion) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions/{versionId} | Get details of a specific content version
|
|
59
|
+
*ContentApi* | [**getContentVersionList**](docs/ContentApi.md#getcontentversionlist) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions | Get all versions of a content
|
|
60
|
+
*ContentApi* | [**getScormApiLogs**](docs/ContentApi.md#getscormapilogs) | **GET** /scorm/sessions/{sessionId}/api-logs | Get SCORM API call logs (instructor only)
|
|
61
|
+
*ContentApi* | [**getScormPackage**](docs/ContentApi.md#getscormpackage) | **GET** /scorm/packages/{packageId} | Get details of a SCORM package
|
|
62
|
+
*ContentApi* | [**getScormSessionData**](docs/ContentApi.md#getscormsessiondata) | **GET** /scorm/sessions/{scormSessionId}/session-data | Get SCORM session data (instructor only)
|
|
63
|
+
*ContentApi* | [**getScormValue**](docs/ContentApi.md#getscormvalue) | **GET** /scorm/sessions/{scormSessionId}/get-value | Get a SCORM CMI data element value
|
|
64
|
+
*ContentApi* | [**initializeScormSession**](docs/ContentApi.md#initializescormsession) | **POST** /scorm/sessions/{scormSessionId}/initialize | Initialize a SCORM session
|
|
65
|
+
*ContentApi* | [**listContentSessions**](docs/ContentApi.md#listcontentsessions) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/sessions | List content sessions (instructor only)
|
|
66
|
+
*ContentApi* | [**postContentProcess**](docs/ContentApi.md#postcontentprocess) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/process | Post a new content process
|
|
67
|
+
*ContentApi* | [**postContentQuiz**](docs/ContentApi.md#postcontentquiz) | **POST** /courses/{courseId}/modules/{moduleId}/contents/quiz | Create a new quiz content
|
|
68
|
+
*ContentApi* | [**postContentSession**](docs/ContentApi.md#postcontentsession) | **POST** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/session | Post a new content session
|
|
69
|
+
*ContentApi* | [**postContentUpload**](docs/ContentApi.md#postcontentupload) | **POST** /courses/{courseId}/modules/{moduleId}/contents/upload | Post a new content upload
|
|
70
|
+
*ContentApi* | [**putContent**](docs/ContentApi.md#putcontent) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/{contentId} | Update content by id
|
|
71
|
+
*ContentApi* | [**putContentVersion**](docs/ContentApi.md#putcontentversion) | **PUT** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/versions/{versionId} | Update a content version
|
|
72
|
+
*ContentApi* | [**setScormValue**](docs/ContentApi.md#setscormvalue) | **POST** /scorm/sessions/{scormSessionId}/set-value | Set a SCORM CMI data element value
|
|
73
|
+
*ContentApi* | [**terminateScormSession**](docs/ContentApi.md#terminatescormsession) | **POST** /scorm/sessions/{scormSessionId}/terminate | Terminate a SCORM session
|
|
74
|
+
*ContentApi* | [**verifyScormManifest**](docs/ContentApi.md#verifyscormmanifest) | **POST** /scorm/tools/verify-manifest | Parse and verify a SCORM manifest
|
|
75
|
+
*CourseApi* | [**getCourse**](docs/CourseApi.md#getcourse) | **GET** /courses/{courseId} | get course
|
|
76
|
+
*CourseApi* | [**getCourseEnrollment**](docs/CourseApi.md#getcourseenrollment) | **GET** /courses/{courseId}/enrollments/{enrollmentId} | Get a specific course enrollment
|
|
77
|
+
*CourseApi* | [**getCourseEnrollments**](docs/CourseApi.md#getcourseenrollments) | **GET** /courses/{courseId}/enrollments | Get course enrollments
|
|
78
|
+
*CourseApi* | [**getCourseExport**](docs/CourseApi.md#getcourseexport) | **GET** /courses/{courseId}/exports/{exportId} | Get details of a specific SCORM export
|
|
79
|
+
*CourseApi* | [**getCourseExports**](docs/CourseApi.md#getcourseexports) | **GET** /courses/{courseId}/exports | List all SCORM exports for a course
|
|
80
|
+
*CourseApi* | [**getCourseList**](docs/CourseApi.md#getcourselist) | **GET** /courses | get course list
|
|
81
|
+
*CourseApi* | [**getCourseReportingBasic**](docs/CourseApi.md#getcoursereportingbasic) | **GET** /courses/{courseId}/reporting/basic | Get basic course reporting data
|
|
82
|
+
*CourseApi* | [**postCourse**](docs/CourseApi.md#postcourse) | **POST** /courses | Post a new course
|
|
83
|
+
*CourseApi* | [**postCourseEnrollment**](docs/CourseApi.md#postcourseenrollment) | **POST** /courses/{courseId}/enrollments | Create a new course enrollment
|
|
84
|
+
*CourseApi* | [**postCourseExport**](docs/CourseApi.md#postcourseexport) | **POST** /courses/{courseId}/exports | Create a new SCORM export for a course
|
|
85
|
+
*CourseApi* | [**putCourse**](docs/CourseApi.md#putcourse) | **PUT** /courses/{courseId} | Update a course by id
|
|
86
|
+
*CourseApi* | [**putCourseEnrollment**](docs/CourseApi.md#putcourseenrollment) | **PUT** /courses/{courseId}/enrollments/{enrollmentId} | Update a course enrollment
|
|
87
|
+
*ModuleApi* | [**getModule**](docs/ModuleApi.md#getmodule) | **GET** /courses/{courseId}/modules/{moduleId} | get a course module
|
|
88
|
+
*ModuleApi* | [**getModuleList**](docs/ModuleApi.md#getmodulelist) | **GET** /courses/{courseId}/modules | get module list
|
|
89
|
+
*ModuleApi* | [**postModule**](docs/ModuleApi.md#postmodule) | **POST** /courses/{courseId}/modules | Post a new module
|
|
90
|
+
*ModuleApi* | [**putModule**](docs/ModuleApi.md#putmodule) | **PUT** /courses/{courseId}/modules/{moduleId} | Update a module by id
|
|
91
|
+
*OtherApi* | [**getHealth**](docs/OtherApi.md#gethealth) | **GET** /healthcheck | Health check endpoint
|
|
92
|
+
*PortalApi* | [**getPortalById**](docs/PortalApi.md#getportalbyid) | **GET** /portals/{portalId} | Get a portal by id (can use \'current\' to get the current users selected portal)
|
|
93
|
+
*PortalApi* | [**getPortalList**](docs/PortalApi.md#getportallist) | **GET** /portals | Get all portals a user has access to
|
|
94
|
+
*PortalApi* | [**getPortalUsers**](docs/PortalApi.md#getportalusers) | **GET** /portals/{portalId}/users | Get all users for a portal with optional role filtering
|
|
95
|
+
*PortalApi* | [**inviteUserToPortal**](docs/PortalApi.md#inviteusertoportal) | **POST** /portals/{portalId}/invite | Invite a new user to a portal
|
|
96
|
+
*PortalApi* | [**postPortal**](docs/PortalApi.md#postportal) | **POST** /portals | Create a new portal as a child of the current selected portal
|
|
97
|
+
*PortalApi* | [**putPortalBranding**](docs/PortalApi.md#putportalbranding) | **PUT** /portals/{portalId} | Update portal branding (name, background color, text color)
|
|
98
|
+
*PortalApi* | [**updateSelectedPortal**](docs/PortalApi.md#updateselectedportal) | **PUT** /portals/{portalId}/selected | Update the users current selected portal
|
|
99
|
+
*QuestionApi* | [**deleteQuestion**](docs/QuestionApi.md#deletequestion) | **DELETE** /questions/{questionId} | Delete a question by ID
|
|
100
|
+
*QuestionApi* | [**getQuestion**](docs/QuestionApi.md#getquestion) | **GET** /questions/{questionId} | Get a question by ID
|
|
101
|
+
*QuestionApi* | [**getQuestionList**](docs/QuestionApi.md#getquestionlist) | **GET** /questions | Get list of questions with filtering and pagination
|
|
102
|
+
*QuestionApi* | [**postQuestion**](docs/QuestionApi.md#postquestion) | **POST** /questions | Create a new question
|
|
103
|
+
*QuestionApi* | [**putQuestion**](docs/QuestionApi.md#putquestion) | **PUT** /questions/{questionId} | Update a question by ID
|
|
104
|
+
*QuizApi* | [**addQuizCriteriaQuestionSelection**](docs/QuizApi.md#addquizcriteriaquestionselection) | **POST** /quizzes/{quizId}/criteria-question-selection | Add question selection criteria
|
|
105
|
+
*QuizApi* | [**addQuizManualQuestionSelection**](docs/QuizApi.md#addquizmanualquestionselection) | **POST** /quizzes/{quizId}/manual-question-selection | Add questions to quiz manually
|
|
106
|
+
*QuizApi* | [**addQuizQuestions**](docs/QuizApi.md#addquizquestions) | **POST** /quizzes/{quizId}/questions | Add questions to quiz (manual selection)
|
|
107
|
+
*QuizApi* | [**createQuiz**](docs/QuizApi.md#createquiz) | **POST** /quizzes | Create a new quiz configuration
|
|
108
|
+
*QuizApi* | [**deleteQuiz**](docs/QuizApi.md#deletequiz) | **DELETE** /quizzes/{quizId} | Delete quiz configuration
|
|
109
|
+
*QuizApi* | [**deleteQuizCriteriaQuestionSelection**](docs/QuizApi.md#deletequizcriteriaquestionselection) | **DELETE** /quizzes/{quizId}/criteria-question-selection/{criteriaId} | Delete question selection criteria
|
|
110
|
+
*QuizApi* | [**deleteQuizManualQuestionSelection**](docs/QuizApi.md#deletequizmanualquestionselection) | **DELETE** /quizzes/{quizId}/manual-question-selection/{questionId} | Remove manually selected question from quiz
|
|
111
|
+
*QuizApi* | [**getQuiz**](docs/QuizApi.md#getquiz) | **GET** /quizzes/{quizId} | Get quiz configuration by ID
|
|
112
|
+
*QuizApi* | [**getQuizAttempt**](docs/QuizApi.md#getquizattempt) | **GET** /quiz-attempts/{attemptId} | Get current quiz attempt status and questions
|
|
113
|
+
*QuizApi* | [**getQuizAttemptAnalytics**](docs/QuizApi.md#getquizattemptanalytics) | **GET** /quiz-attempts/{attemptId}/analytics | Get detailed analytics for quiz attempt (admin)
|
|
114
|
+
*QuizApi* | [**getQuizAttemptResults**](docs/QuizApi.md#getquizattemptresults) | **GET** /quiz-attempts/{attemptId}/results | Get quiz attempt results
|
|
115
|
+
*QuizApi* | [**getQuizAttempts**](docs/QuizApi.md#getquizattempts) | **GET** /quizzes/{quizId}/attempts | List attempts for this quiz (admin)
|
|
116
|
+
*QuizApi* | [**getQuizCriteriaQuestionSelection**](docs/QuizApi.md#getquizcriteriaquestionselection) | **GET** /quizzes/{quizId}/criteria-question-selection/{criteriaId} | Get single question selection criteria
|
|
117
|
+
*QuizApi* | [**getQuizCriteriaQuestionSelectionList**](docs/QuizApi.md#getquizcriteriaquestionselectionlist) | **GET** /quizzes/{quizId}/criteria-question-selection | Get quiz question selection criteria list
|
|
118
|
+
*QuizApi* | [**getQuizList**](docs/QuizApi.md#getquizlist) | **GET** /quizzes | List quiz configurations
|
|
119
|
+
*QuizApi* | [**getQuizManualQuestionSelection**](docs/QuizApi.md#getquizmanualquestionselection) | **GET** /quizzes/{quizId}/manual-question-selection/{questionId} | Get single manually selected question
|
|
120
|
+
*QuizApi* | [**getQuizManualQuestionSelectionList**](docs/QuizApi.md#getquizmanualquestionselectionlist) | **GET** /quizzes/{quizId}/manual-question-selection | Get manually selected questions for quiz
|
|
121
|
+
*QuizApi* | [**getQuizQuestions**](docs/QuizApi.md#getquizquestions) | **GET** /quizzes/{quizId}/questions | Get quiz questions (paginated)
|
|
122
|
+
*QuizApi* | [**getUserQuizAttempts**](docs/QuizApi.md#getuserquizattempts) | **GET** /users/{userId}/quiz-attempts | Get user\'s quiz attempts across all quizzes
|
|
123
|
+
*QuizApi* | [**removeQuizQuestion**](docs/QuizApi.md#removequizquestion) | **DELETE** /quizzes/{quizId}/questions/{questionId} | Remove question from quiz
|
|
124
|
+
*QuizApi* | [**saveQuizAnswer**](docs/QuizApi.md#savequizanswer) | **PUT** /quiz-attempts/{attemptId}/answers/{questionId} | Save answer for a specific question
|
|
125
|
+
*QuizApi* | [**startQuizAttempt**](docs/QuizApi.md#startquizattempt) | **POST** /quizzes/{quizId}/attempts | Start a new quiz attempt
|
|
126
|
+
*QuizApi* | [**submitQuizAttempt**](docs/QuizApi.md#submitquizattempt) | **POST** /quiz-attempts/{attemptId}/submit | Submit quiz attempt for final scoring
|
|
127
|
+
*QuizApi* | [**updateQuiz**](docs/QuizApi.md#updatequiz) | **PUT** /quizzes/{quizId} | Update quiz configuration
|
|
128
|
+
*QuizApi* | [**updateQuizQuestions**](docs/QuizApi.md#updatequizquestions) | **PUT** /quizzes/{quizId}/questions | Update quiz question selection
|
|
129
|
+
*ReportingApi* | [**getContentGradeDetail**](docs/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)
|
|
130
|
+
*ReportingApi* | [**getContentGrades**](docs/ReportingApi.md#getcontentgrades) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades | Get grades for all students enrolled in course for specific content
|
|
131
|
+
*ReportingApi* | [**getContentInstructorBasicReporting**](docs/ReportingApi.md#getcontentinstructorbasicreporting) | **GET** /courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic | Get basic instructor reporting for content
|
|
132
|
+
*ReportingApi* | [**getCourseInstructorReportingBasic**](docs/ReportingApi.md#getcourseinstructorreportingbasic) | **GET** /courses/{courseId}/reporting/instructor/basic | Get basic course reporting data for instructors
|
|
133
|
+
*ReportingApi* | [**getCourseStudentReporting**](docs/ReportingApi.md#getcoursestudentreporting) | **GET** /courses/{courseId}/reporting/students/{studentId} | Get student-specific reporting for a course (can use \'current\' for studentId)
|
|
134
|
+
*ReportingApi* | [**getModuleInstructorBasicReporting**](docs/ReportingApi.md#getmoduleinstructorbasicreporting) | **GET** /courses/{courseId}/modules/{moduleId}/reporting/instructor/basic | Get basic instructor reporting for a module
|
|
135
|
+
*ReportingApi* | [**getModuleStudentReporting**](docs/ReportingApi.md#getmodulestudentreporting) | **GET** /courses/{courseId}/modules/{moduleId}/reporting/students/{studentId} | Get student-specific reporting for a module (can use \'current\' for studentId)
|
|
136
|
+
*ReportingApi* | [**getPortalBasicReporting**](docs/ReportingApi.md#getportalbasicreporting) | **GET** /portals/{portalId}/reporting/basic | Get basic reporting for a portal (can use \'current\' for portalId)
|
|
137
|
+
*ReportingApi* | [**getPortalStudentReporting**](docs/ReportingApi.md#getportalstudentreporting) | **GET** /portals/{portalId}/reporting/students/{studentId} | Get student reporting for a portal (can use \'current\' for portalId and studentId)
|
|
138
|
+
*UserApi* | [**getAuthCheck**](docs/UserApi.md#getauthcheck) | **GET** /auth/check | Check if a user is logged in
|
|
139
|
+
*UserApi* | [**getUser**](docs/UserApi.md#getuser) | **GET** /users/{userId} | Get a user by id
|
|
140
|
+
*UserApi* | [**postLogin**](docs/UserApi.md#postlogin) | **POST** /auth/login | Post a new login
|
|
141
|
+
*UserApi* | [**postLogout**](docs/UserApi.md#postlogout) | **POST** /auth/logout | Logout a user
|
|
142
|
+
*UserApi* | [**putUser**](docs/UserApi.md#putuser) | **PUT** /users/{userId} | Update a user by id
|
|
143
|
+
*UserApi* | [**resetPassword**](docs/UserApi.md#resetpassword) | **POST** /auth/reset-password | Reset a users password
|
|
144
|
+
*UserApi* | [**sendResetPassword**](docs/UserApi.md#sendresetpassword) | **POST** /auth/send-reset-password | Send a reset password email
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Models
|
|
148
|
+
|
|
149
|
+
- [CriteriaBasedSelection](docs/CriteriaBasedSelection.md)
|
|
150
|
+
- [CriteriaBasedSelectionCriteria](docs/CriteriaBasedSelectionCriteria.md)
|
|
151
|
+
- [CriteriaBasedSelectionDistribution](docs/CriteriaBasedSelectionDistribution.md)
|
|
152
|
+
- [FillInBlank](docs/FillInBlank.md)
|
|
153
|
+
- [FillInBlank1](docs/FillInBlank1.md)
|
|
154
|
+
- [GetContent](docs/GetContent.md)
|
|
155
|
+
- [GetContentContentData](docs/GetContentContentData.md)
|
|
156
|
+
- [GetContentGradeDetail](docs/GetContentGradeDetail.md)
|
|
157
|
+
- [GetContentGrades](docs/GetContentGrades.md)
|
|
158
|
+
- [GetContentGradesItemsInner](docs/GetContentGradesItemsInner.md)
|
|
159
|
+
- [GetContentGradesItemsInnerUser](docs/GetContentGradesItemsInnerUser.md)
|
|
160
|
+
- [GetContentInstructorBasicReporting](docs/GetContentInstructorBasicReporting.md)
|
|
161
|
+
- [GetContentInstructorBasicReportingContentInfo](docs/GetContentInstructorBasicReportingContentInfo.md)
|
|
162
|
+
- [GetContentInstructorBasicReportingEngagement](docs/GetContentInstructorBasicReportingEngagement.md)
|
|
163
|
+
- [GetContentInstructorBasicReportingPerformance](docs/GetContentInstructorBasicReportingPerformance.md)
|
|
164
|
+
- [GetContentList](docs/GetContentList.md)
|
|
165
|
+
- [GetContentSession](docs/GetContentSession.md)
|
|
166
|
+
- [GetContentSessionDetail](docs/GetContentSessionDetail.md)
|
|
167
|
+
- [GetContentSessionDetailScormSessionDataInner](docs/GetContentSessionDetailScormSessionDataInner.md)
|
|
168
|
+
- [GetContentSessionDetailUserData](docs/GetContentSessionDetailUserData.md)
|
|
169
|
+
- [GetContentSessionList](docs/GetContentSessionList.md)
|
|
170
|
+
- [GetContentSessionListItem](docs/GetContentSessionListItem.md)
|
|
171
|
+
- [GetContentSessionListItemScormSessionData](docs/GetContentSessionListItemScormSessionData.md)
|
|
172
|
+
- [GetContentUpload](docs/GetContentUpload.md)
|
|
173
|
+
- [GetContentVersion](docs/GetContentVersion.md)
|
|
174
|
+
- [GetContentVersionList](docs/GetContentVersionList.md)
|
|
175
|
+
- [GetContentVersionListItemsInner](docs/GetContentVersionListItemsInner.md)
|
|
176
|
+
- [GetContentVersionSandbox](docs/GetContentVersionSandbox.md)
|
|
177
|
+
- [GetContentVersionScormData](docs/GetContentVersionScormData.md)
|
|
178
|
+
- [GetCourse](docs/GetCourse.md)
|
|
179
|
+
- [GetCourseEnrollment](docs/GetCourseEnrollment.md)
|
|
180
|
+
- [GetCourseEnrollmentList](docs/GetCourseEnrollmentList.md)
|
|
181
|
+
- [GetCourseEnrollmentListItem](docs/GetCourseEnrollmentListItem.md)
|
|
182
|
+
- [GetCourseExport](docs/GetCourseExport.md)
|
|
183
|
+
- [GetCourseExportList](docs/GetCourseExportList.md)
|
|
184
|
+
- [GetCourseList](docs/GetCourseList.md)
|
|
185
|
+
- [GetCourseReportingBasic](docs/GetCourseReportingBasic.md)
|
|
186
|
+
- [GetCourseStudentReporting](docs/GetCourseStudentReporting.md)
|
|
187
|
+
- [GetCourseStudentReportingCourseInfo](docs/GetCourseStudentReportingCourseInfo.md)
|
|
188
|
+
- [GetCourseStudentReportingEngagement](docs/GetCourseStudentReportingEngagement.md)
|
|
189
|
+
- [GetCourseStudentReportingPerformance](docs/GetCourseStudentReportingPerformance.md)
|
|
190
|
+
- [GetManualQuestionSelectionItem](docs/GetManualQuestionSelectionItem.md)
|
|
191
|
+
- [GetManualQuestionSelectionList](docs/GetManualQuestionSelectionList.md)
|
|
192
|
+
- [GetModule](docs/GetModule.md)
|
|
193
|
+
- [GetModuleInstructorBasicReporting](docs/GetModuleInstructorBasicReporting.md)
|
|
194
|
+
- [GetModuleInstructorBasicReportingEngagement](docs/GetModuleInstructorBasicReportingEngagement.md)
|
|
195
|
+
- [GetModuleInstructorBasicReportingModuleInfo](docs/GetModuleInstructorBasicReportingModuleInfo.md)
|
|
196
|
+
- [GetModuleInstructorBasicReportingPerformance](docs/GetModuleInstructorBasicReportingPerformance.md)
|
|
197
|
+
- [GetModuleList](docs/GetModuleList.md)
|
|
198
|
+
- [GetModuleStudentReporting](docs/GetModuleStudentReporting.md)
|
|
199
|
+
- [GetModuleStudentReportingAccess](docs/GetModuleStudentReportingAccess.md)
|
|
200
|
+
- [GetModuleStudentReportingProgress](docs/GetModuleStudentReportingProgress.md)
|
|
201
|
+
- [GetPortal](docs/GetPortal.md)
|
|
202
|
+
- [GetPortalBasicReporting](docs/GetPortalBasicReporting.md)
|
|
203
|
+
- [GetPortalBasicReportingCertificates](docs/GetPortalBasicReportingCertificates.md)
|
|
204
|
+
- [GetPortalBasicReportingPortalInfo](docs/GetPortalBasicReportingPortalInfo.md)
|
|
205
|
+
- [GetPortalList](docs/GetPortalList.md)
|
|
206
|
+
- [GetPortalStudentReporting](docs/GetPortalStudentReporting.md)
|
|
207
|
+
- [GetPortalStudentReportingCertificates](docs/GetPortalStudentReportingCertificates.md)
|
|
208
|
+
- [GetPortalStudentReportingPortalInfo](docs/GetPortalStudentReportingPortalInfo.md)
|
|
209
|
+
- [GetPortalUser](docs/GetPortalUser.md)
|
|
210
|
+
- [GetPortalUserList](docs/GetPortalUserList.md)
|
|
211
|
+
- [GetQuestion](docs/GetQuestion.md)
|
|
212
|
+
- [GetQuestionAnswerChoicesInner](docs/GetQuestionAnswerChoicesInner.md)
|
|
213
|
+
- [GetQuestionList](docs/GetQuestionList.md)
|
|
214
|
+
- [GetQuestionListFilters](docs/GetQuestionListFilters.md)
|
|
215
|
+
- [GetQuiz](docs/GetQuiz.md)
|
|
216
|
+
- [GetQuizAttempt](docs/GetQuizAttempt.md)
|
|
217
|
+
- [GetQuizAttemptAnalytics](docs/GetQuizAttemptAnalytics.md)
|
|
218
|
+
- [GetQuizAttemptAnalyticsBasicInfo](docs/GetQuizAttemptAnalyticsBasicInfo.md)
|
|
219
|
+
- [GetQuizAttemptAnalyticsPerformanceBreakdown](docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md)
|
|
220
|
+
- [GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner](docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md)
|
|
221
|
+
- [GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner](docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md)
|
|
222
|
+
- [GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner](docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md)
|
|
223
|
+
- [GetQuizAttemptAnalyticsQuestionAnalysisInner](docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md)
|
|
224
|
+
- [GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer](docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md)
|
|
225
|
+
- [GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer](docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md)
|
|
226
|
+
- [GetQuizAttemptAnalyticsScoring](docs/GetQuizAttemptAnalyticsScoring.md)
|
|
227
|
+
- [GetQuizAttemptAttempt](docs/GetQuizAttemptAttempt.md)
|
|
228
|
+
- [GetQuizAttemptList](docs/GetQuizAttemptList.md)
|
|
229
|
+
- [GetQuizAttemptListAllOfAttempts](docs/GetQuizAttemptListAllOfAttempts.md)
|
|
230
|
+
- [GetQuizAttemptListAllOfFilters](docs/GetQuizAttemptListAllOfFilters.md)
|
|
231
|
+
- [GetQuizAttemptListAllOfFiltersDateRange](docs/GetQuizAttemptListAllOfFiltersDateRange.md)
|
|
232
|
+
- [GetQuizAttemptListAllOfSummary](docs/GetQuizAttemptListAllOfSummary.md)
|
|
233
|
+
- [GetQuizAttemptQuestionsInner](docs/GetQuizAttemptQuestionsInner.md)
|
|
234
|
+
- [GetQuizAttemptQuestionsInnerAnswerChoicesInner](docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md)
|
|
235
|
+
- [GetQuizAttemptQuestionsInnerCurrentAnswer](docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md)
|
|
236
|
+
- [GetQuizAttemptQuizSettings](docs/GetQuizAttemptQuizSettings.md)
|
|
237
|
+
- [GetQuizCriteria](docs/GetQuizCriteria.md)
|
|
238
|
+
- [GetQuizCriteriaEstimatedQuestions](docs/GetQuizCriteriaEstimatedQuestions.md)
|
|
239
|
+
- [GetQuizCriteriaItem](docs/GetQuizCriteriaItem.md)
|
|
240
|
+
- [GetQuizCriteriaList](docs/GetQuizCriteriaList.md)
|
|
241
|
+
- [GetQuizCriteriaListItemsInner](docs/GetQuizCriteriaListItemsInner.md)
|
|
242
|
+
- [GetQuizList](docs/GetQuizList.md)
|
|
243
|
+
- [GetQuizListAllOfFilters](docs/GetQuizListAllOfFilters.md)
|
|
244
|
+
- [GetQuizListAllOfQuizzes](docs/GetQuizListAllOfQuizzes.md)
|
|
245
|
+
- [GetQuizListAllOfStatistics](docs/GetQuizListAllOfStatistics.md)
|
|
246
|
+
- [GetQuizQuestions](docs/GetQuizQuestions.md)
|
|
247
|
+
- [GetQuizQuestionsItemsInner](docs/GetQuizQuestionsItemsInner.md)
|
|
248
|
+
- [GetQuizQuestionsItemsInnerQuestionDetails](docs/GetQuizQuestionsItemsInnerQuestionDetails.md)
|
|
249
|
+
- [GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner](docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md)
|
|
250
|
+
- [GetQuizResults](docs/GetQuizResults.md)
|
|
251
|
+
- [GetQuizResultsFeedback](docs/GetQuizResultsFeedback.md)
|
|
252
|
+
- [GetQuizResultsFeedbackDifficultyPerformanceInner](docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md)
|
|
253
|
+
- [GetQuizResultsFeedbackTopicPerformanceInner](docs/GetQuizResultsFeedbackTopicPerformanceInner.md)
|
|
254
|
+
- [GetQuizResultsQuestionsInner](docs/GetQuizResultsQuestionsInner.md)
|
|
255
|
+
- [GetQuizResultsQuestionsInnerAnswerChoicesInner](docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md)
|
|
256
|
+
- [GetQuizResultsQuestionsInnerStudentAnswer](docs/GetQuizResultsQuestionsInnerStudentAnswer.md)
|
|
257
|
+
- [GetQuizResultsScore](docs/GetQuizResultsScore.md)
|
|
258
|
+
- [GetQuizResultsTiming](docs/GetQuizResultsTiming.md)
|
|
259
|
+
- [GetQuizStatistics](docs/GetQuizStatistics.md)
|
|
260
|
+
- [GetScormApiLogItem](docs/GetScormApiLogItem.md)
|
|
261
|
+
- [GetScormApiLogs](docs/GetScormApiLogs.md)
|
|
262
|
+
- [GetScormPackage](docs/GetScormPackage.md)
|
|
263
|
+
- [GetScormPackagePackageInfo](docs/GetScormPackagePackageInfo.md)
|
|
264
|
+
- [GetScormSessionData](docs/GetScormSessionData.md)
|
|
265
|
+
- [GetScormSessionDataActivity](docs/GetScormSessionDataActivity.md)
|
|
266
|
+
- [GetUser](docs/GetUser.md)
|
|
267
|
+
- [GetUserQuizAttempts](docs/GetUserQuizAttempts.md)
|
|
268
|
+
- [GetUserQuizAttemptsAllOfAttempts](docs/GetUserQuizAttemptsAllOfAttempts.md)
|
|
269
|
+
- [GetUserQuizAttemptsAllOfFilters](docs/GetUserQuizAttemptsAllOfFilters.md)
|
|
270
|
+
- [GetUserQuizAttemptsAllOfSummary](docs/GetUserQuizAttemptsAllOfSummary.md)
|
|
271
|
+
- [LoginRes](docs/LoginRes.md)
|
|
272
|
+
- [LoginResAuthData](docs/LoginResAuthData.md)
|
|
273
|
+
- [LoginResUserData](docs/LoginResUserData.md)
|
|
274
|
+
- [LoginResUserDataSelectedPortal](docs/LoginResUserDataSelectedPortal.md)
|
|
275
|
+
- [ManualSelection](docs/ManualSelection.md)
|
|
276
|
+
- [MediaContent](docs/MediaContent.md)
|
|
277
|
+
- [MultipleAnswer](docs/MultipleAnswer.md)
|
|
278
|
+
- [MultipleAnswer1](docs/MultipleAnswer1.md)
|
|
279
|
+
- [NoAnswer](docs/NoAnswer.md)
|
|
280
|
+
- [Paginated](docs/Paginated.md)
|
|
281
|
+
- [PostContentQuiz](docs/PostContentQuiz.md)
|
|
282
|
+
- [PostContentQuizAssignment](docs/PostContentQuizAssignment.md)
|
|
283
|
+
- [PostContentQuizQuestionSelection](docs/PostContentQuizQuestionSelection.md)
|
|
284
|
+
- [PostContentQuizSettings](docs/PostContentQuizSettings.md)
|
|
285
|
+
- [PostContentSession](docs/PostContentSession.md)
|
|
286
|
+
- [PostContentUpload](docs/PostContentUpload.md)
|
|
287
|
+
- [PostCourse](docs/PostCourse.md)
|
|
288
|
+
- [PostCourseEnrollment](docs/PostCourseEnrollment.md)
|
|
289
|
+
- [PostCourseExport](docs/PostCourseExport.md)
|
|
290
|
+
- [PostLogin](docs/PostLogin.md)
|
|
291
|
+
- [PostManualQuestionSelection](docs/PostManualQuestionSelection.md)
|
|
292
|
+
- [PostModule](docs/PostModule.md)
|
|
293
|
+
- [PostPortal](docs/PostPortal.md)
|
|
294
|
+
- [PostPortalInvite](docs/PostPortalInvite.md)
|
|
295
|
+
- [PostQuestion](docs/PostQuestion.md)
|
|
296
|
+
- [PostQuestionAnswerChoicesInner](docs/PostQuestionAnswerChoicesInner.md)
|
|
297
|
+
- [PostQuiz](docs/PostQuiz.md)
|
|
298
|
+
- [PostQuizAttempt](docs/PostQuizAttempt.md)
|
|
299
|
+
- [PostQuizAttemptAttempt](docs/PostQuizAttemptAttempt.md)
|
|
300
|
+
- [PostQuizAttemptQuestionsInner](docs/PostQuizAttemptQuestionsInner.md)
|
|
301
|
+
- [PostQuizAttemptQuestionsInnerAnswerChoicesInner](docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md)
|
|
302
|
+
- [PostQuizAttemptQuizSettings](docs/PostQuizAttemptQuizSettings.md)
|
|
303
|
+
- [PostQuizAttemptSubmit](docs/PostQuizAttemptSubmit.md)
|
|
304
|
+
- [PostQuizAttemptSubmitFinalAnswersInner](docs/PostQuizAttemptSubmitFinalAnswersInner.md)
|
|
305
|
+
- [PostQuizAttemptSubmitFinalAnswersInnerAnswer](docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md)
|
|
306
|
+
- [PostQuizCriteria](docs/PostQuizCriteria.md)
|
|
307
|
+
- [PostQuizCriteriaCriteriaInner](docs/PostQuizCriteriaCriteriaInner.md)
|
|
308
|
+
- [PostQuizQuestions](docs/PostQuizQuestions.md)
|
|
309
|
+
- [PostQuizQuestionsQuestionsInner](docs/PostQuizQuestionsQuestionsInner.md)
|
|
310
|
+
- [PostQuizSettings](docs/PostQuizSettings.md)
|
|
311
|
+
- [PostResetPassword](docs/PostResetPassword.md)
|
|
312
|
+
- [PostSendResetPassword](docs/PostSendResetPassword.md)
|
|
313
|
+
- [PostVerifyManifest](docs/PostVerifyManifest.md)
|
|
314
|
+
- [PostVerifyManifestItemsInner](docs/PostVerifyManifestItemsInner.md)
|
|
315
|
+
- [PostVerifyManifestResourcesInner](docs/PostVerifyManifestResourcesInner.md)
|
|
316
|
+
- [PutContent](docs/PutContent.md)
|
|
317
|
+
- [PutContentVersion](docs/PutContentVersion.md)
|
|
318
|
+
- [PutCourse](docs/PutCourse.md)
|
|
319
|
+
- [PutCourseEnrollment](docs/PutCourseEnrollment.md)
|
|
320
|
+
- [PutModule](docs/PutModule.md)
|
|
321
|
+
- [PutPortalBranding](docs/PutPortalBranding.md)
|
|
322
|
+
- [PutQuestion](docs/PutQuestion.md)
|
|
323
|
+
- [PutQuestionAnswerChoicesInner](docs/PutQuestionAnswerChoicesInner.md)
|
|
324
|
+
- [PutQuiz](docs/PutQuiz.md)
|
|
325
|
+
- [PutQuizAnswer](docs/PutQuizAnswer.md)
|
|
326
|
+
- [PutQuizAnswerAnswer](docs/PutQuizAnswerAnswer.md)
|
|
327
|
+
- [PutQuizSettings](docs/PutQuizSettings.md)
|
|
328
|
+
- [PutUser](docs/PutUser.md)
|
|
329
|
+
- [QuizContent](docs/QuizContent.md)
|
|
330
|
+
- [QuizContentAssignment](docs/QuizContentAssignment.md)
|
|
331
|
+
- [QuizContentSettings](docs/QuizContentSettings.md)
|
|
332
|
+
- [SCORMContent](docs/SCORMContent.md)
|
|
333
|
+
- [ScormGetValueResponse](docs/ScormGetValueResponse.md)
|
|
334
|
+
- [ScormSessionData](docs/ScormSessionData.md)
|
|
335
|
+
- [ScormSessionDataProgress](docs/ScormSessionDataProgress.md)
|
|
336
|
+
- [ScormSessionDataScore](docs/ScormSessionDataScore.md)
|
|
337
|
+
- [ScormSessionDataSession](docs/ScormSessionDataSession.md)
|
|
338
|
+
- [ScormSessionDataStatus](docs/ScormSessionDataStatus.md)
|
|
339
|
+
- [ScormSessionDataTime](docs/ScormSessionDataTime.md)
|
|
340
|
+
- [ScormSetValueRequest](docs/ScormSetValueRequest.md)
|
|
341
|
+
- [ScormSetValueResponse](docs/ScormSetValueResponse.md)
|
|
342
|
+
- [SingleAnswer](docs/SingleAnswer.md)
|
|
343
|
+
|
|
344
|
+
### Authorization
|
|
345
|
+
|
|
346
|
+
Endpoints do not require authorization.
|
|
37
347
|
|
|
38
|
-
```
|
|
39
|
-
npm install @easyedu/js-lsm-api@1.30.0 --save
|
|
40
|
-
```
|
|
41
348
|
|
|
42
|
-
|
|
349
|
+
## About
|
|
43
350
|
|
|
351
|
+
This TypeScript SDK client supports the [Fetch API](https://fetch.spec.whatwg.org/)
|
|
352
|
+
and is automatically generated by the
|
|
353
|
+
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
354
|
+
|
|
355
|
+
- API version: `1.0.0`
|
|
356
|
+
- Package version: `1.32.0`
|
|
357
|
+
- Generator version: `7.17.0`
|
|
358
|
+
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
359
|
+
|
|
360
|
+
The generated npm module supports the following:
|
|
361
|
+
|
|
362
|
+
- Environments
|
|
363
|
+
* Node.js
|
|
364
|
+
* Webpack
|
|
365
|
+
* Browserify
|
|
366
|
+
- Language levels
|
|
367
|
+
* ES5 - you must have a Promises/A+ library installed
|
|
368
|
+
* ES6
|
|
369
|
+
- Module systems
|
|
370
|
+
* CommonJS
|
|
371
|
+
* ES6 module system
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
## Development
|
|
375
|
+
|
|
376
|
+
### Building
|
|
377
|
+
|
|
378
|
+
To build the TypeScript source code, you need to have Node.js and npm installed.
|
|
379
|
+
After cloning the repository, navigate to the project directory and run:
|
|
380
|
+
|
|
381
|
+
```bash
|
|
382
|
+
npm install
|
|
383
|
+
npm run build
|
|
44
384
|
```
|
|
45
|
-
|
|
385
|
+
|
|
386
|
+
### Publishing
|
|
387
|
+
|
|
388
|
+
Once you've built the package, you can publish it to npm:
|
|
389
|
+
|
|
390
|
+
```bash
|
|
391
|
+
npm publish
|
|
46
392
|
```
|
|
393
|
+
|
|
394
|
+
## License
|
|
395
|
+
|
|
396
|
+
[]()
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { GetContent, GetContentList, GetContentSession, GetContentSessionDetail, GetContentSessionList, GetContentUpload, GetContentVersion, GetContentVersionList, GetScormApiLogs, GetScormPackage, GetScormSessionData, PostContentQuiz, PostContentSession, PostContentUpload, PutContent, PutContentVersion } from '../models/index';
|
|
13
|
+
import type { GetContent, GetContentList, GetContentSession, GetContentSessionDetail, GetContentSessionList, GetContentUpload, GetContentVersion, GetContentVersionList, GetScormApiLogs, GetScormPackage, GetScormSessionData, PostContentQuiz, PostContentSession, PostContentUpload, PostVerifyManifest, PutContent, PutContentVersion, ScormGetValueResponse, ScormSetValueRequest, ScormSetValueResponse } from '../models/index';
|
|
14
|
+
export interface CommitScormSessionRequest {
|
|
15
|
+
scormSessionId: string;
|
|
16
|
+
}
|
|
14
17
|
export interface GetContentRequest {
|
|
15
18
|
contentId: string;
|
|
16
19
|
moduleId: string;
|
|
@@ -55,11 +58,19 @@ export interface GetScormPackageRequest {
|
|
|
55
58
|
export interface GetScormSessionDataRequest {
|
|
56
59
|
scormSessionId: string;
|
|
57
60
|
}
|
|
61
|
+
export interface GetScormValueRequest {
|
|
62
|
+
scormSessionId: string;
|
|
63
|
+
key: string;
|
|
64
|
+
}
|
|
65
|
+
export interface InitializeScormSessionRequest {
|
|
66
|
+
scormSessionId: string;
|
|
67
|
+
}
|
|
58
68
|
export interface ListContentSessionsRequest {
|
|
59
69
|
contentId: string;
|
|
60
70
|
moduleId: string;
|
|
61
71
|
courseId: string;
|
|
62
|
-
|
|
72
|
+
environment?: ListContentSessionsEnvironmentEnum;
|
|
73
|
+
userId?: string;
|
|
63
74
|
page?: number;
|
|
64
75
|
pageSize?: number;
|
|
65
76
|
}
|
|
@@ -77,6 +88,7 @@ export interface PostContentSessionRequest {
|
|
|
77
88
|
contentId: string;
|
|
78
89
|
moduleId: string;
|
|
79
90
|
courseId: string;
|
|
91
|
+
environment?: PostContentSessionEnvironmentEnum;
|
|
80
92
|
}
|
|
81
93
|
export interface PostContentUploadRequest {
|
|
82
94
|
moduleId: string;
|
|
@@ -96,10 +108,30 @@ export interface PutContentVersionRequest {
|
|
|
96
108
|
versionId: string;
|
|
97
109
|
putContentVersion: PutContentVersion;
|
|
98
110
|
}
|
|
111
|
+
export interface SetScormValueRequest {
|
|
112
|
+
scormSessionId: string;
|
|
113
|
+
scormSetValueRequest: ScormSetValueRequest;
|
|
114
|
+
}
|
|
115
|
+
export interface TerminateScormSessionRequest {
|
|
116
|
+
scormSessionId: string;
|
|
117
|
+
}
|
|
118
|
+
export interface VerifyScormManifestRequest {
|
|
119
|
+
body: string;
|
|
120
|
+
}
|
|
99
121
|
/**
|
|
100
122
|
*
|
|
101
123
|
*/
|
|
102
124
|
export declare class ContentApi extends runtime.BaseAPI {
|
|
125
|
+
/**
|
|
126
|
+
* Commit/persist SCORM CMI data changes to the database
|
|
127
|
+
* Commit SCORM session data
|
|
128
|
+
*/
|
|
129
|
+
commitScormSessionRaw(requestParameters: CommitScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
130
|
+
/**
|
|
131
|
+
* Commit/persist SCORM CMI data changes to the database
|
|
132
|
+
* Commit SCORM session data
|
|
133
|
+
*/
|
|
134
|
+
commitScormSession(requestParameters: CommitScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
103
135
|
/**
|
|
104
136
|
* get content
|
|
105
137
|
*/
|
|
@@ -184,6 +216,26 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
184
216
|
* Get SCORM session data (instructor only)
|
|
185
217
|
*/
|
|
186
218
|
getScormSessionData(requestParameters: GetScormSessionDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetScormSessionData>;
|
|
219
|
+
/**
|
|
220
|
+
* Retrieve the value of a specific SCORM CMI data element from the session
|
|
221
|
+
* Get a SCORM CMI data element value
|
|
222
|
+
*/
|
|
223
|
+
getScormValueRaw(requestParameters: GetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScormGetValueResponse>>;
|
|
224
|
+
/**
|
|
225
|
+
* Retrieve the value of a specific SCORM CMI data element from the session
|
|
226
|
+
* Get a SCORM CMI data element value
|
|
227
|
+
*/
|
|
228
|
+
getScormValue(requestParameters: GetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScormGetValueResponse>;
|
|
229
|
+
/**
|
|
230
|
+
* Initialize a SCORM session for content playback
|
|
231
|
+
* Initialize a SCORM session
|
|
232
|
+
*/
|
|
233
|
+
initializeScormSessionRaw(requestParameters: InitializeScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
234
|
+
/**
|
|
235
|
+
* Initialize a SCORM session for content playback
|
|
236
|
+
* Initialize a SCORM session
|
|
237
|
+
*/
|
|
238
|
+
initializeScormSession(requestParameters: InitializeScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
187
239
|
/**
|
|
188
240
|
* Get a paginated list of all content sessions for a specific content item
|
|
189
241
|
* List content sessions (instructor only)
|
|
@@ -246,12 +298,50 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
246
298
|
* Update a content version
|
|
247
299
|
*/
|
|
248
300
|
putContentVersion(requestParameters: PutContentVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentVersion>;
|
|
301
|
+
/**
|
|
302
|
+
* Update the value of a specific SCORM CMI data element in the session
|
|
303
|
+
* Set a SCORM CMI data element value
|
|
304
|
+
*/
|
|
305
|
+
setScormValueRaw(requestParameters: SetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ScormSetValueResponse>>;
|
|
306
|
+
/**
|
|
307
|
+
* Update the value of a specific SCORM CMI data element in the session
|
|
308
|
+
* Set a SCORM CMI data element value
|
|
309
|
+
*/
|
|
310
|
+
setScormValue(requestParameters: SetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScormSetValueResponse>;
|
|
311
|
+
/**
|
|
312
|
+
* Terminate the SCORM session and finalize all data
|
|
313
|
+
* Terminate a SCORM session
|
|
314
|
+
*/
|
|
315
|
+
terminateScormSessionRaw(requestParameters: TerminateScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
316
|
+
/**
|
|
317
|
+
* Terminate the SCORM session and finalize all data
|
|
318
|
+
* Terminate a SCORM session
|
|
319
|
+
*/
|
|
320
|
+
terminateScormSession(requestParameters: TerminateScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
321
|
+
/**
|
|
322
|
+
* Takes raw imsmanifest.xml content and returns the parsed manifest structure with validation warnings
|
|
323
|
+
* Parse and verify a SCORM manifest
|
|
324
|
+
*/
|
|
325
|
+
verifyScormManifestRaw(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PostVerifyManifest>>;
|
|
326
|
+
/**
|
|
327
|
+
* Takes raw imsmanifest.xml content and returns the parsed manifest structure with validation warnings
|
|
328
|
+
* Parse and verify a SCORM manifest
|
|
329
|
+
*/
|
|
330
|
+
verifyScormManifest(requestParameters: VerifyScormManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostVerifyManifest>;
|
|
249
331
|
}
|
|
250
332
|
/**
|
|
251
333
|
* @export
|
|
252
334
|
*/
|
|
253
|
-
export declare const
|
|
335
|
+
export declare const ListContentSessionsEnvironmentEnum: {
|
|
254
336
|
readonly Sandbox: "SANDBOX";
|
|
255
337
|
readonly Live: "LIVE";
|
|
256
338
|
};
|
|
257
|
-
export type
|
|
339
|
+
export type ListContentSessionsEnvironmentEnum = typeof ListContentSessionsEnvironmentEnum[keyof typeof ListContentSessionsEnvironmentEnum];
|
|
340
|
+
/**
|
|
341
|
+
* @export
|
|
342
|
+
*/
|
|
343
|
+
export declare const PostContentSessionEnvironmentEnum: {
|
|
344
|
+
readonly Sandbox: "sandbox";
|
|
345
|
+
readonly Live: "live";
|
|
346
|
+
};
|
|
347
|
+
export type PostContentSessionEnvironmentEnum = typeof PostContentSessionEnvironmentEnum[keyof typeof PostContentSessionEnvironmentEnum];
|