@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/src/apis/QuizApi.ts
CHANGED
|
@@ -242,8 +242,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
242
242
|
|
|
243
243
|
headerParameters['Content-Type'] = 'application/json';
|
|
244
244
|
|
|
245
|
+
|
|
246
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
247
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
248
|
+
|
|
245
249
|
const response = await this.request({
|
|
246
|
-
path:
|
|
250
|
+
path: urlPath,
|
|
247
251
|
method: 'POST',
|
|
248
252
|
headers: headerParameters,
|
|
249
253
|
query: queryParameters,
|
|
@@ -285,8 +289,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
285
289
|
|
|
286
290
|
headerParameters['Content-Type'] = 'application/json';
|
|
287
291
|
|
|
292
|
+
|
|
293
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
294
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
295
|
+
|
|
288
296
|
const response = await this.request({
|
|
289
|
-
path:
|
|
297
|
+
path: urlPath,
|
|
290
298
|
method: 'POST',
|
|
291
299
|
headers: headerParameters,
|
|
292
300
|
query: queryParameters,
|
|
@@ -328,8 +336,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
328
336
|
|
|
329
337
|
headerParameters['Content-Type'] = 'application/json';
|
|
330
338
|
|
|
339
|
+
|
|
340
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
341
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
342
|
+
|
|
331
343
|
const response = await this.request({
|
|
332
|
-
path:
|
|
344
|
+
path: urlPath,
|
|
333
345
|
method: 'POST',
|
|
334
346
|
headers: headerParameters,
|
|
335
347
|
query: queryParameters,
|
|
@@ -364,8 +376,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
364
376
|
|
|
365
377
|
headerParameters['Content-Type'] = 'application/json';
|
|
366
378
|
|
|
379
|
+
|
|
380
|
+
let urlPath = `/quizzes`;
|
|
381
|
+
|
|
367
382
|
const response = await this.request({
|
|
368
|
-
path:
|
|
383
|
+
path: urlPath,
|
|
369
384
|
method: 'POST',
|
|
370
385
|
headers: headerParameters,
|
|
371
386
|
query: queryParameters,
|
|
@@ -398,8 +413,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
398
413
|
|
|
399
414
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
400
415
|
|
|
416
|
+
|
|
417
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
418
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
419
|
+
|
|
401
420
|
const response = await this.request({
|
|
402
|
-
path:
|
|
421
|
+
path: urlPath,
|
|
403
422
|
method: 'DELETE',
|
|
404
423
|
headers: headerParameters,
|
|
405
424
|
query: queryParameters,
|
|
@@ -437,8 +456,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
437
456
|
|
|
438
457
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
439
458
|
|
|
459
|
+
|
|
460
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
461
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
462
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
463
|
+
|
|
440
464
|
const response = await this.request({
|
|
441
|
-
path:
|
|
465
|
+
path: urlPath,
|
|
442
466
|
method: 'DELETE',
|
|
443
467
|
headers: headerParameters,
|
|
444
468
|
query: queryParameters,
|
|
@@ -476,8 +500,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
476
500
|
|
|
477
501
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
478
502
|
|
|
503
|
+
|
|
504
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
505
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
506
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
507
|
+
|
|
479
508
|
const response = await this.request({
|
|
480
|
-
path:
|
|
509
|
+
path: urlPath,
|
|
481
510
|
method: 'DELETE',
|
|
482
511
|
headers: headerParameters,
|
|
483
512
|
query: queryParameters,
|
|
@@ -508,8 +537,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
508
537
|
|
|
509
538
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
510
539
|
|
|
540
|
+
|
|
541
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
542
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
543
|
+
|
|
511
544
|
const response = await this.request({
|
|
512
|
-
path:
|
|
545
|
+
path: urlPath,
|
|
513
546
|
method: 'GET',
|
|
514
547
|
headers: headerParameters,
|
|
515
548
|
query: queryParameters,
|
|
@@ -541,8 +574,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
541
574
|
|
|
542
575
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
543
576
|
|
|
577
|
+
|
|
578
|
+
let urlPath = `/quiz-attempts/{attemptId}`;
|
|
579
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
580
|
+
|
|
544
581
|
const response = await this.request({
|
|
545
|
-
path:
|
|
582
|
+
path: urlPath,
|
|
546
583
|
method: 'GET',
|
|
547
584
|
headers: headerParameters,
|
|
548
585
|
query: queryParameters,
|
|
@@ -574,8 +611,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
574
611
|
|
|
575
612
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
576
613
|
|
|
614
|
+
|
|
615
|
+
let urlPath = `/quiz-attempts/{attemptId}/analytics`;
|
|
616
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
617
|
+
|
|
577
618
|
const response = await this.request({
|
|
578
|
-
path:
|
|
619
|
+
path: urlPath,
|
|
579
620
|
method: 'GET',
|
|
580
621
|
headers: headerParameters,
|
|
581
622
|
query: queryParameters,
|
|
@@ -607,8 +648,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
607
648
|
|
|
608
649
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
609
650
|
|
|
651
|
+
|
|
652
|
+
let urlPath = `/quiz-attempts/{attemptId}/results`;
|
|
653
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
654
|
+
|
|
610
655
|
const response = await this.request({
|
|
611
|
-
path:
|
|
656
|
+
path: urlPath,
|
|
612
657
|
method: 'GET',
|
|
613
658
|
headers: headerParameters,
|
|
614
659
|
query: queryParameters,
|
|
@@ -656,8 +701,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
656
701
|
|
|
657
702
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
658
703
|
|
|
704
|
+
|
|
705
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
706
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
707
|
+
|
|
659
708
|
const response = await this.request({
|
|
660
|
-
path:
|
|
709
|
+
path: urlPath,
|
|
661
710
|
method: 'GET',
|
|
662
711
|
headers: headerParameters,
|
|
663
712
|
query: queryParameters,
|
|
@@ -696,8 +745,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
696
745
|
|
|
697
746
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
698
747
|
|
|
748
|
+
|
|
749
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
750
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
751
|
+
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
752
|
+
|
|
699
753
|
const response = await this.request({
|
|
700
|
-
path:
|
|
754
|
+
path: urlPath,
|
|
701
755
|
method: 'GET',
|
|
702
756
|
headers: headerParameters,
|
|
703
757
|
query: queryParameters,
|
|
@@ -737,8 +791,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
737
791
|
|
|
738
792
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
739
793
|
|
|
794
|
+
|
|
795
|
+
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
796
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
797
|
+
|
|
740
798
|
const response = await this.request({
|
|
741
|
-
path:
|
|
799
|
+
path: urlPath,
|
|
742
800
|
method: 'GET',
|
|
743
801
|
headers: headerParameters,
|
|
744
802
|
query: queryParameters,
|
|
@@ -783,8 +841,11 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
783
841
|
|
|
784
842
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
785
843
|
|
|
844
|
+
|
|
845
|
+
let urlPath = `/quizzes`;
|
|
846
|
+
|
|
786
847
|
const response = await this.request({
|
|
787
|
-
path:
|
|
848
|
+
path: urlPath,
|
|
788
849
|
method: 'GET',
|
|
789
850
|
headers: headerParameters,
|
|
790
851
|
query: queryParameters,
|
|
@@ -823,8 +884,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
823
884
|
|
|
824
885
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
825
886
|
|
|
887
|
+
|
|
888
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
889
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
890
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
891
|
+
|
|
826
892
|
const response = await this.request({
|
|
827
|
-
path:
|
|
893
|
+
path: urlPath,
|
|
828
894
|
method: 'GET',
|
|
829
895
|
headers: headerParameters,
|
|
830
896
|
query: queryParameters,
|
|
@@ -864,8 +930,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
864
930
|
|
|
865
931
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
866
932
|
|
|
933
|
+
|
|
934
|
+
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
935
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
936
|
+
|
|
867
937
|
const response = await this.request({
|
|
868
|
-
path:
|
|
938
|
+
path: urlPath,
|
|
869
939
|
method: 'GET',
|
|
870
940
|
headers: headerParameters,
|
|
871
941
|
query: queryParameters,
|
|
@@ -905,8 +975,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
905
975
|
|
|
906
976
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
907
977
|
|
|
978
|
+
|
|
979
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
980
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
981
|
+
|
|
908
982
|
const response = await this.request({
|
|
909
|
-
path:
|
|
983
|
+
path: urlPath,
|
|
910
984
|
method: 'GET',
|
|
911
985
|
headers: headerParameters,
|
|
912
986
|
query: queryParameters,
|
|
@@ -954,8 +1028,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
954
1028
|
|
|
955
1029
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
956
1030
|
|
|
1031
|
+
|
|
1032
|
+
let urlPath = `/users/{userId}/quiz-attempts`;
|
|
1033
|
+
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
1034
|
+
|
|
957
1035
|
const response = await this.request({
|
|
958
|
-
path:
|
|
1036
|
+
path: urlPath,
|
|
959
1037
|
method: 'GET',
|
|
960
1038
|
headers: headerParameters,
|
|
961
1039
|
query: queryParameters,
|
|
@@ -994,8 +1072,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
994
1072
|
|
|
995
1073
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
996
1074
|
|
|
1075
|
+
|
|
1076
|
+
let urlPath = `/quizzes/{quizId}/questions/{questionId}`;
|
|
1077
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
1078
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
1079
|
+
|
|
997
1080
|
const response = await this.request({
|
|
998
|
-
path:
|
|
1081
|
+
path: urlPath,
|
|
999
1082
|
method: 'DELETE',
|
|
1000
1083
|
headers: headerParameters,
|
|
1001
1084
|
query: queryParameters,
|
|
@@ -1042,8 +1125,13 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1042
1125
|
|
|
1043
1126
|
headerParameters['Content-Type'] = 'application/json';
|
|
1044
1127
|
|
|
1128
|
+
|
|
1129
|
+
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}`;
|
|
1130
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
1131
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
1132
|
+
|
|
1045
1133
|
const response = await this.request({
|
|
1046
|
-
path:
|
|
1134
|
+
path: urlPath,
|
|
1047
1135
|
method: 'PUT',
|
|
1048
1136
|
headers: headerParameters,
|
|
1049
1137
|
query: queryParameters,
|
|
@@ -1075,8 +1163,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1075
1163
|
|
|
1076
1164
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
1077
1165
|
|
|
1166
|
+
|
|
1167
|
+
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
1168
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
1169
|
+
|
|
1078
1170
|
const response = await this.request({
|
|
1079
|
-
path:
|
|
1171
|
+
path: urlPath,
|
|
1080
1172
|
method: 'POST',
|
|
1081
1173
|
headers: headerParameters,
|
|
1082
1174
|
query: queryParameters,
|
|
@@ -1117,8 +1209,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1117
1209
|
|
|
1118
1210
|
headerParameters['Content-Type'] = 'application/json';
|
|
1119
1211
|
|
|
1212
|
+
|
|
1213
|
+
let urlPath = `/quiz-attempts/{attemptId}/submit`;
|
|
1214
|
+
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
1215
|
+
|
|
1120
1216
|
const response = await this.request({
|
|
1121
|
-
path:
|
|
1217
|
+
path: urlPath,
|
|
1122
1218
|
method: 'POST',
|
|
1123
1219
|
headers: headerParameters,
|
|
1124
1220
|
query: queryParameters,
|
|
@@ -1160,8 +1256,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1160
1256
|
|
|
1161
1257
|
headerParameters['Content-Type'] = 'application/json';
|
|
1162
1258
|
|
|
1259
|
+
|
|
1260
|
+
let urlPath = `/quizzes/{quizId}`;
|
|
1261
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
1262
|
+
|
|
1163
1263
|
const response = await this.request({
|
|
1164
|
-
path:
|
|
1264
|
+
path: urlPath,
|
|
1165
1265
|
method: 'PUT',
|
|
1166
1266
|
headers: headerParameters,
|
|
1167
1267
|
query: queryParameters,
|
|
@@ -1203,8 +1303,12 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1203
1303
|
|
|
1204
1304
|
headerParameters['Content-Type'] = 'application/json';
|
|
1205
1305
|
|
|
1306
|
+
|
|
1307
|
+
let urlPath = `/quizzes/{quizId}/questions`;
|
|
1308
|
+
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
1309
|
+
|
|
1206
1310
|
const response = await this.request({
|
|
1207
|
-
path:
|
|
1311
|
+
path: urlPath,
|
|
1208
1312
|
method: 'PUT',
|
|
1209
1313
|
headers: headerParameters,
|
|
1210
1314
|
query: queryParameters,
|
package/src/apis/ReportingApi.ts
CHANGED
|
@@ -138,8 +138,15 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
138
138
|
|
|
139
139
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
140
140
|
|
|
141
|
+
|
|
142
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades/{studentId}`;
|
|
143
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
144
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
145
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
146
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
147
|
+
|
|
141
148
|
const response = await this.request({
|
|
142
|
-
path:
|
|
149
|
+
path: urlPath,
|
|
143
150
|
method: 'GET',
|
|
144
151
|
headers: headerParameters,
|
|
145
152
|
query: queryParameters,
|
|
@@ -197,8 +204,14 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
197
204
|
|
|
198
205
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
199
206
|
|
|
207
|
+
|
|
208
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades`;
|
|
209
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
210
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
211
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
212
|
+
|
|
200
213
|
const response = await this.request({
|
|
201
|
-
path:
|
|
214
|
+
path: urlPath,
|
|
202
215
|
method: 'GET',
|
|
203
216
|
headers: headerParameters,
|
|
204
217
|
query: queryParameters,
|
|
@@ -244,8 +257,14 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
244
257
|
|
|
245
258
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
246
259
|
|
|
260
|
+
|
|
261
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic`;
|
|
262
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
263
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
264
|
+
urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
|
|
265
|
+
|
|
247
266
|
const response = await this.request({
|
|
248
|
-
path:
|
|
267
|
+
path: urlPath,
|
|
249
268
|
method: 'GET',
|
|
250
269
|
headers: headerParameters,
|
|
251
270
|
query: queryParameters,
|
|
@@ -277,8 +296,12 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
277
296
|
|
|
278
297
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
279
298
|
|
|
299
|
+
|
|
300
|
+
let urlPath = `/courses/{courseId}/reporting/instructor/basic`;
|
|
301
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
302
|
+
|
|
280
303
|
const response = await this.request({
|
|
281
|
-
path:
|
|
304
|
+
path: urlPath,
|
|
282
305
|
method: 'GET',
|
|
283
306
|
headers: headerParameters,
|
|
284
307
|
query: queryParameters,
|
|
@@ -317,8 +340,13 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
317
340
|
|
|
318
341
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
319
342
|
|
|
343
|
+
|
|
344
|
+
let urlPath = `/courses/{courseId}/reporting/students/{studentId}`;
|
|
345
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
346
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
347
|
+
|
|
320
348
|
const response = await this.request({
|
|
321
|
-
path:
|
|
349
|
+
path: urlPath,
|
|
322
350
|
method: 'GET',
|
|
323
351
|
headers: headerParameters,
|
|
324
352
|
query: queryParameters,
|
|
@@ -357,8 +385,13 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
357
385
|
|
|
358
386
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
359
387
|
|
|
388
|
+
|
|
389
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/instructor/basic`;
|
|
390
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
391
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
392
|
+
|
|
360
393
|
const response = await this.request({
|
|
361
|
-
path:
|
|
394
|
+
path: urlPath,
|
|
362
395
|
method: 'GET',
|
|
363
396
|
headers: headerParameters,
|
|
364
397
|
query: queryParameters,
|
|
@@ -404,8 +437,14 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
404
437
|
|
|
405
438
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
406
439
|
|
|
440
|
+
|
|
441
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/students/{studentId}`;
|
|
442
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
443
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
444
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
445
|
+
|
|
407
446
|
const response = await this.request({
|
|
408
|
-
path:
|
|
447
|
+
path: urlPath,
|
|
409
448
|
method: 'GET',
|
|
410
449
|
headers: headerParameters,
|
|
411
450
|
query: queryParameters,
|
|
@@ -437,8 +476,12 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
437
476
|
|
|
438
477
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
439
478
|
|
|
479
|
+
|
|
480
|
+
let urlPath = `/portals/{portalId}/reporting/basic`;
|
|
481
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
482
|
+
|
|
440
483
|
const response = await this.request({
|
|
441
|
-
path:
|
|
484
|
+
path: urlPath,
|
|
442
485
|
method: 'GET',
|
|
443
486
|
headers: headerParameters,
|
|
444
487
|
query: queryParameters,
|
|
@@ -477,8 +520,13 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
477
520
|
|
|
478
521
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
479
522
|
|
|
523
|
+
|
|
524
|
+
let urlPath = `/portals/{portalId}/reporting/students/{studentId}`;
|
|
525
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
526
|
+
urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
|
|
527
|
+
|
|
480
528
|
const response = await this.request({
|
|
481
|
-
path:
|
|
529
|
+
path: urlPath,
|
|
482
530
|
method: 'GET',
|
|
483
531
|
headers: headerParameters,
|
|
484
532
|
query: queryParameters,
|
package/src/apis/UserApi.ts
CHANGED
|
@@ -71,8 +71,11 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
71
71
|
|
|
72
72
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
73
73
|
|
|
74
|
+
|
|
75
|
+
let urlPath = `/auth/check`;
|
|
76
|
+
|
|
74
77
|
const response = await this.request({
|
|
75
|
-
path:
|
|
78
|
+
path: urlPath,
|
|
76
79
|
method: 'GET',
|
|
77
80
|
headers: headerParameters,
|
|
78
81
|
query: queryParameters,
|
|
@@ -103,8 +106,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
103
106
|
|
|
104
107
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
105
108
|
|
|
109
|
+
|
|
110
|
+
let urlPath = `/users/{userId}`;
|
|
111
|
+
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
112
|
+
|
|
106
113
|
const response = await this.request({
|
|
107
|
-
path:
|
|
114
|
+
path: urlPath,
|
|
108
115
|
method: 'GET',
|
|
109
116
|
headers: headerParameters,
|
|
110
117
|
query: queryParameters,
|
|
@@ -138,8 +145,11 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
138
145
|
|
|
139
146
|
headerParameters['Content-Type'] = 'application/json';
|
|
140
147
|
|
|
148
|
+
|
|
149
|
+
let urlPath = `/auth/login`;
|
|
150
|
+
|
|
141
151
|
const response = await this.request({
|
|
142
|
-
path:
|
|
152
|
+
path: urlPath,
|
|
143
153
|
method: 'POST',
|
|
144
154
|
headers: headerParameters,
|
|
145
155
|
query: queryParameters,
|
|
@@ -165,8 +175,11 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
165
175
|
|
|
166
176
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
167
177
|
|
|
178
|
+
|
|
179
|
+
let urlPath = `/auth/logout`;
|
|
180
|
+
|
|
168
181
|
const response = await this.request({
|
|
169
|
-
path:
|
|
182
|
+
path: urlPath,
|
|
170
183
|
method: 'POST',
|
|
171
184
|
headers: headerParameters,
|
|
172
185
|
query: queryParameters,
|
|
@@ -206,8 +219,12 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
206
219
|
|
|
207
220
|
headerParameters['Content-Type'] = 'application/json';
|
|
208
221
|
|
|
222
|
+
|
|
223
|
+
let urlPath = `/users/{userId}`;
|
|
224
|
+
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
225
|
+
|
|
209
226
|
const response = await this.request({
|
|
210
|
-
path:
|
|
227
|
+
path: urlPath,
|
|
211
228
|
method: 'PUT',
|
|
212
229
|
headers: headerParameters,
|
|
213
230
|
query: queryParameters,
|
|
@@ -242,8 +259,11 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
242
259
|
|
|
243
260
|
headerParameters['Content-Type'] = 'application/json';
|
|
244
261
|
|
|
262
|
+
|
|
263
|
+
let urlPath = `/auth/reset-password`;
|
|
264
|
+
|
|
245
265
|
const response = await this.request({
|
|
246
|
-
path:
|
|
266
|
+
path: urlPath,
|
|
247
267
|
method: 'POST',
|
|
248
268
|
headers: headerParameters,
|
|
249
269
|
query: queryParameters,
|
|
@@ -277,8 +297,11 @@ export class UserApi extends runtime.BaseAPI {
|
|
|
277
297
|
|
|
278
298
|
headerParameters['Content-Type'] = 'application/json';
|
|
279
299
|
|
|
300
|
+
|
|
301
|
+
let urlPath = `/auth/send-reset-password`;
|
|
302
|
+
|
|
280
303
|
const response = await this.request({
|
|
281
|
-
path:
|
|
304
|
+
path: urlPath,
|
|
282
305
|
method: 'POST',
|
|
283
306
|
headers: headerParameters,
|
|
284
307
|
query: queryParameters,
|
|
@@ -49,6 +49,9 @@ export function GetContentContentDataFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
49
49
|
if (json == null) {
|
|
50
50
|
return json;
|
|
51
51
|
}
|
|
52
|
+
if (typeof json !== 'object') {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
52
55
|
if (instanceOfMediaContent(json)) {
|
|
53
56
|
return MediaContentFromJSONTyped(json, true);
|
|
54
57
|
}
|
|
@@ -58,7 +61,6 @@ export function GetContentContentDataFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
58
61
|
if (instanceOfSCORMContent(json)) {
|
|
59
62
|
return SCORMContentFromJSONTyped(json, true);
|
|
60
63
|
}
|
|
61
|
-
|
|
62
64
|
return {} as any;
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -70,7 +72,9 @@ export function GetContentContentDataToJSONTyped(value?: GetContentContentData |
|
|
|
70
72
|
if (value == null) {
|
|
71
73
|
return value;
|
|
72
74
|
}
|
|
73
|
-
|
|
75
|
+
if (typeof value !== 'object') {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
74
78
|
if (instanceOfMediaContent(value)) {
|
|
75
79
|
return MediaContentToJSON(value as MediaContent);
|
|
76
80
|
}
|
|
@@ -80,7 +84,6 @@ export function GetContentContentDataToJSONTyped(value?: GetContentContentData |
|
|
|
80
84
|
if (instanceOfSCORMContent(value)) {
|
|
81
85
|
return SCORMContentToJSON(value as SCORMContent);
|
|
82
86
|
}
|
|
83
|
-
|
|
84
87
|
return {};
|
|
85
88
|
}
|
|
86
89
|
|
|
@@ -134,8 +134,8 @@ export function GetContentVersionToJSONTyped(value?: GetContentVersion | null, i
|
|
|
134
134
|
'content_id': value['contentId'],
|
|
135
135
|
'version': value['version'],
|
|
136
136
|
'is_active': value['isActive'],
|
|
137
|
-
'created_at':
|
|
138
|
-
'updated_at':
|
|
137
|
+
'created_at': value['createdAt'].toISOString(),
|
|
138
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
139
139
|
'sandbox': GetContentVersionSandboxToJSON(value['sandbox']),
|
|
140
140
|
'scorm_data': GetContentVersionScormDataToJSON(value['scormData']),
|
|
141
141
|
};
|
|
@@ -95,8 +95,8 @@ export function GetContentVersionListItemsInnerToJSONTyped(value?: GetContentVer
|
|
|
95
95
|
'id': value['id'],
|
|
96
96
|
'version': value['version'],
|
|
97
97
|
'is_active': value['isActive'],
|
|
98
|
-
'created_at':
|
|
99
|
-
'updated_at':
|
|
98
|
+
'created_at': value['createdAt'].toISOString(),
|
|
99
|
+
'updated_at': value['updatedAt'].toISOString(),
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -131,7 +131,7 @@ export function GetManualQuestionSelectionItemToJSONTyped(value?: GetManualQuest
|
|
|
131
131
|
'points': value['points'],
|
|
132
132
|
'version_locked': value['versionLocked'],
|
|
133
133
|
'question_details': GetQuizQuestionsItemsInnerQuestionDetailsToJSON(value['questionDetails']),
|
|
134
|
-
'created_at':
|
|
134
|
+
'created_at': value['createdAt'].toISOString(),
|
|
135
135
|
};
|
|
136
136
|
}
|
|
137
137
|
|
|
@@ -136,8 +136,8 @@ export function GetQuestionListFiltersToJSONTyped(value?: GetQuestionListFilters
|
|
|
136
136
|
'difficulty_level': value['difficultyLevel'],
|
|
137
137
|
'tags': value['tags'],
|
|
138
138
|
'search': value['search'],
|
|
139
|
-
'created_after': value['createdAfter'] == null ?
|
|
140
|
-
'created_before': value['createdBefore'] == null ?
|
|
139
|
+
'created_after': value['createdAfter'] == null ? value['createdAfter'] : value['createdAfter'].toISOString().substring(0,10),
|
|
140
|
+
'created_before': value['createdBefore'] == null ? value['createdBefore'] : value['createdBefore'].toISOString().substring(0,10),
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
|