@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/dist/apis/QuizApi.js
CHANGED
|
@@ -30,9 +30,9 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class QuizApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Creates request options for addQuizCriteriaQuestionSelection without sending the request
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
addQuizCriteriaQuestionSelectionRequestOpts(requestParameters) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
if (requestParameters['quizId'] == null) {
|
|
38
38
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling addQuizCriteriaQuestionSelection().');
|
|
@@ -45,13 +45,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
45
45
|
headerParameters['Content-Type'] = 'application/json';
|
|
46
46
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
47
47
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
48
|
-
|
|
48
|
+
return {
|
|
49
49
|
path: urlPath,
|
|
50
50
|
method: 'POST',
|
|
51
51
|
headers: headerParameters,
|
|
52
52
|
query: queryParameters,
|
|
53
53
|
body: (0, index_1.PostQuizCriteriaToJSON)(requestParameters['postQuizCriteria']),
|
|
54
|
-
}
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Add question selection criteria
|
|
59
|
+
*/
|
|
60
|
+
addQuizCriteriaQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const requestOptions = yield this.addQuizCriteriaQuestionSelectionRequestOpts(requestParameters);
|
|
63
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
55
64
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizCriteriaFromJSON)(jsonValue));
|
|
56
65
|
});
|
|
57
66
|
}
|
|
@@ -65,9 +74,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
65
74
|
});
|
|
66
75
|
}
|
|
67
76
|
/**
|
|
68
|
-
*
|
|
77
|
+
* Creates request options for addQuizManualQuestionSelection without sending the request
|
|
69
78
|
*/
|
|
70
|
-
|
|
79
|
+
addQuizManualQuestionSelectionRequestOpts(requestParameters) {
|
|
71
80
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
81
|
if (requestParameters['quizId'] == null) {
|
|
73
82
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling addQuizManualQuestionSelection().');
|
|
@@ -80,13 +89,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
80
89
|
headerParameters['Content-Type'] = 'application/json';
|
|
81
90
|
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
82
91
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
83
|
-
|
|
92
|
+
return {
|
|
84
93
|
path: urlPath,
|
|
85
94
|
method: 'POST',
|
|
86
95
|
headers: headerParameters,
|
|
87
96
|
query: queryParameters,
|
|
88
97
|
body: (0, index_1.PostManualQuestionSelectionToJSON)(requestParameters['postManualQuestionSelection']),
|
|
89
|
-
}
|
|
98
|
+
};
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Add questions to quiz manually
|
|
103
|
+
*/
|
|
104
|
+
addQuizManualQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
105
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
106
|
+
const requestOptions = yield this.addQuizManualQuestionSelectionRequestOpts(requestParameters);
|
|
107
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
90
108
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetManualQuestionSelectionItemFromJSON)(jsonValue));
|
|
91
109
|
});
|
|
92
110
|
}
|
|
@@ -100,9 +118,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
100
118
|
});
|
|
101
119
|
}
|
|
102
120
|
/**
|
|
103
|
-
*
|
|
121
|
+
* Creates request options for addQuizQuestions without sending the request
|
|
104
122
|
*/
|
|
105
|
-
|
|
123
|
+
addQuizQuestionsRequestOpts(requestParameters) {
|
|
106
124
|
return __awaiter(this, void 0, void 0, function* () {
|
|
107
125
|
if (requestParameters['quizId'] == null) {
|
|
108
126
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling addQuizQuestions().');
|
|
@@ -115,13 +133,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
115
133
|
headerParameters['Content-Type'] = 'application/json';
|
|
116
134
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
117
135
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
118
|
-
|
|
136
|
+
return {
|
|
119
137
|
path: urlPath,
|
|
120
138
|
method: 'POST',
|
|
121
139
|
headers: headerParameters,
|
|
122
140
|
query: queryParameters,
|
|
123
141
|
body: (0, index_1.PostQuizQuestionsToJSON)(requestParameters['postQuizQuestions']),
|
|
124
|
-
}
|
|
142
|
+
};
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Add questions to quiz (manual selection)
|
|
147
|
+
*/
|
|
148
|
+
addQuizQuestionsRaw(requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
150
|
+
const requestOptions = yield this.addQuizQuestionsRequestOpts(requestParameters);
|
|
151
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
125
152
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizQuestionsFromJSON)(jsonValue));
|
|
126
153
|
});
|
|
127
154
|
}
|
|
@@ -135,9 +162,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
135
162
|
});
|
|
136
163
|
}
|
|
137
164
|
/**
|
|
138
|
-
*
|
|
165
|
+
* Creates request options for createQuiz without sending the request
|
|
139
166
|
*/
|
|
140
|
-
|
|
167
|
+
createQuizRequestOpts(requestParameters) {
|
|
141
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
142
169
|
if (requestParameters['postQuiz'] == null) {
|
|
143
170
|
throw new runtime.RequiredError('postQuiz', 'Required parameter "postQuiz" was null or undefined when calling createQuiz().');
|
|
@@ -146,13 +173,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
146
173
|
const headerParameters = {};
|
|
147
174
|
headerParameters['Content-Type'] = 'application/json';
|
|
148
175
|
let urlPath = `/quizzes`;
|
|
149
|
-
|
|
176
|
+
return {
|
|
150
177
|
path: urlPath,
|
|
151
178
|
method: 'POST',
|
|
152
179
|
headers: headerParameters,
|
|
153
180
|
query: queryParameters,
|
|
154
181
|
body: (0, index_1.PostQuizToJSON)(requestParameters['postQuiz']),
|
|
155
|
-
}
|
|
182
|
+
};
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Create a new quiz configuration
|
|
187
|
+
*/
|
|
188
|
+
createQuizRaw(requestParameters, initOverrides) {
|
|
189
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
+
const requestOptions = yield this.createQuizRequestOpts(requestParameters);
|
|
191
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
156
192
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizFromJSON)(jsonValue));
|
|
157
193
|
});
|
|
158
194
|
}
|
|
@@ -166,9 +202,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
166
202
|
});
|
|
167
203
|
}
|
|
168
204
|
/**
|
|
169
|
-
*
|
|
205
|
+
* Creates request options for deleteQuiz without sending the request
|
|
170
206
|
*/
|
|
171
|
-
|
|
207
|
+
deleteQuizRequestOpts(requestParameters) {
|
|
172
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
173
209
|
if (requestParameters['quizId'] == null) {
|
|
174
210
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling deleteQuiz().');
|
|
@@ -177,12 +213,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
177
213
|
const headerParameters = {};
|
|
178
214
|
let urlPath = `/quizzes/{quizId}`;
|
|
179
215
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
180
|
-
|
|
216
|
+
return {
|
|
181
217
|
path: urlPath,
|
|
182
218
|
method: 'DELETE',
|
|
183
219
|
headers: headerParameters,
|
|
184
220
|
query: queryParameters,
|
|
185
|
-
}
|
|
221
|
+
};
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Delete quiz configuration
|
|
226
|
+
*/
|
|
227
|
+
deleteQuizRaw(requestParameters, initOverrides) {
|
|
228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
229
|
+
const requestOptions = yield this.deleteQuizRequestOpts(requestParameters);
|
|
230
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
186
231
|
return new runtime.VoidApiResponse(response);
|
|
187
232
|
});
|
|
188
233
|
}
|
|
@@ -195,9 +240,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
195
240
|
});
|
|
196
241
|
}
|
|
197
242
|
/**
|
|
198
|
-
*
|
|
243
|
+
* Creates request options for deleteQuizCriteriaQuestionSelection without sending the request
|
|
199
244
|
*/
|
|
200
|
-
|
|
245
|
+
deleteQuizCriteriaQuestionSelectionRequestOpts(requestParameters) {
|
|
201
246
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
247
|
if (requestParameters['quizId'] == null) {
|
|
203
248
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling deleteQuizCriteriaQuestionSelection().');
|
|
@@ -210,12 +255,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
210
255
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
211
256
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
212
257
|
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
213
|
-
|
|
258
|
+
return {
|
|
214
259
|
path: urlPath,
|
|
215
260
|
method: 'DELETE',
|
|
216
261
|
headers: headerParameters,
|
|
217
262
|
query: queryParameters,
|
|
218
|
-
}
|
|
263
|
+
};
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Delete question selection criteria
|
|
268
|
+
*/
|
|
269
|
+
deleteQuizCriteriaQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
271
|
+
const requestOptions = yield this.deleteQuizCriteriaQuestionSelectionRequestOpts(requestParameters);
|
|
272
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
219
273
|
return new runtime.VoidApiResponse(response);
|
|
220
274
|
});
|
|
221
275
|
}
|
|
@@ -228,9 +282,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
228
282
|
});
|
|
229
283
|
}
|
|
230
284
|
/**
|
|
231
|
-
*
|
|
285
|
+
* Creates request options for deleteQuizManualQuestionSelection without sending the request
|
|
232
286
|
*/
|
|
233
|
-
|
|
287
|
+
deleteQuizManualQuestionSelectionRequestOpts(requestParameters) {
|
|
234
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
235
289
|
if (requestParameters['quizId'] == null) {
|
|
236
290
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling deleteQuizManualQuestionSelection().');
|
|
@@ -243,12 +297,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
243
297
|
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
244
298
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
245
299
|
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
246
|
-
|
|
300
|
+
return {
|
|
247
301
|
path: urlPath,
|
|
248
302
|
method: 'DELETE',
|
|
249
303
|
headers: headerParameters,
|
|
250
304
|
query: queryParameters,
|
|
251
|
-
}
|
|
305
|
+
};
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Remove manually selected question from quiz
|
|
310
|
+
*/
|
|
311
|
+
deleteQuizManualQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
312
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
+
const requestOptions = yield this.deleteQuizManualQuestionSelectionRequestOpts(requestParameters);
|
|
314
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
252
315
|
return new runtime.VoidApiResponse(response);
|
|
253
316
|
});
|
|
254
317
|
}
|
|
@@ -261,9 +324,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
261
324
|
});
|
|
262
325
|
}
|
|
263
326
|
/**
|
|
264
|
-
*
|
|
327
|
+
* Creates request options for getQuiz without sending the request
|
|
265
328
|
*/
|
|
266
|
-
|
|
329
|
+
getQuizRequestOpts(requestParameters) {
|
|
267
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
268
331
|
if (requestParameters['quizId'] == null) {
|
|
269
332
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuiz().');
|
|
@@ -272,12 +335,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
272
335
|
const headerParameters = {};
|
|
273
336
|
let urlPath = `/quizzes/{quizId}`;
|
|
274
337
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
275
|
-
|
|
338
|
+
return {
|
|
276
339
|
path: urlPath,
|
|
277
340
|
method: 'GET',
|
|
278
341
|
headers: headerParameters,
|
|
279
342
|
query: queryParameters,
|
|
280
|
-
}
|
|
343
|
+
};
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Get quiz configuration by ID
|
|
348
|
+
*/
|
|
349
|
+
getQuizRaw(requestParameters, initOverrides) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
+
const requestOptions = yield this.getQuizRequestOpts(requestParameters);
|
|
352
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
281
353
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizFromJSON)(jsonValue));
|
|
282
354
|
});
|
|
283
355
|
}
|
|
@@ -291,9 +363,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
291
363
|
});
|
|
292
364
|
}
|
|
293
365
|
/**
|
|
294
|
-
*
|
|
366
|
+
* Creates request options for getQuizAttempt without sending the request
|
|
295
367
|
*/
|
|
296
|
-
|
|
368
|
+
getQuizAttemptRequestOpts(requestParameters) {
|
|
297
369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
298
370
|
if (requestParameters['attemptId'] == null) {
|
|
299
371
|
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling getQuizAttempt().');
|
|
@@ -302,12 +374,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
302
374
|
const headerParameters = {};
|
|
303
375
|
let urlPath = `/quiz-attempts/{attemptId}`;
|
|
304
376
|
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
305
|
-
|
|
377
|
+
return {
|
|
306
378
|
path: urlPath,
|
|
307
379
|
method: 'GET',
|
|
308
380
|
headers: headerParameters,
|
|
309
381
|
query: queryParameters,
|
|
310
|
-
}
|
|
382
|
+
};
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
/**
|
|
386
|
+
* Get current quiz attempt status and questions
|
|
387
|
+
*/
|
|
388
|
+
getQuizAttemptRaw(requestParameters, initOverrides) {
|
|
389
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
390
|
+
const requestOptions = yield this.getQuizAttemptRequestOpts(requestParameters);
|
|
391
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
311
392
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizAttemptFromJSON)(jsonValue));
|
|
312
393
|
});
|
|
313
394
|
}
|
|
@@ -321,9 +402,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
321
402
|
});
|
|
322
403
|
}
|
|
323
404
|
/**
|
|
324
|
-
*
|
|
405
|
+
* Creates request options for getQuizAttemptAnalytics without sending the request
|
|
325
406
|
*/
|
|
326
|
-
|
|
407
|
+
getQuizAttemptAnalyticsRequestOpts(requestParameters) {
|
|
327
408
|
return __awaiter(this, void 0, void 0, function* () {
|
|
328
409
|
if (requestParameters['attemptId'] == null) {
|
|
329
410
|
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling getQuizAttemptAnalytics().');
|
|
@@ -332,12 +413,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
332
413
|
const headerParameters = {};
|
|
333
414
|
let urlPath = `/quiz-attempts/{attemptId}/analytics`;
|
|
334
415
|
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
335
|
-
|
|
416
|
+
return {
|
|
336
417
|
path: urlPath,
|
|
337
418
|
method: 'GET',
|
|
338
419
|
headers: headerParameters,
|
|
339
420
|
query: queryParameters,
|
|
340
|
-
}
|
|
421
|
+
};
|
|
422
|
+
});
|
|
423
|
+
}
|
|
424
|
+
/**
|
|
425
|
+
* Get detailed analytics for quiz attempt (admin)
|
|
426
|
+
*/
|
|
427
|
+
getQuizAttemptAnalyticsRaw(requestParameters, initOverrides) {
|
|
428
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
429
|
+
const requestOptions = yield this.getQuizAttemptAnalyticsRequestOpts(requestParameters);
|
|
430
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
341
431
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizAttemptAnalyticsFromJSON)(jsonValue));
|
|
342
432
|
});
|
|
343
433
|
}
|
|
@@ -351,9 +441,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
351
441
|
});
|
|
352
442
|
}
|
|
353
443
|
/**
|
|
354
|
-
*
|
|
444
|
+
* Creates request options for getQuizAttemptResults without sending the request
|
|
355
445
|
*/
|
|
356
|
-
|
|
446
|
+
getQuizAttemptResultsRequestOpts(requestParameters) {
|
|
357
447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
358
448
|
if (requestParameters['attemptId'] == null) {
|
|
359
449
|
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling getQuizAttemptResults().');
|
|
@@ -362,12 +452,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
362
452
|
const headerParameters = {};
|
|
363
453
|
let urlPath = `/quiz-attempts/{attemptId}/results`;
|
|
364
454
|
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
365
|
-
|
|
455
|
+
return {
|
|
366
456
|
path: urlPath,
|
|
367
457
|
method: 'GET',
|
|
368
458
|
headers: headerParameters,
|
|
369
459
|
query: queryParameters,
|
|
370
|
-
}
|
|
460
|
+
};
|
|
461
|
+
});
|
|
462
|
+
}
|
|
463
|
+
/**
|
|
464
|
+
* Get quiz attempt results
|
|
465
|
+
*/
|
|
466
|
+
getQuizAttemptResultsRaw(requestParameters, initOverrides) {
|
|
467
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
468
|
+
const requestOptions = yield this.getQuizAttemptResultsRequestOpts(requestParameters);
|
|
469
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
371
470
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizResultsFromJSON)(jsonValue));
|
|
372
471
|
});
|
|
373
472
|
}
|
|
@@ -381,9 +480,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
381
480
|
});
|
|
382
481
|
}
|
|
383
482
|
/**
|
|
384
|
-
*
|
|
483
|
+
* Creates request options for getQuizAttempts without sending the request
|
|
385
484
|
*/
|
|
386
|
-
|
|
485
|
+
getQuizAttemptsRequestOpts(requestParameters) {
|
|
387
486
|
return __awaiter(this, void 0, void 0, function* () {
|
|
388
487
|
if (requestParameters['quizId'] == null) {
|
|
389
488
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizAttempts().');
|
|
@@ -404,12 +503,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
404
503
|
const headerParameters = {};
|
|
405
504
|
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
406
505
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
407
|
-
|
|
506
|
+
return {
|
|
408
507
|
path: urlPath,
|
|
409
508
|
method: 'GET',
|
|
410
509
|
headers: headerParameters,
|
|
411
510
|
query: queryParameters,
|
|
412
|
-
}
|
|
511
|
+
};
|
|
512
|
+
});
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* List attempts for this quiz (admin)
|
|
516
|
+
*/
|
|
517
|
+
getQuizAttemptsRaw(requestParameters, initOverrides) {
|
|
518
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
519
|
+
const requestOptions = yield this.getQuizAttemptsRequestOpts(requestParameters);
|
|
520
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
413
521
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizAttemptListFromJSON)(jsonValue));
|
|
414
522
|
});
|
|
415
523
|
}
|
|
@@ -423,9 +531,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
423
531
|
});
|
|
424
532
|
}
|
|
425
533
|
/**
|
|
426
|
-
*
|
|
534
|
+
* Creates request options for getQuizCriteriaQuestionSelection without sending the request
|
|
427
535
|
*/
|
|
428
|
-
|
|
536
|
+
getQuizCriteriaQuestionSelectionRequestOpts(requestParameters) {
|
|
429
537
|
return __awaiter(this, void 0, void 0, function* () {
|
|
430
538
|
if (requestParameters['quizId'] == null) {
|
|
431
539
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizCriteriaQuestionSelection().');
|
|
@@ -438,12 +546,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
438
546
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
439
547
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
440
548
|
urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
441
|
-
|
|
549
|
+
return {
|
|
442
550
|
path: urlPath,
|
|
443
551
|
method: 'GET',
|
|
444
552
|
headers: headerParameters,
|
|
445
553
|
query: queryParameters,
|
|
446
|
-
}
|
|
554
|
+
};
|
|
555
|
+
});
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Get single question selection criteria
|
|
559
|
+
*/
|
|
560
|
+
getQuizCriteriaQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
561
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
562
|
+
const requestOptions = yield this.getQuizCriteriaQuestionSelectionRequestOpts(requestParameters);
|
|
563
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
447
564
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizCriteriaItemFromJSON)(jsonValue));
|
|
448
565
|
});
|
|
449
566
|
}
|
|
@@ -457,9 +574,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
457
574
|
});
|
|
458
575
|
}
|
|
459
576
|
/**
|
|
460
|
-
*
|
|
577
|
+
* Creates request options for getQuizCriteriaQuestionSelectionList without sending the request
|
|
461
578
|
*/
|
|
462
|
-
|
|
579
|
+
getQuizCriteriaQuestionSelectionListRequestOpts(requestParameters) {
|
|
463
580
|
return __awaiter(this, void 0, void 0, function* () {
|
|
464
581
|
if (requestParameters['quizId'] == null) {
|
|
465
582
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizCriteriaQuestionSelectionList().');
|
|
@@ -474,12 +591,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
474
591
|
const headerParameters = {};
|
|
475
592
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
476
593
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
477
|
-
|
|
594
|
+
return {
|
|
478
595
|
path: urlPath,
|
|
479
596
|
method: 'GET',
|
|
480
597
|
headers: headerParameters,
|
|
481
598
|
query: queryParameters,
|
|
482
|
-
}
|
|
599
|
+
};
|
|
600
|
+
});
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Get quiz question selection criteria list
|
|
604
|
+
*/
|
|
605
|
+
getQuizCriteriaQuestionSelectionListRaw(requestParameters, initOverrides) {
|
|
606
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
607
|
+
const requestOptions = yield this.getQuizCriteriaQuestionSelectionListRequestOpts(requestParameters);
|
|
608
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
483
609
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizCriteriaListFromJSON)(jsonValue));
|
|
484
610
|
});
|
|
485
611
|
}
|
|
@@ -493,9 +619,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
493
619
|
});
|
|
494
620
|
}
|
|
495
621
|
/**
|
|
496
|
-
*
|
|
622
|
+
* Creates request options for getQuizList without sending the request
|
|
497
623
|
*/
|
|
498
|
-
|
|
624
|
+
getQuizListRequestOpts(requestParameters) {
|
|
499
625
|
return __awaiter(this, void 0, void 0, function* () {
|
|
500
626
|
const queryParameters = {};
|
|
501
627
|
if (requestParameters['page'] != null) {
|
|
@@ -515,12 +641,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
515
641
|
}
|
|
516
642
|
const headerParameters = {};
|
|
517
643
|
let urlPath = `/quizzes`;
|
|
518
|
-
|
|
644
|
+
return {
|
|
519
645
|
path: urlPath,
|
|
520
646
|
method: 'GET',
|
|
521
647
|
headers: headerParameters,
|
|
522
648
|
query: queryParameters,
|
|
523
|
-
}
|
|
649
|
+
};
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
/**
|
|
653
|
+
* List quiz configurations
|
|
654
|
+
*/
|
|
655
|
+
getQuizListRaw(requestParameters, initOverrides) {
|
|
656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
657
|
+
const requestOptions = yield this.getQuizListRequestOpts(requestParameters);
|
|
658
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
524
659
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizListFromJSON)(jsonValue));
|
|
525
660
|
});
|
|
526
661
|
}
|
|
@@ -534,9 +669,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
534
669
|
});
|
|
535
670
|
}
|
|
536
671
|
/**
|
|
537
|
-
*
|
|
672
|
+
* Creates request options for getQuizManualQuestionSelection without sending the request
|
|
538
673
|
*/
|
|
539
|
-
|
|
674
|
+
getQuizManualQuestionSelectionRequestOpts(requestParameters) {
|
|
540
675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
541
676
|
if (requestParameters['quizId'] == null) {
|
|
542
677
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizManualQuestionSelection().');
|
|
@@ -549,12 +684,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
549
684
|
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
550
685
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
551
686
|
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
552
|
-
|
|
687
|
+
return {
|
|
553
688
|
path: urlPath,
|
|
554
689
|
method: 'GET',
|
|
555
690
|
headers: headerParameters,
|
|
556
691
|
query: queryParameters,
|
|
557
|
-
}
|
|
692
|
+
};
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Get single manually selected question
|
|
697
|
+
*/
|
|
698
|
+
getQuizManualQuestionSelectionRaw(requestParameters, initOverrides) {
|
|
699
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
700
|
+
const requestOptions = yield this.getQuizManualQuestionSelectionRequestOpts(requestParameters);
|
|
701
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
558
702
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetManualQuestionSelectionItemFromJSON)(jsonValue));
|
|
559
703
|
});
|
|
560
704
|
}
|
|
@@ -568,9 +712,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
568
712
|
});
|
|
569
713
|
}
|
|
570
714
|
/**
|
|
571
|
-
*
|
|
715
|
+
* Creates request options for getQuizManualQuestionSelectionList without sending the request
|
|
572
716
|
*/
|
|
573
|
-
|
|
717
|
+
getQuizManualQuestionSelectionListRequestOpts(requestParameters) {
|
|
574
718
|
return __awaiter(this, void 0, void 0, function* () {
|
|
575
719
|
if (requestParameters['quizId'] == null) {
|
|
576
720
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizManualQuestionSelectionList().');
|
|
@@ -585,12 +729,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
585
729
|
const headerParameters = {};
|
|
586
730
|
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
587
731
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
588
|
-
|
|
732
|
+
return {
|
|
589
733
|
path: urlPath,
|
|
590
734
|
method: 'GET',
|
|
591
735
|
headers: headerParameters,
|
|
592
736
|
query: queryParameters,
|
|
593
|
-
}
|
|
737
|
+
};
|
|
738
|
+
});
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* Get manually selected questions for quiz
|
|
742
|
+
*/
|
|
743
|
+
getQuizManualQuestionSelectionListRaw(requestParameters, initOverrides) {
|
|
744
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
745
|
+
const requestOptions = yield this.getQuizManualQuestionSelectionListRequestOpts(requestParameters);
|
|
746
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
594
747
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetManualQuestionSelectionListFromJSON)(jsonValue));
|
|
595
748
|
});
|
|
596
749
|
}
|
|
@@ -604,9 +757,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
604
757
|
});
|
|
605
758
|
}
|
|
606
759
|
/**
|
|
607
|
-
*
|
|
760
|
+
* Creates request options for getQuizQuestions without sending the request
|
|
608
761
|
*/
|
|
609
|
-
|
|
762
|
+
getQuizQuestionsRequestOpts(requestParameters) {
|
|
610
763
|
return __awaiter(this, void 0, void 0, function* () {
|
|
611
764
|
if (requestParameters['quizId'] == null) {
|
|
612
765
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling getQuizQuestions().');
|
|
@@ -621,12 +774,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
621
774
|
const headerParameters = {};
|
|
622
775
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
623
776
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
624
|
-
|
|
777
|
+
return {
|
|
625
778
|
path: urlPath,
|
|
626
779
|
method: 'GET',
|
|
627
780
|
headers: headerParameters,
|
|
628
781
|
query: queryParameters,
|
|
629
|
-
}
|
|
782
|
+
};
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* Get quiz questions (paginated)
|
|
787
|
+
*/
|
|
788
|
+
getQuizQuestionsRaw(requestParameters, initOverrides) {
|
|
789
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
790
|
+
const requestOptions = yield this.getQuizQuestionsRequestOpts(requestParameters);
|
|
791
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
630
792
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizQuestionsFromJSON)(jsonValue));
|
|
631
793
|
});
|
|
632
794
|
}
|
|
@@ -640,9 +802,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
640
802
|
});
|
|
641
803
|
}
|
|
642
804
|
/**
|
|
643
|
-
*
|
|
805
|
+
* Creates request options for getUserQuizAttempts without sending the request
|
|
644
806
|
*/
|
|
645
|
-
|
|
807
|
+
getUserQuizAttemptsRequestOpts(requestParameters) {
|
|
646
808
|
return __awaiter(this, void 0, void 0, function* () {
|
|
647
809
|
if (requestParameters['userId'] == null) {
|
|
648
810
|
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling getUserQuizAttempts().');
|
|
@@ -663,12 +825,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
663
825
|
const headerParameters = {};
|
|
664
826
|
let urlPath = `/users/{userId}/quiz-attempts`;
|
|
665
827
|
urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
|
|
666
|
-
|
|
828
|
+
return {
|
|
667
829
|
path: urlPath,
|
|
668
830
|
method: 'GET',
|
|
669
831
|
headers: headerParameters,
|
|
670
832
|
query: queryParameters,
|
|
671
|
-
}
|
|
833
|
+
};
|
|
834
|
+
});
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* Get user\'s quiz attempts across all quizzes
|
|
838
|
+
*/
|
|
839
|
+
getUserQuizAttemptsRaw(requestParameters, initOverrides) {
|
|
840
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
841
|
+
const requestOptions = yield this.getUserQuizAttemptsRequestOpts(requestParameters);
|
|
842
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
672
843
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetUserQuizAttemptsFromJSON)(jsonValue));
|
|
673
844
|
});
|
|
674
845
|
}
|
|
@@ -682,9 +853,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
682
853
|
});
|
|
683
854
|
}
|
|
684
855
|
/**
|
|
685
|
-
*
|
|
856
|
+
* Creates request options for removeQuizQuestion without sending the request
|
|
686
857
|
*/
|
|
687
|
-
|
|
858
|
+
removeQuizQuestionRequestOpts(requestParameters) {
|
|
688
859
|
return __awaiter(this, void 0, void 0, function* () {
|
|
689
860
|
if (requestParameters['quizId'] == null) {
|
|
690
861
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling removeQuizQuestion().');
|
|
@@ -697,12 +868,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
697
868
|
let urlPath = `/quizzes/{quizId}/questions/{questionId}`;
|
|
698
869
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
699
870
|
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
700
|
-
|
|
871
|
+
return {
|
|
701
872
|
path: urlPath,
|
|
702
873
|
method: 'DELETE',
|
|
703
874
|
headers: headerParameters,
|
|
704
875
|
query: queryParameters,
|
|
705
|
-
}
|
|
876
|
+
};
|
|
877
|
+
});
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Remove question from quiz
|
|
881
|
+
*/
|
|
882
|
+
removeQuizQuestionRaw(requestParameters, initOverrides) {
|
|
883
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
884
|
+
const requestOptions = yield this.removeQuizQuestionRequestOpts(requestParameters);
|
|
885
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
706
886
|
return new runtime.VoidApiResponse(response);
|
|
707
887
|
});
|
|
708
888
|
}
|
|
@@ -715,9 +895,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
715
895
|
});
|
|
716
896
|
}
|
|
717
897
|
/**
|
|
718
|
-
*
|
|
898
|
+
* Creates request options for saveQuizAnswer without sending the request
|
|
719
899
|
*/
|
|
720
|
-
|
|
900
|
+
saveQuizAnswerRequestOpts(requestParameters) {
|
|
721
901
|
return __awaiter(this, void 0, void 0, function* () {
|
|
722
902
|
if (requestParameters['attemptId'] == null) {
|
|
723
903
|
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling saveQuizAnswer().');
|
|
@@ -734,13 +914,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
734
914
|
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}`;
|
|
735
915
|
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
736
916
|
urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
|
|
737
|
-
|
|
917
|
+
return {
|
|
738
918
|
path: urlPath,
|
|
739
919
|
method: 'PUT',
|
|
740
920
|
headers: headerParameters,
|
|
741
921
|
query: queryParameters,
|
|
742
922
|
body: (0, index_1.PutQuizAnswerToJSON)(requestParameters['putQuizAnswer']),
|
|
743
|
-
}
|
|
923
|
+
};
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Save answer for a specific question
|
|
928
|
+
*/
|
|
929
|
+
saveQuizAnswerRaw(requestParameters, initOverrides) {
|
|
930
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
931
|
+
const requestOptions = yield this.saveQuizAnswerRequestOpts(requestParameters);
|
|
932
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
744
933
|
return new runtime.VoidApiResponse(response);
|
|
745
934
|
});
|
|
746
935
|
}
|
|
@@ -753,9 +942,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
753
942
|
});
|
|
754
943
|
}
|
|
755
944
|
/**
|
|
756
|
-
*
|
|
945
|
+
* Creates request options for startQuizAttempt without sending the request
|
|
757
946
|
*/
|
|
758
|
-
|
|
947
|
+
startQuizAttemptRequestOpts(requestParameters) {
|
|
759
948
|
return __awaiter(this, void 0, void 0, function* () {
|
|
760
949
|
if (requestParameters['quizId'] == null) {
|
|
761
950
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling startQuizAttempt().');
|
|
@@ -764,12 +953,21 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
764
953
|
const headerParameters = {};
|
|
765
954
|
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
766
955
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
767
|
-
|
|
956
|
+
return {
|
|
768
957
|
path: urlPath,
|
|
769
958
|
method: 'POST',
|
|
770
959
|
headers: headerParameters,
|
|
771
960
|
query: queryParameters,
|
|
772
|
-
}
|
|
961
|
+
};
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Start a new quiz attempt
|
|
966
|
+
*/
|
|
967
|
+
startQuizAttemptRaw(requestParameters, initOverrides) {
|
|
968
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
969
|
+
const requestOptions = yield this.startQuizAttemptRequestOpts(requestParameters);
|
|
970
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
773
971
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PostQuizAttemptFromJSON)(jsonValue));
|
|
774
972
|
});
|
|
775
973
|
}
|
|
@@ -783,9 +981,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
783
981
|
});
|
|
784
982
|
}
|
|
785
983
|
/**
|
|
786
|
-
*
|
|
984
|
+
* Creates request options for submitQuizAttempt without sending the request
|
|
787
985
|
*/
|
|
788
|
-
|
|
986
|
+
submitQuizAttemptRequestOpts(requestParameters) {
|
|
789
987
|
return __awaiter(this, void 0, void 0, function* () {
|
|
790
988
|
if (requestParameters['attemptId'] == null) {
|
|
791
989
|
throw new runtime.RequiredError('attemptId', 'Required parameter "attemptId" was null or undefined when calling submitQuizAttempt().');
|
|
@@ -798,13 +996,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
798
996
|
headerParameters['Content-Type'] = 'application/json';
|
|
799
997
|
let urlPath = `/quiz-attempts/{attemptId}/submit`;
|
|
800
998
|
urlPath = urlPath.replace(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
|
|
801
|
-
|
|
999
|
+
return {
|
|
802
1000
|
path: urlPath,
|
|
803
1001
|
method: 'POST',
|
|
804
1002
|
headers: headerParameters,
|
|
805
1003
|
query: queryParameters,
|
|
806
1004
|
body: (0, index_1.PostQuizAttemptSubmitToJSON)(requestParameters['postQuizAttemptSubmit']),
|
|
807
|
-
}
|
|
1005
|
+
};
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
/**
|
|
1009
|
+
* Submit quiz attempt for final scoring
|
|
1010
|
+
*/
|
|
1011
|
+
submitQuizAttemptRaw(requestParameters, initOverrides) {
|
|
1012
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1013
|
+
const requestOptions = yield this.submitQuizAttemptRequestOpts(requestParameters);
|
|
1014
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
808
1015
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizResultsFromJSON)(jsonValue));
|
|
809
1016
|
});
|
|
810
1017
|
}
|
|
@@ -818,9 +1025,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
818
1025
|
});
|
|
819
1026
|
}
|
|
820
1027
|
/**
|
|
821
|
-
*
|
|
1028
|
+
* Creates request options for updateQuiz without sending the request
|
|
822
1029
|
*/
|
|
823
|
-
|
|
1030
|
+
updateQuizRequestOpts(requestParameters) {
|
|
824
1031
|
return __awaiter(this, void 0, void 0, function* () {
|
|
825
1032
|
if (requestParameters['quizId'] == null) {
|
|
826
1033
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling updateQuiz().');
|
|
@@ -833,13 +1040,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
833
1040
|
headerParameters['Content-Type'] = 'application/json';
|
|
834
1041
|
let urlPath = `/quizzes/{quizId}`;
|
|
835
1042
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
836
|
-
|
|
1043
|
+
return {
|
|
837
1044
|
path: urlPath,
|
|
838
1045
|
method: 'PUT',
|
|
839
1046
|
headers: headerParameters,
|
|
840
1047
|
query: queryParameters,
|
|
841
1048
|
body: (0, index_1.PutQuizToJSON)(requestParameters['putQuiz']),
|
|
842
|
-
}
|
|
1049
|
+
};
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Update quiz configuration
|
|
1054
|
+
*/
|
|
1055
|
+
updateQuizRaw(requestParameters, initOverrides) {
|
|
1056
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1057
|
+
const requestOptions = yield this.updateQuizRequestOpts(requestParameters);
|
|
1058
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
843
1059
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizFromJSON)(jsonValue));
|
|
844
1060
|
});
|
|
845
1061
|
}
|
|
@@ -853,9 +1069,9 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
853
1069
|
});
|
|
854
1070
|
}
|
|
855
1071
|
/**
|
|
856
|
-
*
|
|
1072
|
+
* Creates request options for updateQuizQuestions without sending the request
|
|
857
1073
|
*/
|
|
858
|
-
|
|
1074
|
+
updateQuizQuestionsRequestOpts(requestParameters) {
|
|
859
1075
|
return __awaiter(this, void 0, void 0, function* () {
|
|
860
1076
|
if (requestParameters['quizId'] == null) {
|
|
861
1077
|
throw new runtime.RequiredError('quizId', 'Required parameter "quizId" was null or undefined when calling updateQuizQuestions().');
|
|
@@ -868,13 +1084,22 @@ class QuizApi extends runtime.BaseAPI {
|
|
|
868
1084
|
headerParameters['Content-Type'] = 'application/json';
|
|
869
1085
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
870
1086
|
urlPath = urlPath.replace(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
|
|
871
|
-
|
|
1087
|
+
return {
|
|
872
1088
|
path: urlPath,
|
|
873
1089
|
method: 'PUT',
|
|
874
1090
|
headers: headerParameters,
|
|
875
1091
|
query: queryParameters,
|
|
876
1092
|
body: (0, index_1.PostQuizQuestionsToJSON)(requestParameters['postQuizQuestions']),
|
|
877
|
-
}
|
|
1093
|
+
};
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
1096
|
+
/**
|
|
1097
|
+
* Update quiz question selection
|
|
1098
|
+
*/
|
|
1099
|
+
updateQuizQuestionsRaw(requestParameters, initOverrides) {
|
|
1100
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1101
|
+
const requestOptions = yield this.updateQuizQuestionsRequestOpts(requestParameters);
|
|
1102
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
878
1103
|
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetQuizQuestionsFromJSON)(jsonValue));
|
|
879
1104
|
});
|
|
880
1105
|
}
|