@easyedu/js-lsm-api 1.29.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +211 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +90 -1
- package/dist/apis/ContentApi.js +286 -17
- package/dist/apis/CourseApi.js +37 -12
- package/dist/apis/ModuleApi.js +14 -4
- package/dist/apis/OtherApi.js +2 -1
- package/dist/apis/PortalApi.js +19 -7
- package/dist/apis/QuestionApi.js +13 -5
- package/dist/apis/QuizApi.js +79 -25
- package/dist/apis/ReportingApi.js +39 -9
- package/dist/apis/UserApi.js +16 -7
- package/dist/esm/apis/ContentApi.d.ts +90 -1
- package/dist/esm/apis/ContentApi.js +286 -17
- package/dist/esm/apis/CourseApi.js +37 -12
- package/dist/esm/apis/ModuleApi.js +14 -4
- package/dist/esm/apis/OtherApi.js +2 -1
- package/dist/esm/apis/PortalApi.js +19 -7
- package/dist/esm/apis/QuestionApi.js +13 -5
- package/dist/esm/apis/QuizApi.js +79 -25
- package/dist/esm/apis/ReportingApi.js +39 -9
- package/dist/esm/apis/UserApi.js +16 -7
- package/dist/esm/models/GetContentContentData.js +6 -0
- package/dist/esm/models/GetContentSessionDetail.d.ts +4 -4
- package/dist/esm/models/GetContentSessionDetail.js +3 -3
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.d.ts +38 -0
- package/dist/esm/models/GetContentSessionDetailScormSessionDataInner.js +47 -0
- package/dist/esm/models/GetContentSessionListItem.d.ts +3 -3
- package/dist/esm/models/GetContentSessionListItem.js +3 -3
- package/dist/esm/models/GetContentSessionListItemScormSessionData.d.ts +32 -0
- package/dist/esm/models/{GetContentSessionDetailScormSessionData.js → GetContentSessionListItemScormSessionData.js} +8 -8
- package/dist/esm/models/GetContentVersion.js +2 -2
- package/dist/esm/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/esm/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/esm/models/GetQuestionListFilters.js +2 -2
- package/dist/esm/models/GetQuiz.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/esm/models/GetQuizCriteriaItem.js +2 -2
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/esm/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/esm/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/esm/models/GetQuizResultsTiming.js +2 -2
- package/dist/esm/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/esm/models/PostContentQuizAssignment.js +3 -3
- package/dist/esm/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/esm/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/esm/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
- package/dist/esm/models/PostVerifyManifest.js +73 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
- package/dist/esm/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/esm/models/QuizContentAssignment.js +3 -3
- package/dist/esm/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/esm/models/ScormGetValueResponse.js +47 -0
- package/dist/esm/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/esm/models/ScormSetValueRequest.js +47 -0
- package/dist/esm/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/esm/models/ScormSetValueResponse.js +43 -0
- package/dist/esm/models/index.d.ts +8 -1
- package/dist/esm/models/index.js +8 -1
- package/dist/esm/runtime.d.ts +3 -1
- package/dist/esm/runtime.js +5 -1
- package/dist/models/GetContentContentData.js +6 -0
- package/dist/models/GetContentSessionDetail.d.ts +4 -4
- package/dist/models/GetContentSessionDetail.js +3 -3
- package/dist/models/GetContentSessionDetailScormSessionDataInner.d.ts +38 -0
- package/dist/models/GetContentSessionDetailScormSessionDataInner.js +54 -0
- package/dist/models/GetContentSessionListItem.d.ts +3 -3
- package/dist/models/GetContentSessionListItem.js +3 -3
- package/dist/models/GetContentSessionListItemScormSessionData.d.ts +32 -0
- package/dist/models/GetContentSessionListItemScormSessionData.js +50 -0
- package/dist/models/GetContentVersion.js +2 -2
- package/dist/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/models/GetQuestionListFilters.js +2 -2
- package/dist/models/GetQuiz.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/models/GetQuizCriteriaItem.js +2 -2
- package/dist/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/models/GetQuizResultsTiming.js +2 -2
- package/dist/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/models/PostContentQuizAssignment.js +3 -3
- package/dist/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/models/PostVerifyManifest.d.ts +106 -0
- package/dist/models/PostVerifyManifest.js +80 -0
- package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/models/PostVerifyManifestItemsInner.js +62 -0
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
- package/dist/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/models/QuizContentAssignment.js +3 -3
- package/dist/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/models/ScormGetValueResponse.js +54 -0
- package/dist/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/models/ScormSetValueRequest.js +54 -0
- package/dist/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/models/ScormSetValueResponse.js +50 -0
- package/dist/models/index.d.ts +8 -1
- package/dist/models/index.js +8 -1
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +5 -1
- package/docs/ContentApi.md +1642 -0
- package/docs/CourseApi.md +845 -0
- package/docs/CriteriaBasedSelection.md +40 -0
- package/docs/CriteriaBasedSelectionCriteria.md +42 -0
- package/docs/CriteriaBasedSelectionDistribution.md +37 -0
- package/docs/FillInBlank.md +36 -0
- package/docs/FillInBlank1.md +36 -0
- package/docs/GetContent.md +58 -0
- package/docs/GetContentContentData.md +53 -0
- package/docs/GetContentGradeDetail.md +50 -0
- package/docs/GetContentGrades.md +42 -0
- package/docs/GetContentGradesItemsInner.md +40 -0
- package/docs/GetContentGradesItemsInnerUser.md +38 -0
- package/docs/GetContentInstructorBasicReporting.md +38 -0
- package/docs/GetContentInstructorBasicReportingContentInfo.md +38 -0
- package/docs/GetContentInstructorBasicReportingEngagement.md +42 -0
- package/docs/GetContentInstructorBasicReportingPerformance.md +36 -0
- package/docs/GetContentList.md +43 -0
- package/docs/GetContentSession.md +45 -0
- package/docs/GetContentSessionDetail.md +51 -0
- package/docs/GetContentSessionDetailScormSessionDataInner.md +36 -0
- package/docs/GetContentSessionDetailUserData.md +36 -0
- package/docs/GetContentSessionList.md +43 -0
- package/docs/GetContentSessionListItem.md +45 -0
- package/docs/GetContentSessionListItemScormSessionData.md +35 -0
- package/docs/GetContentUpload.md +38 -0
- package/docs/GetContentVersion.md +49 -0
- package/docs/GetContentVersionList.md +43 -0
- package/docs/GetContentVersionListItemsInner.md +42 -0
- package/docs/GetContentVersionSandbox.md +35 -0
- package/docs/GetContentVersionScormData.md +35 -0
- package/docs/GetCourse.md +44 -0
- package/docs/GetCourseEnrollment.md +51 -0
- package/docs/GetCourseEnrollmentList.md +43 -0
- package/docs/GetCourseEnrollmentListItem.md +53 -0
- package/docs/GetCourseExport.md +49 -0
- package/docs/GetCourseExportList.md +43 -0
- package/docs/GetCourseList.md +43 -0
- package/docs/GetCourseReportingBasic.md +38 -0
- package/docs/GetCourseStudentReporting.md +38 -0
- package/docs/GetCourseStudentReportingCourseInfo.md +34 -0
- package/docs/GetCourseStudentReportingEngagement.md +36 -0
- package/docs/GetCourseStudentReportingPerformance.md +34 -0
- package/docs/GetManualQuestionSelectionItem.md +48 -0
- package/docs/GetManualQuestionSelectionList.md +44 -0
- package/docs/GetModule.md +44 -0
- package/docs/GetModuleInstructorBasicReporting.md +38 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +34 -0
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +34 -0
- package/docs/GetModuleInstructorBasicReportingPerformance.md +34 -0
- package/docs/GetModuleList.md +43 -0
- package/docs/GetModuleStudentReporting.md +38 -0
- package/docs/GetModuleStudentReportingAccess.md +36 -0
- package/docs/GetModuleStudentReportingProgress.md +36 -0
- package/docs/GetPortal.md +48 -0
- package/docs/GetPortalBasicReporting.md +36 -0
- package/docs/GetPortalBasicReportingCertificates.md +34 -0
- package/docs/GetPortalBasicReportingPortalInfo.md +38 -0
- package/docs/GetPortalList.md +43 -0
- package/docs/GetPortalStudentReporting.md +36 -0
- package/docs/GetPortalStudentReportingCertificates.md +34 -0
- package/docs/GetPortalStudentReportingPortalInfo.md +38 -0
- package/docs/GetPortalUser.md +45 -0
- package/docs/GetPortalUserList.md +43 -0
- package/docs/GetQuestion.md +62 -0
- package/docs/GetQuestionAnswerChoicesInner.md +38 -0
- package/docs/GetQuestionList.md +44 -0
- package/docs/GetQuestionListFilters.md +48 -0
- package/docs/GetQuiz.md +68 -0
- package/docs/GetQuizAttempt.md +38 -0
- package/docs/GetQuizAttemptAnalytics.md +46 -0
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +49 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +39 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +58 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsScoring.md +49 -0
- package/docs/GetQuizAttemptAttempt.md +61 -0
- package/docs/GetQuizAttemptList.md +46 -0
- package/docs/GetQuizAttemptListAllOfAttempts.md +68 -0
- package/docs/GetQuizAttemptListAllOfFilters.md +45 -0
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +37 -0
- package/docs/GetQuizAttemptListAllOfSummary.md +45 -0
- package/docs/GetQuizAttemptQuestionsInner.md +52 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +41 -0
- package/docs/GetQuizAttemptQuizSettings.md +45 -0
- package/docs/GetQuizCriteria.md +38 -0
- package/docs/GetQuizCriteriaEstimatedQuestions.md +39 -0
- package/docs/GetQuizCriteriaItem.md +58 -0
- package/docs/GetQuizCriteriaList.md +42 -0
- package/docs/GetQuizCriteriaListItemsInner.md +58 -0
- package/docs/GetQuizList.md +44 -0
- package/docs/GetQuizListAllOfFilters.md +43 -0
- package/docs/GetQuizListAllOfQuizzes.md +64 -0
- package/docs/GetQuizListAllOfStatistics.md +43 -0
- package/docs/GetQuizQuestions.md +48 -0
- package/docs/GetQuizQuestionsItemsInner.md +48 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +53 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +42 -0
- package/docs/GetQuizResults.md +52 -0
- package/docs/GetQuizResultsFeedback.md +39 -0
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +40 -0
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInner.md +50 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +43 -0
- package/docs/GetQuizResultsScore.md +41 -0
- package/docs/GetQuizResultsTiming.md +43 -0
- package/docs/GetQuizStatistics.md +43 -0
- package/docs/GetScormApiLogItem.md +45 -0
- package/docs/GetScormApiLogs.md +43 -0
- package/docs/GetScormPackage.md +37 -0
- package/docs/GetScormPackagePackageInfo.md +59 -0
- package/docs/GetScormSessionData.md +43 -0
- package/docs/GetScormSessionDataActivity.md +36 -0
- package/docs/GetUser.md +42 -0
- package/docs/GetUserQuizAttempts.md +46 -0
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +70 -0
- package/docs/GetUserQuizAttemptsAllOfFilters.md +47 -0
- package/docs/GetUserQuizAttemptsAllOfSummary.md +47 -0
- package/docs/LoginRes.md +36 -0
- package/docs/LoginResAuthData.md +36 -0
- package/docs/LoginResUserData.md +40 -0
- package/docs/LoginResUserDataSelectedPortal.md +36 -0
- package/docs/ManualSelection.md +36 -0
- package/docs/MediaContent.md +38 -0
- package/docs/ModuleApi.md +284 -0
- package/docs/MultipleAnswer.md +36 -0
- package/docs/MultipleAnswer1.md +36 -0
- package/docs/NoAnswer.md +34 -0
- package/docs/OtherApi.md +66 -0
- package/docs/Paginated.md +40 -0
- package/docs/PortalApi.md +493 -0
- package/docs/PostContentQuiz.md +42 -0
- package/docs/PostContentQuizAssignment.md +41 -0
- package/docs/PostContentQuizQuestionSelection.md +43 -0
- package/docs/PostContentQuizSettings.md +51 -0
- package/docs/PostContentSession.md +43 -0
- package/docs/PostContentUpload.md +36 -0
- package/docs/PostCourse.md +38 -0
- package/docs/PostCourseEnrollment.md +40 -0
- package/docs/PostCourseExport.md +35 -0
- package/docs/PostLogin.md +36 -0
- package/docs/PostManualQuestionSelection.md +40 -0
- package/docs/PostModule.md +38 -0
- package/docs/PostPortal.md +38 -0
- package/docs/PostPortalInvite.md +40 -0
- package/docs/PostQuestion.md +52 -0
- package/docs/PostQuestionAnswerChoicesInner.md +36 -0
- package/docs/PostQuiz.md +58 -0
- package/docs/PostQuizAttempt.md +38 -0
- package/docs/PostQuizAttemptAttempt.md +55 -0
- package/docs/PostQuizAttemptQuestionsInner.md +48 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/PostQuizAttemptQuizSettings.md +45 -0
- package/docs/PostQuizAttemptSubmit.md +38 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +36 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +41 -0
- package/docs/PostQuizCriteria.md +36 -0
- package/docs/PostQuizCriteriaCriteriaInner.md +49 -0
- package/docs/PostQuizQuestions.md +36 -0
- package/docs/PostQuizQuestionsQuestionsInner.md +40 -0
- package/docs/PostQuizSettings.md +41 -0
- package/docs/PostResetPassword.md +36 -0
- package/docs/PostSendResetPassword.md +34 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/PutContent.md +36 -0
- package/docs/PutContentVersion.md +35 -0
- package/docs/PutCourse.md +44 -0
- package/docs/PutCourseEnrollment.md +40 -0
- package/docs/PutModule.md +40 -0
- package/docs/PutPortalBranding.md +38 -0
- package/docs/PutQuestion.md +52 -0
- package/docs/PutQuestionAnswerChoicesInner.md +38 -0
- package/docs/PutQuiz.md +56 -0
- package/docs/PutQuizAnswer.md +36 -0
- package/docs/PutQuizAnswerAnswer.md +41 -0
- package/docs/PutQuizSettings.md +41 -0
- package/docs/PutUser.md +42 -0
- package/docs/QuestionApi.md +368 -0
- package/docs/QuizApi.md +1793 -0
- package/docs/QuizContent.md +40 -0
- package/docs/QuizContentAssignment.md +39 -0
- package/docs/QuizContentSettings.md +43 -0
- package/docs/ReportingApi.md +674 -0
- package/docs/SCORMContent.md +38 -0
- package/docs/ScormGetValueResponse.md +37 -0
- package/docs/ScormSessionData.md +43 -0
- package/docs/ScormSessionDataProgress.md +36 -0
- package/docs/ScormSessionDataScore.md +40 -0
- package/docs/ScormSessionDataSession.md +34 -0
- package/docs/ScormSessionDataStatus.md +40 -0
- package/docs/ScormSessionDataTime.md +40 -0
- package/docs/ScormSetValueRequest.md +37 -0
- package/docs/ScormSetValueResponse.md +35 -0
- package/docs/SingleAnswer.md +36 -0
- package/docs/UserApi.md +460 -0
- package/package.json +2 -2
- package/src/apis/ContentApi.ts +411 -16
- package/src/apis/CourseApi.ts +61 -12
- package/src/apis/ModuleApi.ts +22 -4
- package/src/apis/OtherApi.ts +4 -1
- package/src/apis/PortalApi.ts +33 -7
- package/src/apis/QuestionApi.ts +23 -5
- package/src/apis/QuizApi.ts +129 -25
- package/src/apis/ReportingApi.ts +57 -9
- package/src/apis/UserApi.ts +30 -7
- package/src/models/GetContentContentData.ts +6 -3
- package/src/models/GetContentSessionDetail.ts +12 -12
- package/src/models/GetContentSessionDetailScormSessionDataInner.ts +75 -0
- package/src/models/GetContentSessionListItem.ts +11 -11
- package/src/models/GetContentSessionListItemScormSessionData.ts +66 -0
- package/src/models/GetContentVersion.ts +2 -2
- package/src/models/GetContentVersionListItemsInner.ts +2 -2
- package/src/models/GetManualQuestionSelectionItem.ts +1 -1
- package/src/models/GetQuestionListFilters.ts +2 -2
- package/src/models/GetQuiz.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +1 -1
- package/src/models/GetQuizAttemptAttempt.ts +3 -3
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +2 -2
- package/src/models/GetQuizAttemptListAllOfFiltersDateRange.ts +2 -2
- package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/GetQuizAttemptQuestionsInnerCurrentAnswer.ts +1 -1
- package/src/models/GetQuizCriteriaItem.ts +2 -2
- package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
- package/src/models/GetQuizListAllOfQuizzes.ts +2 -2
- package/src/models/GetQuizQuestionsItemsInner.ts +1 -1
- package/src/models/GetQuizResultsTiming.ts +2 -2
- package/src/models/GetScormPackagePackageInfo.ts +2 -2
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +2 -2
- package/src/models/PostContentQuizAssignment.ts +3 -3
- package/src/models/PostContentQuizQuestionSelection.ts +6 -3
- package/src/models/PostQuizAttemptAttempt.ts +2 -2
- package/src/models/PostQuizAttemptSubmit.ts +1 -1
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +6 -3
- package/src/models/PostVerifyManifest.ts +179 -0
- package/src/models/PostVerifyManifestItemsInner.ts +121 -0
- package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
- package/src/models/PutQuizAnswerAnswer.ts +6 -3
- package/src/models/QuizContentAssignment.ts +3 -3
- package/src/models/ScormGetValueResponse.ts +75 -0
- package/src/models/ScormSetValueRequest.ts +75 -0
- package/src/models/ScormSetValueResponse.ts +66 -0
- package/src/models/index.ts +8 -1
- package/src/runtime.ts +5 -4
- package/dist/esm/models/GetContentSessionDetailScormSessionData.d.ts +0 -32
- package/dist/models/GetContentSessionDetailScormSessionData.d.ts +0 -32
- package/dist/models/GetContentSessionDetailScormSessionData.js +0 -50
- package/src/models/GetContentSessionDetailScormSessionData.ts +0 -66
|
@@ -36,8 +36,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
|
+
let urlPath = `/courses/{courseId}`;
|
|
40
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
39
41
|
const response = yield this.request({
|
|
40
|
-
path:
|
|
42
|
+
path: urlPath,
|
|
41
43
|
method: 'GET',
|
|
42
44
|
headers: headerParameters,
|
|
43
45
|
query: queryParameters,
|
|
@@ -67,8 +69,11 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
67
69
|
}
|
|
68
70
|
const queryParameters = {};
|
|
69
71
|
const headerParameters = {};
|
|
72
|
+
let urlPath = `/courses/{courseId}/enrollments/{enrollmentId}`;
|
|
73
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
74
|
+
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
70
75
|
const response = yield this.request({
|
|
71
|
-
path:
|
|
76
|
+
path: urlPath,
|
|
72
77
|
method: 'GET',
|
|
73
78
|
headers: headerParameters,
|
|
74
79
|
query: queryParameters,
|
|
@@ -104,8 +109,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
104
109
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
105
110
|
}
|
|
106
111
|
const headerParameters = {};
|
|
112
|
+
let urlPath = `/courses/{courseId}/enrollments`;
|
|
113
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
107
114
|
const response = yield this.request({
|
|
108
|
-
path:
|
|
115
|
+
path: urlPath,
|
|
109
116
|
method: 'GET',
|
|
110
117
|
headers: headerParameters,
|
|
111
118
|
query: queryParameters,
|
|
@@ -135,8 +142,11 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
135
142
|
}
|
|
136
143
|
const queryParameters = {};
|
|
137
144
|
const headerParameters = {};
|
|
145
|
+
let urlPath = `/courses/{courseId}/exports/{exportId}`;
|
|
146
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
147
|
+
urlPath = urlPath.replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters['exportId'])));
|
|
138
148
|
const response = yield this.request({
|
|
139
|
-
path:
|
|
149
|
+
path: urlPath,
|
|
140
150
|
method: 'GET',
|
|
141
151
|
headers: headerParameters,
|
|
142
152
|
query: queryParameters,
|
|
@@ -169,8 +179,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
169
179
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
170
180
|
}
|
|
171
181
|
const headerParameters = {};
|
|
182
|
+
let urlPath = `/courses/{courseId}/exports`;
|
|
183
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
172
184
|
const response = yield this.request({
|
|
173
|
-
path:
|
|
185
|
+
path: urlPath,
|
|
174
186
|
method: 'GET',
|
|
175
187
|
headers: headerParameters,
|
|
176
188
|
query: queryParameters,
|
|
@@ -197,8 +209,9 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
197
209
|
queryParameters['enrolled'] = requestParameters['enrolled'];
|
|
198
210
|
}
|
|
199
211
|
const headerParameters = {};
|
|
212
|
+
let urlPath = `/courses`;
|
|
200
213
|
const response = yield this.request({
|
|
201
|
-
path:
|
|
214
|
+
path: urlPath,
|
|
202
215
|
method: 'GET',
|
|
203
216
|
headers: headerParameters,
|
|
204
217
|
query: queryParameters,
|
|
@@ -225,8 +238,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
225
238
|
}
|
|
226
239
|
const queryParameters = {};
|
|
227
240
|
const headerParameters = {};
|
|
241
|
+
let urlPath = `/courses/{courseId}/reporting/basic`;
|
|
242
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
228
243
|
const response = yield this.request({
|
|
229
|
-
path:
|
|
244
|
+
path: urlPath,
|
|
230
245
|
method: 'GET',
|
|
231
246
|
headers: headerParameters,
|
|
232
247
|
query: queryParameters,
|
|
@@ -254,8 +269,9 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
254
269
|
const queryParameters = {};
|
|
255
270
|
const headerParameters = {};
|
|
256
271
|
headerParameters['Content-Type'] = 'application/json';
|
|
272
|
+
let urlPath = `/courses`;
|
|
257
273
|
const response = yield this.request({
|
|
258
|
-
path:
|
|
274
|
+
path: urlPath,
|
|
259
275
|
method: 'POST',
|
|
260
276
|
headers: headerParameters,
|
|
261
277
|
query: queryParameters,
|
|
@@ -287,8 +303,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
287
303
|
const queryParameters = {};
|
|
288
304
|
const headerParameters = {};
|
|
289
305
|
headerParameters['Content-Type'] = 'application/json';
|
|
306
|
+
let urlPath = `/courses/{courseId}/enrollments`;
|
|
307
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
290
308
|
const response = yield this.request({
|
|
291
|
-
path:
|
|
309
|
+
path: urlPath,
|
|
292
310
|
method: 'POST',
|
|
293
311
|
headers: headerParameters,
|
|
294
312
|
query: queryParameters,
|
|
@@ -321,8 +339,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
321
339
|
const queryParameters = {};
|
|
322
340
|
const headerParameters = {};
|
|
323
341
|
headerParameters['Content-Type'] = 'application/json';
|
|
342
|
+
let urlPath = `/courses/{courseId}/exports`;
|
|
343
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
324
344
|
const response = yield this.request({
|
|
325
|
-
path:
|
|
345
|
+
path: urlPath,
|
|
326
346
|
method: 'POST',
|
|
327
347
|
headers: headerParameters,
|
|
328
348
|
query: queryParameters,
|
|
@@ -355,8 +375,10 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
355
375
|
const queryParameters = {};
|
|
356
376
|
const headerParameters = {};
|
|
357
377
|
headerParameters['Content-Type'] = 'application/json';
|
|
378
|
+
let urlPath = `/courses/{courseId}`;
|
|
379
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
358
380
|
const response = yield this.request({
|
|
359
|
-
path:
|
|
381
|
+
path: urlPath,
|
|
360
382
|
method: 'PUT',
|
|
361
383
|
headers: headerParameters,
|
|
362
384
|
query: queryParameters,
|
|
@@ -391,8 +413,11 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
391
413
|
const queryParameters = {};
|
|
392
414
|
const headerParameters = {};
|
|
393
415
|
headerParameters['Content-Type'] = 'application/json';
|
|
416
|
+
let urlPath = `/courses/{courseId}/enrollments/{enrollmentId}`;
|
|
417
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
418
|
+
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
394
419
|
const response = yield this.request({
|
|
395
|
-
path:
|
|
420
|
+
path: urlPath,
|
|
396
421
|
method: 'PUT',
|
|
397
422
|
headers: headerParameters,
|
|
398
423
|
query: queryParameters,
|
|
@@ -39,8 +39,11 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
39
39
|
}
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
44
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
42
45
|
const response = yield this.request({
|
|
43
|
-
path:
|
|
46
|
+
path: urlPath,
|
|
44
47
|
method: 'GET',
|
|
45
48
|
headers: headerParameters,
|
|
46
49
|
query: queryParameters,
|
|
@@ -67,8 +70,10 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
67
70
|
}
|
|
68
71
|
const queryParameters = {};
|
|
69
72
|
const headerParameters = {};
|
|
73
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
74
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
70
75
|
const response = yield this.request({
|
|
71
|
-
path:
|
|
76
|
+
path: urlPath,
|
|
72
77
|
method: 'GET',
|
|
73
78
|
headers: headerParameters,
|
|
74
79
|
query: queryParameters,
|
|
@@ -99,8 +104,10 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
99
104
|
const queryParameters = {};
|
|
100
105
|
const headerParameters = {};
|
|
101
106
|
headerParameters['Content-Type'] = 'application/json';
|
|
107
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
108
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
102
109
|
const response = yield this.request({
|
|
103
|
-
path:
|
|
110
|
+
path: urlPath,
|
|
104
111
|
method: 'POST',
|
|
105
112
|
headers: headerParameters,
|
|
106
113
|
query: queryParameters,
|
|
@@ -135,8 +142,11 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
135
142
|
const queryParameters = {};
|
|
136
143
|
const headerParameters = {};
|
|
137
144
|
headerParameters['Content-Type'] = 'application/json';
|
|
145
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
146
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
147
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
138
148
|
const response = yield this.request({
|
|
139
|
-
path:
|
|
149
|
+
path: urlPath,
|
|
140
150
|
method: 'PUT',
|
|
141
151
|
headers: headerParameters,
|
|
142
152
|
query: queryParameters,
|
|
@@ -32,8 +32,9 @@ export class OtherApi extends runtime.BaseAPI {
|
|
|
32
32
|
return __awaiter(this, void 0, void 0, function* () {
|
|
33
33
|
const queryParameters = {};
|
|
34
34
|
const headerParameters = {};
|
|
35
|
+
let urlPath = `/healthcheck`;
|
|
35
36
|
const response = yield this.request({
|
|
36
|
-
path:
|
|
37
|
+
path: urlPath,
|
|
37
38
|
method: 'GET',
|
|
38
39
|
headers: headerParameters,
|
|
39
40
|
query: queryParameters,
|
|
@@ -36,8 +36,10 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
|
+
let urlPath = `/portals/{portalId}`;
|
|
40
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
39
41
|
const response = yield this.request({
|
|
40
|
-
path:
|
|
42
|
+
path: urlPath,
|
|
41
43
|
method: 'GET',
|
|
42
44
|
headers: headerParameters,
|
|
43
45
|
query: queryParameters,
|
|
@@ -61,8 +63,9 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
61
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
62
64
|
const queryParameters = {};
|
|
63
65
|
const headerParameters = {};
|
|
66
|
+
let urlPath = `/portals`;
|
|
64
67
|
const response = yield this.request({
|
|
65
|
-
path:
|
|
68
|
+
path: urlPath,
|
|
66
69
|
method: 'GET',
|
|
67
70
|
headers: headerParameters,
|
|
68
71
|
query: queryParameters,
|
|
@@ -104,8 +107,10 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
104
107
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
105
108
|
}
|
|
106
109
|
const headerParameters = {};
|
|
110
|
+
let urlPath = `/portals/{portalId}/users`;
|
|
111
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
107
112
|
const response = yield this.request({
|
|
108
|
-
path:
|
|
113
|
+
path: urlPath,
|
|
109
114
|
method: 'GET',
|
|
110
115
|
headers: headerParameters,
|
|
111
116
|
query: queryParameters,
|
|
@@ -136,8 +141,10 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
136
141
|
const queryParameters = {};
|
|
137
142
|
const headerParameters = {};
|
|
138
143
|
headerParameters['Content-Type'] = 'application/json';
|
|
144
|
+
let urlPath = `/portals/{portalId}/invite`;
|
|
145
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
139
146
|
const response = yield this.request({
|
|
140
|
-
path:
|
|
147
|
+
path: urlPath,
|
|
141
148
|
method: 'POST',
|
|
142
149
|
headers: headerParameters,
|
|
143
150
|
query: queryParameters,
|
|
@@ -165,8 +172,9 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
165
172
|
const queryParameters = {};
|
|
166
173
|
const headerParameters = {};
|
|
167
174
|
headerParameters['Content-Type'] = 'application/json';
|
|
175
|
+
let urlPath = `/portals`;
|
|
168
176
|
const response = yield this.request({
|
|
169
|
-
path:
|
|
177
|
+
path: urlPath,
|
|
170
178
|
method: 'POST',
|
|
171
179
|
headers: headerParameters,
|
|
172
180
|
query: queryParameters,
|
|
@@ -198,8 +206,10 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
198
206
|
const queryParameters = {};
|
|
199
207
|
const headerParameters = {};
|
|
200
208
|
headerParameters['Content-Type'] = 'application/json';
|
|
209
|
+
let urlPath = `/portals/{portalId}`;
|
|
210
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
201
211
|
const response = yield this.request({
|
|
202
|
-
path:
|
|
212
|
+
path: urlPath,
|
|
203
213
|
method: 'PUT',
|
|
204
214
|
headers: headerParameters,
|
|
205
215
|
query: queryParameters,
|
|
@@ -230,8 +240,10 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
230
240
|
queryParameters['selectedUserRole'] = requestParameters['selectedUserRole'];
|
|
231
241
|
}
|
|
232
242
|
const headerParameters = {};
|
|
243
|
+
let urlPath = `/portals/{portalId}/selected`;
|
|
244
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
233
245
|
const response = yield this.request({
|
|
234
|
-
path:
|
|
246
|
+
path: urlPath,
|
|
235
247
|
method: 'PUT',
|
|
236
248
|
headers: headerParameters,
|
|
237
249
|
query: queryParameters,
|
|
@@ -36,8 +36,10 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
36
36
|
}
|
|
37
37
|
const queryParameters = {};
|
|
38
38
|
const headerParameters = {};
|
|
39
|
+
let urlPath = `/questions/{questionId}`;
|
|
40
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
39
41
|
const response = yield this.request({
|
|
40
|
-
path:
|
|
42
|
+
path: urlPath,
|
|
41
43
|
method: 'DELETE',
|
|
42
44
|
headers: headerParameters,
|
|
43
45
|
query: queryParameters,
|
|
@@ -63,8 +65,10 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
63
65
|
}
|
|
64
66
|
const queryParameters = {};
|
|
65
67
|
const headerParameters = {};
|
|
68
|
+
let urlPath = `/questions/{questionId}`;
|
|
69
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
66
70
|
const response = yield this.request({
|
|
67
|
-
path:
|
|
71
|
+
path: urlPath,
|
|
68
72
|
method: 'GET',
|
|
69
73
|
headers: headerParameters,
|
|
70
74
|
query: queryParameters,
|
|
@@ -112,8 +116,9 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
112
116
|
queryParameters['search'] = requestParameters['search'];
|
|
113
117
|
}
|
|
114
118
|
const headerParameters = {};
|
|
119
|
+
let urlPath = `/questions`;
|
|
115
120
|
const response = yield this.request({
|
|
116
|
-
path:
|
|
121
|
+
path: urlPath,
|
|
117
122
|
method: 'GET',
|
|
118
123
|
headers: headerParameters,
|
|
119
124
|
query: queryParameters,
|
|
@@ -141,8 +146,9 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
141
146
|
const queryParameters = {};
|
|
142
147
|
const headerParameters = {};
|
|
143
148
|
headerParameters['Content-Type'] = 'application/json';
|
|
149
|
+
let urlPath = `/questions`;
|
|
144
150
|
const response = yield this.request({
|
|
145
|
-
path:
|
|
151
|
+
path: urlPath,
|
|
146
152
|
method: 'POST',
|
|
147
153
|
headers: headerParameters,
|
|
148
154
|
query: queryParameters,
|
|
@@ -174,8 +180,10 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
174
180
|
const queryParameters = {};
|
|
175
181
|
const headerParameters = {};
|
|
176
182
|
headerParameters['Content-Type'] = 'application/json';
|
|
183
|
+
let urlPath = `/questions/{questionId}`;
|
|
184
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
177
185
|
const response = yield this.request({
|
|
178
|
-
path:
|
|
186
|
+
path: urlPath,
|
|
179
187
|
method: 'PUT',
|
|
180
188
|
headers: headerParameters,
|
|
181
189
|
query: queryParameters,
|
package/dist/esm/apis/QuizApi.js
CHANGED
|
@@ -40,8 +40,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
42
|
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
44
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
43
45
|
const response = yield this.request({
|
|
44
|
-
path:
|
|
46
|
+
path: urlPath,
|
|
45
47
|
method: 'POST',
|
|
46
48
|
headers: headerParameters,
|
|
47
49
|
query: queryParameters,
|
|
@@ -73,8 +75,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
73
75
|
const queryParameters = {};
|
|
74
76
|
const headerParameters = {};
|
|
75
77
|
headerParameters['Content-Type'] = 'application/json';
|
|
78
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
79
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
76
80
|
const response = yield this.request({
|
|
77
|
-
path:
|
|
81
|
+
path: urlPath,
|
|
78
82
|
method: 'POST',
|
|
79
83
|
headers: headerParameters,
|
|
80
84
|
query: queryParameters,
|
|
@@ -106,8 +110,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
106
110
|
const queryParameters = {};
|
|
107
111
|
const headerParameters = {};
|
|
108
112
|
headerParameters['Content-Type'] = 'application/json';
|
|
113
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
114
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
109
115
|
const response = yield this.request({
|
|
110
|
-
path:
|
|
116
|
+
path: urlPath,
|
|
111
117
|
method: 'POST',
|
|
112
118
|
headers: headerParameters,
|
|
113
119
|
query: queryParameters,
|
|
@@ -136,8 +142,9 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
136
142
|
const queryParameters = {};
|
|
137
143
|
const headerParameters = {};
|
|
138
144
|
headerParameters['Content-Type'] = 'application/json';
|
|
145
|
+
let urlPath = `/quizzes`;
|
|
139
146
|
const response = yield this.request({
|
|
140
|
-
path:
|
|
147
|
+
path: urlPath,
|
|
141
148
|
method: 'POST',
|
|
142
149
|
headers: headerParameters,
|
|
143
150
|
query: queryParameters,
|
|
@@ -165,8 +172,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
165
172
|
}
|
|
166
173
|
const queryParameters = {};
|
|
167
174
|
const headerParameters = {};
|
|
175
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
176
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
168
177
|
const response = yield this.request({
|
|
169
|
-
path:
|
|
178
|
+
path: urlPath,
|
|
170
179
|
method: 'DELETE',
|
|
171
180
|
headers: headerParameters,
|
|
172
181
|
query: queryParameters,
|
|
@@ -195,8 +204,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
195
204
|
}
|
|
196
205
|
const queryParameters = {};
|
|
197
206
|
const headerParameters = {};
|
|
207
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
208
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
209
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
198
210
|
const response = yield this.request({
|
|
199
|
-
path:
|
|
211
|
+
path: urlPath,
|
|
200
212
|
method: 'DELETE',
|
|
201
213
|
headers: headerParameters,
|
|
202
214
|
query: queryParameters,
|
|
@@ -225,8 +237,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
225
237
|
}
|
|
226
238
|
const queryParameters = {};
|
|
227
239
|
const headerParameters = {};
|
|
240
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
241
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
242
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
228
243
|
const response = yield this.request({
|
|
229
|
-
path:
|
|
244
|
+
path: urlPath,
|
|
230
245
|
method: 'DELETE',
|
|
231
246
|
headers: headerParameters,
|
|
232
247
|
query: queryParameters,
|
|
@@ -252,8 +267,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
252
267
|
}
|
|
253
268
|
const queryParameters = {};
|
|
254
269
|
const headerParameters = {};
|
|
270
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
271
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
255
272
|
const response = yield this.request({
|
|
256
|
-
path:
|
|
273
|
+
path: urlPath,
|
|
257
274
|
method: 'GET',
|
|
258
275
|
headers: headerParameters,
|
|
259
276
|
query: queryParameters,
|
|
@@ -280,8 +297,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
280
297
|
}
|
|
281
298
|
const queryParameters = {};
|
|
282
299
|
const headerParameters = {};
|
|
300
|
+
let urlPath = `/quiz-attempts/{attemptId}`;
|
|
301
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
283
302
|
const response = yield this.request({
|
|
284
|
-
path:
|
|
303
|
+
path: urlPath,
|
|
285
304
|
method: 'GET',
|
|
286
305
|
headers: headerParameters,
|
|
287
306
|
query: queryParameters,
|
|
@@ -308,8 +327,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
308
327
|
}
|
|
309
328
|
const queryParameters = {};
|
|
310
329
|
const headerParameters = {};
|
|
330
|
+
let urlPath = `/quiz-attempts/{attemptId}/analytics`;
|
|
331
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
311
332
|
const response = yield this.request({
|
|
312
|
-
path:
|
|
333
|
+
path: urlPath,
|
|
313
334
|
method: 'GET',
|
|
314
335
|
headers: headerParameters,
|
|
315
336
|
query: queryParameters,
|
|
@@ -336,8 +357,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
336
357
|
}
|
|
337
358
|
const queryParameters = {};
|
|
338
359
|
const headerParameters = {};
|
|
360
|
+
let urlPath = `/quiz-attempts/{attemptId}/results`;
|
|
361
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
339
362
|
const response = yield this.request({
|
|
340
|
-
path:
|
|
363
|
+
path: urlPath,
|
|
341
364
|
method: 'GET',
|
|
342
365
|
headers: headerParameters,
|
|
343
366
|
query: queryParameters,
|
|
@@ -376,8 +399,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
376
399
|
queryParameters['status'] = requestParameters['status'];
|
|
377
400
|
}
|
|
378
401
|
const headerParameters = {};
|
|
402
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
403
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
379
404
|
const response = yield this.request({
|
|
380
|
-
path:
|
|
405
|
+
path: urlPath,
|
|
381
406
|
method: 'GET',
|
|
382
407
|
headers: headerParameters,
|
|
383
408
|
query: queryParameters,
|
|
@@ -407,8 +432,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
407
432
|
}
|
|
408
433
|
const queryParameters = {};
|
|
409
434
|
const headerParameters = {};
|
|
435
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
436
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
437
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
410
438
|
const response = yield this.request({
|
|
411
|
-
path:
|
|
439
|
+
path: urlPath,
|
|
412
440
|
method: 'GET',
|
|
413
441
|
headers: headerParameters,
|
|
414
442
|
query: queryParameters,
|
|
@@ -441,8 +469,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
441
469
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
442
470
|
}
|
|
443
471
|
const headerParameters = {};
|
|
472
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
473
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
444
474
|
const response = yield this.request({
|
|
445
|
-
path:
|
|
475
|
+
path: urlPath,
|
|
446
476
|
method: 'GET',
|
|
447
477
|
headers: headerParameters,
|
|
448
478
|
query: queryParameters,
|
|
@@ -481,8 +511,9 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
481
511
|
queryParameters['search'] = requestParameters['search'];
|
|
482
512
|
}
|
|
483
513
|
const headerParameters = {};
|
|
514
|
+
let urlPath = `/quizzes`;
|
|
484
515
|
const response = yield this.request({
|
|
485
|
-
path:
|
|
516
|
+
path: urlPath,
|
|
486
517
|
method: 'GET',
|
|
487
518
|
headers: headerParameters,
|
|
488
519
|
query: queryParameters,
|
|
@@ -512,8 +543,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
512
543
|
}
|
|
513
544
|
const queryParameters = {};
|
|
514
545
|
const headerParameters = {};
|
|
546
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
547
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
548
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
515
549
|
const response = yield this.request({
|
|
516
|
-
path:
|
|
550
|
+
path: urlPath,
|
|
517
551
|
method: 'GET',
|
|
518
552
|
headers: headerParameters,
|
|
519
553
|
query: queryParameters,
|
|
@@ -546,8 +580,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
546
580
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
547
581
|
}
|
|
548
582
|
const headerParameters = {};
|
|
583
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
584
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
549
585
|
const response = yield this.request({
|
|
550
|
-
path:
|
|
586
|
+
path: urlPath,
|
|
551
587
|
method: 'GET',
|
|
552
588
|
headers: headerParameters,
|
|
553
589
|
query: queryParameters,
|
|
@@ -580,8 +616,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
580
616
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
581
617
|
}
|
|
582
618
|
const headerParameters = {};
|
|
619
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
620
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
583
621
|
const response = yield this.request({
|
|
584
|
-
path:
|
|
622
|
+
path: urlPath,
|
|
585
623
|
method: 'GET',
|
|
586
624
|
headers: headerParameters,
|
|
587
625
|
query: queryParameters,
|
|
@@ -620,8 +658,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
620
658
|
queryParameters['status'] = requestParameters['status'];
|
|
621
659
|
}
|
|
622
660
|
const headerParameters = {};
|
|
661
|
+
let urlPath = `/users/{userId}/quiz-attempts`;
|
|
662
|
+
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
623
663
|
const response = yield this.request({
|
|
624
|
-
path:
|
|
664
|
+
path: urlPath,
|
|
625
665
|
method: 'GET',
|
|
626
666
|
headers: headerParameters,
|
|
627
667
|
query: queryParameters,
|
|
@@ -651,8 +691,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
651
691
|
}
|
|
652
692
|
const queryParameters = {};
|
|
653
693
|
const headerParameters = {};
|
|
694
|
+
let urlPath = `/quizzes/{quizId}/questions/{questionId}`;
|
|
695
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
696
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
654
697
|
const response = yield this.request({
|
|
655
|
-
path:
|
|
698
|
+
path: urlPath,
|
|
656
699
|
method: 'DELETE',
|
|
657
700
|
headers: headerParameters,
|
|
658
701
|
query: queryParameters,
|
|
@@ -685,8 +728,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
685
728
|
const queryParameters = {};
|
|
686
729
|
const headerParameters = {};
|
|
687
730
|
headerParameters['Content-Type'] = 'application/json';
|
|
731
|
+
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}`;
|
|
732
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
733
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
688
734
|
const response = yield this.request({
|
|
689
|
-
path:
|
|
735
|
+
path: urlPath,
|
|
690
736
|
method: 'PUT',
|
|
691
737
|
headers: headerParameters,
|
|
692
738
|
query: queryParameters,
|
|
@@ -713,8 +759,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
713
759
|
}
|
|
714
760
|
const queryParameters = {};
|
|
715
761
|
const headerParameters = {};
|
|
762
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
763
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
716
764
|
const response = yield this.request({
|
|
717
|
-
path:
|
|
765
|
+
path: urlPath,
|
|
718
766
|
method: 'POST',
|
|
719
767
|
headers: headerParameters,
|
|
720
768
|
query: queryParameters,
|
|
@@ -745,8 +793,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
745
793
|
const queryParameters = {};
|
|
746
794
|
const headerParameters = {};
|
|
747
795
|
headerParameters['Content-Type'] = 'application/json';
|
|
796
|
+
let urlPath = `/quiz-attempts/{attemptId}/submit`;
|
|
797
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
748
798
|
const response = yield this.request({
|
|
749
|
-
path:
|
|
799
|
+
path: urlPath,
|
|
750
800
|
method: 'POST',
|
|
751
801
|
headers: headerParameters,
|
|
752
802
|
query: queryParameters,
|
|
@@ -778,8 +828,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
778
828
|
const queryParameters = {};
|
|
779
829
|
const headerParameters = {};
|
|
780
830
|
headerParameters['Content-Type'] = 'application/json';
|
|
831
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
832
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
781
833
|
const response = yield this.request({
|
|
782
|
-
path:
|
|
834
|
+
path: urlPath,
|
|
783
835
|
method: 'PUT',
|
|
784
836
|
headers: headerParameters,
|
|
785
837
|
query: queryParameters,
|
|
@@ -811,8 +863,10 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
811
863
|
const queryParameters = {};
|
|
812
864
|
const headerParameters = {};
|
|
813
865
|
headerParameters['Content-Type'] = 'application/json';
|
|
866
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
867
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
814
868
|
const response = yield this.request({
|
|
815
|
-
path:
|
|
869
|
+
path: urlPath,
|
|
816
870
|
method: 'PUT',
|
|
817
871
|
headers: headerParameters,
|
|
818
872
|
query: queryParameters,
|