@easyedu/js-lsm-api 1.31.0 → 1.33.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 +14 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +20 -4
- package/dist/apis/ContentApi.d.ts +93 -3
- package/dist/apis/ContentApi.js +308 -106
- package/dist/apis/CourseApi.d.ts +48 -0
- package/dist/apis/CourseApi.js +157 -49
- package/dist/apis/ModuleApi.d.ts +16 -0
- package/dist/apis/ModuleApi.js +52 -16
- package/dist/apis/OtherApi.d.ts +4 -0
- package/dist/apis/OtherApi.js +13 -4
- package/dist/apis/PortalApi.d.ts +30 -3
- package/dist/apis/PortalApi.js +92 -32
- package/dist/apis/QuestionApi.d.ts +20 -0
- package/dist/apis/QuestionApi.js +65 -20
- package/dist/apis/QuizApi.d.ts +100 -0
- package/dist/apis/QuizApi.js +325 -100
- package/dist/apis/ReportingApi.d.ts +36 -0
- package/dist/apis/ReportingApi.js +117 -36
- package/dist/apis/RoleApi.d.ts +169 -0
- package/dist/apis/RoleApi.js +442 -0
- package/dist/apis/UserApi.d.ts +28 -0
- package/dist/apis/UserApi.js +91 -28
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ContentApi.d.ts +93 -3
- package/dist/esm/apis/ContentApi.js +307 -105
- package/dist/esm/apis/CourseApi.d.ts +48 -0
- package/dist/esm/apis/CourseApi.js +157 -49
- package/dist/esm/apis/ModuleApi.d.ts +16 -0
- package/dist/esm/apis/ModuleApi.js +52 -16
- package/dist/esm/apis/OtherApi.d.ts +4 -0
- package/dist/esm/apis/OtherApi.js +13 -4
- package/dist/esm/apis/PortalApi.d.ts +30 -3
- package/dist/esm/apis/PortalApi.js +92 -32
- package/dist/esm/apis/QuestionApi.d.ts +20 -0
- package/dist/esm/apis/QuestionApi.js +65 -20
- package/dist/esm/apis/QuizApi.d.ts +100 -0
- package/dist/esm/apis/QuizApi.js +325 -100
- package/dist/esm/apis/ReportingApi.d.ts +36 -0
- package/dist/esm/apis/ReportingApi.js +117 -36
- package/dist/esm/apis/RoleApi.d.ts +169 -0
- package/dist/esm/apis/RoleApi.js +438 -0
- package/dist/esm/apis/UserApi.d.ts +28 -0
- package/dist/esm/apis/UserApi.js +91 -28
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/CriteriaBasedSelection.d.ts +1 -1
- package/dist/esm/models/CriteriaBasedSelectionCriteria.d.ts +2 -2
- package/dist/esm/models/FillInBlank.d.ts +1 -1
- package/dist/esm/models/FillInBlank1.d.ts +1 -1
- package/dist/esm/models/GetContent.d.ts +1 -1
- package/dist/esm/models/GetContentGradeDetail.d.ts +3 -3
- package/dist/esm/models/GetContentGradesItemsInner.d.ts +2 -2
- package/dist/esm/models/GetContentInstructorBasicReportingContentInfo.d.ts +1 -1
- package/dist/esm/models/GetContentSessionDetail.d.ts +2 -2
- package/dist/esm/models/GetCourseEnrollment.d.ts +2 -2
- package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +2 -2
- package/dist/esm/models/GetCourseExport.d.ts +2 -2
- package/dist/esm/models/GetPermission.d.ts +50 -0
- package/dist/esm/models/GetPermission.js +53 -0
- package/dist/esm/models/GetPortal.d.ts +23 -4
- package/dist/esm/models/GetPortal.js +14 -0
- package/dist/esm/models/GetPortalUser.d.ts +2 -11
- package/dist/esm/models/GetPortalUser.js +0 -8
- package/dist/esm/models/GetQuestion.d.ts +2 -2
- package/dist/esm/models/GetQuestionListFilters.d.ts +2 -2
- package/dist/esm/models/GetQuiz.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +2 -2
- package/dist/esm/models/GetQuizAttemptAttempt.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptListAllOfAttempts.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptListAllOfFilters.d.ts +1 -1
- package/dist/esm/models/GetQuizAttemptQuestionsInner.d.ts +1 -1
- package/dist/esm/models/GetQuizCriteriaItem.d.ts +2 -2
- package/dist/esm/models/GetQuizCriteriaListItemsInner.d.ts +2 -2
- package/dist/esm/models/GetQuizListAllOfFilters.d.ts +1 -1
- package/dist/esm/models/GetQuizListAllOfQuizzes.d.ts +1 -1
- package/dist/esm/models/GetQuizQuestions.d.ts +1 -1
- package/dist/esm/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +2 -2
- package/dist/esm/models/GetQuizResults.d.ts +1 -1
- package/dist/esm/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +1 -1
- package/dist/esm/models/GetQuizResultsQuestionsInner.d.ts +1 -1
- package/dist/esm/models/GetRole.d.ts +88 -0
- package/dist/esm/models/GetRole.js +80 -0
- package/dist/esm/models/GetScormApiLogItem.d.ts +1 -1
- package/dist/esm/models/GetUserQuizAttemptsAllOfAttempts.d.ts +1 -1
- package/dist/esm/models/GetUserQuizAttemptsAllOfFilters.d.ts +1 -1
- package/dist/esm/models/GetUserRole.d.ts +63 -0
- package/dist/esm/models/GetUserRole.js +67 -0
- package/dist/esm/models/ManualSelection.d.ts +1 -1
- package/dist/esm/models/MultipleAnswer.d.ts +1 -1
- package/dist/esm/models/MultipleAnswer1.d.ts +1 -1
- package/dist/esm/models/NoAnswer.d.ts +1 -1
- package/dist/esm/models/PostContentUpload.d.ts +1 -1
- package/dist/esm/models/PostCourseExport.d.ts +1 -1
- package/dist/esm/models/PostPortalInvite.d.ts +6 -2
- package/dist/esm/models/PostPortalInvite.js +5 -1
- package/dist/esm/models/PostQuestion.d.ts +2 -2
- package/dist/esm/models/PostQuiz.d.ts +1 -1
- package/dist/esm/models/PostQuizAttemptAttempt.d.ts +1 -1
- package/dist/esm/models/PostQuizAttemptQuestionsInner.d.ts +1 -1
- package/dist/esm/models/PostQuizAttemptSubmit.d.ts +1 -1
- package/dist/esm/models/PostQuizCriteriaCriteriaInner.d.ts +2 -2
- package/dist/esm/models/PostRole.d.ts +57 -0
- package/dist/esm/models/PostRole.js +61 -0
- package/dist/esm/models/PutCourseEnrollment.d.ts +2 -2
- package/dist/esm/models/PutQuestion.d.ts +2 -2
- package/dist/esm/models/PutQuiz.d.ts +1 -1
- package/dist/esm/models/PutRole.d.ts +38 -0
- package/dist/esm/models/PutRole.js +45 -0
- package/dist/esm/models/PutRolePermissions.d.ts +32 -0
- package/dist/esm/models/PutRolePermissions.js +43 -0
- package/dist/esm/models/QuizContent.d.ts +1 -1
- package/dist/esm/models/SingleAnswer.d.ts +1 -1
- package/dist/esm/models/index.d.ts +6 -0
- package/dist/esm/models/index.js +6 -0
- package/dist/esm/runtime.js +15 -0
- package/dist/models/CriteriaBasedSelection.d.ts +1 -1
- package/dist/models/CriteriaBasedSelectionCriteria.d.ts +2 -2
- package/dist/models/FillInBlank.d.ts +1 -1
- package/dist/models/FillInBlank1.d.ts +1 -1
- package/dist/models/GetContent.d.ts +1 -1
- package/dist/models/GetContentGradeDetail.d.ts +3 -3
- package/dist/models/GetContentGradesItemsInner.d.ts +2 -2
- package/dist/models/GetContentInstructorBasicReportingContentInfo.d.ts +1 -1
- package/dist/models/GetContentSessionDetail.d.ts +2 -2
- package/dist/models/GetCourseEnrollment.d.ts +2 -2
- package/dist/models/GetCourseEnrollmentListItem.d.ts +2 -2
- package/dist/models/GetCourseExport.d.ts +2 -2
- package/dist/models/GetPermission.d.ts +50 -0
- package/dist/models/GetPermission.js +60 -0
- package/dist/models/GetPortal.d.ts +23 -4
- package/dist/models/GetPortal.js +15 -1
- package/dist/models/GetPortalUser.d.ts +2 -11
- package/dist/models/GetPortalUser.js +0 -9
- package/dist/models/GetQuestion.d.ts +2 -2
- package/dist/models/GetQuestionListFilters.d.ts +2 -2
- package/dist/models/GetQuiz.d.ts +1 -1
- package/dist/models/GetQuizAttemptAnalyticsBasicInfo.d.ts +1 -1
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.d.ts +1 -1
- package/dist/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.d.ts +1 -1
- package/dist/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.d.ts +2 -2
- package/dist/models/GetQuizAttemptAttempt.d.ts +1 -1
- package/dist/models/GetQuizAttemptListAllOfAttempts.d.ts +1 -1
- package/dist/models/GetQuizAttemptListAllOfFilters.d.ts +1 -1
- package/dist/models/GetQuizAttemptQuestionsInner.d.ts +1 -1
- package/dist/models/GetQuizCriteriaItem.d.ts +2 -2
- package/dist/models/GetQuizCriteriaListItemsInner.d.ts +2 -2
- package/dist/models/GetQuizListAllOfFilters.d.ts +1 -1
- package/dist/models/GetQuizListAllOfQuizzes.d.ts +1 -1
- package/dist/models/GetQuizQuestions.d.ts +1 -1
- package/dist/models/GetQuizQuestionsItemsInnerQuestionDetails.d.ts +2 -2
- package/dist/models/GetQuizResults.d.ts +1 -1
- package/dist/models/GetQuizResultsFeedbackDifficultyPerformanceInner.d.ts +1 -1
- package/dist/models/GetQuizResultsQuestionsInner.d.ts +1 -1
- package/dist/models/GetRole.d.ts +88 -0
- package/dist/models/GetRole.js +88 -0
- package/dist/models/GetScormApiLogItem.d.ts +1 -1
- package/dist/models/GetUserQuizAttemptsAllOfAttempts.d.ts +1 -1
- package/dist/models/GetUserQuizAttemptsAllOfFilters.d.ts +1 -1
- package/dist/models/GetUserRole.d.ts +63 -0
- package/dist/models/GetUserRole.js +75 -0
- package/dist/models/ManualSelection.d.ts +1 -1
- package/dist/models/MultipleAnswer.d.ts +1 -1
- package/dist/models/MultipleAnswer1.d.ts +1 -1
- package/dist/models/NoAnswer.d.ts +1 -1
- package/dist/models/PostContentUpload.d.ts +1 -1
- package/dist/models/PostCourseExport.d.ts +1 -1
- package/dist/models/PostPortalInvite.d.ts +6 -2
- package/dist/models/PostPortalInvite.js +5 -1
- package/dist/models/PostQuestion.d.ts +2 -2
- package/dist/models/PostQuiz.d.ts +1 -1
- package/dist/models/PostQuizAttemptAttempt.d.ts +1 -1
- package/dist/models/PostQuizAttemptQuestionsInner.d.ts +1 -1
- package/dist/models/PostQuizAttemptSubmit.d.ts +1 -1
- package/dist/models/PostQuizCriteriaCriteriaInner.d.ts +2 -2
- package/dist/models/PostRole.d.ts +57 -0
- package/dist/models/PostRole.js +69 -0
- package/dist/models/PutCourseEnrollment.d.ts +2 -2
- package/dist/models/PutQuestion.d.ts +2 -2
- package/dist/models/PutQuiz.d.ts +1 -1
- package/dist/models/PutRole.d.ts +38 -0
- package/dist/models/PutRole.js +52 -0
- package/dist/models/PutRolePermissions.d.ts +32 -0
- package/dist/models/PutRolePermissions.js +50 -0
- package/dist/models/QuizContent.d.ts +1 -1
- package/dist/models/SingleAnswer.d.ts +1 -1
- package/dist/models/index.d.ts +6 -0
- package/dist/models/index.js +6 -0
- package/dist/runtime.js +15 -0
- package/docs/ContentApi.md +6 -3
- package/docs/GetPermission.md +41 -0
- package/docs/GetPortal.md +2 -0
- package/docs/GetRole.md +49 -0
- package/docs/GetUserRole.md +41 -0
- package/docs/PortalApi.md +3 -6
- package/docs/PostRole.md +39 -0
- package/docs/PutRole.md +37 -0
- package/docs/PutRolePermissions.md +35 -0
- package/docs/RoleApi.md +685 -0
- package/package.json +1 -1
- package/src/apis/ContentApi.ts +289 -107
- package/src/apis/CourseApi.ts +145 -49
- package/src/apis/ModuleApi.ts +48 -16
- package/src/apis/OtherApi.ts +12 -4
- package/src/apis/PortalApi.ts +85 -34
- package/src/apis/QuestionApi.ts +60 -20
- package/src/apis/QuizApi.ts +300 -100
- package/src/apis/ReportingApi.ts +108 -36
- package/src/apis/RoleApi.ts +576 -0
- package/src/apis/UserApi.ts +84 -28
- package/src/apis/index.ts +1 -0
- package/src/models/CriteriaBasedSelection.ts +1 -1
- package/src/models/CriteriaBasedSelectionCriteria.ts +2 -2
- package/src/models/FillInBlank.ts +1 -1
- package/src/models/FillInBlank1.ts +1 -1
- package/src/models/GetContent.ts +1 -1
- package/src/models/GetContentGradeDetail.ts +3 -3
- package/src/models/GetContentGradesItemsInner.ts +2 -2
- package/src/models/GetContentInstructorBasicReportingContentInfo.ts +1 -1
- package/src/models/GetContentSessionDetail.ts +2 -2
- package/src/models/GetCourseEnrollment.ts +2 -2
- package/src/models/GetCourseEnrollmentListItem.ts +2 -2
- package/src/models/GetCourseExport.ts +2 -2
- package/src/models/GetPermission.ts +92 -0
- package/src/models/GetPortal.ts +26 -4
- package/src/models/GetPortalUser.ts +2 -14
- package/src/models/GetQuestion.ts +2 -2
- package/src/models/GetQuestionListFilters.ts +2 -2
- package/src/models/GetQuiz.ts +1 -1
- package/src/models/GetQuizAttemptAnalyticsBasicInfo.ts +1 -1
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByDifficultyInner.ts +1 -1
- package/src/models/GetQuizAttemptAnalyticsPerformanceBreakdownByQuestionTypeInner.ts +1 -1
- package/src/models/GetQuizAttemptAnalyticsQuestionAnalysisInner.ts +2 -2
- package/src/models/GetQuizAttemptAttempt.ts +1 -1
- package/src/models/GetQuizAttemptListAllOfAttempts.ts +1 -1
- package/src/models/GetQuizAttemptListAllOfFilters.ts +1 -1
- package/src/models/GetQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/GetQuizCriteriaItem.ts +2 -2
- package/src/models/GetQuizCriteriaListItemsInner.ts +2 -2
- package/src/models/GetQuizListAllOfFilters.ts +1 -1
- package/src/models/GetQuizListAllOfQuizzes.ts +1 -1
- package/src/models/GetQuizQuestions.ts +1 -1
- package/src/models/GetQuizQuestionsItemsInnerQuestionDetails.ts +2 -2
- package/src/models/GetQuizResults.ts +1 -1
- package/src/models/GetQuizResultsFeedbackDifficultyPerformanceInner.ts +1 -1
- package/src/models/GetQuizResultsQuestionsInner.ts +1 -1
- package/src/models/GetRole.ts +151 -0
- package/src/models/GetScormApiLogItem.ts +1 -1
- package/src/models/GetUserQuizAttemptsAllOfAttempts.ts +1 -1
- package/src/models/GetUserQuizAttemptsAllOfFilters.ts +1 -1
- package/src/models/GetUserRole.ts +109 -0
- package/src/models/ManualSelection.ts +1 -1
- package/src/models/MultipleAnswer.ts +1 -1
- package/src/models/MultipleAnswer1.ts +1 -1
- package/src/models/NoAnswer.ts +1 -1
- package/src/models/PostContentUpload.ts +1 -1
- package/src/models/PostCourseExport.ts +1 -1
- package/src/models/PostPortalInvite.ts +7 -3
- package/src/models/PostQuestion.ts +2 -2
- package/src/models/PostQuiz.ts +1 -1
- package/src/models/PostQuizAttemptAttempt.ts +1 -1
- package/src/models/PostQuizAttemptQuestionsInner.ts +1 -1
- package/src/models/PostQuizAttemptSubmit.ts +1 -1
- package/src/models/PostQuizCriteriaCriteriaInner.ts +2 -2
- package/src/models/PostRole.ts +99 -0
- package/src/models/PutCourseEnrollment.ts +2 -2
- package/src/models/PutQuestion.ts +2 -2
- package/src/models/PutQuiz.ts +1 -1
- package/src/models/PutRole.ts +74 -0
- package/src/models/PutRolePermissions.ts +66 -0
- package/src/models/QuizContent.ts +1 -1
- package/src/models/SingleAnswer.ts +1 -1
- package/src/models/index.ts +6 -0
- package/src/runtime.ts +18 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -56,6 +56,7 @@ docs/GetModuleList.md
|
|
|
56
56
|
docs/GetModuleStudentReporting.md
|
|
57
57
|
docs/GetModuleStudentReportingAccess.md
|
|
58
58
|
docs/GetModuleStudentReportingProgress.md
|
|
59
|
+
docs/GetPermission.md
|
|
59
60
|
docs/GetPortal.md
|
|
60
61
|
docs/GetPortalBasicReporting.md
|
|
61
62
|
docs/GetPortalBasicReportingCertificates.md
|
|
@@ -115,6 +116,7 @@ docs/GetQuizResultsQuestionsInnerStudentAnswer.md
|
|
|
115
116
|
docs/GetQuizResultsScore.md
|
|
116
117
|
docs/GetQuizResultsTiming.md
|
|
117
118
|
docs/GetQuizStatistics.md
|
|
119
|
+
docs/GetRole.md
|
|
118
120
|
docs/GetScormApiLogItem.md
|
|
119
121
|
docs/GetScormApiLogs.md
|
|
120
122
|
docs/GetScormPackage.md
|
|
@@ -126,6 +128,7 @@ docs/GetUserQuizAttempts.md
|
|
|
126
128
|
docs/GetUserQuizAttemptsAllOfAttempts.md
|
|
127
129
|
docs/GetUserQuizAttemptsAllOfFilters.md
|
|
128
130
|
docs/GetUserQuizAttemptsAllOfSummary.md
|
|
131
|
+
docs/GetUserRole.md
|
|
129
132
|
docs/LoginRes.md
|
|
130
133
|
docs/LoginResAuthData.md
|
|
131
134
|
docs/LoginResUserData.md
|
|
@@ -170,6 +173,7 @@ docs/PostQuizQuestions.md
|
|
|
170
173
|
docs/PostQuizQuestionsQuestionsInner.md
|
|
171
174
|
docs/PostQuizSettings.md
|
|
172
175
|
docs/PostResetPassword.md
|
|
176
|
+
docs/PostRole.md
|
|
173
177
|
docs/PostSendResetPassword.md
|
|
174
178
|
docs/PostVerifyManifest.md
|
|
175
179
|
docs/PostVerifyManifestItemsInner.md
|
|
@@ -186,6 +190,8 @@ docs/PutQuiz.md
|
|
|
186
190
|
docs/PutQuizAnswer.md
|
|
187
191
|
docs/PutQuizAnswerAnswer.md
|
|
188
192
|
docs/PutQuizSettings.md
|
|
193
|
+
docs/PutRole.md
|
|
194
|
+
docs/PutRolePermissions.md
|
|
189
195
|
docs/PutUser.md
|
|
190
196
|
docs/QuestionApi.md
|
|
191
197
|
docs/QuizApi.md
|
|
@@ -193,6 +199,7 @@ docs/QuizContent.md
|
|
|
193
199
|
docs/QuizContentAssignment.md
|
|
194
200
|
docs/QuizContentSettings.md
|
|
195
201
|
docs/ReportingApi.md
|
|
202
|
+
docs/RoleApi.md
|
|
196
203
|
docs/SCORMContent.md
|
|
197
204
|
docs/ScormGetValueResponse.md
|
|
198
205
|
docs/ScormSessionData.md
|
|
@@ -214,6 +221,7 @@ src/apis/PortalApi.ts
|
|
|
214
221
|
src/apis/QuestionApi.ts
|
|
215
222
|
src/apis/QuizApi.ts
|
|
216
223
|
src/apis/ReportingApi.ts
|
|
224
|
+
src/apis/RoleApi.ts
|
|
217
225
|
src/apis/UserApi.ts
|
|
218
226
|
src/apis/index.ts
|
|
219
227
|
src/index.ts
|
|
@@ -269,6 +277,7 @@ src/models/GetModuleList.ts
|
|
|
269
277
|
src/models/GetModuleStudentReporting.ts
|
|
270
278
|
src/models/GetModuleStudentReportingAccess.ts
|
|
271
279
|
src/models/GetModuleStudentReportingProgress.ts
|
|
280
|
+
src/models/GetPermission.ts
|
|
272
281
|
src/models/GetPortal.ts
|
|
273
282
|
src/models/GetPortalBasicReporting.ts
|
|
274
283
|
src/models/GetPortalBasicReportingCertificates.ts
|
|
@@ -328,6 +337,7 @@ src/models/GetQuizResultsQuestionsInnerStudentAnswer.ts
|
|
|
328
337
|
src/models/GetQuizResultsScore.ts
|
|
329
338
|
src/models/GetQuizResultsTiming.ts
|
|
330
339
|
src/models/GetQuizStatistics.ts
|
|
340
|
+
src/models/GetRole.ts
|
|
331
341
|
src/models/GetScormApiLogItem.ts
|
|
332
342
|
src/models/GetScormApiLogs.ts
|
|
333
343
|
src/models/GetScormPackage.ts
|
|
@@ -339,6 +349,7 @@ src/models/GetUserQuizAttempts.ts
|
|
|
339
349
|
src/models/GetUserQuizAttemptsAllOfAttempts.ts
|
|
340
350
|
src/models/GetUserQuizAttemptsAllOfFilters.ts
|
|
341
351
|
src/models/GetUserQuizAttemptsAllOfSummary.ts
|
|
352
|
+
src/models/GetUserRole.ts
|
|
342
353
|
src/models/LoginRes.ts
|
|
343
354
|
src/models/LoginResAuthData.ts
|
|
344
355
|
src/models/LoginResUserData.ts
|
|
@@ -380,6 +391,7 @@ src/models/PostQuizQuestions.ts
|
|
|
380
391
|
src/models/PostQuizQuestionsQuestionsInner.ts
|
|
381
392
|
src/models/PostQuizSettings.ts
|
|
382
393
|
src/models/PostResetPassword.ts
|
|
394
|
+
src/models/PostRole.ts
|
|
383
395
|
src/models/PostSendResetPassword.ts
|
|
384
396
|
src/models/PostVerifyManifest.ts
|
|
385
397
|
src/models/PostVerifyManifestItemsInner.ts
|
|
@@ -396,6 +408,8 @@ src/models/PutQuiz.ts
|
|
|
396
408
|
src/models/PutQuizAnswer.ts
|
|
397
409
|
src/models/PutQuizAnswerAnswer.ts
|
|
398
410
|
src/models/PutQuizSettings.ts
|
|
411
|
+
src/models/PutRole.ts
|
|
412
|
+
src/models/PutRolePermissions.ts
|
|
399
413
|
src/models/PutUser.ts
|
|
400
414
|
src/models/QuizContent.ts
|
|
401
415
|
src/models/QuizContentAssignment.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.21.0
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.33.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -95,7 +95,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
95
95
|
*PortalApi* | [**inviteUserToPortal**](docs/PortalApi.md#inviteusertoportal) | **POST** /portals/{portalId}/invite | Invite a new user to a portal
|
|
96
96
|
*PortalApi* | [**postPortal**](docs/PortalApi.md#postportal) | **POST** /portals | Create a new portal as a child of the current selected portal
|
|
97
97
|
*PortalApi* | [**putPortalBranding**](docs/PortalApi.md#putportalbranding) | **PUT** /portals/{portalId} | Update portal branding (name, background color, text color)
|
|
98
|
-
*PortalApi* | [**updateSelectedPortal**](docs/PortalApi.md#updateselectedportal) | **PUT** /portals/{portalId}/selected | Update the users current selected portal
|
|
98
|
+
*PortalApi* | [**updateSelectedPortal**](docs/PortalApi.md#updateselectedportal) | **PUT** /portals/{portalId}/selected | Update the users current selected portal. Returns new JWT with updated roles.
|
|
99
99
|
*QuestionApi* | [**deleteQuestion**](docs/QuestionApi.md#deletequestion) | **DELETE** /questions/{questionId} | Delete a question by ID
|
|
100
100
|
*QuestionApi* | [**getQuestion**](docs/QuestionApi.md#getquestion) | **GET** /questions/{questionId} | Get a question by ID
|
|
101
101
|
*QuestionApi* | [**getQuestionList**](docs/QuestionApi.md#getquestionlist) | **GET** /questions | Get list of questions with filtering and pagination
|
|
@@ -135,6 +135,16 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
135
135
|
*ReportingApi* | [**getModuleStudentReporting**](docs/ReportingApi.md#getmodulestudentreporting) | **GET** /courses/{courseId}/modules/{moduleId}/reporting/students/{studentId} | Get student-specific reporting for a module (can use \'current\' for studentId)
|
|
136
136
|
*ReportingApi* | [**getPortalBasicReporting**](docs/ReportingApi.md#getportalbasicreporting) | **GET** /portals/{portalId}/reporting/basic | Get basic reporting for a portal (can use \'current\' for portalId)
|
|
137
137
|
*ReportingApi* | [**getPortalStudentReporting**](docs/ReportingApi.md#getportalstudentreporting) | **GET** /portals/{portalId}/reporting/students/{studentId} | Get student reporting for a portal (can use \'current\' for portalId and studentId)
|
|
138
|
+
*RoleApi* | [**assignUserRole**](docs/RoleApi.md#assignuserrole) | **POST** /roles/users/{userId}/portals/{portalId}/roles/{roleId} | Assign a role to a user for a portal
|
|
139
|
+
*RoleApi* | [**createRole**](docs/RoleApi.md#createrole) | **POST** /roles | Create a custom role scoped to the current portal
|
|
140
|
+
*RoleApi* | [**deleteRole**](docs/RoleApi.md#deleterole) | **DELETE** /roles/{roleId} | Deactivate a custom role
|
|
141
|
+
*RoleApi* | [**getPermissions**](docs/RoleApi.md#getpermissions) | **GET** /roles/permissions | List all available permissions in the system
|
|
142
|
+
*RoleApi* | [**getRole**](docs/RoleApi.md#getrole) | **GET** /roles/{roleId} | Get role details with permissions
|
|
143
|
+
*RoleApi* | [**getRoles**](docs/RoleApi.md#getroles) | **GET** /roles | List all roles available to the current portal
|
|
144
|
+
*RoleApi* | [**getUserRoles**](docs/RoleApi.md#getuserroles) | **GET** /roles/users/{userId}/portals/{portalId} | Get all active roles for a user in a portal
|
|
145
|
+
*RoleApi* | [**unassignUserRole**](docs/RoleApi.md#unassignuserrole) | **DELETE** /roles/users/{userId}/portals/{portalId}/roles/{roleId} | Remove a role from a user for a portal
|
|
146
|
+
*RoleApi* | [**updateRole**](docs/RoleApi.md#updaterole) | **PUT** /roles/{roleId} | Update a custom role name and description
|
|
147
|
+
*RoleApi* | [**updateRolePermissions**](docs/RoleApi.md#updaterolepermissions) | **PUT** /roles/{roleId}/permissions | Replace all permissions for a custom role
|
|
138
148
|
*UserApi* | [**getAuthCheck**](docs/UserApi.md#getauthcheck) | **GET** /auth/check | Check if a user is logged in
|
|
139
149
|
*UserApi* | [**getUser**](docs/UserApi.md#getuser) | **GET** /users/{userId} | Get a user by id
|
|
140
150
|
*UserApi* | [**postLogin**](docs/UserApi.md#postlogin) | **POST** /auth/login | Post a new login
|
|
@@ -198,6 +208,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
198
208
|
- [GetModuleStudentReporting](docs/GetModuleStudentReporting.md)
|
|
199
209
|
- [GetModuleStudentReportingAccess](docs/GetModuleStudentReportingAccess.md)
|
|
200
210
|
- [GetModuleStudentReportingProgress](docs/GetModuleStudentReportingProgress.md)
|
|
211
|
+
- [GetPermission](docs/GetPermission.md)
|
|
201
212
|
- [GetPortal](docs/GetPortal.md)
|
|
202
213
|
- [GetPortalBasicReporting](docs/GetPortalBasicReporting.md)
|
|
203
214
|
- [GetPortalBasicReportingCertificates](docs/GetPortalBasicReportingCertificates.md)
|
|
@@ -257,6 +268,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
257
268
|
- [GetQuizResultsScore](docs/GetQuizResultsScore.md)
|
|
258
269
|
- [GetQuizResultsTiming](docs/GetQuizResultsTiming.md)
|
|
259
270
|
- [GetQuizStatistics](docs/GetQuizStatistics.md)
|
|
271
|
+
- [GetRole](docs/GetRole.md)
|
|
260
272
|
- [GetScormApiLogItem](docs/GetScormApiLogItem.md)
|
|
261
273
|
- [GetScormApiLogs](docs/GetScormApiLogs.md)
|
|
262
274
|
- [GetScormPackage](docs/GetScormPackage.md)
|
|
@@ -268,6 +280,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
268
280
|
- [GetUserQuizAttemptsAllOfAttempts](docs/GetUserQuizAttemptsAllOfAttempts.md)
|
|
269
281
|
- [GetUserQuizAttemptsAllOfFilters](docs/GetUserQuizAttemptsAllOfFilters.md)
|
|
270
282
|
- [GetUserQuizAttemptsAllOfSummary](docs/GetUserQuizAttemptsAllOfSummary.md)
|
|
283
|
+
- [GetUserRole](docs/GetUserRole.md)
|
|
271
284
|
- [LoginRes](docs/LoginRes.md)
|
|
272
285
|
- [LoginResAuthData](docs/LoginResAuthData.md)
|
|
273
286
|
- [LoginResUserData](docs/LoginResUserData.md)
|
|
@@ -309,6 +322,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
309
322
|
- [PostQuizQuestionsQuestionsInner](docs/PostQuizQuestionsQuestionsInner.md)
|
|
310
323
|
- [PostQuizSettings](docs/PostQuizSettings.md)
|
|
311
324
|
- [PostResetPassword](docs/PostResetPassword.md)
|
|
325
|
+
- [PostRole](docs/PostRole.md)
|
|
312
326
|
- [PostSendResetPassword](docs/PostSendResetPassword.md)
|
|
313
327
|
- [PostVerifyManifest](docs/PostVerifyManifest.md)
|
|
314
328
|
- [PostVerifyManifestItemsInner](docs/PostVerifyManifestItemsInner.md)
|
|
@@ -325,6 +339,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
325
339
|
- [PutQuizAnswer](docs/PutQuizAnswer.md)
|
|
326
340
|
- [PutQuizAnswerAnswer](docs/PutQuizAnswerAnswer.md)
|
|
327
341
|
- [PutQuizSettings](docs/PutQuizSettings.md)
|
|
342
|
+
- [PutRole](docs/PutRole.md)
|
|
343
|
+
- [PutRolePermissions](docs/PutRolePermissions.md)
|
|
328
344
|
- [PutUser](docs/PutUser.md)
|
|
329
345
|
- [QuizContent](docs/QuizContent.md)
|
|
330
346
|
- [QuizContentAssignment](docs/QuizContentAssignment.md)
|
|
@@ -353,8 +369,8 @@ and is automatically generated by the
|
|
|
353
369
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
354
370
|
|
|
355
371
|
- API version: `1.0.0`
|
|
356
|
-
- Package version: `1.
|
|
357
|
-
- Generator version: `7.
|
|
372
|
+
- Package version: `1.33.0`
|
|
373
|
+
- Generator version: `7.21.0`
|
|
358
374
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
359
375
|
|
|
360
376
|
The generated npm module supports the following:
|
|
@@ -69,7 +69,8 @@ export interface ListContentSessionsRequest {
|
|
|
69
69
|
contentId: string;
|
|
70
70
|
moduleId: string;
|
|
71
71
|
courseId: string;
|
|
72
|
-
|
|
72
|
+
environment?: ListContentSessionsEnvironmentEnum;
|
|
73
|
+
userId?: string;
|
|
73
74
|
page?: number;
|
|
74
75
|
pageSize?: number;
|
|
75
76
|
}
|
|
@@ -121,6 +122,10 @@ export interface VerifyScormManifestRequest {
|
|
|
121
122
|
*
|
|
122
123
|
*/
|
|
123
124
|
export declare class ContentApi extends runtime.BaseAPI {
|
|
125
|
+
/**
|
|
126
|
+
* Creates request options for commitScormSession without sending the request
|
|
127
|
+
*/
|
|
128
|
+
commitScormSessionRequestOpts(requestParameters: CommitScormSessionRequest): Promise<runtime.RequestOpts>;
|
|
124
129
|
/**
|
|
125
130
|
* Commit/persist SCORM CMI data changes to the database
|
|
126
131
|
* Commit SCORM session data
|
|
@@ -131,6 +136,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
131
136
|
* Commit SCORM session data
|
|
132
137
|
*/
|
|
133
138
|
commitScormSession(requestParameters: CommitScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
* Creates request options for getContent without sending the request
|
|
141
|
+
*/
|
|
142
|
+
getContentRequestOpts(requestParameters: GetContentRequest): Promise<runtime.RequestOpts>;
|
|
134
143
|
/**
|
|
135
144
|
* get content
|
|
136
145
|
*/
|
|
@@ -139,6 +148,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
139
148
|
* get content
|
|
140
149
|
*/
|
|
141
150
|
getContent(requestParameters: GetContentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
151
|
+
/**
|
|
152
|
+
* Creates request options for getContentList without sending the request
|
|
153
|
+
*/
|
|
154
|
+
getContentListRequestOpts(requestParameters: GetContentListRequest): Promise<runtime.RequestOpts>;
|
|
142
155
|
/**
|
|
143
156
|
* get content list
|
|
144
157
|
*/
|
|
@@ -147,6 +160,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
147
160
|
* get content list
|
|
148
161
|
*/
|
|
149
162
|
getContentList(requestParameters: GetContentListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentList>;
|
|
163
|
+
/**
|
|
164
|
+
* Creates request options for getContentSession without sending the request
|
|
165
|
+
*/
|
|
166
|
+
getContentSessionRequestOpts(requestParameters: GetContentSessionRequest): Promise<runtime.RequestOpts>;
|
|
150
167
|
/**
|
|
151
168
|
* get content session
|
|
152
169
|
*/
|
|
@@ -155,6 +172,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
155
172
|
* get content session
|
|
156
173
|
*/
|
|
157
174
|
getContentSession(requestParameters: GetContentSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentSession>;
|
|
175
|
+
/**
|
|
176
|
+
* Creates request options for getContentSessionDetail without sending the request
|
|
177
|
+
*/
|
|
178
|
+
getContentSessionDetailRequestOpts(requestParameters: GetContentSessionDetailRequest): Promise<runtime.RequestOpts>;
|
|
158
179
|
/**
|
|
159
180
|
* Get detailed information about a specific content session
|
|
160
181
|
* Get content session details (instructor only)
|
|
@@ -165,6 +186,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
165
186
|
* Get content session details (instructor only)
|
|
166
187
|
*/
|
|
167
188
|
getContentSessionDetail(requestParameters: GetContentSessionDetailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentSessionDetail>;
|
|
189
|
+
/**
|
|
190
|
+
* Creates request options for getContentVersion without sending the request
|
|
191
|
+
*/
|
|
192
|
+
getContentVersionRequestOpts(requestParameters: GetContentVersionRequest): Promise<runtime.RequestOpts>;
|
|
168
193
|
/**
|
|
169
194
|
* Returns detailed information about a specific version of the content, including sandbox launch URL and SCORM-specific data (package info and table of contents) if applicable.
|
|
170
195
|
* Get details of a specific content version
|
|
@@ -175,6 +200,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
175
200
|
* Get details of a specific content version
|
|
176
201
|
*/
|
|
177
202
|
getContentVersion(requestParameters: GetContentVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentVersion>;
|
|
203
|
+
/**
|
|
204
|
+
* Creates request options for getContentVersionList without sending the request
|
|
205
|
+
*/
|
|
206
|
+
getContentVersionListRequestOpts(requestParameters: GetContentVersionListRequest): Promise<runtime.RequestOpts>;
|
|
178
207
|
/**
|
|
179
208
|
* Returns a paginated list of all versions for the specified content. Returns an empty array if the content has no versions.
|
|
180
209
|
* Get all versions of a content
|
|
@@ -185,6 +214,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
185
214
|
* Get all versions of a content
|
|
186
215
|
*/
|
|
187
216
|
getContentVersionList(requestParameters: GetContentVersionListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentVersionList>;
|
|
217
|
+
/**
|
|
218
|
+
* Creates request options for getScormApiLogs without sending the request
|
|
219
|
+
*/
|
|
220
|
+
getScormApiLogsRequestOpts(requestParameters: GetScormApiLogsRequest): Promise<runtime.RequestOpts>;
|
|
188
221
|
/**
|
|
189
222
|
* Get a paginated history of all SCORM API calls made during this session for debugging and troubleshooting
|
|
190
223
|
* Get SCORM API call logs (instructor only)
|
|
@@ -195,6 +228,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
195
228
|
* Get SCORM API call logs (instructor only)
|
|
196
229
|
*/
|
|
197
230
|
getScormApiLogs(requestParameters: GetScormApiLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetScormApiLogs>;
|
|
231
|
+
/**
|
|
232
|
+
* Creates request options for getScormPackage without sending the request
|
|
233
|
+
*/
|
|
234
|
+
getScormPackageRequestOpts(requestParameters: GetScormPackageRequest): Promise<runtime.RequestOpts>;
|
|
198
235
|
/**
|
|
199
236
|
* Returns package information and table of contents for a SCORM package
|
|
200
237
|
* Get details of a SCORM package
|
|
@@ -205,6 +242,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
205
242
|
* Get details of a SCORM package
|
|
206
243
|
*/
|
|
207
244
|
getScormPackage(requestParameters: GetScormPackageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetScormPackage>;
|
|
245
|
+
/**
|
|
246
|
+
* Creates request options for getScormSessionData without sending the request
|
|
247
|
+
*/
|
|
248
|
+
getScormSessionDataRequestOpts(requestParameters: GetScormSessionDataRequest): Promise<runtime.RequestOpts>;
|
|
208
249
|
/**
|
|
209
250
|
* Get detailed SCORM session data including CMI data dump for debugging
|
|
210
251
|
* Get SCORM session data (instructor only)
|
|
@@ -215,6 +256,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
215
256
|
* Get SCORM session data (instructor only)
|
|
216
257
|
*/
|
|
217
258
|
getScormSessionData(requestParameters: GetScormSessionDataRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetScormSessionData>;
|
|
259
|
+
/**
|
|
260
|
+
* Creates request options for getScormValue without sending the request
|
|
261
|
+
*/
|
|
262
|
+
getScormValueRequestOpts(requestParameters: GetScormValueRequest): Promise<runtime.RequestOpts>;
|
|
218
263
|
/**
|
|
219
264
|
* Retrieve the value of a specific SCORM CMI data element from the session
|
|
220
265
|
* Get a SCORM CMI data element value
|
|
@@ -225,6 +270,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
225
270
|
* Get a SCORM CMI data element value
|
|
226
271
|
*/
|
|
227
272
|
getScormValue(requestParameters: GetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScormGetValueResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Creates request options for initializeScormSession without sending the request
|
|
275
|
+
*/
|
|
276
|
+
initializeScormSessionRequestOpts(requestParameters: InitializeScormSessionRequest): Promise<runtime.RequestOpts>;
|
|
228
277
|
/**
|
|
229
278
|
* Initialize a SCORM session for content playback
|
|
230
279
|
* Initialize a SCORM session
|
|
@@ -235,6 +284,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
235
284
|
* Initialize a SCORM session
|
|
236
285
|
*/
|
|
237
286
|
initializeScormSession(requestParameters: InitializeScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
287
|
+
/**
|
|
288
|
+
* Creates request options for listContentSessions without sending the request
|
|
289
|
+
*/
|
|
290
|
+
listContentSessionsRequestOpts(requestParameters: ListContentSessionsRequest): Promise<runtime.RequestOpts>;
|
|
238
291
|
/**
|
|
239
292
|
* Get a paginated list of all content sessions for a specific content item
|
|
240
293
|
* List content sessions (instructor only)
|
|
@@ -245,6 +298,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
245
298
|
* List content sessions (instructor only)
|
|
246
299
|
*/
|
|
247
300
|
listContentSessions(requestParameters: ListContentSessionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentSessionList>;
|
|
301
|
+
/**
|
|
302
|
+
* Creates request options for postContentProcess without sending the request
|
|
303
|
+
*/
|
|
304
|
+
postContentProcessRequestOpts(requestParameters: PostContentProcessRequest): Promise<runtime.RequestOpts>;
|
|
248
305
|
/**
|
|
249
306
|
* Post a new content process
|
|
250
307
|
*/
|
|
@@ -253,6 +310,11 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
253
310
|
* Post a new content process
|
|
254
311
|
*/
|
|
255
312
|
postContentProcess(requestParameters: PostContentProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
313
|
+
/**
|
|
314
|
+
* Creates request options for postContentQuiz without sending the request
|
|
315
|
+
* @deprecated
|
|
316
|
+
*/
|
|
317
|
+
postContentQuizRequestOpts(requestParameters: PostContentQuizRequest): Promise<runtime.RequestOpts>;
|
|
256
318
|
/**
|
|
257
319
|
* Create a new quiz content
|
|
258
320
|
* @deprecated
|
|
@@ -263,6 +325,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
263
325
|
* @deprecated
|
|
264
326
|
*/
|
|
265
327
|
postContentQuiz(requestParameters: PostContentQuizRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
328
|
+
/**
|
|
329
|
+
* Creates request options for postContentSession without sending the request
|
|
330
|
+
*/
|
|
331
|
+
postContentSessionRequestOpts(requestParameters: PostContentSessionRequest): Promise<runtime.RequestOpts>;
|
|
266
332
|
/**
|
|
267
333
|
* Post a new content session
|
|
268
334
|
*/
|
|
@@ -271,6 +337,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
271
337
|
* Post a new content session
|
|
272
338
|
*/
|
|
273
339
|
postContentSession(requestParameters: PostContentSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PostContentSession>;
|
|
340
|
+
/**
|
|
341
|
+
* Creates request options for postContentUpload without sending the request
|
|
342
|
+
*/
|
|
343
|
+
postContentUploadRequestOpts(requestParameters: PostContentUploadRequest): Promise<runtime.RequestOpts>;
|
|
274
344
|
/**
|
|
275
345
|
* Post a new content upload
|
|
276
346
|
*/
|
|
@@ -279,6 +349,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
279
349
|
* Post a new content upload
|
|
280
350
|
*/
|
|
281
351
|
postContentUpload(requestParameters: PostContentUploadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentUpload>;
|
|
352
|
+
/**
|
|
353
|
+
* Creates request options for putContent without sending the request
|
|
354
|
+
*/
|
|
355
|
+
putContentRequestOpts(requestParameters: PutContentRequest): Promise<runtime.RequestOpts>;
|
|
282
356
|
/**
|
|
283
357
|
* Update content by id
|
|
284
358
|
*/
|
|
@@ -287,6 +361,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
287
361
|
* Update content by id
|
|
288
362
|
*/
|
|
289
363
|
putContent(requestParameters: PutContentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContent>;
|
|
364
|
+
/**
|
|
365
|
+
* Creates request options for putContentVersion without sending the request
|
|
366
|
+
*/
|
|
367
|
+
putContentVersionRequestOpts(requestParameters: PutContentVersionRequest): Promise<runtime.RequestOpts>;
|
|
290
368
|
/**
|
|
291
369
|
* Activates this version by setting is_active to true. Automatically deactivates all other versions of the same content. Only setting is_active to true is allowed.
|
|
292
370
|
* Update a content version
|
|
@@ -297,6 +375,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
297
375
|
* Update a content version
|
|
298
376
|
*/
|
|
299
377
|
putContentVersion(requestParameters: PutContentVersionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetContentVersion>;
|
|
378
|
+
/**
|
|
379
|
+
* Creates request options for setScormValue without sending the request
|
|
380
|
+
*/
|
|
381
|
+
setScormValueRequestOpts(requestParameters: SetScormValueRequest): Promise<runtime.RequestOpts>;
|
|
300
382
|
/**
|
|
301
383
|
* Update the value of a specific SCORM CMI data element in the session
|
|
302
384
|
* Set a SCORM CMI data element value
|
|
@@ -307,6 +389,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
307
389
|
* Set a SCORM CMI data element value
|
|
308
390
|
*/
|
|
309
391
|
setScormValue(requestParameters: SetScormValueRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ScormSetValueResponse>;
|
|
392
|
+
/**
|
|
393
|
+
* Creates request options for terminateScormSession without sending the request
|
|
394
|
+
*/
|
|
395
|
+
terminateScormSessionRequestOpts(requestParameters: TerminateScormSessionRequest): Promise<runtime.RequestOpts>;
|
|
310
396
|
/**
|
|
311
397
|
* Terminate the SCORM session and finalize all data
|
|
312
398
|
* Terminate a SCORM session
|
|
@@ -317,6 +403,10 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
317
403
|
* Terminate a SCORM session
|
|
318
404
|
*/
|
|
319
405
|
terminateScormSession(requestParameters: TerminateScormSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
406
|
+
/**
|
|
407
|
+
* Creates request options for verifyScormManifest without sending the request
|
|
408
|
+
*/
|
|
409
|
+
verifyScormManifestRequestOpts(requestParameters: VerifyScormManifestRequest): Promise<runtime.RequestOpts>;
|
|
320
410
|
/**
|
|
321
411
|
* Takes raw imsmanifest.xml content and returns the parsed manifest structure with validation warnings
|
|
322
412
|
* Parse and verify a SCORM manifest
|
|
@@ -331,11 +421,11 @@ export declare class ContentApi extends runtime.BaseAPI {
|
|
|
331
421
|
/**
|
|
332
422
|
* @export
|
|
333
423
|
*/
|
|
334
|
-
export declare const
|
|
424
|
+
export declare const ListContentSessionsEnvironmentEnum: {
|
|
335
425
|
readonly Sandbox: "SANDBOX";
|
|
336
426
|
readonly Live: "LIVE";
|
|
337
427
|
};
|
|
338
|
-
export type
|
|
428
|
+
export type ListContentSessionsEnvironmentEnum = typeof ListContentSessionsEnvironmentEnum[keyof typeof ListContentSessionsEnvironmentEnum];
|
|
339
429
|
/**
|
|
340
430
|
* @export
|
|
341
431
|
*/
|