@easyedu/js-lsm-api 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +209 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +90 -1
- package/dist/apis/ContentApi.js +286 -17
- package/dist/apis/CourseApi.js +37 -12
- package/dist/apis/ModuleApi.js +14 -4
- package/dist/apis/OtherApi.js +2 -1
- package/dist/apis/PortalApi.js +19 -7
- package/dist/apis/QuestionApi.js +13 -5
- package/dist/apis/QuizApi.js +79 -25
- package/dist/apis/ReportingApi.js +39 -9
- package/dist/apis/UserApi.js +16 -7
- package/dist/esm/apis/ContentApi.d.ts +90 -1
- package/dist/esm/apis/ContentApi.js +286 -17
- package/dist/esm/apis/CourseApi.js +37 -12
- package/dist/esm/apis/ModuleApi.js +14 -4
- package/dist/esm/apis/OtherApi.js +2 -1
- package/dist/esm/apis/PortalApi.js +19 -7
- package/dist/esm/apis/QuestionApi.js +13 -5
- package/dist/esm/apis/QuizApi.js +79 -25
- package/dist/esm/apis/ReportingApi.js +39 -9
- package/dist/esm/apis/UserApi.js +16 -7
- package/dist/esm/models/GetContentContentData.js +6 -0
- package/dist/esm/models/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 +1642 -0
- package/docs/CourseApi.md +845 -0
- package/docs/CriteriaBasedSelection.md +40 -0
- package/docs/CriteriaBasedSelectionCriteria.md +42 -0
- package/docs/CriteriaBasedSelectionDistribution.md +37 -0
- package/docs/FillInBlank.md +36 -0
- package/docs/FillInBlank1.md +36 -0
- package/docs/GetContent.md +58 -0
- package/docs/GetContentContentData.md +53 -0
- package/docs/GetContentGradeDetail.md +50 -0
- package/docs/GetContentGrades.md +42 -0
- package/docs/GetContentGradesItemsInner.md +40 -0
- package/docs/GetContentGradesItemsInnerUser.md +38 -0
- package/docs/GetContentInstructorBasicReporting.md +38 -0
- package/docs/GetContentInstructorBasicReportingContentInfo.md +38 -0
- package/docs/GetContentInstructorBasicReportingEngagement.md +42 -0
- package/docs/GetContentInstructorBasicReportingPerformance.md +36 -0
- package/docs/GetContentList.md +43 -0
- package/docs/GetContentSession.md +45 -0
- package/docs/GetContentSessionDetail.md +51 -0
- package/docs/GetContentSessionDetailScormSessionDataInner.md +36 -0
- package/docs/GetContentSessionDetailUserData.md +36 -0
- package/docs/GetContentSessionList.md +43 -0
- package/docs/GetContentSessionListItem.md +45 -0
- package/docs/GetContentSessionListItemScormSessionData.md +35 -0
- package/docs/GetContentUpload.md +38 -0
- package/docs/GetContentVersion.md +49 -0
- package/docs/GetContentVersionList.md +43 -0
- package/docs/GetContentVersionListItemsInner.md +42 -0
- package/docs/GetContentVersionSandbox.md +35 -0
- package/docs/GetContentVersionScormData.md +35 -0
- package/docs/GetCourse.md +44 -0
- package/docs/GetCourseEnrollment.md +51 -0
- package/docs/GetCourseEnrollmentList.md +43 -0
- package/docs/GetCourseEnrollmentListItem.md +53 -0
- package/docs/GetCourseExport.md +49 -0
- package/docs/GetCourseExportList.md +43 -0
- package/docs/GetCourseList.md +43 -0
- package/docs/GetCourseReportingBasic.md +38 -0
- package/docs/GetCourseStudentReporting.md +38 -0
- package/docs/GetCourseStudentReportingCourseInfo.md +34 -0
- package/docs/GetCourseStudentReportingEngagement.md +36 -0
- package/docs/GetCourseStudentReportingPerformance.md +34 -0
- package/docs/GetManualQuestionSelectionItem.md +48 -0
- package/docs/GetManualQuestionSelectionList.md +44 -0
- package/docs/GetModule.md +44 -0
- package/docs/GetModuleInstructorBasicReporting.md +38 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +34 -0
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +34 -0
- package/docs/GetModuleInstructorBasicReportingPerformance.md +34 -0
- package/docs/GetModuleList.md +43 -0
- package/docs/GetModuleStudentReporting.md +38 -0
- package/docs/GetModuleStudentReportingAccess.md +36 -0
- package/docs/GetModuleStudentReportingProgress.md +36 -0
- package/docs/GetPortal.md +48 -0
- package/docs/GetPortalBasicReporting.md +36 -0
- package/docs/GetPortalBasicReportingCertificates.md +34 -0
- package/docs/GetPortalBasicReportingPortalInfo.md +38 -0
- package/docs/GetPortalList.md +43 -0
- package/docs/GetPortalStudentReporting.md +36 -0
- package/docs/GetPortalStudentReportingCertificates.md +34 -0
- package/docs/GetPortalStudentReportingPortalInfo.md +38 -0
- package/docs/GetPortalUser.md +45 -0
- package/docs/GetPortalUserList.md +43 -0
- package/docs/GetQuestion.md +62 -0
- package/docs/GetQuestionAnswerChoicesInner.md +38 -0
- package/docs/GetQuestionList.md +44 -0
- package/docs/GetQuestionListFilters.md +48 -0
- package/docs/GetQuiz.md +68 -0
- package/docs/GetQuizAttempt.md +38 -0
- package/docs/GetQuizAttemptAnalytics.md +46 -0
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +49 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +39 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +58 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsScoring.md +49 -0
- package/docs/GetQuizAttemptAttempt.md +61 -0
- package/docs/GetQuizAttemptList.md +46 -0
- package/docs/GetQuizAttemptListAllOfAttempts.md +68 -0
- package/docs/GetQuizAttemptListAllOfFilters.md +45 -0
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +37 -0
- package/docs/GetQuizAttemptListAllOfSummary.md +45 -0
- package/docs/GetQuizAttemptQuestionsInner.md +52 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +41 -0
- package/docs/GetQuizAttemptQuizSettings.md +45 -0
- package/docs/GetQuizCriteria.md +38 -0
- package/docs/GetQuizCriteriaEstimatedQuestions.md +39 -0
- package/docs/GetQuizCriteriaItem.md +58 -0
- package/docs/GetQuizCriteriaList.md +42 -0
- package/docs/GetQuizCriteriaListItemsInner.md +58 -0
- package/docs/GetQuizList.md +44 -0
- package/docs/GetQuizListAllOfFilters.md +43 -0
- package/docs/GetQuizListAllOfQuizzes.md +64 -0
- package/docs/GetQuizListAllOfStatistics.md +43 -0
- package/docs/GetQuizQuestions.md +48 -0
- package/docs/GetQuizQuestionsItemsInner.md +48 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +53 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +42 -0
- package/docs/GetQuizResults.md +52 -0
- package/docs/GetQuizResultsFeedback.md +39 -0
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +40 -0
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInner.md +50 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +43 -0
- package/docs/GetQuizResultsScore.md +41 -0
- package/docs/GetQuizResultsTiming.md +43 -0
- package/docs/GetQuizStatistics.md +43 -0
- package/docs/GetScormApiLogItem.md +45 -0
- package/docs/GetScormApiLogs.md +43 -0
- package/docs/GetScormPackage.md +37 -0
- package/docs/GetScormPackagePackageInfo.md +59 -0
- package/docs/GetScormSessionData.md +43 -0
- package/docs/GetScormSessionDataActivity.md +36 -0
- package/docs/GetUser.md +42 -0
- package/docs/GetUserQuizAttempts.md +46 -0
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +70 -0
- package/docs/GetUserQuizAttemptsAllOfFilters.md +47 -0
- package/docs/GetUserQuizAttemptsAllOfSummary.md +47 -0
- package/docs/LoginRes.md +36 -0
- package/docs/LoginResAuthData.md +36 -0
- package/docs/LoginResUserData.md +40 -0
- package/docs/LoginResUserDataSelectedPortal.md +36 -0
- package/docs/ManualSelection.md +36 -0
- package/docs/MediaContent.md +38 -0
- package/docs/ModuleApi.md +284 -0
- package/docs/MultipleAnswer.md +36 -0
- package/docs/MultipleAnswer1.md +36 -0
- package/docs/NoAnswer.md +34 -0
- package/docs/OtherApi.md +66 -0
- package/docs/Paginated.md +40 -0
- package/docs/PortalApi.md +493 -0
- package/docs/PostContentQuiz.md +42 -0
- package/docs/PostContentQuizAssignment.md +41 -0
- package/docs/PostContentQuizQuestionSelection.md +43 -0
- package/docs/PostContentQuizSettings.md +51 -0
- package/docs/PostContentSession.md +43 -0
- package/docs/PostContentUpload.md +36 -0
- package/docs/PostCourse.md +38 -0
- package/docs/PostCourseEnrollment.md +40 -0
- package/docs/PostCourseExport.md +35 -0
- package/docs/PostLogin.md +36 -0
- package/docs/PostManualQuestionSelection.md +40 -0
- package/docs/PostModule.md +38 -0
- package/docs/PostPortal.md +38 -0
- package/docs/PostPortalInvite.md +40 -0
- package/docs/PostQuestion.md +52 -0
- package/docs/PostQuestionAnswerChoicesInner.md +36 -0
- package/docs/PostQuiz.md +58 -0
- package/docs/PostQuizAttempt.md +38 -0
- package/docs/PostQuizAttemptAttempt.md +55 -0
- package/docs/PostQuizAttemptQuestionsInner.md +48 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/PostQuizAttemptQuizSettings.md +45 -0
- package/docs/PostQuizAttemptSubmit.md +38 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +36 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +41 -0
- package/docs/PostQuizCriteria.md +36 -0
- package/docs/PostQuizCriteriaCriteriaInner.md +49 -0
- package/docs/PostQuizQuestions.md +36 -0
- package/docs/PostQuizQuestionsQuestionsInner.md +40 -0
- package/docs/PostQuizSettings.md +41 -0
- package/docs/PostResetPassword.md +36 -0
- package/docs/PostSendResetPassword.md +34 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/PutContent.md +36 -0
- package/docs/PutContentVersion.md +35 -0
- package/docs/PutCourse.md +44 -0
- package/docs/PutCourseEnrollment.md +40 -0
- package/docs/PutModule.md +40 -0
- package/docs/PutPortalBranding.md +38 -0
- package/docs/PutQuestion.md +52 -0
- package/docs/PutQuestionAnswerChoicesInner.md +38 -0
- package/docs/PutQuiz.md +56 -0
- package/docs/PutQuizAnswer.md +36 -0
- package/docs/PutQuizAnswerAnswer.md +41 -0
- package/docs/PutQuizSettings.md +41 -0
- package/docs/PutUser.md +42 -0
- package/docs/QuestionApi.md +368 -0
- package/docs/QuizApi.md +1793 -0
- package/docs/QuizContent.md +40 -0
- package/docs/QuizContentAssignment.md +39 -0
- package/docs/QuizContentSettings.md +43 -0
- package/docs/ReportingApi.md +674 -0
- package/docs/SCORMContent.md +38 -0
- package/docs/ScormGetValueResponse.md +37 -0
- package/docs/ScormSessionData.md +43 -0
- package/docs/ScormSessionDataProgress.md +36 -0
- package/docs/ScormSessionDataScore.md +40 -0
- package/docs/ScormSessionDataSession.md +34 -0
- package/docs/ScormSessionDataStatus.md +40 -0
- package/docs/ScormSessionDataTime.md +40 -0
- package/docs/ScormSetValueRequest.md +37 -0
- package/docs/ScormSetValueResponse.md +35 -0
- package/docs/SingleAnswer.md +36 -0
- package/docs/UserApi.md +460 -0
- package/package.json +2 -2
- package/src/apis/ContentApi.ts +411 -16
- package/src/apis/CourseApi.ts +61 -12
- package/src/apis/ModuleApi.ts +22 -4
- package/src/apis/OtherApi.ts +4 -1
- package/src/apis/PortalApi.ts +33 -7
- package/src/apis/QuestionApi.ts +23 -5
- package/src/apis/QuizApi.ts +129 -25
- package/src/apis/ReportingApi.ts +57 -9
- package/src/apis/UserApi.ts +30 -7
- package/src/models/GetContentContentData.ts +6 -3
- package/src/models/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,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostVerifyManifestResourcesInner
|
|
16
|
+
*/
|
|
17
|
+
export interface PostVerifyManifestResourcesInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostVerifyManifestResourcesInner
|
|
22
|
+
*/
|
|
23
|
+
identifier?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostVerifyManifestResourcesInner
|
|
28
|
+
*/
|
|
29
|
+
resourceType?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PostVerifyManifestResourcesInner
|
|
34
|
+
*/
|
|
35
|
+
scormType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PostVerifyManifestResourcesInner
|
|
40
|
+
*/
|
|
41
|
+
href?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof PostVerifyManifestResourcesInner
|
|
46
|
+
*/
|
|
47
|
+
files?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PostVerifyManifestResourcesInner interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPostVerifyManifestResourcesInner(value: object): value is PostVerifyManifestResourcesInner;
|
|
53
|
+
export declare function PostVerifyManifestResourcesInnerFromJSON(json: any): PostVerifyManifestResourcesInner;
|
|
54
|
+
export declare function PostVerifyManifestResourcesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostVerifyManifestResourcesInner;
|
|
55
|
+
export declare function PostVerifyManifestResourcesInnerToJSON(json: any): PostVerifyManifestResourcesInner;
|
|
56
|
+
export declare function PostVerifyManifestResourcesInnerToJSONTyped(value?: PostVerifyManifestResourcesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPostVerifyManifestResourcesInner = instanceOfPostVerifyManifestResourcesInner;
|
|
17
|
+
exports.PostVerifyManifestResourcesInnerFromJSON = PostVerifyManifestResourcesInnerFromJSON;
|
|
18
|
+
exports.PostVerifyManifestResourcesInnerFromJSONTyped = PostVerifyManifestResourcesInnerFromJSONTyped;
|
|
19
|
+
exports.PostVerifyManifestResourcesInnerToJSON = PostVerifyManifestResourcesInnerToJSON;
|
|
20
|
+
exports.PostVerifyManifestResourcesInnerToJSONTyped = PostVerifyManifestResourcesInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PostVerifyManifestResourcesInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPostVerifyManifestResourcesInner(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function PostVerifyManifestResourcesInnerFromJSON(json) {
|
|
28
|
+
return PostVerifyManifestResourcesInnerFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function PostVerifyManifestResourcesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'identifier': json['identifier'] == null ? undefined : json['identifier'],
|
|
36
|
+
'resourceType': json['resource_type'] == null ? undefined : json['resource_type'],
|
|
37
|
+
'scormType': json['scorm_type'] == null ? undefined : json['scorm_type'],
|
|
38
|
+
'href': json['href'] == null ? undefined : json['href'],
|
|
39
|
+
'files': json['files'] == null ? undefined : json['files'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function PostVerifyManifestResourcesInnerToJSON(json) {
|
|
43
|
+
return PostVerifyManifestResourcesInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function PostVerifyManifestResourcesInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'identifier': value['identifier'],
|
|
51
|
+
'resource_type': value['resourceType'],
|
|
52
|
+
'scorm_type': value['scormType'],
|
|
53
|
+
'href': value['href'],
|
|
54
|
+
'files': value['files'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -27,6 +27,9 @@ function PutQuizAnswerAnswerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
if (json == null) {
|
|
28
28
|
return json;
|
|
29
29
|
}
|
|
30
|
+
if (typeof json !== 'object') {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
30
33
|
if ((0, FillInBlank_1.instanceOfFillInBlank)(json)) {
|
|
31
34
|
return (0, FillInBlank_1.FillInBlankFromJSONTyped)(json, true);
|
|
32
35
|
}
|
|
@@ -45,6 +48,9 @@ function PutQuizAnswerAnswerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
48
|
if (value == null) {
|
|
46
49
|
return value;
|
|
47
50
|
}
|
|
51
|
+
if (typeof value !== 'object') {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
48
54
|
if ((0, FillInBlank_1.instanceOfFillInBlank)(value)) {
|
|
49
55
|
return (0, FillInBlank_1.FillInBlankToJSON)(value);
|
|
50
56
|
}
|
|
@@ -45,8 +45,8 @@ function QuizContentAssignmentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
45
45
|
return value;
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
|
-
'due_date': value['dueDate'] == null ?
|
|
49
|
-
'available_from': value['availableFrom'] == null ?
|
|
50
|
-
'available_until': value['availableUntil'] == null ?
|
|
48
|
+
'due_date': value['dueDate'] == null ? value['dueDate'] : value['dueDate'].toISOString(),
|
|
49
|
+
'available_from': value['availableFrom'] == null ? value['availableFrom'] : value['availableFrom'].toISOString(),
|
|
50
|
+
'available_until': value['availableUntil'] == null ? value['availableUntil'] : value['availableUntil'].toISOString(),
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Response from getting a SCORM CMI data element value
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormGetValueResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormGetValueResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the get operation was successful
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ScormGetValueResponse
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* The value of the requested CMI element (empty string if not found or unsuccessful)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormGetValueResponse
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ScormGetValueResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfScormGetValueResponse(value: object): value is ScormGetValueResponse;
|
|
35
|
+
export declare function ScormGetValueResponseFromJSON(json: any): ScormGetValueResponse;
|
|
36
|
+
export declare function ScormGetValueResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormGetValueResponse;
|
|
37
|
+
export declare function ScormGetValueResponseToJSON(json: any): ScormGetValueResponse;
|
|
38
|
+
export declare function ScormGetValueResponseToJSONTyped(value?: ScormGetValueResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfScormGetValueResponse = instanceOfScormGetValueResponse;
|
|
17
|
+
exports.ScormGetValueResponseFromJSON = ScormGetValueResponseFromJSON;
|
|
18
|
+
exports.ScormGetValueResponseFromJSONTyped = ScormGetValueResponseFromJSONTyped;
|
|
19
|
+
exports.ScormGetValueResponseToJSON = ScormGetValueResponseToJSON;
|
|
20
|
+
exports.ScormGetValueResponseToJSONTyped = ScormGetValueResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ScormGetValueResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfScormGetValueResponse(value) {
|
|
25
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ScormGetValueResponseFromJSON(json) {
|
|
32
|
+
return ScormGetValueResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ScormGetValueResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'success': json['success'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ScormGetValueResponseToJSON(json) {
|
|
44
|
+
return ScormGetValueResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ScormGetValueResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'success': value['success'],
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Request to set a SCORM CMI data element value
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormSetValueRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormSetValueRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The CMI element key to set (e.g., cmi.core.lesson_status, cmi.core.score.raw)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ScormSetValueRequest
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
* The value to set for the CMI element
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ScormSetValueRequest
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ScormSetValueRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfScormSetValueRequest(value: object): value is ScormSetValueRequest;
|
|
35
|
+
export declare function ScormSetValueRequestFromJSON(json: any): ScormSetValueRequest;
|
|
36
|
+
export declare function ScormSetValueRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSetValueRequest;
|
|
37
|
+
export declare function ScormSetValueRequestToJSON(json: any): ScormSetValueRequest;
|
|
38
|
+
export declare function ScormSetValueRequestToJSONTyped(value?: ScormSetValueRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfScormSetValueRequest = instanceOfScormSetValueRequest;
|
|
17
|
+
exports.ScormSetValueRequestFromJSON = ScormSetValueRequestFromJSON;
|
|
18
|
+
exports.ScormSetValueRequestFromJSONTyped = ScormSetValueRequestFromJSONTyped;
|
|
19
|
+
exports.ScormSetValueRequestToJSON = ScormSetValueRequestToJSON;
|
|
20
|
+
exports.ScormSetValueRequestToJSONTyped = ScormSetValueRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ScormSetValueRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfScormSetValueRequest(value) {
|
|
25
|
+
if (!('key' in value) || value['key'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function ScormSetValueRequestFromJSON(json) {
|
|
32
|
+
return ScormSetValueRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function ScormSetValueRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'key': json['key'],
|
|
40
|
+
'value': json['value'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ScormSetValueRequestToJSON(json) {
|
|
44
|
+
return ScormSetValueRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ScormSetValueRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'key': value['key'],
|
|
52
|
+
'value': value['value'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Response from setting a SCORM CMI data element value
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ScormSetValueResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ScormSetValueResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the set operation was successful
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ScormSetValueResponse
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ScormSetValueResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfScormSetValueResponse(value: object): value is ScormSetValueResponse;
|
|
29
|
+
export declare function ScormSetValueResponseFromJSON(json: any): ScormSetValueResponse;
|
|
30
|
+
export declare function ScormSetValueResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormSetValueResponse;
|
|
31
|
+
export declare function ScormSetValueResponseToJSON(json: any): ScormSetValueResponse;
|
|
32
|
+
export declare function ScormSetValueResponseToJSONTyped(value?: ScormSetValueResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* LMS API
|
|
6
|
+
* LMS API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfScormSetValueResponse = instanceOfScormSetValueResponse;
|
|
17
|
+
exports.ScormSetValueResponseFromJSON = ScormSetValueResponseFromJSON;
|
|
18
|
+
exports.ScormSetValueResponseFromJSONTyped = ScormSetValueResponseFromJSONTyped;
|
|
19
|
+
exports.ScormSetValueResponseToJSON = ScormSetValueResponseToJSON;
|
|
20
|
+
exports.ScormSetValueResponseToJSONTyped = ScormSetValueResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ScormSetValueResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfScormSetValueResponse(value) {
|
|
25
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ScormSetValueResponseFromJSON(json) {
|
|
30
|
+
return ScormSetValueResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ScormSetValueResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'success': json['success'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ScormSetValueResponseToJSON(json) {
|
|
41
|
+
return ScormSetValueResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ScormSetValueResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -162,6 +162,9 @@ export * from './PostQuizQuestionsQuestionsInner';
|
|
|
162
162
|
export * from './PostQuizSettings';
|
|
163
163
|
export * from './PostResetPassword';
|
|
164
164
|
export * from './PostSendResetPassword';
|
|
165
|
+
export * from './PostVerifyManifest';
|
|
166
|
+
export * from './PostVerifyManifestItemsInner';
|
|
167
|
+
export * from './PostVerifyManifestResourcesInner';
|
|
165
168
|
export * from './PutContent';
|
|
166
169
|
export * from './PutContentVersion';
|
|
167
170
|
export * from './PutCourse';
|
|
@@ -179,10 +182,13 @@ export * from './QuizContent';
|
|
|
179
182
|
export * from './QuizContentAssignment';
|
|
180
183
|
export * from './QuizContentSettings';
|
|
181
184
|
export * from './SCORMContent';
|
|
185
|
+
export * from './ScormGetValueResponse';
|
|
182
186
|
export * from './ScormSessionData';
|
|
183
187
|
export * from './ScormSessionDataProgress';
|
|
184
188
|
export * from './ScormSessionDataScore';
|
|
185
189
|
export * from './ScormSessionDataSession';
|
|
186
190
|
export * from './ScormSessionDataStatus';
|
|
187
191
|
export * from './ScormSessionDataTime';
|
|
192
|
+
export * from './ScormSetValueRequest';
|
|
193
|
+
export * from './ScormSetValueResponse';
|
|
188
194
|
export * from './SingleAnswer';
|
package/dist/models/index.js
CHANGED
|
@@ -180,6 +180,9 @@ __exportStar(require("./PostQuizQuestionsQuestionsInner"), exports);
|
|
|
180
180
|
__exportStar(require("./PostQuizSettings"), exports);
|
|
181
181
|
__exportStar(require("./PostResetPassword"), exports);
|
|
182
182
|
__exportStar(require("./PostSendResetPassword"), exports);
|
|
183
|
+
__exportStar(require("./PostVerifyManifest"), exports);
|
|
184
|
+
__exportStar(require("./PostVerifyManifestItemsInner"), exports);
|
|
185
|
+
__exportStar(require("./PostVerifyManifestResourcesInner"), exports);
|
|
183
186
|
__exportStar(require("./PutContent"), exports);
|
|
184
187
|
__exportStar(require("./PutContentVersion"), exports);
|
|
185
188
|
__exportStar(require("./PutCourse"), exports);
|
|
@@ -197,10 +200,13 @@ __exportStar(require("./QuizContent"), exports);
|
|
|
197
200
|
__exportStar(require("./QuizContentAssignment"), exports);
|
|
198
201
|
__exportStar(require("./QuizContentSettings"), exports);
|
|
199
202
|
__exportStar(require("./SCORMContent"), exports);
|
|
203
|
+
__exportStar(require("./ScormGetValueResponse"), exports);
|
|
200
204
|
__exportStar(require("./ScormSessionData"), exports);
|
|
201
205
|
__exportStar(require("./ScormSessionDataProgress"), exports);
|
|
202
206
|
__exportStar(require("./ScormSessionDataScore"), exports);
|
|
203
207
|
__exportStar(require("./ScormSessionDataSession"), exports);
|
|
204
208
|
__exportStar(require("./ScormSessionDataStatus"), exports);
|
|
205
209
|
__exportStar(require("./ScormSessionDataTime"), exports);
|
|
210
|
+
__exportStar(require("./ScormSetValueRequest"), exports);
|
|
211
|
+
__exportStar(require("./ScormSetValueResponse"), exports);
|
|
206
212
|
__exportStar(require("./SingleAnswer"), exports);
|
package/dist/runtime.d.ts
CHANGED
|
@@ -124,7 +124,9 @@ export interface RequestOpts {
|
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
126
|
export declare function exists(json: any, key: string): boolean;
|
|
127
|
-
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
128
130
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
129
131
|
export interface Consume {
|
|
130
132
|
contentType: string;
|
package/dist/runtime.js
CHANGED
|
@@ -287,7 +287,11 @@ function exists(json, key) {
|
|
|
287
287
|
return value !== null && value !== undefined;
|
|
288
288
|
}
|
|
289
289
|
function mapValues(data, fn) {
|
|
290
|
-
|
|
290
|
+
const result = {};
|
|
291
|
+
for (const key of Object.keys(data)) {
|
|
292
|
+
result[key] = fn(data[key]);
|
|
293
|
+
}
|
|
294
|
+
return result;
|
|
291
295
|
}
|
|
292
296
|
function canConsumeForm(consumes) {
|
|
293
297
|
for (const consume of consumes) {
|