@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.
Files changed (132) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +8 -3
  4. package/dist/apis/CertificateApi.d.ts +10 -1
  5. package/dist/apis/CertificateApi.js +34 -25
  6. package/dist/apis/ChatApi.d.ts +6 -1
  7. package/dist/apis/ChatApi.js +15 -10
  8. package/dist/apis/ContentApi.d.ts +22 -1
  9. package/dist/apis/ContentApi.js +101 -80
  10. package/dist/apis/CourseApi.d.ts +14 -1
  11. package/dist/apis/CourseApi.js +50 -37
  12. package/dist/apis/CourseCatalogApi.d.ts +4 -1
  13. package/dist/apis/CourseCatalogApi.js +19 -16
  14. package/dist/apis/CourseShareApi.d.ts +5 -1
  15. package/dist/apis/CourseShareApi.js +18 -14
  16. package/dist/apis/ModuleApi.d.ts +6 -1
  17. package/dist/apis/ModuleApi.js +24 -19
  18. package/dist/apis/PortalApi.d.ts +11 -3
  19. package/dist/apis/PortalApi.js +31 -22
  20. package/dist/apis/PortalSublicenseApi.d.ts +2 -1
  21. package/dist/apis/PortalSublicenseApi.js +5 -4
  22. package/dist/apis/QuestionApi.d.ts +4 -1
  23. package/dist/apis/QuestionApi.js +13 -10
  24. package/dist/apis/QuizApi.d.ts +22 -1
  25. package/dist/apis/QuizApi.js +82 -61
  26. package/dist/apis/ReportingApi.d.ts +9 -1
  27. package/dist/apis/ReportingApi.js +39 -31
  28. package/dist/apis/RoleApi.d.ts +6 -1
  29. package/dist/apis/RoleApi.js +27 -22
  30. package/dist/apis/SupportTicketApi.d.ts +8 -1
  31. package/dist/apis/SupportTicketApi.js +26 -19
  32. package/dist/apis/UserApi.d.ts +38 -1
  33. package/dist/apis/UserApi.js +115 -10
  34. package/dist/esm/apis/CertificateApi.d.ts +10 -1
  35. package/dist/esm/apis/CertificateApi.js +19 -10
  36. package/dist/esm/apis/ChatApi.d.ts +6 -1
  37. package/dist/esm/apis/ChatApi.js +9 -4
  38. package/dist/esm/apis/ContentApi.d.ts +22 -1
  39. package/dist/esm/apis/ContentApi.js +74 -53
  40. package/dist/esm/apis/CourseApi.d.ts +14 -1
  41. package/dist/esm/apis/CourseApi.js +30 -17
  42. package/dist/esm/apis/CourseCatalogApi.d.ts +4 -1
  43. package/dist/esm/apis/CourseCatalogApi.js +12 -9
  44. package/dist/esm/apis/CourseShareApi.d.ts +5 -1
  45. package/dist/esm/apis/CourseShareApi.js +12 -8
  46. package/dist/esm/apis/ModuleApi.d.ts +6 -1
  47. package/dist/esm/apis/ModuleApi.js +15 -10
  48. package/dist/esm/apis/PortalApi.d.ts +11 -3
  49. package/dist/esm/apis/PortalApi.js +21 -12
  50. package/dist/esm/apis/PortalSublicenseApi.d.ts +2 -1
  51. package/dist/esm/apis/PortalSublicenseApi.js +3 -2
  52. package/dist/esm/apis/QuestionApi.d.ts +4 -1
  53. package/dist/esm/apis/QuestionApi.js +7 -4
  54. package/dist/esm/apis/QuizApi.d.ts +22 -1
  55. package/dist/esm/apis/QuizApi.js +53 -32
  56. package/dist/esm/apis/ReportingApi.d.ts +9 -1
  57. package/dist/esm/apis/ReportingApi.js +30 -22
  58. package/dist/esm/apis/RoleApi.d.ts +6 -1
  59. package/dist/esm/apis/RoleApi.js +18 -13
  60. package/dist/esm/apis/SupportTicketApi.d.ts +8 -1
  61. package/dist/esm/apis/SupportTicketApi.js +16 -9
  62. package/dist/esm/apis/UserApi.d.ts +38 -1
  63. package/dist/esm/apis/UserApi.js +108 -3
  64. package/dist/esm/models/GetPortal.d.ts +12 -0
  65. package/dist/esm/models/GetPortal.js +4 -0
  66. package/dist/esm/models/GetUser.d.ts +6 -0
  67. package/dist/esm/models/GetUser.js +2 -0
  68. package/dist/esm/models/GetUserAvatarUpload.d.ts +32 -0
  69. package/dist/esm/models/GetUserAvatarUpload.js +43 -0
  70. package/dist/esm/models/PostPortal.d.ts +12 -0
  71. package/dist/esm/models/PostPortal.js +4 -0
  72. package/dist/esm/models/PutPortalBranding.d.ts +12 -0
  73. package/dist/esm/models/PutPortalBranding.js +4 -0
  74. package/dist/esm/models/UpdateSelectedPortalResponse.d.ts +45 -0
  75. package/dist/esm/models/UpdateSelectedPortalResponse.js +52 -0
  76. package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
  77. package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.js +51 -0
  78. package/dist/esm/models/index.d.ts +3 -0
  79. package/dist/esm/models/index.js +3 -0
  80. package/dist/esm/runtime.js +1 -1
  81. package/dist/models/GetPortal.d.ts +12 -0
  82. package/dist/models/GetPortal.js +4 -0
  83. package/dist/models/GetUser.d.ts +6 -0
  84. package/dist/models/GetUser.js +2 -0
  85. package/dist/models/GetUserAvatarUpload.d.ts +32 -0
  86. package/dist/models/GetUserAvatarUpload.js +50 -0
  87. package/dist/models/PostPortal.d.ts +12 -0
  88. package/dist/models/PostPortal.js +4 -0
  89. package/dist/models/PutPortalBranding.d.ts +12 -0
  90. package/dist/models/PutPortalBranding.js +4 -0
  91. package/dist/models/UpdateSelectedPortalResponse.d.ts +45 -0
  92. package/dist/models/UpdateSelectedPortalResponse.js +59 -0
  93. package/dist/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
  94. package/dist/models/UpdateSelectedPortalResponseSelectedPortal.js +58 -0
  95. package/dist/models/index.d.ts +3 -0
  96. package/dist/models/index.js +3 -0
  97. package/dist/runtime.js +1 -1
  98. package/docs/GetPortal.md +4 -0
  99. package/docs/GetUser.md +2 -0
  100. package/docs/GetUserAvatarUpload.md +34 -0
  101. package/docs/PortalApi.md +3 -3
  102. package/docs/PostPortal.md +4 -0
  103. package/docs/PutPortalBranding.md +4 -0
  104. package/docs/UpdateSelectedPortalResponse.md +38 -0
  105. package/docs/UpdateSelectedPortalResponseSelectedPortal.md +38 -0
  106. package/docs/UserApi.md +138 -0
  107. package/package.json +1 -1
  108. package/src/apis/CertificateApi.ts +38 -23
  109. package/src/apis/ChatApi.ts +20 -13
  110. package/src/apis/ContentApi.ts +117 -78
  111. package/src/apis/CourseApi.ts +57 -34
  112. package/src/apis/CourseCatalogApi.ts +19 -16
  113. package/src/apis/CourseShareApi.ts +21 -16
  114. package/src/apis/ModuleApi.ts +26 -19
  115. package/src/apis/OtherApi.ts +0 -1
  116. package/src/apis/PortalApi.ts +42 -25
  117. package/src/apis/PortalSublicenseApi.ts +6 -7
  118. package/src/apis/QuestionApi.ts +14 -11
  119. package/src/apis/QuizApi.ts +96 -57
  120. package/src/apis/ReportingApi.ts +47 -34
  121. package/src/apis/RoleApi.ts +29 -22
  122. package/src/apis/SupportTicketApi.ts +31 -20
  123. package/src/apis/UserApi.ts +150 -12
  124. package/src/models/GetPortal.ts +16 -0
  125. package/src/models/GetUser.ts +8 -0
  126. package/src/models/GetUserAvatarUpload.ts +66 -0
  127. package/src/models/PostPortal.ts +16 -0
  128. package/src/models/PutPortalBranding.ts +16 -0
  129. package/src/models/UpdateSelectedPortalResponse.ts +92 -0
  130. package/src/models/UpdateSelectedPortalResponseSelectedPortal.ts +84 -0
  131. package/src/models/index.ts +3 -0
  132. package/src/runtime.ts +1 -2
