@easyedu/js-lsm-api 1.30.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +209 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +378 -28
- package/dist/apis/ContentApi.d.ts +90 -1
- package/dist/apis/ContentApi.js +286 -17
- package/dist/apis/CourseApi.js +37 -12
- package/dist/apis/ModuleApi.js +14 -4
- package/dist/apis/OtherApi.js +2 -1
- package/dist/apis/PortalApi.js +19 -7
- package/dist/apis/QuestionApi.js +13 -5
- package/dist/apis/QuizApi.js +79 -25
- package/dist/apis/ReportingApi.js +39 -9
- package/dist/apis/UserApi.js +16 -7
- package/dist/esm/apis/ContentApi.d.ts +90 -1
- package/dist/esm/apis/ContentApi.js +286 -17
- package/dist/esm/apis/CourseApi.js +37 -12
- package/dist/esm/apis/ModuleApi.js +14 -4
- package/dist/esm/apis/OtherApi.js +2 -1
- package/dist/esm/apis/PortalApi.js +19 -7
- package/dist/esm/apis/QuestionApi.js +13 -5
- package/dist/esm/apis/QuizApi.js +79 -25
- package/dist/esm/apis/ReportingApi.js +39 -9
- package/dist/esm/apis/UserApi.js +16 -7
- package/dist/esm/models/GetContentContentData.js +6 -0
- package/dist/esm/models/GetContentVersion.js +2 -2
- package/dist/esm/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/esm/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/esm/models/GetQuestionListFilters.js +2 -2
- package/dist/esm/models/GetQuiz.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/esm/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/esm/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/esm/models/GetQuizCriteriaItem.js +2 -2
- package/dist/esm/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/esm/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/esm/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/esm/models/GetQuizResultsTiming.js +2 -2
- package/dist/esm/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/esm/models/PostContentQuizAssignment.js +3 -3
- package/dist/esm/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/esm/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/esm/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/esm/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/esm/models/PostVerifyManifest.d.ts +106 -0
- package/dist/esm/models/PostVerifyManifest.js +73 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/esm/models/PostVerifyManifestItemsInner.js +55 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/esm/models/PostVerifyManifestResourcesInner.js +49 -0
- package/dist/esm/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/esm/models/QuizContentAssignment.js +3 -3
- package/dist/esm/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/esm/models/ScormGetValueResponse.js +47 -0
- package/dist/esm/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/esm/models/ScormSetValueRequest.js +47 -0
- package/dist/esm/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/esm/models/ScormSetValueResponse.js +43 -0
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/runtime.d.ts +3 -1
- package/dist/esm/runtime.js +5 -1
- package/dist/models/GetContentContentData.js +6 -0
- package/dist/models/GetContentVersion.js +2 -2
- package/dist/models/GetContentVersionListItemsInner.js +2 -2
- package/dist/models/GetManualQuestionSelectionItem.js +1 -1
- package/dist/models/GetQuestionListFilters.js +2 -2
- package/dist/models/GetQuiz.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.js +2 -2
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.js +1 -1
- package/dist/models/GetQuizAttemptAttempt.js +3 -3
- package/dist/models/GetQuizAttemptListAllOfAttempts.js +2 -2
- package/dist/models/GetQuizAttemptListAllOfFiltersDateRange.js +2 -2
- package/dist/models/GetQuizAttemptQuestionsInner.js +1 -1
- package/dist/models/GetQuizAttemptQuestionsInnerCurrentAnswer.js +1 -1
- package/dist/models/GetQuizCriteriaItem.js +2 -2
- package/dist/models/GetQuizCriteriaListItemsInner.js +2 -2
- package/dist/models/GetQuizListAllOfQuizzes.js +2 -2
- package/dist/models/GetQuizQuestionsItemsInner.js +1 -1
- package/dist/models/GetQuizResultsTiming.js +2 -2
- package/dist/models/GetScormPackagePackageInfo.js +2 -2
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.js +2 -2
- package/dist/models/PostContentQuizAssignment.js +3 -3
- package/dist/models/PostContentQuizQuestionSelection.js +6 -0
- package/dist/models/PostQuizAttemptAttempt.js +2 -2
- package/dist/models/PostQuizAttemptSubmit.js +1 -1
- package/dist/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.js +6 -0
- package/dist/models/PostVerifyManifest.d.ts +106 -0
- package/dist/models/PostVerifyManifest.js +80 -0
- package/dist/models/PostVerifyManifestItemsInner.d.ts +74 -0
- package/dist/models/PostVerifyManifestItemsInner.js +62 -0
- package/dist/models/PostVerifyManifestResourcesInner.d.ts +56 -0
- package/dist/models/PostVerifyManifestResourcesInner.js +56 -0
- package/dist/models/PutQuizAnswerAnswer.js +6 -0
- package/dist/models/QuizContentAssignment.js +3 -3
- package/dist/models/ScormGetValueResponse.d.ts +38 -0
- package/dist/models/ScormGetValueResponse.js +54 -0
- package/dist/models/ScormSetValueRequest.d.ts +38 -0
- package/dist/models/ScormSetValueRequest.js +54 -0
- package/dist/models/ScormSetValueResponse.d.ts +32 -0
- package/dist/models/ScormSetValueResponse.js +50 -0
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.d.ts +3 -1
- package/dist/runtime.js +5 -1
- package/docs/ContentApi.md +1642 -0
- package/docs/CourseApi.md +845 -0
- package/docs/CriteriaBasedSelection.md +40 -0
- package/docs/CriteriaBasedSelectionCriteria.md +42 -0
- package/docs/CriteriaBasedSelectionDistribution.md +37 -0
- package/docs/FillInBlank.md +36 -0
- package/docs/FillInBlank1.md +36 -0
- package/docs/GetContent.md +58 -0
- package/docs/GetContentContentData.md +53 -0
- package/docs/GetContentGradeDetail.md +50 -0
- package/docs/GetContentGrades.md +42 -0
- package/docs/GetContentGradesItemsInner.md +40 -0
- package/docs/GetContentGradesItemsInnerUser.md +38 -0
- package/docs/GetContentInstructorBasicReporting.md +38 -0
- package/docs/GetContentInstructorBasicReportingContentInfo.md +38 -0
- package/docs/GetContentInstructorBasicReportingEngagement.md +42 -0
- package/docs/GetContentInstructorBasicReportingPerformance.md +36 -0
- package/docs/GetContentList.md +43 -0
- package/docs/GetContentSession.md +45 -0
- package/docs/GetContentSessionDetail.md +51 -0
- package/docs/GetContentSessionDetailScormSessionDataInner.md +36 -0
- package/docs/GetContentSessionDetailUserData.md +36 -0
- package/docs/GetContentSessionList.md +43 -0
- package/docs/GetContentSessionListItem.md +45 -0
- package/docs/GetContentSessionListItemScormSessionData.md +35 -0
- package/docs/GetContentUpload.md +38 -0
- package/docs/GetContentVersion.md +49 -0
- package/docs/GetContentVersionList.md +43 -0
- package/docs/GetContentVersionListItemsInner.md +42 -0
- package/docs/GetContentVersionSandbox.md +35 -0
- package/docs/GetContentVersionScormData.md +35 -0
- package/docs/GetCourse.md +44 -0
- package/docs/GetCourseEnrollment.md +51 -0
- package/docs/GetCourseEnrollmentList.md +43 -0
- package/docs/GetCourseEnrollmentListItem.md +53 -0
- package/docs/GetCourseExport.md +49 -0
- package/docs/GetCourseExportList.md +43 -0
- package/docs/GetCourseList.md +43 -0
- package/docs/GetCourseReportingBasic.md +38 -0
- package/docs/GetCourseStudentReporting.md +38 -0
- package/docs/GetCourseStudentReportingCourseInfo.md +34 -0
- package/docs/GetCourseStudentReportingEngagement.md +36 -0
- package/docs/GetCourseStudentReportingPerformance.md +34 -0
- package/docs/GetManualQuestionSelectionItem.md +48 -0
- package/docs/GetManualQuestionSelectionList.md +44 -0
- package/docs/GetModule.md +44 -0
- package/docs/GetModuleInstructorBasicReporting.md +38 -0
- package/docs/GetModuleInstructorBasicReportingEngagement.md +34 -0
- package/docs/GetModuleInstructorBasicReportingModuleInfo.md +34 -0
- package/docs/GetModuleInstructorBasicReportingPerformance.md +34 -0
- package/docs/GetModuleList.md +43 -0
- package/docs/GetModuleStudentReporting.md +38 -0
- package/docs/GetModuleStudentReportingAccess.md +36 -0
- package/docs/GetModuleStudentReportingProgress.md +36 -0
- package/docs/GetPortal.md +48 -0
- package/docs/GetPortalBasicReporting.md +36 -0
- package/docs/GetPortalBasicReportingCertificates.md +34 -0
- package/docs/GetPortalBasicReportingPortalInfo.md +38 -0
- package/docs/GetPortalList.md +43 -0
- package/docs/GetPortalStudentReporting.md +36 -0
- package/docs/GetPortalStudentReportingCertificates.md +34 -0
- package/docs/GetPortalStudentReportingPortalInfo.md +38 -0
- package/docs/GetPortalUser.md +45 -0
- package/docs/GetPortalUserList.md +43 -0
- package/docs/GetQuestion.md +62 -0
- package/docs/GetQuestionAnswerChoicesInner.md +38 -0
- package/docs/GetQuestionList.md +44 -0
- package/docs/GetQuestionListFilters.md +48 -0
- package/docs/GetQuiz.md +68 -0
- package/docs/GetQuizAttempt.md +38 -0
- package/docs/GetQuizAttemptAnalytics.md +46 -0
- package/docs/GetQuizAttemptAnalyticsBasicInfo.md +49 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdown.md +39 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsPerformanceBreakdownByTopicInner.md +44 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInner.md +58 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerCorrectAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsQuestionAnalysisInnerUserAnswer.md +39 -0
- package/docs/GetQuizAttemptAnalyticsScoring.md +49 -0
- package/docs/GetQuizAttemptAttempt.md +61 -0
- package/docs/GetQuizAttemptList.md +46 -0
- package/docs/GetQuizAttemptListAllOfAttempts.md +68 -0
- package/docs/GetQuizAttemptListAllOfFilters.md +45 -0
- package/docs/GetQuizAttemptListAllOfFiltersDateRange.md +37 -0
- package/docs/GetQuizAttemptListAllOfSummary.md +45 -0
- package/docs/GetQuizAttemptQuestionsInner.md +52 -0
- package/docs/GetQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/GetQuizAttemptQuestionsInnerCurrentAnswer.md +41 -0
- package/docs/GetQuizAttemptQuizSettings.md +45 -0
- package/docs/GetQuizCriteria.md +38 -0
- package/docs/GetQuizCriteriaEstimatedQuestions.md +39 -0
- package/docs/GetQuizCriteriaItem.md +58 -0
- package/docs/GetQuizCriteriaList.md +42 -0
- package/docs/GetQuizCriteriaListItemsInner.md +58 -0
- package/docs/GetQuizList.md +44 -0
- package/docs/GetQuizListAllOfFilters.md +43 -0
- package/docs/GetQuizListAllOfQuizzes.md +64 -0
- package/docs/GetQuizListAllOfStatistics.md +43 -0
- package/docs/GetQuizQuestions.md +48 -0
- package/docs/GetQuizQuestionsItemsInner.md +48 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetails.md +53 -0
- package/docs/GetQuizQuestionsItemsInnerQuestionDetailsAnswerChoicesInner.md +42 -0
- package/docs/GetQuizResults.md +52 -0
- package/docs/GetQuizResultsFeedback.md +39 -0
- package/docs/GetQuizResultsFeedbackDifficultyPerformanceInner.md +40 -0
- package/docs/GetQuizResultsFeedbackTopicPerformanceInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInner.md +50 -0
- package/docs/GetQuizResultsQuestionsInnerAnswerChoicesInner.md +40 -0
- package/docs/GetQuizResultsQuestionsInnerStudentAnswer.md +43 -0
- package/docs/GetQuizResultsScore.md +41 -0
- package/docs/GetQuizResultsTiming.md +43 -0
- package/docs/GetQuizStatistics.md +43 -0
- package/docs/GetScormApiLogItem.md +45 -0
- package/docs/GetScormApiLogs.md +43 -0
- package/docs/GetScormPackage.md +37 -0
- package/docs/GetScormPackagePackageInfo.md +59 -0
- package/docs/GetScormSessionData.md +43 -0
- package/docs/GetScormSessionDataActivity.md +36 -0
- package/docs/GetUser.md +42 -0
- package/docs/GetUserQuizAttempts.md +46 -0
- package/docs/GetUserQuizAttemptsAllOfAttempts.md +70 -0
- package/docs/GetUserQuizAttemptsAllOfFilters.md +47 -0
- package/docs/GetUserQuizAttemptsAllOfSummary.md +47 -0
- package/docs/LoginRes.md +36 -0
- package/docs/LoginResAuthData.md +36 -0
- package/docs/LoginResUserData.md +40 -0
- package/docs/LoginResUserDataSelectedPortal.md +36 -0
- package/docs/ManualSelection.md +36 -0
- package/docs/MediaContent.md +38 -0
- package/docs/ModuleApi.md +284 -0
- package/docs/MultipleAnswer.md +36 -0
- package/docs/MultipleAnswer1.md +36 -0
- package/docs/NoAnswer.md +34 -0
- package/docs/OtherApi.md +66 -0
- package/docs/Paginated.md +40 -0
- package/docs/PortalApi.md +493 -0
- package/docs/PostContentQuiz.md +42 -0
- package/docs/PostContentQuizAssignment.md +41 -0
- package/docs/PostContentQuizQuestionSelection.md +43 -0
- package/docs/PostContentQuizSettings.md +51 -0
- package/docs/PostContentSession.md +43 -0
- package/docs/PostContentUpload.md +36 -0
- package/docs/PostCourse.md +38 -0
- package/docs/PostCourseEnrollment.md +40 -0
- package/docs/PostCourseExport.md +35 -0
- package/docs/PostLogin.md +36 -0
- package/docs/PostManualQuestionSelection.md +40 -0
- package/docs/PostModule.md +38 -0
- package/docs/PostPortal.md +38 -0
- package/docs/PostPortalInvite.md +40 -0
- package/docs/PostQuestion.md +52 -0
- package/docs/PostQuestionAnswerChoicesInner.md +36 -0
- package/docs/PostQuiz.md +58 -0
- package/docs/PostQuizAttempt.md +38 -0
- package/docs/PostQuizAttemptAttempt.md +55 -0
- package/docs/PostQuizAttemptQuestionsInner.md +48 -0
- package/docs/PostQuizAttemptQuestionsInnerAnswerChoicesInner.md +38 -0
- package/docs/PostQuizAttemptQuizSettings.md +45 -0
- package/docs/PostQuizAttemptSubmit.md +38 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInner.md +36 -0
- package/docs/PostQuizAttemptSubmitFinalAnswersInnerAnswer.md +41 -0
- package/docs/PostQuizCriteria.md +36 -0
- package/docs/PostQuizCriteriaCriteriaInner.md +49 -0
- package/docs/PostQuizQuestions.md +36 -0
- package/docs/PostQuizQuestionsQuestionsInner.md +40 -0
- package/docs/PostQuizSettings.md +41 -0
- package/docs/PostResetPassword.md +36 -0
- package/docs/PostSendResetPassword.md +34 -0
- package/docs/PostVerifyManifest.md +59 -0
- package/docs/PostVerifyManifestItemsInner.md +48 -0
- package/docs/PostVerifyManifestResourcesInner.md +42 -0
- package/docs/PutContent.md +36 -0
- package/docs/PutContentVersion.md +35 -0
- package/docs/PutCourse.md +44 -0
- package/docs/PutCourseEnrollment.md +40 -0
- package/docs/PutModule.md +40 -0
- package/docs/PutPortalBranding.md +38 -0
- package/docs/PutQuestion.md +52 -0
- package/docs/PutQuestionAnswerChoicesInner.md +38 -0
- package/docs/PutQuiz.md +56 -0
- package/docs/PutQuizAnswer.md +36 -0
- package/docs/PutQuizAnswerAnswer.md +41 -0
- package/docs/PutQuizSettings.md +41 -0
- package/docs/PutUser.md +42 -0
- package/docs/QuestionApi.md +368 -0
- package/docs/QuizApi.md +1793 -0
- package/docs/QuizContent.md +40 -0
- package/docs/QuizContentAssignment.md +39 -0
- package/docs/QuizContentSettings.md +43 -0
- package/docs/ReportingApi.md +674 -0
- package/docs/SCORMContent.md +38 -0
- package/docs/ScormGetValueResponse.md +37 -0
- package/docs/ScormSessionData.md +43 -0
- package/docs/ScormSessionDataProgress.md +36 -0
- package/docs/ScormSessionDataScore.md +40 -0
- package/docs/ScormSessionDataSession.md +34 -0
- package/docs/ScormSessionDataStatus.md +40 -0
- package/docs/ScormSessionDataTime.md +40 -0
- package/docs/ScormSetValueRequest.md +37 -0
- package/docs/ScormSetValueResponse.md +35 -0
- package/docs/SingleAnswer.md +36 -0
- package/docs/UserApi.md +460 -0
- package/package.json +2 -2
- package/src/apis/ContentApi.ts +411 -16
- package/src/apis/CourseApi.ts +61 -12
- package/src/apis/ModuleApi.ts +22 -4
- package/src/apis/OtherApi.ts +4 -1
- package/src/apis/PortalApi.ts +33 -7
- package/src/apis/QuestionApi.ts +23 -5
- package/src/apis/QuizApi.ts +129 -25
- package/src/apis/ReportingApi.ts +57 -9
- package/src/apis/UserApi.ts +30 -7
- package/src/models/GetContentContentData.ts +6 -3
- package/src/models/GetContentVersion.ts +2 -2
- package/src/models/GetContentVersionListItemsInner.ts +2 -2
- package/src/models/GetManualQuestionSelectionItem.ts +1 -1
- package/src/models/GetQuestionListFilters.ts +2 -2
- package/src/models/GetQuiz.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +2 -2
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +1 -1
- package/src/models/GetQuizAttemptAttempt.ts +3 -3
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +2 -2
- package/src/models/GetQuizAttemptListAllOfFiltersDateRange.ts +2 -2
- package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/GetQuizAttemptQuestionsInnerCurrentAnswer.ts +1 -1
- package/src/models/GetQuizCriteriaItem.ts +2 -2
- package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
- package/src/models/GetQuizListAllOfQuizzes.ts +2 -2
- package/src/models/GetQuizQuestionsItemsInner.ts +1 -1
- package/src/models/GetQuizResultsTiming.ts +2 -2
- package/src/models/GetScormPackagePackageInfo.ts +2 -2
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +2 -2
- package/src/models/PostContentQuizAssignment.ts +3 -3
- package/src/models/PostContentQuizQuestionSelection.ts +6 -3
- package/src/models/PostQuizAttemptAttempt.ts +2 -2
- package/src/models/PostQuizAttemptSubmit.ts +1 -1
- package/src/models/PostQuizAttemptSubmitFinalAnswersInnerAnswer.ts +6 -3
- package/src/models/PostVerifyManifest.ts +179 -0
- package/src/models/PostVerifyManifestItemsInner.ts +121 -0
- package/src/models/PostVerifyManifestResourcesInner.ts +97 -0
- package/src/models/PutQuizAnswerAnswer.ts +6 -3
- package/src/models/QuizContentAssignment.ts +3 -3
- package/src/models/ScormGetValueResponse.ts +75 -0
- package/src/models/ScormSetValueRequest.ts +75 -0
- package/src/models/ScormSetValueResponse.ts +66 -0
- package/src/models/index.ts +6 -0
- package/src/runtime.ts +5 -4
package/src/apis/CourseApi.ts
CHANGED
|
@@ -135,8 +135,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
135
135
|
|
|
136
136
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
137
137
|
|
|
138
|
+
|
|
139
|
+
let urlPath = `/courses/{courseId}`;
|
|
140
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
141
|
+
|
|
138
142
|
const response = await this.request({
|
|
139
|
-
path:
|
|
143
|
+
path: urlPath,
|
|
140
144
|
method: 'GET',
|
|
141
145
|
headers: headerParameters,
|
|
142
146
|
query: queryParameters,
|
|
@@ -175,8 +179,13 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
175
179
|
|
|
176
180
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
177
181
|
|
|
182
|
+
|
|
183
|
+
let urlPath = `/courses/{courseId}/enrollments/{enrollmentId}`;
|
|
184
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
185
|
+
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
186
|
+
|
|
178
187
|
const response = await this.request({
|
|
179
|
-
path:
|
|
188
|
+
path: urlPath,
|
|
180
189
|
method: 'GET',
|
|
181
190
|
headers: headerParameters,
|
|
182
191
|
query: queryParameters,
|
|
@@ -220,8 +229,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
220
229
|
|
|
221
230
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
222
231
|
|
|
232
|
+
|
|
233
|
+
let urlPath = `/courses/{courseId}/enrollments`;
|
|
234
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
235
|
+
|
|
223
236
|
const response = await this.request({
|
|
224
|
-
path:
|
|
237
|
+
path: urlPath,
|
|
225
238
|
method: 'GET',
|
|
226
239
|
headers: headerParameters,
|
|
227
240
|
query: queryParameters,
|
|
@@ -260,8 +273,13 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
260
273
|
|
|
261
274
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
262
275
|
|
|
276
|
+
|
|
277
|
+
let urlPath = `/courses/{courseId}/exports/{exportId}`;
|
|
278
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
279
|
+
urlPath = urlPath.replace(`{${"exportId"}}`, encodeURIComponent(String(requestParameters['exportId'])));
|
|
280
|
+
|
|
263
281
|
const response = await this.request({
|
|
264
|
-
path:
|
|
282
|
+
path: urlPath,
|
|
265
283
|
method: 'GET',
|
|
266
284
|
headers: headerParameters,
|
|
267
285
|
query: queryParameters,
|
|
@@ -301,8 +319,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
301
319
|
|
|
302
320
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
303
321
|
|
|
322
|
+
|
|
323
|
+
let urlPath = `/courses/{courseId}/exports`;
|
|
324
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
325
|
+
|
|
304
326
|
const response = await this.request({
|
|
305
|
-
path:
|
|
327
|
+
path: urlPath,
|
|
306
328
|
method: 'GET',
|
|
307
329
|
headers: headerParameters,
|
|
308
330
|
query: queryParameters,
|
|
@@ -331,8 +353,11 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
331
353
|
|
|
332
354
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
333
355
|
|
|
356
|
+
|
|
357
|
+
let urlPath = `/courses`;
|
|
358
|
+
|
|
334
359
|
const response = await this.request({
|
|
335
|
-
path:
|
|
360
|
+
path: urlPath,
|
|
336
361
|
method: 'GET',
|
|
337
362
|
headers: headerParameters,
|
|
338
363
|
query: queryParameters,
|
|
@@ -364,8 +389,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
364
389
|
|
|
365
390
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
366
391
|
|
|
392
|
+
|
|
393
|
+
let urlPath = `/courses/{courseId}/reporting/basic`;
|
|
394
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
395
|
+
|
|
367
396
|
const response = await this.request({
|
|
368
|
-
path:
|
|
397
|
+
path: urlPath,
|
|
369
398
|
method: 'GET',
|
|
370
399
|
headers: headerParameters,
|
|
371
400
|
query: queryParameters,
|
|
@@ -399,8 +428,11 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
399
428
|
|
|
400
429
|
headerParameters['Content-Type'] = 'application/json';
|
|
401
430
|
|
|
431
|
+
|
|
432
|
+
let urlPath = `/courses`;
|
|
433
|
+
|
|
402
434
|
const response = await this.request({
|
|
403
|
-
path:
|
|
435
|
+
path: urlPath,
|
|
404
436
|
method: 'POST',
|
|
405
437
|
headers: headerParameters,
|
|
406
438
|
query: queryParameters,
|
|
@@ -442,8 +474,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
442
474
|
|
|
443
475
|
headerParameters['Content-Type'] = 'application/json';
|
|
444
476
|
|
|
477
|
+
|
|
478
|
+
let urlPath = `/courses/{courseId}/enrollments`;
|
|
479
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
480
|
+
|
|
445
481
|
const response = await this.request({
|
|
446
|
-
path:
|
|
482
|
+
path: urlPath,
|
|
447
483
|
method: 'POST',
|
|
448
484
|
headers: headerParameters,
|
|
449
485
|
query: queryParameters,
|
|
@@ -486,8 +522,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
486
522
|
|
|
487
523
|
headerParameters['Content-Type'] = 'application/json';
|
|
488
524
|
|
|
525
|
+
|
|
526
|
+
let urlPath = `/courses/{courseId}/exports`;
|
|
527
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
528
|
+
|
|
489
529
|
const response = await this.request({
|
|
490
|
-
path:
|
|
530
|
+
path: urlPath,
|
|
491
531
|
method: 'POST',
|
|
492
532
|
headers: headerParameters,
|
|
493
533
|
query: queryParameters,
|
|
@@ -530,8 +570,12 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
530
570
|
|
|
531
571
|
headerParameters['Content-Type'] = 'application/json';
|
|
532
572
|
|
|
573
|
+
|
|
574
|
+
let urlPath = `/courses/{courseId}`;
|
|
575
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
576
|
+
|
|
533
577
|
const response = await this.request({
|
|
534
|
-
path:
|
|
578
|
+
path: urlPath,
|
|
535
579
|
method: 'PUT',
|
|
536
580
|
headers: headerParameters,
|
|
537
581
|
query: queryParameters,
|
|
@@ -580,8 +624,13 @@ export class CourseApi extends runtime.BaseAPI {
|
|
|
580
624
|
|
|
581
625
|
headerParameters['Content-Type'] = 'application/json';
|
|
582
626
|
|
|
627
|
+
|
|
628
|
+
let urlPath = `/courses/{courseId}/enrollments/{enrollmentId}`;
|
|
629
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
630
|
+
urlPath = urlPath.replace(`{${"enrollmentId"}}`, encodeURIComponent(String(requestParameters['enrollmentId'])));
|
|
631
|
+
|
|
583
632
|
const response = await this.request({
|
|
584
|
-
path:
|
|
633
|
+
path: urlPath,
|
|
585
634
|
method: 'PUT',
|
|
586
635
|
headers: headerParameters,
|
|
587
636
|
query: queryParameters,
|
package/src/apis/ModuleApi.ts
CHANGED
|
@@ -78,8 +78,13 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
78
78
|
|
|
79
79
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
80
80
|
|
|
81
|
+
|
|
82
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
83
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
84
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
85
|
+
|
|
81
86
|
const response = await this.request({
|
|
82
|
-
path:
|
|
87
|
+
path: urlPath,
|
|
83
88
|
method: 'GET',
|
|
84
89
|
headers: headerParameters,
|
|
85
90
|
query: queryParameters,
|
|
@@ -111,8 +116,12 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
111
116
|
|
|
112
117
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
113
118
|
|
|
119
|
+
|
|
120
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
121
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
122
|
+
|
|
114
123
|
const response = await this.request({
|
|
115
|
-
path:
|
|
124
|
+
path: urlPath,
|
|
116
125
|
method: 'GET',
|
|
117
126
|
headers: headerParameters,
|
|
118
127
|
query: queryParameters,
|
|
@@ -153,8 +162,12 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
153
162
|
|
|
154
163
|
headerParameters['Content-Type'] = 'application/json';
|
|
155
164
|
|
|
165
|
+
|
|
166
|
+
let urlPath = `/courses/{courseId}/modules`;
|
|
167
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
168
|
+
|
|
156
169
|
const response = await this.request({
|
|
157
|
-
path:
|
|
170
|
+
path: urlPath,
|
|
158
171
|
method: 'POST',
|
|
159
172
|
headers: headerParameters,
|
|
160
173
|
query: queryParameters,
|
|
@@ -203,8 +216,13 @@ export class ModuleApi extends runtime.BaseAPI {
|
|
|
203
216
|
|
|
204
217
|
headerParameters['Content-Type'] = 'application/json';
|
|
205
218
|
|
|
219
|
+
|
|
220
|
+
let urlPath = `/courses/{courseId}/modules/{moduleId}`;
|
|
221
|
+
urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
|
|
222
|
+
urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
|
|
223
|
+
|
|
206
224
|
const response = await this.request({
|
|
207
|
-
path:
|
|
225
|
+
path: urlPath,
|
|
208
226
|
method: 'PUT',
|
|
209
227
|
headers: headerParameters,
|
|
210
228
|
query: queryParameters,
|
package/src/apis/OtherApi.ts
CHANGED
|
@@ -28,8 +28,11 @@ export class OtherApi extends runtime.BaseAPI {
|
|
|
28
28
|
|
|
29
29
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
30
30
|
|
|
31
|
+
|
|
32
|
+
let urlPath = `/healthcheck`;
|
|
33
|
+
|
|
31
34
|
const response = await this.request({
|
|
32
|
-
path:
|
|
35
|
+
path: urlPath,
|
|
33
36
|
method: 'GET',
|
|
34
37
|
headers: headerParameters,
|
|
35
38
|
query: queryParameters,
|
package/src/apis/PortalApi.ts
CHANGED
|
@@ -89,8 +89,12 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
89
89
|
|
|
90
90
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
91
91
|
|
|
92
|
+
|
|
93
|
+
let urlPath = `/portals/{portalId}`;
|
|
94
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
95
|
+
|
|
92
96
|
const response = await this.request({
|
|
93
|
-
path:
|
|
97
|
+
path: urlPath,
|
|
94
98
|
method: 'GET',
|
|
95
99
|
headers: headerParameters,
|
|
96
100
|
query: queryParameters,
|
|
@@ -115,8 +119,11 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
115
119
|
|
|
116
120
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
117
121
|
|
|
122
|
+
|
|
123
|
+
let urlPath = `/portals`;
|
|
124
|
+
|
|
118
125
|
const response = await this.request({
|
|
119
|
-
path:
|
|
126
|
+
path: urlPath,
|
|
120
127
|
method: 'GET',
|
|
121
128
|
headers: headerParameters,
|
|
122
129
|
query: queryParameters,
|
|
@@ -168,8 +175,12 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
168
175
|
|
|
169
176
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
170
177
|
|
|
178
|
+
|
|
179
|
+
let urlPath = `/portals/{portalId}/users`;
|
|
180
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
181
|
+
|
|
171
182
|
const response = await this.request({
|
|
172
|
-
path:
|
|
183
|
+
path: urlPath,
|
|
173
184
|
method: 'GET',
|
|
174
185
|
headers: headerParameters,
|
|
175
186
|
query: queryParameters,
|
|
@@ -210,8 +221,12 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
210
221
|
|
|
211
222
|
headerParameters['Content-Type'] = 'application/json';
|
|
212
223
|
|
|
224
|
+
|
|
225
|
+
let urlPath = `/portals/{portalId}/invite`;
|
|
226
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
227
|
+
|
|
213
228
|
const response = await this.request({
|
|
214
|
-
path:
|
|
229
|
+
path: urlPath,
|
|
215
230
|
method: 'POST',
|
|
216
231
|
headers: headerParameters,
|
|
217
232
|
query: queryParameters,
|
|
@@ -245,8 +260,11 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
245
260
|
|
|
246
261
|
headerParameters['Content-Type'] = 'application/json';
|
|
247
262
|
|
|
263
|
+
|
|
264
|
+
let urlPath = `/portals`;
|
|
265
|
+
|
|
248
266
|
const response = await this.request({
|
|
249
|
-
path:
|
|
267
|
+
path: urlPath,
|
|
250
268
|
method: 'POST',
|
|
251
269
|
headers: headerParameters,
|
|
252
270
|
query: queryParameters,
|
|
@@ -288,8 +306,12 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
288
306
|
|
|
289
307
|
headerParameters['Content-Type'] = 'application/json';
|
|
290
308
|
|
|
309
|
+
|
|
310
|
+
let urlPath = `/portals/{portalId}`;
|
|
311
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
312
|
+
|
|
291
313
|
const response = await this.request({
|
|
292
|
-
path:
|
|
314
|
+
path: urlPath,
|
|
293
315
|
method: 'PUT',
|
|
294
316
|
headers: headerParameters,
|
|
295
317
|
query: queryParameters,
|
|
@@ -326,8 +348,12 @@ export class PortalApi extends runtime.BaseAPI {
|
|
|
326
348
|
|
|
327
349
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
328
350
|
|
|
351
|
+
|
|
352
|
+
let urlPath = `/portals/{portalId}/selected`;
|
|
353
|
+
urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
|
|
354
|
+
|
|
329
355
|
const response = await this.request({
|
|
330
|
-
path:
|
|
356
|
+
path: urlPath,
|
|
331
357
|
method: 'PUT',
|
|
332
358
|
headers: headerParameters,
|
|
333
359
|
query: queryParameters,
|
package/src/apis/QuestionApi.ts
CHANGED
|
@@ -79,8 +79,12 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
79
79
|
|
|
80
80
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
81
81
|
|
|
82
|
+
|
|
83
|
+
let urlPath = `/questions/{questionId}`;
|
|
84
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
85
|
+
|
|
82
86
|
const response = await this.request({
|
|
83
|
-
path:
|
|
87
|
+
path: urlPath,
|
|
84
88
|
method: 'DELETE',
|
|
85
89
|
headers: headerParameters,
|
|
86
90
|
query: queryParameters,
|
|
@@ -111,8 +115,12 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
111
115
|
|
|
112
116
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
113
117
|
|
|
118
|
+
|
|
119
|
+
let urlPath = `/questions/{questionId}`;
|
|
120
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
121
|
+
|
|
114
122
|
const response = await this.request({
|
|
115
|
-
path:
|
|
123
|
+
path: urlPath,
|
|
116
124
|
method: 'GET',
|
|
117
125
|
headers: headerParameters,
|
|
118
126
|
query: queryParameters,
|
|
@@ -169,8 +177,11 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
169
177
|
|
|
170
178
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
171
179
|
|
|
180
|
+
|
|
181
|
+
let urlPath = `/questions`;
|
|
182
|
+
|
|
172
183
|
const response = await this.request({
|
|
173
|
-
path:
|
|
184
|
+
path: urlPath,
|
|
174
185
|
method: 'GET',
|
|
175
186
|
headers: headerParameters,
|
|
176
187
|
query: queryParameters,
|
|
@@ -204,8 +215,11 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
204
215
|
|
|
205
216
|
headerParameters['Content-Type'] = 'application/json';
|
|
206
217
|
|
|
218
|
+
|
|
219
|
+
let urlPath = `/questions`;
|
|
220
|
+
|
|
207
221
|
const response = await this.request({
|
|
208
|
-
path:
|
|
222
|
+
path: urlPath,
|
|
209
223
|
method: 'POST',
|
|
210
224
|
headers: headerParameters,
|
|
211
225
|
query: queryParameters,
|
|
@@ -247,8 +261,12 @@ export class QuestionApi extends runtime.BaseAPI {
|
|
|
247
261
|
|
|
248
262
|
headerParameters['Content-Type'] = 'application/json';
|
|
249
263
|
|
|
264
|
+
|
|
265
|
+
let urlPath = `/questions/{questionId}`;
|
|
266
|
+
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
267
|
+
|
|
250
268
|
const response = await this.request({
|
|
251
|
-
path:
|
|
269
|
+
path: urlPath,
|
|
252
270
|
method: 'PUT',
|
|
253
271
|
headers: headerParameters,
|
|
254
272
|
query: queryParameters,
|