@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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
|
|
2
|
+
# GetQuizResultsQuestionsInnerAnswerChoicesInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`text` | string
|
|
11
|
+
`isCorrect` | boolean
|
|
12
|
+
`wasSelected` | boolean
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import type { GetQuizResultsQuestionsInnerAnswerChoicesInner } from '@easyedu/js-lsm-api'
|
|
18
|
+
|
|
19
|
+
// TODO: Update the object below with actual values
|
|
20
|
+
const example = {
|
|
21
|
+
"id": null,
|
|
22
|
+
"text": null,
|
|
23
|
+
"isCorrect": null,
|
|
24
|
+
"wasSelected": null,
|
|
25
|
+
} satisfies GetQuizResultsQuestionsInnerAnswerChoicesInner
|
|
26
|
+
|
|
27
|
+
console.log(example)
|
|
28
|
+
|
|
29
|
+
// Convert the instance to a JSON string
|
|
30
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
+
console.log(exampleJSON)
|
|
32
|
+
|
|
33
|
+
// Parse the JSON string back to an object
|
|
34
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetQuizResultsQuestionsInnerAnswerChoicesInner
|
|
35
|
+
console.log(exampleParsed)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# GetQuizResultsQuestionsInnerStudentAnswer
|
|
3
|
+
|
|
4
|
+
Student\'s answer and scoring
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`selectedChoices` | Array<string>
|
|
11
|
+
`textAnswer` | string
|
|
12
|
+
`isCorrect` | boolean
|
|
13
|
+
`pointsEarned` | number
|
|
14
|
+
`pointsPossible` | number
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetQuizResultsQuestionsInnerStudentAnswer } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"selectedChoices": null,
|
|
24
|
+
"textAnswer": null,
|
|
25
|
+
"isCorrect": null,
|
|
26
|
+
"pointsEarned": null,
|
|
27
|
+
"pointsPossible": null,
|
|
28
|
+
} satisfies GetQuizResultsQuestionsInnerStudentAnswer
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetQuizResultsQuestionsInnerStudentAnswer
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
|
|
2
|
+
# GetQuizResultsScore
|
|
3
|
+
|
|
4
|
+
Scoring information
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`pointsEarned` | number
|
|
11
|
+
`totalPoints` | number
|
|
12
|
+
`percentage` | number
|
|
13
|
+
`passed` | boolean
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { GetQuizResultsScore } from '@easyedu/js-lsm-api'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"pointsEarned": null,
|
|
23
|
+
"totalPoints": null,
|
|
24
|
+
"percentage": null,
|
|
25
|
+
"passed": null,
|
|
26
|
+
} satisfies GetQuizResultsScore
|
|
27
|
+
|
|
28
|
+
console.log(example)
|
|
29
|
+
|
|
30
|
+
// Convert the instance to a JSON string
|
|
31
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
32
|
+
console.log(exampleJSON)
|
|
33
|
+
|
|
34
|
+
// Parse the JSON string back to an object
|
|
35
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetQuizResultsScore
|
|
36
|
+
console.log(exampleParsed)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
40
|
+
|
|
41
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# GetQuizResultsTiming
|
|
3
|
+
|
|
4
|
+
Timing information
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`startedAt` | Date
|
|
11
|
+
`submittedAt` | Date
|
|
12
|
+
`timeLimit` | number
|
|
13
|
+
`timeSpent` | number
|
|
14
|
+
`timeRemaining` | number
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetQuizResultsTiming } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"startedAt": null,
|
|
24
|
+
"submittedAt": null,
|
|
25
|
+
"timeLimit": null,
|
|
26
|
+
"timeSpent": null,
|
|
27
|
+
"timeRemaining": null,
|
|
28
|
+
} satisfies GetQuizResultsTiming
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetQuizResultsTiming
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# GetQuizStatistics
|
|
3
|
+
|
|
4
|
+
Quiz performance statistics
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`totalAttempts` | number
|
|
11
|
+
`totalCompletions` | number
|
|
12
|
+
`averageScore` | number
|
|
13
|
+
`passRate` | number
|
|
14
|
+
`averageTime` | number
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetQuizStatistics } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"totalAttempts": null,
|
|
24
|
+
"totalCompletions": null,
|
|
25
|
+
"averageScore": null,
|
|
26
|
+
"passRate": null,
|
|
27
|
+
"averageTime": null,
|
|
28
|
+
} satisfies GetQuizStatistics
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetQuizStatistics
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormApiLogItem
|
|
3
|
+
|
|
4
|
+
A SCORM API call log entry
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`id` | number
|
|
11
|
+
`createdAt` | number
|
|
12
|
+
`method` | string
|
|
13
|
+
`element` | string
|
|
14
|
+
`value` | string
|
|
15
|
+
`errorCode` | string
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { GetScormApiLogItem } from '@easyedu/js-lsm-api'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"id": null,
|
|
25
|
+
"createdAt": null,
|
|
26
|
+
"method": null,
|
|
27
|
+
"element": null,
|
|
28
|
+
"value": null,
|
|
29
|
+
"errorCode": null,
|
|
30
|
+
} satisfies GetScormApiLogItem
|
|
31
|
+
|
|
32
|
+
console.log(example)
|
|
33
|
+
|
|
34
|
+
// Convert the instance to a JSON string
|
|
35
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
36
|
+
console.log(exampleJSON)
|
|
37
|
+
|
|
38
|
+
// Parse the JSON string back to an object
|
|
39
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormApiLogItem
|
|
40
|
+
console.log(exampleParsed)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
44
|
+
|
|
45
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormApiLogs
|
|
3
|
+
|
|
4
|
+
A list of SCORM API logs with pagination information
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`page` | number
|
|
11
|
+
`pageSize` | number
|
|
12
|
+
`totalPages` | number
|
|
13
|
+
`totalItems` | number
|
|
14
|
+
`items` | [Array<GetScormApiLogItem>](GetScormApiLogItem.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetScormApiLogs } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"page": null,
|
|
24
|
+
"pageSize": null,
|
|
25
|
+
"totalPages": null,
|
|
26
|
+
"totalItems": null,
|
|
27
|
+
"items": null,
|
|
28
|
+
} satisfies GetScormApiLogs
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormApiLogs
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormPackage
|
|
3
|
+
|
|
4
|
+
Details of a SCORM package
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`packageInfo` | [GetScormPackagePackageInfo](GetScormPackagePackageInfo.md)
|
|
11
|
+
`tableOfContents` | object
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { GetScormPackage } from '@easyedu/js-lsm-api'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"packageInfo": null,
|
|
21
|
+
"tableOfContents": null,
|
|
22
|
+
} satisfies GetScormPackage
|
|
23
|
+
|
|
24
|
+
console.log(example)
|
|
25
|
+
|
|
26
|
+
// Convert the instance to a JSON string
|
|
27
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
28
|
+
console.log(exampleJSON)
|
|
29
|
+
|
|
30
|
+
// Parse the JSON string back to an object
|
|
31
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormPackage
|
|
32
|
+
console.log(exampleParsed)
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
36
|
+
|
|
37
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormPackagePackageInfo
|
|
3
|
+
|
|
4
|
+
Information about the SCORM package
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`id` | string
|
|
11
|
+
`version` | number
|
|
12
|
+
`isActive` | boolean
|
|
13
|
+
`manifestIdentifier` | string
|
|
14
|
+
`manifestVersion` | string
|
|
15
|
+
`organizationIdentifier` | string
|
|
16
|
+
`organizationTitle` | string
|
|
17
|
+
`scormVersion` | string
|
|
18
|
+
`storageKey` | string
|
|
19
|
+
`totalFileCount` | number
|
|
20
|
+
`packageSizeBytes` | number
|
|
21
|
+
`createdAt` | Date
|
|
22
|
+
`updatedAt` | Date
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import type { GetScormPackagePackageInfo } from '@easyedu/js-lsm-api'
|
|
28
|
+
|
|
29
|
+
// TODO: Update the object below with actual values
|
|
30
|
+
const example = {
|
|
31
|
+
"id": null,
|
|
32
|
+
"version": null,
|
|
33
|
+
"isActive": null,
|
|
34
|
+
"manifestIdentifier": null,
|
|
35
|
+
"manifestVersion": null,
|
|
36
|
+
"organizationIdentifier": null,
|
|
37
|
+
"organizationTitle": null,
|
|
38
|
+
"scormVersion": null,
|
|
39
|
+
"storageKey": null,
|
|
40
|
+
"totalFileCount": null,
|
|
41
|
+
"packageSizeBytes": null,
|
|
42
|
+
"createdAt": null,
|
|
43
|
+
"updatedAt": null,
|
|
44
|
+
} satisfies GetScormPackagePackageInfo
|
|
45
|
+
|
|
46
|
+
console.log(example)
|
|
47
|
+
|
|
48
|
+
// Convert the instance to a JSON string
|
|
49
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
50
|
+
console.log(exampleJSON)
|
|
51
|
+
|
|
52
|
+
// Parse the JSON string back to an object
|
|
53
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormPackagePackageInfo
|
|
54
|
+
console.log(exampleParsed)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
58
|
+
|
|
59
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormSessionData
|
|
3
|
+
|
|
4
|
+
SCORM session data with CMI information
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`id` | string
|
|
11
|
+
`createdAt` | number
|
|
12
|
+
`updatedAt` | number
|
|
13
|
+
`cmiData` | { [key: string]: any; }
|
|
14
|
+
`activity` | [GetScormSessionDataActivity](GetScormSessionDataActivity.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { GetScormSessionData } from '@easyedu/js-lsm-api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"id": null,
|
|
24
|
+
"createdAt": null,
|
|
25
|
+
"updatedAt": null,
|
|
26
|
+
"cmiData": null,
|
|
27
|
+
"activity": null,
|
|
28
|
+
} satisfies GetScormSessionData
|
|
29
|
+
|
|
30
|
+
console.log(example)
|
|
31
|
+
|
|
32
|
+
// Convert the instance to a JSON string
|
|
33
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
34
|
+
console.log(exampleJSON)
|
|
35
|
+
|
|
36
|
+
// Parse the JSON string back to an object
|
|
37
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormSessionData
|
|
38
|
+
console.log(exampleParsed)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
42
|
+
|
|
43
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
|
|
2
|
+
# GetScormSessionDataActivity
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`activityId` | string
|
|
10
|
+
`name` | string
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import type { GetScormSessionDataActivity } from '@easyedu/js-lsm-api'
|
|
16
|
+
|
|
17
|
+
// TODO: Update the object below with actual values
|
|
18
|
+
const example = {
|
|
19
|
+
"activityId": null,
|
|
20
|
+
"name": null,
|
|
21
|
+
} satisfies GetScormSessionDataActivity
|
|
22
|
+
|
|
23
|
+
console.log(example)
|
|
24
|
+
|
|
25
|
+
// Convert the instance to a JSON string
|
|
26
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
27
|
+
console.log(exampleJSON)
|
|
28
|
+
|
|
29
|
+
// Parse the JSON string back to an object
|
|
30
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetScormSessionDataActivity
|
|
31
|
+
console.log(exampleParsed)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
35
|
+
|
|
36
|
+
|
package/docs/GetUser.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# GetUser
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`firstName` | string
|
|
11
|
+
`lastName` | string
|
|
12
|
+
`email` | string
|
|
13
|
+
`lastUpdated` | number
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { GetUser } from '@easyedu/js-lsm-api'
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"id": null,
|
|
23
|
+
"firstName": null,
|
|
24
|
+
"lastName": null,
|
|
25
|
+
"email": null,
|
|
26
|
+
"lastUpdated": null,
|
|
27
|
+
} satisfies GetUser
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetUser
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
# GetUserQuizAttempts
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`page` | number
|
|
10
|
+
`pageSize` | number
|
|
11
|
+
`totalPages` | number
|
|
12
|
+
`totalItems` | number
|
|
13
|
+
`attempts` | [Array<GetUserQuizAttemptsAllOfAttempts>](GetUserQuizAttemptsAllOfAttempts.md)
|
|
14
|
+
`filters` | [GetUserQuizAttemptsAllOfFilters](GetUserQuizAttemptsAllOfFilters.md)
|
|
15
|
+
`summary` | [GetUserQuizAttemptsAllOfSummary](GetUserQuizAttemptsAllOfSummary.md)
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import type { GetUserQuizAttempts } from '@easyedu/js-lsm-api'
|
|
21
|
+
|
|
22
|
+
// TODO: Update the object below with actual values
|
|
23
|
+
const example = {
|
|
24
|
+
"page": null,
|
|
25
|
+
"pageSize": null,
|
|
26
|
+
"totalPages": null,
|
|
27
|
+
"totalItems": null,
|
|
28
|
+
"attempts": null,
|
|
29
|
+
"filters": null,
|
|
30
|
+
"summary": null,
|
|
31
|
+
} satisfies GetUserQuizAttempts
|
|
32
|
+
|
|
33
|
+
console.log(example)
|
|
34
|
+
|
|
35
|
+
// Convert the instance to a JSON string
|
|
36
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
37
|
+
console.log(exampleJSON)
|
|
38
|
+
|
|
39
|
+
// Parse the JSON string back to an object
|
|
40
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetUserQuizAttempts
|
|
41
|
+
console.log(exampleParsed)
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
|
|
2
|
+
# GetUserQuizAttemptsAllOfAttempts
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | string
|
|
10
|
+
`externalId` | string
|
|
11
|
+
`quizId` | string
|
|
12
|
+
`contentId` | string
|
|
13
|
+
`contentName` | string
|
|
14
|
+
`moduleName` | string
|
|
15
|
+
`courseName` | string
|
|
16
|
+
`attemptNumber` | number
|
|
17
|
+
`status` | string
|
|
18
|
+
`startedAt` | Date
|
|
19
|
+
`completedAt` | Date
|
|
20
|
+
`totalQuestions` | number
|
|
21
|
+
`questionsAnswered` | number
|
|
22
|
+
`correctAnswers` | number
|
|
23
|
+
`scorePercentage` | number
|
|
24
|
+
`passed` | boolean
|
|
25
|
+
`timeSpentSeconds` | number
|
|
26
|
+
`canRetake` | boolean
|
|
27
|
+
`attemptsRemaining` | number
|
|
28
|
+
|
|
29
|
+
## Example
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import type { GetUserQuizAttemptsAllOfAttempts } from '@easyedu/js-lsm-api'
|
|
33
|
+
|
|
34
|
+
// TODO: Update the object below with actual values
|
|
35
|
+
const example = {
|
|
36
|
+
"id": null,
|
|
37
|
+
"externalId": null,
|
|
38
|
+
"quizId": null,
|
|
39
|
+
"contentId": null,
|
|
40
|
+
"contentName": null,
|
|
41
|
+
"moduleName": null,
|
|
42
|
+
"courseName": null,
|
|
43
|
+
"attemptNumber": null,
|
|
44
|
+
"status": null,
|
|
45
|
+
"startedAt": null,
|
|
46
|
+
"completedAt": null,
|
|
47
|
+
"totalQuestions": null,
|
|
48
|
+
"questionsAnswered": null,
|
|
49
|
+
"correctAnswers": null,
|
|
50
|
+
"scorePercentage": null,
|
|
51
|
+
"passed": null,
|
|
52
|
+
"timeSpentSeconds": null,
|
|
53
|
+
"canRetake": null,
|
|
54
|
+
"attemptsRemaining": null,
|
|
55
|
+
} satisfies GetUserQuizAttemptsAllOfAttempts
|
|
56
|
+
|
|
57
|
+
console.log(example)
|
|
58
|
+
|
|
59
|
+
// Convert the instance to a JSON string
|
|
60
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
61
|
+
console.log(exampleJSON)
|
|
62
|
+
|
|
63
|
+
// Parse the JSON string back to an object
|
|
64
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetUserQuizAttemptsAllOfAttempts
|
|
65
|
+
console.log(exampleParsed)
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
69
|
+
|
|
70
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
# GetUserQuizAttemptsAllOfFilters
|
|
3
|
+
|
|
4
|
+
Available filters
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
Name | Type
|
|
9
|
+
------------ | -------------
|
|
10
|
+
`courseId` | string
|
|
11
|
+
`moduleId` | string
|
|
12
|
+
`quizId` | string
|
|
13
|
+
`status` | string
|
|
14
|
+
`passed` | boolean
|
|
15
|
+
`dateRange` | [GetQuizAttemptListAllOfFiltersDateRange](GetQuizAttemptListAllOfFiltersDateRange.md)
|
|
16
|
+
`search` | string
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import type { GetUserQuizAttemptsAllOfFilters } from '@easyedu/js-lsm-api'
|
|
22
|
+
|
|
23
|
+
// TODO: Update the object below with actual values
|
|
24
|
+
const example = {
|
|
25
|
+
"courseId": null,
|
|
26
|
+
"moduleId": null,
|
|
27
|
+
"quizId": null,
|
|
28
|
+
"status": null,
|
|
29
|
+
"passed": null,
|
|
30
|
+
"dateRange": null,
|
|
31
|
+
"search": null,
|
|
32
|
+
} satisfies GetUserQuizAttemptsAllOfFilters
|
|
33
|
+
|
|
34
|
+
console.log(example)
|
|
35
|
+
|
|
36
|
+
// Convert the instance to a JSON string
|
|
37
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
38
|
+
console.log(exampleJSON)
|
|
39
|
+
|
|
40
|
+
// Parse the JSON string back to an object
|
|
41
|
+
const exampleParsed = JSON.parse(exampleJSON) as GetUserQuizAttemptsAllOfFilters
|
|
42
|
+
console.log(exampleParsed)
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
46
|
+
|
|
47
|
+
|