@easyedu/js-lsm-api 1.57.0 → 1.59.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 +6 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +8 -3
- package/dist/apis/CertificateApi.d.ts +10 -1
- package/dist/apis/CertificateApi.js +34 -25
- package/dist/apis/ChatApi.d.ts +6 -1
- package/dist/apis/ChatApi.js +15 -10
- package/dist/apis/ContentApi.d.ts +22 -1
- package/dist/apis/ContentApi.js +101 -80
- package/dist/apis/CourseApi.d.ts +14 -1
- package/dist/apis/CourseApi.js +50 -37
- package/dist/apis/CourseCatalogApi.d.ts +4 -1
- package/dist/apis/CourseCatalogApi.js +19 -16
- package/dist/apis/CourseShareApi.d.ts +5 -1
- package/dist/apis/CourseShareApi.js +18 -14
- package/dist/apis/ModuleApi.d.ts +6 -1
- package/dist/apis/ModuleApi.js +24 -19
- package/dist/apis/PortalApi.d.ts +11 -3
- package/dist/apis/PortalApi.js +31 -22
- package/dist/apis/PortalSublicenseApi.d.ts +2 -1
- package/dist/apis/PortalSublicenseApi.js +5 -4
- package/dist/apis/QuestionApi.d.ts +4 -1
- package/dist/apis/QuestionApi.js +13 -10
- package/dist/apis/QuizApi.d.ts +22 -1
- package/dist/apis/QuizApi.js +82 -61
- package/dist/apis/ReportingApi.d.ts +9 -1
- package/dist/apis/ReportingApi.js +39 -31
- package/dist/apis/RoleApi.d.ts +6 -1
- package/dist/apis/RoleApi.js +27 -22
- package/dist/apis/SupportTicketApi.d.ts +8 -1
- package/dist/apis/SupportTicketApi.js +26 -19
- package/dist/apis/UserApi.d.ts +38 -1
- package/dist/apis/UserApi.js +115 -10
- package/dist/esm/apis/CertificateApi.d.ts +10 -1
- package/dist/esm/apis/CertificateApi.js +19 -10
- package/dist/esm/apis/ChatApi.d.ts +6 -1
- package/dist/esm/apis/ChatApi.js +9 -4
- package/dist/esm/apis/ContentApi.d.ts +22 -1
- package/dist/esm/apis/ContentApi.js +74 -53
- package/dist/esm/apis/CourseApi.d.ts +14 -1
- package/dist/esm/apis/CourseApi.js +30 -17
- package/dist/esm/apis/CourseCatalogApi.d.ts +4 -1
- package/dist/esm/apis/CourseCatalogApi.js +12 -9
- package/dist/esm/apis/CourseShareApi.d.ts +5 -1
- package/dist/esm/apis/CourseShareApi.js +12 -8
- package/dist/esm/apis/ModuleApi.d.ts +6 -1
- package/dist/esm/apis/ModuleApi.js +15 -10
- package/dist/esm/apis/PortalApi.d.ts +11 -3
- package/dist/esm/apis/PortalApi.js +21 -12
- package/dist/esm/apis/PortalSublicenseApi.d.ts +2 -1
- package/dist/esm/apis/PortalSublicenseApi.js +3 -2
- package/dist/esm/apis/QuestionApi.d.ts +4 -1
- package/dist/esm/apis/QuestionApi.js +7 -4
- package/dist/esm/apis/QuizApi.d.ts +22 -1
- package/dist/esm/apis/QuizApi.js +53 -32
- package/dist/esm/apis/ReportingApi.d.ts +9 -1
- package/dist/esm/apis/ReportingApi.js +30 -22
- package/dist/esm/apis/RoleApi.d.ts +6 -1
- package/dist/esm/apis/RoleApi.js +18 -13
- package/dist/esm/apis/SupportTicketApi.d.ts +8 -1
- package/dist/esm/apis/SupportTicketApi.js +16 -9
- package/dist/esm/apis/UserApi.d.ts +38 -1
- package/dist/esm/apis/UserApi.js +108 -3
- package/dist/esm/models/GetPortal.d.ts +12 -0
- package/dist/esm/models/GetPortal.js +4 -0
- package/dist/esm/models/GetUser.d.ts +6 -0
- package/dist/esm/models/GetUser.js +2 -0
- package/dist/esm/models/GetUserAvatarUpload.d.ts +32 -0
- package/dist/esm/models/GetUserAvatarUpload.js +43 -0
- package/dist/esm/models/PostPortal.d.ts +12 -0
- package/dist/esm/models/PostPortal.js +4 -0
- package/dist/esm/models/PutPortalBranding.d.ts +12 -0
- package/dist/esm/models/PutPortalBranding.js +4 -0
- package/dist/esm/models/UpdateSelectedPortalResponse.d.ts +45 -0
- package/dist/esm/models/UpdateSelectedPortalResponse.js +52 -0
- package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
- package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.js +51 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.js +1 -1
- package/dist/models/GetPortal.d.ts +12 -0
- package/dist/models/GetPortal.js +4 -0
- package/dist/models/GetUser.d.ts +6 -0
- package/dist/models/GetUser.js +2 -0
- package/dist/models/GetUserAvatarUpload.d.ts +32 -0
- package/dist/models/GetUserAvatarUpload.js +50 -0
- package/dist/models/PostPortal.d.ts +12 -0
- package/dist/models/PostPortal.js +4 -0
- package/dist/models/PutPortalBranding.d.ts +12 -0
- package/dist/models/PutPortalBranding.js +4 -0
- package/dist/models/UpdateSelectedPortalResponse.d.ts +45 -0
- package/dist/models/UpdateSelectedPortalResponse.js +59 -0
- package/dist/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
- package/dist/models/UpdateSelectedPortalResponseSelectedPortal.js +58 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.js +1 -1
- package/docs/GetPortal.md +4 -0
- package/docs/GetUser.md +2 -0
- package/docs/GetUserAvatarUpload.md +34 -0
- package/docs/PortalApi.md +3 -3
- package/docs/PostPortal.md +4 -0
- package/docs/PutPortalBranding.md +4 -0
- package/docs/UpdateSelectedPortalResponse.md +38 -0
- package/docs/UpdateSelectedPortalResponseSelectedPortal.md +38 -0
- package/docs/UserApi.md +138 -0
- package/package.json +1 -1
- package/src/apis/CertificateApi.ts +38 -23
- package/src/apis/ChatApi.ts +20 -13
- package/src/apis/ContentApi.ts +117 -78
- package/src/apis/CourseApi.ts +57 -34
- package/src/apis/CourseCatalogApi.ts +19 -16
- package/src/apis/CourseShareApi.ts +21 -16
- package/src/apis/ModuleApi.ts +26 -19
- package/src/apis/OtherApi.ts +0 -1
- package/src/apis/PortalApi.ts +42 -25
- package/src/apis/PortalSublicenseApi.ts +6 -7
- package/src/apis/QuestionApi.ts +14 -11
- package/src/apis/QuizApi.ts +96 -57
- package/src/apis/ReportingApi.ts +47 -34
- package/src/apis/RoleApi.ts +29 -22
- package/src/apis/SupportTicketApi.ts +31 -20
- package/src/apis/UserApi.ts +150 -12
- package/src/models/GetPortal.ts +16 -0
- package/src/models/GetUser.ts +8 -0
- package/src/models/GetUserAvatarUpload.ts +66 -0
- package/src/models/PostPortal.ts +16 -0
- package/src/models/PutPortalBranding.ts +16 -0
- package/src/models/UpdateSelectedPortalResponse.ts +92 -0
- package/src/models/UpdateSelectedPortalResponseSelectedPortal.ts +84 -0
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -2
package/dist/esm/apis/QuizApi.js
CHANGED
|
@@ -21,7 +21,28 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GetManualQuestionSelectionItemFromJSON,
|
|
24
|
+
import { GetManualQuestionSelectionItemFromJSON, } from '../models/GetManualQuestionSelectionItem';
|
|
25
|
+
import { GetManualQuestionSelectionListFromJSON, } from '../models/GetManualQuestionSelectionList';
|
|
26
|
+
import { GetQuizFromJSON, } from '../models/GetQuiz';
|
|
27
|
+
import { GetQuizAttemptFromJSON, } from '../models/GetQuizAttempt';
|
|
28
|
+
import { GetQuizAttemptAnalyticsFromJSON, } from '../models/GetQuizAttemptAnalytics';
|
|
29
|
+
import { GetQuizAttemptListFromJSON, } from '../models/GetQuizAttemptList';
|
|
30
|
+
import { GetQuizCriteriaFromJSON, } from '../models/GetQuizCriteria';
|
|
31
|
+
import { GetQuizCriteriaItemFromJSON, } from '../models/GetQuizCriteriaItem';
|
|
32
|
+
import { GetQuizCriteriaListFromJSON, } from '../models/GetQuizCriteriaList';
|
|
33
|
+
import { GetQuizListFromJSON, } from '../models/GetQuizList';
|
|
34
|
+
import { GetQuizQuestionsFromJSON, } from '../models/GetQuizQuestions';
|
|
35
|
+
import { GetQuizResultsFromJSON, } from '../models/GetQuizResults';
|
|
36
|
+
import { GetUserQuizAttemptsFromJSON, } from '../models/GetUserQuizAttempts';
|
|
37
|
+
import { PostManualQuestionSelectionToJSON, } from '../models/PostManualQuestionSelection';
|
|
38
|
+
import { PostQuizToJSON, } from '../models/PostQuiz';
|
|
39
|
+
import { PostQuizAttemptFromJSON, } from '../models/PostQuizAttempt';
|
|
40
|
+
import { PostQuizAttemptSubmitToJSON, } from '../models/PostQuizAttemptSubmit';
|
|
41
|
+
import { PostQuizCriteriaToJSON, } from '../models/PostQuizCriteria';
|
|
42
|
+
import { PostQuizQuestionsToJSON, } from '../models/PostQuizQuestions';
|
|
43
|
+
import { PutQuizToJSON, } from '../models/PutQuiz';
|
|
44
|
+
import { PutQuizAnswerToJSON, } from '../models/PutQuizAnswer';
|
|
45
|
+
import { PutQuizAnswerGradeToJSON, } from '../models/PutQuizAnswerGrade';
|
|
25
46
|
/**
|
|
26
47
|
*
|
|
27
48
|
*/
|
|
@@ -41,7 +62,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
41
62
|
const headerParameters = {};
|
|
42
63
|
headerParameters['Content-Type'] = 'application/json';
|
|
43
64
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
44
|
-
urlPath = urlPath.replace(
|
|
65
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
45
66
|
return {
|
|
46
67
|
path: urlPath,
|
|
47
68
|
method: 'POST',
|
|
@@ -85,7 +106,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
85
106
|
const headerParameters = {};
|
|
86
107
|
headerParameters['Content-Type'] = 'application/json';
|
|
87
108
|
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
88
|
-
urlPath = urlPath.replace(
|
|
109
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
89
110
|
return {
|
|
90
111
|
path: urlPath,
|
|
91
112
|
method: 'POST',
|
|
@@ -129,7 +150,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
129
150
|
const headerParameters = {};
|
|
130
151
|
headerParameters['Content-Type'] = 'application/json';
|
|
131
152
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
132
|
-
urlPath = urlPath.replace(
|
|
153
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
133
154
|
return {
|
|
134
155
|
path: urlPath,
|
|
135
156
|
method: 'POST',
|
|
@@ -209,7 +230,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
209
230
|
const queryParameters = {};
|
|
210
231
|
const headerParameters = {};
|
|
211
232
|
let urlPath = `/quizzes/{quizId}`;
|
|
212
|
-
urlPath = urlPath.replace(
|
|
233
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
213
234
|
return {
|
|
214
235
|
path: urlPath,
|
|
215
236
|
method: 'DELETE',
|
|
@@ -250,8 +271,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
250
271
|
const queryParameters = {};
|
|
251
272
|
const headerParameters = {};
|
|
252
273
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
253
|
-
urlPath = urlPath.replace(
|
|
254
|
-
urlPath = urlPath.replace(
|
|
274
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
275
|
+
urlPath = urlPath.replace('{criteriaId}', encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
255
276
|
return {
|
|
256
277
|
path: urlPath,
|
|
257
278
|
method: 'DELETE',
|
|
@@ -292,8 +313,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
292
313
|
const queryParameters = {};
|
|
293
314
|
const headerParameters = {};
|
|
294
315
|
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
295
|
-
urlPath = urlPath.replace(
|
|
296
|
-
urlPath = urlPath.replace(
|
|
316
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
317
|
+
urlPath = urlPath.replace('{questionId}', encodeURIComponent(String(requestParameters['questionId'])));
|
|
297
318
|
return {
|
|
298
319
|
path: urlPath,
|
|
299
320
|
method: 'DELETE',
|
|
@@ -331,7 +352,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
331
352
|
const queryParameters = {};
|
|
332
353
|
const headerParameters = {};
|
|
333
354
|
let urlPath = `/quizzes/{quizId}`;
|
|
334
|
-
urlPath = urlPath.replace(
|
|
355
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
335
356
|
return {
|
|
336
357
|
path: urlPath,
|
|
337
358
|
method: 'GET',
|
|
@@ -370,7 +391,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
370
391
|
const queryParameters = {};
|
|
371
392
|
const headerParameters = {};
|
|
372
393
|
let urlPath = `/quiz-attempts/{attemptId}`;
|
|
373
|
-
urlPath = urlPath.replace(
|
|
394
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
374
395
|
return {
|
|
375
396
|
path: urlPath,
|
|
376
397
|
method: 'GET',
|
|
@@ -409,7 +430,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
409
430
|
const queryParameters = {};
|
|
410
431
|
const headerParameters = {};
|
|
411
432
|
let urlPath = `/quiz-attempts/{attemptId}/analytics`;
|
|
412
|
-
urlPath = urlPath.replace(
|
|
433
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
413
434
|
return {
|
|
414
435
|
path: urlPath,
|
|
415
436
|
method: 'GET',
|
|
@@ -448,7 +469,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
448
469
|
const queryParameters = {};
|
|
449
470
|
const headerParameters = {};
|
|
450
471
|
let urlPath = `/quiz-attempts/{attemptId}/results`;
|
|
451
|
-
urlPath = urlPath.replace(
|
|
472
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
452
473
|
return {
|
|
453
474
|
path: urlPath,
|
|
454
475
|
method: 'GET',
|
|
@@ -499,7 +520,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
499
520
|
}
|
|
500
521
|
const headerParameters = {};
|
|
501
522
|
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
502
|
-
urlPath = urlPath.replace(
|
|
523
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
503
524
|
return {
|
|
504
525
|
path: urlPath,
|
|
505
526
|
method: 'GET',
|
|
@@ -541,8 +562,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
541
562
|
const queryParameters = {};
|
|
542
563
|
const headerParameters = {};
|
|
543
564
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection/{criteriaId}`;
|
|
544
|
-
urlPath = urlPath.replace(
|
|
545
|
-
urlPath = urlPath.replace(
|
|
565
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
566
|
+
urlPath = urlPath.replace('{criteriaId}', encodeURIComponent(String(requestParameters['criteriaId'])));
|
|
546
567
|
return {
|
|
547
568
|
path: urlPath,
|
|
548
569
|
method: 'GET',
|
|
@@ -587,7 +608,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
587
608
|
}
|
|
588
609
|
const headerParameters = {};
|
|
589
610
|
let urlPath = `/quizzes/{quizId}/criteria-question-selection`;
|
|
590
|
-
urlPath = urlPath.replace(
|
|
611
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
591
612
|
return {
|
|
592
613
|
path: urlPath,
|
|
593
614
|
method: 'GET',
|
|
@@ -679,8 +700,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
679
700
|
const queryParameters = {};
|
|
680
701
|
const headerParameters = {};
|
|
681
702
|
let urlPath = `/quizzes/{quizId}/manual-question-selection/{questionId}`;
|
|
682
|
-
urlPath = urlPath.replace(
|
|
683
|
-
urlPath = urlPath.replace(
|
|
703
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
704
|
+
urlPath = urlPath.replace('{questionId}', encodeURIComponent(String(requestParameters['questionId'])));
|
|
684
705
|
return {
|
|
685
706
|
path: urlPath,
|
|
686
707
|
method: 'GET',
|
|
@@ -725,7 +746,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
725
746
|
}
|
|
726
747
|
const headerParameters = {};
|
|
727
748
|
let urlPath = `/quizzes/{quizId}/manual-question-selection`;
|
|
728
|
-
urlPath = urlPath.replace(
|
|
749
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
729
750
|
return {
|
|
730
751
|
path: urlPath,
|
|
731
752
|
method: 'GET',
|
|
@@ -770,7 +791,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
770
791
|
}
|
|
771
792
|
const headerParameters = {};
|
|
772
793
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
773
|
-
urlPath = urlPath.replace(
|
|
794
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
774
795
|
return {
|
|
775
796
|
path: urlPath,
|
|
776
797
|
method: 'GET',
|
|
@@ -821,7 +842,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
821
842
|
}
|
|
822
843
|
const headerParameters = {};
|
|
823
844
|
let urlPath = `/users/{userId}/quiz-attempts`;
|
|
824
|
-
urlPath = urlPath.replace(
|
|
845
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
825
846
|
return {
|
|
826
847
|
path: urlPath,
|
|
827
848
|
method: 'GET',
|
|
@@ -867,8 +888,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
867
888
|
const headerParameters = {};
|
|
868
889
|
headerParameters['Content-Type'] = 'application/json';
|
|
869
890
|
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}/grade`;
|
|
870
|
-
urlPath = urlPath.replace(
|
|
871
|
-
urlPath = urlPath.replace(
|
|
891
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
892
|
+
urlPath = urlPath.replace('{questionId}', encodeURIComponent(String(requestParameters['questionId'])));
|
|
872
893
|
return {
|
|
873
894
|
path: urlPath,
|
|
874
895
|
method: 'PUT',
|
|
@@ -912,8 +933,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
912
933
|
const queryParameters = {};
|
|
913
934
|
const headerParameters = {};
|
|
914
935
|
let urlPath = `/quizzes/{quizId}/questions/{questionId}`;
|
|
915
|
-
urlPath = urlPath.replace(
|
|
916
|
-
urlPath = urlPath.replace(
|
|
936
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
937
|
+
urlPath = urlPath.replace('{questionId}', encodeURIComponent(String(requestParameters['questionId'])));
|
|
917
938
|
return {
|
|
918
939
|
path: urlPath,
|
|
919
940
|
method: 'DELETE',
|
|
@@ -958,8 +979,8 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
958
979
|
const headerParameters = {};
|
|
959
980
|
headerParameters['Content-Type'] = 'application/json';
|
|
960
981
|
let urlPath = `/quiz-attempts/{attemptId}/answers/{questionId}`;
|
|
961
|
-
urlPath = urlPath.replace(
|
|
962
|
-
urlPath = urlPath.replace(
|
|
982
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
983
|
+
urlPath = urlPath.replace('{questionId}', encodeURIComponent(String(requestParameters['questionId'])));
|
|
963
984
|
return {
|
|
964
985
|
path: urlPath,
|
|
965
986
|
method: 'PUT',
|
|
@@ -998,7 +1019,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
998
1019
|
const queryParameters = {};
|
|
999
1020
|
const headerParameters = {};
|
|
1000
1021
|
let urlPath = `/quizzes/{quizId}/attempts`;
|
|
1001
|
-
urlPath = urlPath.replace(
|
|
1022
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
1002
1023
|
return {
|
|
1003
1024
|
path: urlPath,
|
|
1004
1025
|
method: 'POST',
|
|
@@ -1041,7 +1062,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1041
1062
|
const headerParameters = {};
|
|
1042
1063
|
headerParameters['Content-Type'] = 'application/json';
|
|
1043
1064
|
let urlPath = `/quiz-attempts/{attemptId}/submit`;
|
|
1044
|
-
urlPath = urlPath.replace(
|
|
1065
|
+
urlPath = urlPath.replace('{attemptId}', encodeURIComponent(String(requestParameters['attemptId'])));
|
|
1045
1066
|
return {
|
|
1046
1067
|
path: urlPath,
|
|
1047
1068
|
method: 'POST',
|
|
@@ -1085,7 +1106,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1085
1106
|
const headerParameters = {};
|
|
1086
1107
|
headerParameters['Content-Type'] = 'application/json';
|
|
1087
1108
|
let urlPath = `/quizzes/{quizId}`;
|
|
1088
|
-
urlPath = urlPath.replace(
|
|
1109
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
1089
1110
|
return {
|
|
1090
1111
|
path: urlPath,
|
|
1091
1112
|
method: 'PUT',
|
|
@@ -1129,7 +1150,7 @@ export class QuizApi extends runtime.BaseAPI {
|
|
|
1129
1150
|
const headerParameters = {};
|
|
1130
1151
|
headerParameters['Content-Type'] = 'application/json';
|
|
1131
1152
|
let urlPath = `/quizzes/{quizId}/questions`;
|
|
1132
|
-
urlPath = urlPath.replace(
|
|
1153
|
+
urlPath = urlPath.replace('{quizId}', encodeURIComponent(String(requestParameters['quizId'])));
|
|
1133
1154
|
return {
|
|
1134
1155
|
path: urlPath,
|
|
1135
1156
|
method: 'PUT',
|
|
@@ -10,7 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type GetContentGradeDetail } from '../models/GetContentGradeDetail';
|
|
14
|
+
import { type GetContentGrades } from '../models/GetContentGrades';
|
|
15
|
+
import { type GetContentInstructorBasicReporting } from '../models/GetContentInstructorBasicReporting';
|
|
16
|
+
import { type GetCourseReportingBasic } from '../models/GetCourseReportingBasic';
|
|
17
|
+
import { type GetCourseStudentReporting } from '../models/GetCourseStudentReporting';
|
|
18
|
+
import { type GetModuleInstructorBasicReporting } from '../models/GetModuleInstructorBasicReporting';
|
|
19
|
+
import { type GetModuleStudentReporting } from '../models/GetModuleStudentReporting';
|
|
20
|
+
import { type GetPortalBasicReporting } from '../models/GetPortalBasicReporting';
|
|
21
|
+
import { type GetPortalStudentReporting } from '../models/GetPortalStudentReporting';
|
|
14
22
|
export interface GetContentGradeDetailRequest {
|
|
15
23
|
courseId: string;
|
|
16
24
|
moduleId: string;
|
|
@@ -21,7 +21,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GetContentGradeDetailFromJSON,
|
|
24
|
+
import { GetContentGradeDetailFromJSON, } from '../models/GetContentGradeDetail';
|
|
25
|
+
import { GetContentGradesFromJSON, } from '../models/GetContentGrades';
|
|
26
|
+
import { GetContentInstructorBasicReportingFromJSON, } from '../models/GetContentInstructorBasicReporting';
|
|
27
|
+
import { GetCourseReportingBasicFromJSON, } from '../models/GetCourseReportingBasic';
|
|
28
|
+
import { GetCourseStudentReportingFromJSON, } from '../models/GetCourseStudentReporting';
|
|
29
|
+
import { GetModuleInstructorBasicReportingFromJSON, } from '../models/GetModuleInstructorBasicReporting';
|
|
30
|
+
import { GetModuleStudentReportingFromJSON, } from '../models/GetModuleStudentReporting';
|
|
31
|
+
import { GetPortalBasicReportingFromJSON, } from '../models/GetPortalBasicReporting';
|
|
32
|
+
import { GetPortalStudentReportingFromJSON, } from '../models/GetPortalStudentReporting';
|
|
25
33
|
/**
|
|
26
34
|
*
|
|
27
35
|
*/
|
|
@@ -46,10 +54,10 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
46
54
|
const queryParameters = {};
|
|
47
55
|
const headerParameters = {};
|
|
48
56
|
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades/{studentId}`;
|
|
49
|
-
urlPath = urlPath.replace(
|
|
50
|
-
urlPath = urlPath.replace(
|
|
51
|
-
urlPath = urlPath.replace(
|
|
52
|
-
urlPath = urlPath.replace(
|
|
57
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
58
|
+
urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
|
|
59
|
+
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
60
|
+
urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
|
|
53
61
|
return {
|
|
54
62
|
path: urlPath,
|
|
55
63
|
method: 'GET',
|
|
@@ -103,9 +111,9 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
103
111
|
}
|
|
104
112
|
const headerParameters = {};
|
|
105
113
|
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades`;
|
|
106
|
-
urlPath = urlPath.replace(
|
|
107
|
-
urlPath = urlPath.replace(
|
|
108
|
-
urlPath = urlPath.replace(
|
|
114
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
115
|
+
urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
|
|
116
|
+
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
109
117
|
return {
|
|
110
118
|
path: urlPath,
|
|
111
119
|
method: 'GET',
|
|
@@ -150,9 +158,9 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
150
158
|
const queryParameters = {};
|
|
151
159
|
const headerParameters = {};
|
|
152
160
|
let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic`;
|
|
153
|
-
urlPath = urlPath.replace(
|
|
154
|
-
urlPath = urlPath.replace(
|
|
155
|
-
urlPath = urlPath.replace(
|
|
161
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
162
|
+
urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
|
|
163
|
+
urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
|
|
156
164
|
return {
|
|
157
165
|
path: urlPath,
|
|
158
166
|
method: 'GET',
|
|
@@ -191,7 +199,7 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
191
199
|
const queryParameters = {};
|
|
192
200
|
const headerParameters = {};
|
|
193
201
|
let urlPath = `/courses/{courseId}/reporting/instructor/basic`;
|
|
194
|
-
urlPath = urlPath.replace(
|
|
202
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
195
203
|
return {
|
|
196
204
|
path: urlPath,
|
|
197
205
|
method: 'GET',
|
|
@@ -233,8 +241,8 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
233
241
|
const queryParameters = {};
|
|
234
242
|
const headerParameters = {};
|
|
235
243
|
let urlPath = `/courses/{courseId}/reporting/students/{studentId}`;
|
|
236
|
-
urlPath = urlPath.replace(
|
|
237
|
-
urlPath = urlPath.replace(
|
|
244
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
245
|
+
urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
|
|
238
246
|
return {
|
|
239
247
|
path: urlPath,
|
|
240
248
|
method: 'GET',
|
|
@@ -276,8 +284,8 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
276
284
|
const queryParameters = {};
|
|
277
285
|
const headerParameters = {};
|
|
278
286
|
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/instructor/basic`;
|
|
279
|
-
urlPath = urlPath.replace(
|
|
280
|
-
urlPath = urlPath.replace(
|
|
287
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
288
|
+
urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
|
|
281
289
|
return {
|
|
282
290
|
path: urlPath,
|
|
283
291
|
method: 'GET',
|
|
@@ -322,9 +330,9 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
322
330
|
const queryParameters = {};
|
|
323
331
|
const headerParameters = {};
|
|
324
332
|
let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/students/{studentId}`;
|
|
325
|
-
urlPath = urlPath.replace(
|
|
326
|
-
urlPath = urlPath.replace(
|
|
327
|
-
urlPath = urlPath.replace(
|
|
333
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
334
|
+
urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
|
|
335
|
+
urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
|
|
328
336
|
return {
|
|
329
337
|
path: urlPath,
|
|
330
338
|
method: 'GET',
|
|
@@ -363,7 +371,7 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
363
371
|
const queryParameters = {};
|
|
364
372
|
const headerParameters = {};
|
|
365
373
|
let urlPath = `/portals/{portalId}/reporting/basic`;
|
|
366
|
-
urlPath = urlPath.replace(
|
|
374
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
367
375
|
return {
|
|
368
376
|
path: urlPath,
|
|
369
377
|
method: 'GET',
|
|
@@ -405,8 +413,8 @@ export class ReportingApi extends runtime.BaseAPI {
|
|
|
405
413
|
const queryParameters = {};
|
|
406
414
|
const headerParameters = {};
|
|
407
415
|
let urlPath = `/portals/{portalId}/reporting/students/{studentId}`;
|
|
408
|
-
urlPath = urlPath.replace(
|
|
409
|
-
urlPath = urlPath.replace(
|
|
416
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
417
|
+
urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
|
|
410
418
|
return {
|
|
411
419
|
path: urlPath,
|
|
412
420
|
method: 'GET',
|
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type GetPermission } from '../models/GetPermission';
|
|
14
|
+
import { type GetRole } from '../models/GetRole';
|
|
15
|
+
import { type GetUserRole } from '../models/GetUserRole';
|
|
16
|
+
import { type PostRole } from '../models/PostRole';
|
|
17
|
+
import { type PutRole } from '../models/PutRole';
|
|
18
|
+
import { type PutRolePermissions } from '../models/PutRolePermissions';
|
|
14
19
|
export interface AssignUserRoleRequest {
|
|
15
20
|
userId: string;
|
|
16
21
|
portalId: string;
|
package/dist/esm/apis/RoleApi.js
CHANGED
|
@@ -21,7 +21,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { GetPermissionFromJSON,
|
|
24
|
+
import { GetPermissionFromJSON, } from '../models/GetPermission';
|
|
25
|
+
import { GetRoleFromJSON, } from '../models/GetRole';
|
|
26
|
+
import { GetUserRoleFromJSON, } from '../models/GetUserRole';
|
|
27
|
+
import { PostRoleToJSON, } from '../models/PostRole';
|
|
28
|
+
import { PutRoleToJSON, } from '../models/PutRole';
|
|
29
|
+
import { PutRolePermissionsToJSON, } from '../models/PutRolePermissions';
|
|
25
30
|
/**
|
|
26
31
|
*
|
|
27
32
|
*/
|
|
@@ -43,9 +48,9 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
43
48
|
const queryParameters = {};
|
|
44
49
|
const headerParameters = {};
|
|
45
50
|
let urlPath = `/roles/users/{userId}/portals/{portalId}/roles/{roleId}`;
|
|
46
|
-
urlPath = urlPath.replace(
|
|
47
|
-
urlPath = urlPath.replace(
|
|
48
|
-
urlPath = urlPath.replace(
|
|
51
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
52
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
53
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
49
54
|
return {
|
|
50
55
|
path: urlPath,
|
|
51
56
|
method: 'POST',
|
|
@@ -123,7 +128,7 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
123
128
|
const queryParameters = {};
|
|
124
129
|
const headerParameters = {};
|
|
125
130
|
let urlPath = `/roles/{roleId}`;
|
|
126
|
-
urlPath = urlPath.replace(
|
|
131
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
127
132
|
return {
|
|
128
133
|
path: urlPath,
|
|
129
134
|
method: 'DELETE',
|
|
@@ -196,7 +201,7 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
196
201
|
const queryParameters = {};
|
|
197
202
|
const headerParameters = {};
|
|
198
203
|
let urlPath = `/roles/{roleId}`;
|
|
199
|
-
urlPath = urlPath.replace(
|
|
204
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
200
205
|
return {
|
|
201
206
|
path: urlPath,
|
|
202
207
|
method: 'GET',
|
|
@@ -273,8 +278,8 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
273
278
|
const queryParameters = {};
|
|
274
279
|
const headerParameters = {};
|
|
275
280
|
let urlPath = `/roles/users/{userId}/portals/{portalId}`;
|
|
276
|
-
urlPath = urlPath.replace(
|
|
277
|
-
urlPath = urlPath.replace(
|
|
281
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
282
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
278
283
|
return {
|
|
279
284
|
path: urlPath,
|
|
280
285
|
method: 'GET',
|
|
@@ -319,9 +324,9 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
319
324
|
const queryParameters = {};
|
|
320
325
|
const headerParameters = {};
|
|
321
326
|
let urlPath = `/roles/users/{userId}/portals/{portalId}/roles/{roleId}`;
|
|
322
|
-
urlPath = urlPath.replace(
|
|
323
|
-
urlPath = urlPath.replace(
|
|
324
|
-
urlPath = urlPath.replace(
|
|
327
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
328
|
+
urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
|
|
329
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
325
330
|
return {
|
|
326
331
|
path: urlPath,
|
|
327
332
|
method: 'DELETE',
|
|
@@ -363,7 +368,7 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
363
368
|
const headerParameters = {};
|
|
364
369
|
headerParameters['Content-Type'] = 'application/json';
|
|
365
370
|
let urlPath = `/roles/{roleId}`;
|
|
366
|
-
urlPath = urlPath.replace(
|
|
371
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
367
372
|
return {
|
|
368
373
|
path: urlPath,
|
|
369
374
|
method: 'PUT',
|
|
@@ -407,7 +412,7 @@ export class RoleApi extends runtime.BaseAPI {
|
|
|
407
412
|
const headerParameters = {};
|
|
408
413
|
headerParameters['Content-Type'] = 'application/json';
|
|
409
414
|
let urlPath = `/roles/{roleId}/permissions`;
|
|
410
|
-
urlPath = urlPath.replace(
|
|
415
|
+
urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
|
|
411
416
|
return {
|
|
412
417
|
path: urlPath,
|
|
413
418
|
method: 'PUT',
|
|
@@ -10,7 +10,14 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type
|
|
13
|
+
import { type DownloadSupportTicketAttachment200Response } from '../models/DownloadSupportTicketAttachment200Response';
|
|
14
|
+
import { type GetSupportTicket } from '../models/GetSupportTicket';
|
|
15
|
+
import { type GetSupportTicketAttachment } from '../models/GetSupportTicketAttachment';
|
|
16
|
+
import { type GetSupportTicketComment } from '../models/GetSupportTicketComment';
|
|
17
|
+
import { type GetSupportTicketList } from '../models/GetSupportTicketList';
|
|
18
|
+
import { type PostSupportTicket } from '../models/PostSupportTicket';
|
|
19
|
+
import { type PostSupportTicketComment } from '../models/PostSupportTicketComment';
|
|
20
|
+
import { type PutSupportTicket } from '../models/PutSupportTicket';
|
|
14
21
|
export interface CloseSupportTicketRequest {
|
|
15
22
|
ticketId: string;
|
|
16
23
|
}
|
|
@@ -21,7 +21,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { DownloadSupportTicketAttachment200ResponseFromJSON,
|
|
24
|
+
import { DownloadSupportTicketAttachment200ResponseFromJSON, } from '../models/DownloadSupportTicketAttachment200Response';
|
|
25
|
+
import { GetSupportTicketFromJSON, } from '../models/GetSupportTicket';
|
|
26
|
+
import { GetSupportTicketAttachmentFromJSON, } from '../models/GetSupportTicketAttachment';
|
|
27
|
+
import { GetSupportTicketCommentFromJSON, } from '../models/GetSupportTicketComment';
|
|
28
|
+
import { GetSupportTicketListFromJSON, } from '../models/GetSupportTicketList';
|
|
29
|
+
import { PostSupportTicketToJSON, } from '../models/PostSupportTicket';
|
|
30
|
+
import { PostSupportTicketCommentToJSON, } from '../models/PostSupportTicketComment';
|
|
31
|
+
import { PutSupportTicketToJSON, } from '../models/PutSupportTicket';
|
|
25
32
|
/**
|
|
26
33
|
*
|
|
27
34
|
*/
|
|
@@ -37,7 +44,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
37
44
|
const queryParameters = {};
|
|
38
45
|
const headerParameters = {};
|
|
39
46
|
let urlPath = `/support/tickets/{ticketId}/close`;
|
|
40
|
-
urlPath = urlPath.replace(
|
|
47
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
41
48
|
return {
|
|
42
49
|
path: urlPath,
|
|
43
50
|
method: 'POST',
|
|
@@ -78,8 +85,8 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
78
85
|
const queryParameters = {};
|
|
79
86
|
const headerParameters = {};
|
|
80
87
|
let urlPath = `/support/tickets/{ticketId}/attachments/{attachmentId}/download`;
|
|
81
|
-
urlPath = urlPath.replace(
|
|
82
|
-
urlPath = urlPath.replace(
|
|
88
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
89
|
+
urlPath = urlPath.replace('{attachmentId}', encodeURIComponent(String(requestParameters['attachmentId'])));
|
|
83
90
|
return {
|
|
84
91
|
path: urlPath,
|
|
85
92
|
method: 'GET',
|
|
@@ -118,7 +125,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
118
125
|
const queryParameters = {};
|
|
119
126
|
const headerParameters = {};
|
|
120
127
|
let urlPath = `/support/tickets/{ticketId}`;
|
|
121
|
-
urlPath = urlPath.replace(
|
|
128
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
122
129
|
return {
|
|
123
130
|
path: urlPath,
|
|
124
131
|
method: 'GET',
|
|
@@ -157,7 +164,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
157
164
|
const queryParameters = {};
|
|
158
165
|
const headerParameters = {};
|
|
159
166
|
let urlPath = `/support/tickets/{ticketId}/comments`;
|
|
160
|
-
urlPath = urlPath.replace(
|
|
167
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
161
168
|
return {
|
|
162
169
|
path: urlPath,
|
|
163
170
|
method: 'GET',
|
|
@@ -307,7 +314,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
307
314
|
formParams.append('file', requestParameters['file']);
|
|
308
315
|
}
|
|
309
316
|
let urlPath = `/support/tickets/{ticketId}/attachments`;
|
|
310
|
-
urlPath = urlPath.replace(
|
|
317
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
311
318
|
return {
|
|
312
319
|
path: urlPath,
|
|
313
320
|
method: 'POST',
|
|
@@ -351,7 +358,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
351
358
|
const headerParameters = {};
|
|
352
359
|
headerParameters['Content-Type'] = 'application/json';
|
|
353
360
|
let urlPath = `/support/tickets/{ticketId}/comments`;
|
|
354
|
-
urlPath = urlPath.replace(
|
|
361
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
355
362
|
return {
|
|
356
363
|
path: urlPath,
|
|
357
364
|
method: 'POST',
|
|
@@ -395,7 +402,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
|
|
|
395
402
|
const headerParameters = {};
|
|
396
403
|
headerParameters['Content-Type'] = 'application/json';
|
|
397
404
|
let urlPath = `/support/tickets/{ticketId}`;
|
|
398
|
-
urlPath = urlPath.replace(
|
|
405
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
399
406
|
return {
|
|
400
407
|
path: urlPath,
|
|
401
408
|
method: 'PUT',
|