@easyedu/js-lsm-api 1.30.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +209 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +94 -4
- package/dist/apis/ContentApi.js +292 -20
- package/dist/apis/CourseApi.js +37 -12
- package/dist/apis/ModuleApi.js +14 -4
- package/dist/apis/OtherApi.js +2 -1
- package/dist/apis/PortalApi.js +19 -7
- package/dist/apis/QuestionApi.js +13 -5
- package/dist/apis/QuizApi.js +79 -25
- package/dist/apis/ReportingApi.js +39 -9
- package/dist/apis/UserApi.js +16 -7
- package/dist/esm/apis/ContentApi.d.ts +94 -4
- package/dist/esm/apis/ContentApi.js +292 -20
- package/dist/esm/apis/CourseApi.js +37 -12
- package/dist/esm/apis/ModuleApi.js +14 -4
- package/dist/esm/apis/OtherApi.js +2 -1
- package/dist/esm/apis/PortalApi.js +19 -7
- package/dist/esm/apis/QuestionApi.js +13 -5
- package/dist/esm/apis/QuizApi.js +79 -25
- package/dist/esm/apis/ReportingApi.js +39 -9
- package/dist/esm/apis/UserApi.js +16 -7
- package/dist/esm/models/GetContentContentData.js +6 -0
- package/dist/esm/models/GetContentVersion.js +2 -2
- package/dist/esm/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/esm/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/esm/models/GetQuestionListFilters.js +2 -2
- package/dist/esm/models/GetQuiz.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/esm/models/GetQuizCriteriaItem.js +2 -2
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/esm/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/esm/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/esm/models/GetQuizResultsTiming.js +2 -2
- package/dist/esm/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/esm/models/PostContentQuizAssignment.js +3 -3
- package/dist/esm/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/esm/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/esm/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
- package/dist/esm/models/PostVerifyManifest.js +73 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
- package/dist/esm/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/esm/models/QuizContentAssignment.js +3 -3
- package/dist/esm/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/esm/models/ScormGetValueResponse.js +47 -0
- package/dist/esm/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/esm/models/ScormSetValueRequest.js +47 -0
- package/dist/esm/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/esm/models/ScormSetValueResponse.js +43 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/runtime.d.ts +3 -1
- package/dist/esm/runtime.js +5 -1
- package/dist/models/GetContentContentData.js +6 -0
- package/dist/models/GetContentVersion.js +2 -2
- package/dist/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/models/GetQuestionListFilters.js +2 -2
- package/dist/models/GetQuiz.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/models/GetQuizCriteriaItem.js +2 -2
- package/dist/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/models/GetQuizResultsTiming.js +2 -2
- package/dist/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/models/PostContentQuizAssignment.js +3 -3
- package/dist/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/models/PostVerifyManifest.d.ts +106 -0
- package/dist/models/PostVerifyManifest.js +80 -0
- package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/models/PostVerifyManifestItemsInner.js +62 -0
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
- package/dist/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/models/QuizContentAssignment.js +3 -3
- package/dist/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/models/ScormGetValueResponse.js +54 -0
- package/dist/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/models/ScormSetValueRequest.js +54 -0
- package/dist/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/models/ScormSetValueResponse.js +50 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +5 -1
- package/docs/ContentApi.md +1645 -0
- package/docs/CourseApi.md +845 -0
- package/docs/CriteriaBasedSelection.md +40 -0
- package/docs/CriteriaBasedSelectionCriteria.md +42 -0
- package/docs/CriteriaBasedSelectionDistribution.md +37 -0
- package/docs/FillInBlank.md +36 -0
- package/docs/FillInBlank1.md +36 -0
- package/docs/GetContent.md +58 -0
- package/docs/GetContentContentData.md +53 -0
- package/docs/GetContentGradeDetail.md +50 -0
- package/docs/GetContentGrades.md +42 -0
- package/docs/GetContentGradesItemsInner.md +40 -0
- package/docs/GetContentGradesItemsInnerUser.md +38 -0
- package/docs/GetContentInstructorBasicReporting.md +38 -0
- package/docs/GetContentInstructorBasicReportingContentInfo.md +38 -0
- package/docs/GetContentInstructorBasicReportingEngagement.md +42 -0
- package/docs/GetContentInstructorBasicReportingPerformance.md +36 -0
- package/docs/GetContentList.md +43 -0
- package/docs/GetContentSession.md +45 -0
- package/docs/GetContentSessionDetail.md +51 -0
- package/docs/GetContentSessionDetailScormSessionDataInner.md +36 -0
- package/docs/GetContentSessionDetailUserData.md +36 -0
- package/docs/GetContentSessionList.md +43 -0
- package/docs/GetContentSessionListItem.md +45 -0
- package/docs/GetContentSessionListItemScormSessionData.md +35 -0
- package/docs/GetContentUpload.md +38 -0
- package/docs/GetContentVersion.md +49 -0
- package/docs/GetContentVersionList.md +43 -0
- package/docs/GetContentVersionListItemsInner.md +42 -0
- package/docs/GetContentVersionSandbox.md +35 -0
- package/docs/GetContentVersionScormData.md +35 -0
- package/docs/GetCourse.md +44 -0
- package/docs/GetCourseEnrollment.md +51 -0
- package/docs/GetCourseEnrollmentList.md +43 -0
- package/docs/GetCourseEnrollmentListItem.md +53 -0
- package/docs/GetCourseExport.md +49 -0
- package/docs/GetCourseExportList.md +43 -0
- package/docs/GetCourseList.md +43 -0
- package/docs/GetCourseReportingBasic.md +38 -0
- package/docs/GetCourseStudentReporting.md +38 -0
- package/docs/GetCourseStudentReportingCourseInfo.md +34 -0
- package/docs/GetCourseStudentReportingEngagement.md +36 -0
- package/docs/GetCourseStudentReportingPerformance.md +34 -0
- package/docs/GetManualQuestionSelectionItem.md +48 -0
- package/docs/GetManualQuestionSelectionList.md +44 -0
- package/docs/GetModule.md +44 -0
- package/docs/GetModuleInstructorBasicReporting.md +38 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +34 -0
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +34 -0
- package/docs/GetModuleInstructorBasicReportingPerformance.md +34 -0
- package/docs/GetModuleList.md +43 -0
- package/docs/GetModuleStudentReporting.md +38 -0
- package/docs/GetModuleStudentReportingAccess.md +36 -0
- package/docs/GetModuleStudentReportingProgress.md +36 -0
- package/docs/GetPortal.md +48 -0
- package/docs/GetPortalBasicReporting.md +36 -0
- package/docs/GetPortalBasicReportingCertificates.md +34 -0
- package/docs/GetPortalBasicReportingPortalInfo.md +38 -0
- package/docs/GetPortalList.md +43 -0
- package/docs/GetPortalStudentReporting.md +36 -0
- package/docs/GetPortalStudentReportingCertificates.md +34 -0
- package/docs/GetPortalStudentReportingPortalInfo.md +38 -0
- package/docs/GetPortalUser.md +45 -0
- package/docs/GetPortalUserList.md +43 -0
- package/docs/GetQuestion.md +62 -0
- package/docs/GetQuestionAnswerChoicesInner.md +38 -0
- package/docs/GetQuestionList.md +44 -0
- package/docs/GetQuestionListFilters.md +48 -0
- package/docs/GetQuiz.md +68 -0
- package/docs/GetQuizAttempt.md +38 -0
- package/docs/GetQuizAttemptAnalytics.md +46 -0
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +49 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +39 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +58 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsScoring.md +49 -0
- package/docs/GetQuizAttemptAttempt.md +61 -0
- package/docs/GetQuizAttemptList.md +46 -0
- package/docs/GetQuizAttemptListAllOfAttempts.md +68 -0
- package/docs/GetQuizAttemptListAllOfFilters.md +45 -0
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +37 -0
- package/docs/GetQuizAttemptListAllOfSummary.md +45 -0
- package/docs/GetQuizAttemptQuestionsInner.md +52 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +41 -0
- package/docs/GetQuizAttemptQuizSettings.md +45 -0
- package/docs/GetQuizCriteria.md +38 -0
- package/docs/GetQuizCriteriaEstimatedQuestions.md +39 -0
- package/docs/GetQuizCriteriaItem.md +58 -0
- package/docs/GetQuizCriteriaList.md +42 -0
- package/docs/GetQuizCriteriaListItemsInner.md +58 -0
- package/docs/GetQuizList.md +44 -0
- package/docs/GetQuizListAllOfFilters.md +43 -0
- package/docs/GetQuizListAllOfQuizzes.md +64 -0
- package/docs/GetQuizListAllOfStatistics.md +43 -0
- package/docs/GetQuizQuestions.md +48 -0
- package/docs/GetQuizQuestionsItemsInner.md +48 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +53 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +42 -0
- package/docs/GetQuizResults.md +52 -0
- package/docs/GetQuizResultsFeedback.md +39 -0
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +40 -0
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInner.md +50 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +43 -0
- package/docs/GetQuizResultsScore.md +41 -0
- package/docs/GetQuizResultsTiming.md +43 -0
- package/docs/GetQuizStatistics.md +43 -0
- package/docs/GetScormApiLogItem.md +45 -0
- package/docs/GetScormApiLogs.md +43 -0
- package/docs/GetScormPackage.md +37 -0
- package/docs/GetScormPackagePackageInfo.md +59 -0
- package/docs/GetScormSessionData.md +43 -0
- package/docs/GetScormSessionDataActivity.md +36 -0
- package/docs/GetUser.md +42 -0
- package/docs/GetUserQuizAttempts.md +46 -0
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +70 -0
- package/docs/GetUserQuizAttemptsAllOfFilters.md +47 -0
- package/docs/GetUserQuizAttemptsAllOfSummary.md +47 -0
- package/docs/LoginRes.md +36 -0
- package/docs/LoginResAuthData.md +36 -0
- package/docs/LoginResUserData.md +40 -0
- package/docs/LoginResUserDataSelectedPortal.md +36 -0
- package/docs/ManualSelection.md +36 -0
- package/docs/MediaContent.md +38 -0
- package/docs/ModuleApi.md +284 -0
- package/docs/MultipleAnswer.md +36 -0
- package/docs/MultipleAnswer1.md +36 -0
- package/docs/NoAnswer.md +34 -0
- package/docs/OtherApi.md +66 -0
- package/docs/Paginated.md +40 -0
- package/docs/PortalApi.md +493 -0
- package/docs/PostContentQuiz.md +42 -0
- package/docs/PostContentQuizAssignment.md +41 -0
- package/docs/PostContentQuizQuestionSelection.md +43 -0
- package/docs/PostContentQuizSettings.md +51 -0
- package/docs/PostContentSession.md +43 -0
- package/docs/PostContentUpload.md +36 -0
- package/docs/PostCourse.md +38 -0
- package/docs/PostCourseEnrollment.md +40 -0
- package/docs/PostCourseExport.md +35 -0
- package/docs/PostLogin.md +36 -0
- package/docs/PostManualQuestionSelection.md +40 -0
- package/docs/PostModule.md +38 -0
- package/docs/PostPortal.md +38 -0
- package/docs/PostPortalInvite.md +40 -0
- package/docs/PostQuestion.md +52 -0
- package/docs/PostQuestionAnswerChoicesInner.md +36 -0
- package/docs/PostQuiz.md +58 -0
- package/docs/PostQuizAttempt.md +38 -0
- package/docs/PostQuizAttemptAttempt.md +55 -0
- package/docs/PostQuizAttemptQuestionsInner.md +48 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/PostQuizAttemptQuizSettings.md +45 -0
- package/docs/PostQuizAttemptSubmit.md +38 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +36 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +41 -0
- package/docs/PostQuizCriteria.md +36 -0
- package/docs/PostQuizCriteriaCriteriaInner.md +49 -0
- package/docs/PostQuizQuestions.md +36 -0
- package/docs/PostQuizQuestionsQuestionsInner.md +40 -0
- package/docs/PostQuizSettings.md +41 -0
- package/docs/PostResetPassword.md +36 -0
- package/docs/PostSendResetPassword.md +34 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/PutContent.md +36 -0
- package/docs/PutContentVersion.md +35 -0
- package/docs/PutCourse.md +44 -0
- package/docs/PutCourseEnrollment.md +40 -0
- package/docs/PutModule.md +40 -0
- package/docs/PutPortalBranding.md +38 -0
- package/docs/PutQuestion.md +52 -0
- package/docs/PutQuestionAnswerChoicesInner.md +38 -0
- package/docs/PutQuiz.md +56 -0
- package/docs/PutQuizAnswer.md +36 -0
- package/docs/PutQuizAnswerAnswer.md +41 -0
- package/docs/PutQuizSettings.md +41 -0
- package/docs/PutUser.md +42 -0
- package/docs/QuestionApi.md +368 -0
- package/docs/QuizApi.md +1793 -0
- package/docs/QuizContent.md +40 -0
- package/docs/QuizContentAssignment.md +39 -0
- package/docs/QuizContentSettings.md +43 -0
- package/docs/ReportingApi.md +674 -0
- package/docs/SCORMContent.md +38 -0
- package/docs/ScormGetValueResponse.md +37 -0
- package/docs/ScormSessionData.md +43 -0
- package/docs/ScormSessionDataProgress.md +36 -0
- package/docs/ScormSessionDataScore.md +40 -0
- package/docs/ScormSessionDataSession.md +34 -0
- package/docs/ScormSessionDataStatus.md +40 -0
- package/docs/ScormSessionDataTime.md +40 -0
- package/docs/ScormSetValueRequest.md +37 -0
- package/docs/ScormSetValueResponse.md +35 -0
- package/docs/SingleAnswer.md +36 -0
- package/docs/UserApi.md +460 -0
- package/package.json +2 -2
- package/src/apis/ContentApi.ts +421 -21
- package/src/apis/CourseApi.ts +61 -12
- package/src/apis/ModuleApi.ts +22 -4
- package/src/apis/OtherApi.ts +4 -1
- package/src/apis/PortalApi.ts +33 -7
- package/src/apis/QuestionApi.ts +23 -5
- package/src/apis/QuizApi.ts +129 -25
- package/src/apis/ReportingApi.ts +57 -9
- package/src/apis/UserApi.ts +30 -7
- package/src/models/GetContentContentData.ts +6 -3
- package/src/models/GetContentVersion.ts +2 -2
- package/src/models/GetContentVersionListItemsInner.ts +2 -2
- package/src/models/GetManualQuestionSelectionItem.ts +1 -1
- package/src/models/GetQuestionListFilters.ts +2 -2
- package/src/models/GetQuiz.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +1 -1
- package/src/models/GetQuizAttemptAttempt.ts +3 -3
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +2 -2
- package/src/models/GetQuizAttemptListAllOfFiltersDateRange.ts +2 -2
- package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/GetQuizAttemptQuestionsInnerCurrentAnswer.ts +1 -1
- package/src/models/GetQuizCriteriaItem.ts +2 -2
- package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
- package/src/models/GetQuizListAllOfQuizzes.ts +2 -2
- package/src/models/GetQuizQuestionsItemsInner.ts +1 -1
- package/src/models/GetQuizResultsTiming.ts +2 -2
- package/src/models/GetScormPackagePackageInfo.ts +2 -2
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +2 -2
- package/src/models/PostContentQuizAssignment.ts +3 -3
- package/src/models/PostContentQuizQuestionSelection.ts +6 -3
- package/src/models/PostQuizAttemptAttempt.ts +2 -2
- package/src/models/PostQuizAttemptSubmit.ts +1 -1
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +6 -3
- package/src/models/PostVerifyManifest.ts +179 -0
- package/src/models/PostVerifyManifestItemsInner.ts +121 -0
- package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
- package/src/models/PutQuizAnswerAnswer.ts +6 -3
- package/src/models/QuizContentAssignment.ts +3 -3
- package/src/models/ScormGetValueResponse.ts +75 -0
- package/src/models/ScormSetValueRequest.ts +75 -0
- package/src/models/ScormSetValueResponse.ts +66 -0
- package/src/models/index.ts +6 -0
- package/src/runtime.ts +5 -4
package/dist/apis/ModuleApi.js
CHANGED
|
@@ -42,8 +42,11 @@ class ModuleApi extends runtime.BaseAPI {
|
|
|
42
42
|
}
|
|
43
43
|
const queryParameters = {};
|
|
44
44
|
const headerParameters = {};
|
|
45
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
46
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
47
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
45
48
|
const response = yield this.request({
|
|
46
|
-
path:
|
|
49
|
+
path: urlPath,
|
|
47
50
|
method: 'GET',
|
|
48
51
|
headers: headerParameters,
|
|
49
52
|
query: queryParameters,
|
|
@@ -70,8 +73,10 @@ class ModuleApi extends runtime.BaseAPI {
|
|
|
70
73
|
}
|
|
71
74
|
const queryParameters = {};
|
|
72
75
|
const headerParameters = {};
|
|
76
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
77
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
73
78
|
const response = yield this.request({
|
|
74
|
-
path:
|
|
79
|
+
path: urlPath,
|
|
75
80
|
method: 'GET',
|
|
76
81
|
headers: headerParameters,
|
|
77
82
|
query: queryParameters,
|
|
@@ -102,8 +107,10 @@ class ModuleApi extends runtime.BaseAPI {
|
|
|
102
107
|
const queryParameters = {};
|
|
103
108
|
const headerParameters = {};
|
|
104
109
|
headerParameters['Content-Type'] = 'application/json';
|
|
110
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
111
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
105
112
|
const response = yield this.request({
|
|
106
|
-
path:
|
|
113
|
+
path: urlPath,
|
|
107
114
|
method: 'POST',
|
|
108
115
|
headers: headerParameters,
|
|
109
116
|
query: queryParameters,
|
|
@@ -138,8 +145,11 @@ class ModuleApi extends runtime.BaseAPI {
|
|
|
138
145
|
const queryParameters = {};
|
|
139
146
|
const headerParameters = {};
|
|
140
147
|
headerParameters['Content-Type'] = 'application/json';
|
|
148
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
149
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
150
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
141
151
|
const response = yield this.request({
|
|
142
|
-
path:
|
|
152
|
+
path: urlPath,
|
|
143
153
|
method: 'PUT',
|
|
144
154
|
headers: headerParameters,
|
|
145
155
|
query: queryParameters,
|
package/dist/apis/OtherApi.js
CHANGED
|
@@ -35,8 +35,9 @@ class OtherApi extends runtime.BaseAPI {
|
|
|
35
35
|
return __awaiter(this, void 0, void 0, function* () {
|
|
36
36
|
const queryParameters = {};
|
|
37
37
|
const headerParameters = {};
|
|
38
|
+
let urlPath = `/healthcheck`;
|
|
38
39
|
const response = yield this.request({
|
|
39
|
-
path:
|
|
40
|
+
path: urlPath,
|
|
40
41
|
method: 'GET',
|
|
41
42
|
headers: headerParameters,
|
|
42
43
|
query: queryParameters,
|
package/dist/apis/PortalApi.js
CHANGED
|
@@ -39,8 +39,10 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
39
39
|
}
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
|
+
let urlPath = `/portals/{portalId}`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
42
44
|
const response = yield this.request({
|
|
43
|
-
path:
|
|
45
|
+
path: urlPath,
|
|
44
46
|
method: 'GET',
|
|
45
47
|
headers: headerParameters,
|
|
46
48
|
query: queryParameters,
|
|
@@ -64,8 +66,9 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
64
66
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
67
|
const queryParameters = {};
|
|
66
68
|
const headerParameters = {};
|
|
69
|
+
let urlPath = `/portals`;
|
|
67
70
|
const response = yield this.request({
|
|
68
|
-
path:
|
|
71
|
+
path: urlPath,
|
|
69
72
|
method: 'GET',
|
|
70
73
|
headers: headerParameters,
|
|
71
74
|
query: queryParameters,
|
|
@@ -107,8 +110,10 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
107
110
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
108
111
|
}
|
|
109
112
|
const headerParameters = {};
|
|
113
|
+
let urlPath = `/portals/{portalId}/users`;
|
|
114
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
110
115
|
const response = yield this.request({
|
|
111
|
-
path:
|
|
116
|
+
path: urlPath,
|
|
112
117
|
method: 'GET',
|
|
113
118
|
headers: headerParameters,
|
|
114
119
|
query: queryParameters,
|
|
@@ -139,8 +144,10 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
139
144
|
const queryParameters = {};
|
|
140
145
|
const headerParameters = {};
|
|
141
146
|
headerParameters['Content-Type'] = 'application/json';
|
|
147
|
+
let urlPath = `/portals/{portalId}/invite`;
|
|
148
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
142
149
|
const response = yield this.request({
|
|
143
|
-
path:
|
|
150
|
+
path: urlPath,
|
|
144
151
|
method: 'POST',
|
|
145
152
|
headers: headerParameters,
|
|
146
153
|
query: queryParameters,
|
|
@@ -168,8 +175,9 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
168
175
|
const queryParameters = {};
|
|
169
176
|
const headerParameters = {};
|
|
170
177
|
headerParameters['Content-Type'] = 'application/json';
|
|
178
|
+
let urlPath = `/portals`;
|
|
171
179
|
const response = yield this.request({
|
|
172
|
-
path:
|
|
180
|
+
path: urlPath,
|
|
173
181
|
method: 'POST',
|
|
174
182
|
headers: headerParameters,
|
|
175
183
|
query: queryParameters,
|
|
@@ -201,8 +209,10 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
201
209
|
const queryParameters = {};
|
|
202
210
|
const headerParameters = {};
|
|
203
211
|
headerParameters['Content-Type'] = 'application/json';
|
|
212
|
+
let urlPath = `/portals/{portalId}`;
|
|
213
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
204
214
|
const response = yield this.request({
|
|
205
|
-
path:
|
|
215
|
+
path: urlPath,
|
|
206
216
|
method: 'PUT',
|
|
207
217
|
headers: headerParameters,
|
|
208
218
|
query: queryParameters,
|
|
@@ -233,8 +243,10 @@ class PortalApi extends runtime.BaseAPI {
|
|
|
233
243
|
queryParameters['selectedUserRole'] = requestParameters['selectedUserRole'];
|
|
234
244
|
}
|
|
235
245
|
const headerParameters = {};
|
|
246
|
+
let urlPath = `/portals/{portalId}/selected`;
|
|
247
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
236
248
|
const response = yield this.request({
|
|
237
|
-
path:
|
|
249
|
+
path: urlPath,
|
|
238
250
|
method: 'PUT',
|
|
239
251
|
headers: headerParameters,
|
|
240
252
|
query: queryParameters,
|
package/dist/apis/QuestionApi.js
CHANGED
|
@@ -39,8 +39,10 @@ class QuestionApi extends runtime.BaseAPI {
|
|
|
39
39
|
}
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
|
+
let urlPath = `/questions/{questionId}`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
42
44
|
const response = yield this.request({
|
|
43
|
-
path:
|
|
45
|
+
path: urlPath,
|
|
44
46
|
method: 'DELETE',
|
|
45
47
|
headers: headerParameters,
|
|
46
48
|
query: queryParameters,
|
|
@@ -66,8 +68,10 @@ class QuestionApi extends runtime.BaseAPI {
|
|
|
66
68
|
}
|
|
67
69
|
const queryParameters = {};
|
|
68
70
|
const headerParameters = {};
|
|
71
|
+
let urlPath = `/questions/{questionId}`;
|
|
72
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
69
73
|
const response = yield this.request({
|
|
70
|
-
path:
|
|
74
|
+
path: urlPath,
|
|
71
75
|
method: 'GET',
|
|
72
76
|
headers: headerParameters,
|
|
73
77
|
query: queryParameters,
|
|
@@ -115,8 +119,9 @@ class QuestionApi extends runtime.BaseAPI {
|
|
|
115
119
|
queryParameters['search'] = requestParameters['search'];
|
|
116
120
|
}
|
|
117
121
|
const headerParameters = {};
|
|
122
|
+
let urlPath = `/questions`;
|
|
118
123
|
const response = yield this.request({
|
|
119
|
-
path:
|
|
124
|
+
path: urlPath,
|
|
120
125
|
method: 'GET',
|
|
121
126
|
headers: headerParameters,
|
|
122
127
|
query: queryParameters,
|
|
@@ -144,8 +149,9 @@ class QuestionApi extends runtime.BaseAPI {
|
|
|
144
149
|
const queryParameters = {};
|
|
145
150
|
const headerParameters = {};
|
|
146
151
|
headerParameters['Content-Type'] = 'application/json';
|
|
152
|
+
let urlPath = `/questions`;
|
|
147
153
|
const response = yield this.request({
|
|
148
|
-
path:
|
|
154
|
+
path: urlPath,
|
|
149
155
|
method: 'POST',
|
|
150
156
|
headers: headerParameters,
|
|
151
157
|
query: queryParameters,
|
|
@@ -177,8 +183,10 @@ class QuestionApi extends runtime.BaseAPI {
|
|
|
177
183
|
const queryParameters = {};
|
|
178
184
|
const headerParameters = {};
|
|
179
185
|
headerParameters['Content-Type'] = 'application/json';
|
|
186
|
+
let urlPath = `/questions/{questionId}`;
|
|
187
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
180
188
|
const response = yield this.request({
|
|
181
|
-
path:
|
|
189
|
+
path: urlPath,
|
|
182
190
|
method: 'PUT',
|
|
183
191
|
headers: headerParameters,
|
|
184
192
|
query: queryParameters,
|
package/dist/apis/QuizApi.js
CHANGED
|
@@ -43,8 +43,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
43
43
|
const queryParameters = {};
|
|
44
44
|
const headerParameters = {};
|
|
45
45
|
headerParameters['Content-Type'] = 'application/json';
|
|
46
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
47
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
46
48
|
const response = yield this.request({
|
|
47
|
-
path:
|
|
49
|
+
path: urlPath,
|
|
48
50
|
method: 'POST',
|
|
49
51
|
headers: headerParameters,
|
|
50
52
|
query: queryParameters,
|
|
@@ -76,8 +78,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
76
78
|
const queryParameters = {};
|
|
77
79
|
const headerParameters = {};
|
|
78
80
|
headerParameters['Content-Type'] = 'application/json';
|
|
81
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
82
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
79
83
|
const response = yield this.request({
|
|
80
|
-
path:
|
|
84
|
+
path: urlPath,
|
|
81
85
|
method: 'POST',
|
|
82
86
|
headers: headerParameters,
|
|
83
87
|
query: queryParameters,
|
|
@@ -109,8 +113,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
109
113
|
const queryParameters = {};
|
|
110
114
|
const headerParameters = {};
|
|
111
115
|
headerParameters['Content-Type'] = 'application/json';
|
|
116
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
117
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
112
118
|
const response = yield this.request({
|
|
113
|
-
path:
|
|
119
|
+
path: urlPath,
|
|
114
120
|
method: 'POST',
|
|
115
121
|
headers: headerParameters,
|
|
116
122
|
query: queryParameters,
|
|
@@ -139,8 +145,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
139
145
|
const queryParameters = {};
|
|
140
146
|
const headerParameters = {};
|
|
141
147
|
headerParameters['Content-Type'] = 'application/json';
|
|
148
|
+
let urlPath = `/quizzes`;
|
|
142
149
|
const response = yield this.request({
|
|
143
|
-
path:
|
|
150
|
+
path: urlPath,
|
|
144
151
|
method: 'POST',
|
|
145
152
|
headers: headerParameters,
|
|
146
153
|
query: queryParameters,
|
|
@@ -168,8 +175,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
168
175
|
}
|
|
169
176
|
const queryParameters = {};
|
|
170
177
|
const headerParameters = {};
|
|
178
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
179
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
171
180
|
const response = yield this.request({
|
|
172
|
-
path:
|
|
181
|
+
path: urlPath,
|
|
173
182
|
method: 'DELETE',
|
|
174
183
|
headers: headerParameters,
|
|
175
184
|
query: queryParameters,
|
|
@@ -198,8 +207,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
198
207
|
}
|
|
199
208
|
const queryParameters = {};
|
|
200
209
|
const headerParameters = {};
|
|
210
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
211
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
212
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
201
213
|
const response = yield this.request({
|
|
202
|
-
path:
|
|
214
|
+
path: urlPath,
|
|
203
215
|
method: 'DELETE',
|
|
204
216
|
headers: headerParameters,
|
|
205
217
|
query: queryParameters,
|
|
@@ -228,8 +240,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
228
240
|
}
|
|
229
241
|
const queryParameters = {};
|
|
230
242
|
const headerParameters = {};
|
|
243
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
244
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
245
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
231
246
|
const response = yield this.request({
|
|
232
|
-
path:
|
|
247
|
+
path: urlPath,
|
|
233
248
|
method: 'DELETE',
|
|
234
249
|
headers: headerParameters,
|
|
235
250
|
query: queryParameters,
|
|
@@ -255,8 +270,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
255
270
|
}
|
|
256
271
|
const queryParameters = {};
|
|
257
272
|
const headerParameters = {};
|
|
273
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
274
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
258
275
|
const response = yield this.request({
|
|
259
|
-
path:
|
|
276
|
+
path: urlPath,
|
|
260
277
|
method: 'GET',
|
|
261
278
|
headers: headerParameters,
|
|
262
279
|
query: queryParameters,
|
|
@@ -283,8 +300,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
283
300
|
}
|
|
284
301
|
const queryParameters = {};
|
|
285
302
|
const headerParameters = {};
|
|
303
|
+
let urlPath = `/quiz-attempts/{attemptId}`;
|
|
304
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
286
305
|
const response = yield this.request({
|
|
287
|
-
path:
|
|
306
|
+
path: urlPath,
|
|
288
307
|
method: 'GET',
|
|
289
308
|
headers: headerParameters,
|
|
290
309
|
query: queryParameters,
|
|
@@ -311,8 +330,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
311
330
|
}
|
|
312
331
|
const queryParameters = {};
|
|
313
332
|
const headerParameters = {};
|
|
333
|
+
let urlPath = `/quiz-attempts/{attemptId}/analytics`;
|
|
334
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
314
335
|
const response = yield this.request({
|
|
315
|
-
path:
|
|
336
|
+
path: urlPath,
|
|
316
337
|
method: 'GET',
|
|
317
338
|
headers: headerParameters,
|
|
318
339
|
query: queryParameters,
|
|
@@ -339,8 +360,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
339
360
|
}
|
|
340
361
|
const queryParameters = {};
|
|
341
362
|
const headerParameters = {};
|
|
363
|
+
let urlPath = `/quiz-attempts/{attemptId}/results`;
|
|
364
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
342
365
|
const response = yield this.request({
|
|
343
|
-
path:
|
|
366
|
+
path: urlPath,
|
|
344
367
|
method: 'GET',
|
|
345
368
|
headers: headerParameters,
|
|
346
369
|
query: queryParameters,
|
|
@@ -379,8 +402,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
379
402
|
queryParameters['status'] = requestParameters['status'];
|
|
380
403
|
}
|
|
381
404
|
const headerParameters = {};
|
|
405
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
406
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
382
407
|
const response = yield this.request({
|
|
383
|
-
path:
|
|
408
|
+
path: urlPath,
|
|
384
409
|
method: 'GET',
|
|
385
410
|
headers: headerParameters,
|
|
386
411
|
query: queryParameters,
|
|
@@ -410,8 +435,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
410
435
|
}
|
|
411
436
|
const queryParameters = {};
|
|
412
437
|
const headerParameters = {};
|
|
438
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
439
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
440
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
413
441
|
const response = yield this.request({
|
|
414
|
-
path:
|
|
442
|
+
path: urlPath,
|
|
415
443
|
method: 'GET',
|
|
416
444
|
headers: headerParameters,
|
|
417
445
|
query: queryParameters,
|
|
@@ -444,8 +472,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
444
472
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
445
473
|
}
|
|
446
474
|
const headerParameters = {};
|
|
475
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
476
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
447
477
|
const response = yield this.request({
|
|
448
|
-
path:
|
|
478
|
+
path: urlPath,
|
|
449
479
|
method: 'GET',
|
|
450
480
|
headers: headerParameters,
|
|
451
481
|
query: queryParameters,
|
|
@@ -484,8 +514,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
484
514
|
queryParameters['search'] = requestParameters['search'];
|
|
485
515
|
}
|
|
486
516
|
const headerParameters = {};
|
|
517
|
+
let urlPath = `/quizzes`;
|
|
487
518
|
const response = yield this.request({
|
|
488
|
-
path:
|
|
519
|
+
path: urlPath,
|
|
489
520
|
method: 'GET',
|
|
490
521
|
headers: headerParameters,
|
|
491
522
|
query: queryParameters,
|
|
@@ -515,8 +546,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
515
546
|
}
|
|
516
547
|
const queryParameters = {};
|
|
517
548
|
const headerParameters = {};
|
|
549
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
550
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
551
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
518
552
|
const response = yield this.request({
|
|
519
|
-
path:
|
|
553
|
+
path: urlPath,
|
|
520
554
|
method: 'GET',
|
|
521
555
|
headers: headerParameters,
|
|
522
556
|
query: queryParameters,
|
|
@@ -549,8 +583,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
549
583
|
queryParameters['page_size'] = requestParameters['pageSize'];
|
|
550
584
|
}
|
|
551
585
|
const headerParameters = {};
|
|
586
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
587
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
552
588
|
const response = yield this.request({
|
|
553
|
-
path:
|
|
589
|
+
path: urlPath,
|
|
554
590
|
method: 'GET',
|
|
555
591
|
headers: headerParameters,
|
|
556
592
|
query: queryParameters,
|
|
@@ -583,8 +619,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
583
619
|
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
584
620
|
}
|
|
585
621
|
const headerParameters = {};
|
|
622
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
623
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
586
624
|
const response = yield this.request({
|
|
587
|
-
path:
|
|
625
|
+
path: urlPath,
|
|
588
626
|
method: 'GET',
|
|
589
627
|
headers: headerParameters,
|
|
590
628
|
query: queryParameters,
|
|
@@ -623,8 +661,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
623
661
|
queryParameters['status'] = requestParameters['status'];
|
|
624
662
|
}
|
|
625
663
|
const headerParameters = {};
|
|
664
|
+
let urlPath = `/users/{userId}/quiz-attempts`;
|
|
665
|
+
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
626
666
|
const response = yield this.request({
|
|
627
|
-
path:
|
|
667
|
+
path: urlPath,
|
|
628
668
|
method: 'GET',
|
|
629
669
|
headers: headerParameters,
|
|
630
670
|
query: queryParameters,
|
|
@@ -654,8 +694,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
654
694
|
}
|
|
655
695
|
const queryParameters = {};
|
|
656
696
|
const headerParameters = {};
|
|
697
|
+
let urlPath = `/quizzes/{quizId}/questions/{questionId}`;
|
|
698
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
699
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
657
700
|
const response = yield this.request({
|
|
658
|
-
path:
|
|
701
|
+
path: urlPath,
|
|
659
702
|
method: 'DELETE',
|
|
660
703
|
headers: headerParameters,
|
|
661
704
|
query: queryParameters,
|
|
@@ -688,8 +731,11 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
688
731
|
const queryParameters = {};
|
|
689
732
|
const headerParameters = {};
|
|
690
733
|
headerParameters['Content-Type'] = 'application/json';
|
|
734
|
+
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}`;
|
|
735
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
736
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
691
737
|
const response = yield this.request({
|
|
692
|
-
path:
|
|
738
|
+
path: urlPath,
|
|
693
739
|
method: 'PUT',
|
|
694
740
|
headers: headerParameters,
|
|
695
741
|
query: queryParameters,
|
|
@@ -716,8 +762,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
716
762
|
}
|
|
717
763
|
const queryParameters = {};
|
|
718
764
|
const headerParameters = {};
|
|
765
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
766
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
719
767
|
const response = yield this.request({
|
|
720
|
-
path:
|
|
768
|
+
path: urlPath,
|
|
721
769
|
method: 'POST',
|
|
722
770
|
headers: headerParameters,
|
|
723
771
|
query: queryParameters,
|
|
@@ -748,8 +796,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
748
796
|
const queryParameters = {};
|
|
749
797
|
const headerParameters = {};
|
|
750
798
|
headerParameters['Content-Type'] = 'application/json';
|
|
799
|
+
let urlPath = `/quiz-attempts/{attemptId}/submit`;
|
|
800
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
751
801
|
const response = yield this.request({
|
|
752
|
-
path:
|
|
802
|
+
path: urlPath,
|
|
753
803
|
method: 'POST',
|
|
754
804
|
headers: headerParameters,
|
|
755
805
|
query: queryParameters,
|
|
@@ -781,8 +831,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
781
831
|
const queryParameters = {};
|
|
782
832
|
const headerParameters = {};
|
|
783
833
|
headerParameters['Content-Type'] = 'application/json';
|
|
834
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
835
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
784
836
|
const response = yield this.request({
|
|
785
|
-
path:
|
|
837
|
+
path: urlPath,
|
|
786
838
|
method: 'PUT',
|
|
787
839
|
headers: headerParameters,
|
|
788
840
|
query: queryParameters,
|
|
@@ -814,8 +866,10 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
814
866
|
const queryParameters = {};
|
|
815
867
|
const headerParameters = {};
|
|
816
868
|
headerParameters['Content-Type'] = 'application/json';
|
|
869
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
870
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
817
871
|
const response = yield this.request({
|
|
818
|
-
path:
|
|
872
|
+
path: urlPath,
|
|
819
873
|
method: 'PUT',
|
|
820
874
|
headers: headerParameters,
|
|
821
875
|
query: queryParameters,
|
|
@@ -48,8 +48,13 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
48
48
|
}
|
|
49
49
|
const queryParameters = {};
|
|
50
50
|
const headerParameters = {};
|
|
51
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades/{studentId}`;
|
|
52
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
53
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
54
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
55
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
51
56
|
const response = yield this.request({
|
|
52
|
-
path:
|
|
57
|
+
path: urlPath,
|
|
53
58
|
method: 'GET',
|
|
54
59
|
headers: headerParameters,
|
|
55
60
|
query: queryParameters,
|
|
@@ -91,8 +96,12 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
91
96
|
queryParameters['search'] = requestParameters['search'];
|
|
92
97
|
}
|
|
93
98
|
const headerParameters = {};
|
|
99
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades`;
|
|
100
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
101
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
102
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
94
103
|
const response = yield this.request({
|
|
95
|
-
path:
|
|
104
|
+
path: urlPath,
|
|
96
105
|
method: 'GET',
|
|
97
106
|
headers: headerParameters,
|
|
98
107
|
query: queryParameters,
|
|
@@ -125,8 +134,12 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
125
134
|
}
|
|
126
135
|
const queryParameters = {};
|
|
127
136
|
const headerParameters = {};
|
|
137
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic`;
|
|
138
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
139
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
140
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
128
141
|
const response = yield this.request({
|
|
129
|
-
path:
|
|
142
|
+
path: urlPath,
|
|
130
143
|
method: 'GET',
|
|
131
144
|
headers: headerParameters,
|
|
132
145
|
query: queryParameters,
|
|
@@ -153,8 +166,10 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
153
166
|
}
|
|
154
167
|
const queryParameters = {};
|
|
155
168
|
const headerParameters = {};
|
|
169
|
+
let urlPath = `/courses/{courseId}/reporting/instructor/basic`;
|
|
170
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
156
171
|
const response = yield this.request({
|
|
157
|
-
path:
|
|
172
|
+
path: urlPath,
|
|
158
173
|
method: 'GET',
|
|
159
174
|
headers: headerParameters,
|
|
160
175
|
query: queryParameters,
|
|
@@ -184,8 +199,11 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
184
199
|
}
|
|
185
200
|
const queryParameters = {};
|
|
186
201
|
const headerParameters = {};
|
|
202
|
+
let urlPath = `/courses/{courseId}/reporting/students/{studentId}`;
|
|
203
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
204
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
187
205
|
const response = yield this.request({
|
|
188
|
-
path:
|
|
206
|
+
path: urlPath,
|
|
189
207
|
method: 'GET',
|
|
190
208
|
headers: headerParameters,
|
|
191
209
|
query: queryParameters,
|
|
@@ -215,8 +233,11 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
215
233
|
}
|
|
216
234
|
const queryParameters = {};
|
|
217
235
|
const headerParameters = {};
|
|
236
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/instructor/basic`;
|
|
237
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
238
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
218
239
|
const response = yield this.request({
|
|
219
|
-
path:
|
|
240
|
+
path: urlPath,
|
|
220
241
|
method: 'GET',
|
|
221
242
|
headers: headerParameters,
|
|
222
243
|
query: queryParameters,
|
|
@@ -249,8 +270,12 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
249
270
|
}
|
|
250
271
|
const queryParameters = {};
|
|
251
272
|
const headerParameters = {};
|
|
273
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/students/{studentId}`;
|
|
274
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
275
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
276
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
252
277
|
const response = yield this.request({
|
|
253
|
-
path:
|
|
278
|
+
path: urlPath,
|
|
254
279
|
method: 'GET',
|
|
255
280
|
headers: headerParameters,
|
|
256
281
|
query: queryParameters,
|
|
@@ -277,8 +302,10 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
277
302
|
}
|
|
278
303
|
const queryParameters = {};
|
|
279
304
|
const headerParameters = {};
|
|
305
|
+
let urlPath = `/portals/{portalId}/reporting/basic`;
|
|
306
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
280
307
|
const response = yield this.request({
|
|
281
|
-
path:
|
|
308
|
+
path: urlPath,
|
|
282
309
|
method: 'GET',
|
|
283
310
|
headers: headerParameters,
|
|
284
311
|
query: queryParameters,
|
|
@@ -308,8 +335,11 @@ class ReportingApi extends runtime.BaseAPI {
|
|
|
308
335
|
}
|
|
309
336
|
const queryParameters = {};
|
|
310
337
|
const headerParameters = {};
|
|
338
|
+
let urlPath = `/portals/{portalId}/reporting/students/{studentId}`;
|
|
339
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
340
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
311
341
|
const response = yield this.request({
|
|
312
|
-
path:
|
|
342
|
+
path: urlPath,
|
|
313
343
|
method: 'GET',
|
|
314
344
|
headers: headerParameters,
|
|
315
345
|
query: queryParameters,
|