@@ -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, GetManualQuestionSelectionListFromJSON, GetQuizFromJSON, GetQuizAttemptFromJSON, GetQuizAttemptAnalyticsFromJSON, GetQuizAttemptListFromJSON, GetQuizCriteriaFromJSON, GetQuizCriteriaItemFromJSON, GetQuizCriteriaListFromJSON, GetQuizListFromJSON, GetQuizQuestionsFromJSON, GetQuizResultsFromJSON, GetUserQuizAttemptsFromJSON, PostManualQuestionSelectionToJSON, PostQuizToJSON, PostQuizAttemptFromJSON, PostQuizAttemptSubmitToJSON, PostQuizCriteriaToJSON, PostQuizQuestionsToJSON, PutQuizToJSON, PutQuizAnswerToJSON, PutQuizAnswerGradeToJSON, } from '../models/index';
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
254
- urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
296
- urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
545
- urlPath = urlPath.replace(`{${"criteriaId"}}`, encodeURIComponent(String(requestParameters['criteriaId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
683
- urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
871
- urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
916
- urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
962
- urlPath = urlPath.replace(`{${"questionId"}}`, encodeURIComponent(String(requestParameters['questionId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"attemptId"}}`, encodeURIComponent(String(requestParameters['attemptId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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(`{${"quizId"}}`, encodeURIComponent(String(requestParameters['quizId'])));
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 { GetContentGradeDetail, GetContentGrades, GetContentInstructorBasicReporting, GetCourseReportingBasic, GetCourseStudentReporting, GetModuleInstructorBasicReporting, GetModuleStudentReporting, GetPortalBasicReporting, GetPortalStudentReporting } from '../models/index';
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, GetContentGradesFromJSON, GetContentInstructorBasicReportingFromJSON, GetCourseReportingBasicFromJSON, GetCourseStudentReportingFromJSON, GetModuleInstructorBasicReportingFromJSON, GetModuleStudentReportingFromJSON, GetPortalBasicReportingFromJSON, GetPortalStudentReportingFromJSON, } from '../models/index';
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
50
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
51
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
52
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
107
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
108
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
154
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
155
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
237
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
280
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
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(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
326
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
327
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
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(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
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(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
409
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
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 { GetPermission, GetRole, GetUserRole, PostRole, PutRole, PutRolePermissions } from '../models/index';
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;
@@ -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, GetRoleFromJSON, GetUserRoleFromJSON, PostRoleToJSON, PutRoleToJSON, PutRolePermissionsToJSON, } from '../models/index';
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(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
47
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
48
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
277
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
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(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
323
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
324
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
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 { DownloadSupportTicketAttachment200Response, GetSupportTicket, GetSupportTicketAttachment, GetSupportTicketComment, GetSupportTicketList, PostSupportTicket, PostSupportTicketComment, PutSupportTicket } from '../models/index';
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, GetSupportTicketFromJSON, GetSupportTicketAttachmentFromJSON, GetSupportTicketCommentFromJSON, GetSupportTicketListFromJSON, PostSupportTicketToJSON, PostSupportTicketCommentToJSON, PutSupportTicketToJSON, } from '../models/index';
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
82
- urlPath = urlPath.replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters['attachmentId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
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(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
405
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
399
406
  return {
400
407
  path: urlPath,
401
408
  method: 'PUT',