@easyedu/js-lsm-api 1.58.0 → 1.60.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 (125) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +6 -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 +7 -1
  33. package/dist/apis/UserApi.js +19 -13
  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 +7 -1
  63. package/dist/esm/apis/UserApi.js +11 -5
  64. package/dist/esm/models/GetPortal.d.ts +12 -0
  65. package/dist/esm/models/GetPortal.js +4 -0
  66. package/dist/esm/models/PostPortal.d.ts +12 -0
  67. package/dist/esm/models/PostPortal.js +4 -0
  68. package/dist/esm/models/PutPortalBranding.d.ts +12 -0
  69. package/dist/esm/models/PutPortalBranding.js +4 -0
  70. package/dist/esm/models/UpdateSelectedPortalResponse.d.ts +52 -0
  71. package/dist/esm/models/UpdateSelectedPortalResponse.js +57 -0
  72. package/dist/esm/models/UpdateSelectedPortalResponseHostPortal.d.ts +44 -0
  73. package/dist/esm/models/UpdateSelectedPortalResponseHostPortal.js +51 -0
  74. package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
  75. package/dist/esm/models/UpdateSelectedPortalResponseSelectedPortal.js +51 -0
  76. package/dist/esm/models/index.d.ts +3 -0
  77. package/dist/esm/models/index.js +3 -0
  78. package/dist/esm/runtime.js +1 -1
  79. package/dist/models/GetPortal.d.ts +12 -0
  80. package/dist/models/GetPortal.js +4 -0
  81. package/dist/models/PostPortal.d.ts +12 -0
  82. package/dist/models/PostPortal.js +4 -0
  83. package/dist/models/PutPortalBranding.d.ts +12 -0
  84. package/dist/models/PutPortalBranding.js +4 -0
  85. package/dist/models/UpdateSelectedPortalResponse.d.ts +52 -0
  86. package/dist/models/UpdateSelectedPortalResponse.js +64 -0
  87. package/dist/models/UpdateSelectedPortalResponseHostPortal.d.ts +44 -0
  88. package/dist/models/UpdateSelectedPortalResponseHostPortal.js +58 -0
  89. package/dist/models/UpdateSelectedPortalResponseSelectedPortal.d.ts +44 -0
  90. package/dist/models/UpdateSelectedPortalResponseSelectedPortal.js +58 -0
  91. package/dist/models/index.d.ts +3 -0
  92. package/dist/models/index.js +3 -0
  93. package/dist/runtime.js +1 -1
  94. package/docs/GetPortal.md +4 -0
  95. package/docs/PortalApi.md +3 -3
  96. package/docs/PostPortal.md +4 -0
  97. package/docs/PutPortalBranding.md +4 -0
  98. package/docs/UpdateSelectedPortalResponse.md +40 -0
  99. package/docs/UpdateSelectedPortalResponseHostPortal.md +39 -0
  100. package/docs/UpdateSelectedPortalResponseSelectedPortal.md +38 -0
  101. package/package.json +1 -1
  102. package/src/apis/CertificateApi.ts +38 -23
  103. package/src/apis/ChatApi.ts +20 -13
  104. package/src/apis/ContentApi.ts +117 -78
  105. package/src/apis/CourseApi.ts +57 -34
  106. package/src/apis/CourseCatalogApi.ts +19 -16
  107. package/src/apis/CourseShareApi.ts +21 -16
  108. package/src/apis/ModuleApi.ts +26 -19
  109. package/src/apis/OtherApi.ts +0 -1
  110. package/src/apis/PortalApi.ts +42 -25
  111. package/src/apis/PortalSublicenseApi.ts +6 -7
  112. package/src/apis/QuestionApi.ts +14 -11
  113. package/src/apis/QuizApi.ts +96 -57
  114. package/src/apis/ReportingApi.ts +47 -34
  115. package/src/apis/RoleApi.ts +29 -22
  116. package/src/apis/SupportTicketApi.ts +31 -20
  117. package/src/apis/UserApi.ts +24 -15
  118. package/src/models/GetPortal.ts +16 -0
  119. package/src/models/PostPortal.ts +16 -0
  120. package/src/models/PutPortalBranding.ts +16 -0
  121. package/src/models/UpdateSelectedPortalResponse.ts +108 -0
  122. package/src/models/UpdateSelectedPortalResponseHostPortal.ts +84 -0
  123. package/src/models/UpdateSelectedPortalResponseSelectedPortal.ts +84 -0
  124. package/src/models/index.ts +3 -0
  125. package/src/runtime.ts +1 -2
@@ -12,39 +12,52 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import * as runtime from '../runtime';
17
- import type {
18
- GetContentGradeDetail,
19
- GetContentGrades,
20
- GetContentInstructorBasicReporting,
21
- GetCourseReportingBasic,
22
- GetCourseStudentReporting,
23
- GetModuleInstructorBasicReporting,
24
- GetModuleStudentReporting,
25
- GetPortalBasicReporting,
26
- GetPortalStudentReporting,
27
- } from '../models/index';
28
16
  import {
17
+ type GetContentGradeDetail,
29
18
  GetContentGradeDetailFromJSON,
30
19
  GetContentGradeDetailToJSON,
20
+ } from '../models/GetContentGradeDetail';
21
+ import {
22
+ type GetContentGrades,
31
23
  GetContentGradesFromJSON,
32
24
  GetContentGradesToJSON,
25
+ } from '../models/GetContentGrades';
26
+ import {
27
+ type GetContentInstructorBasicReporting,
33
28
  GetContentInstructorBasicReportingFromJSON,
34
29
  GetContentInstructorBasicReportingToJSON,
30
+ } from '../models/GetContentInstructorBasicReporting';
31
+ import {
32
+ type GetCourseReportingBasic,
35
33
  GetCourseReportingBasicFromJSON,
36
34
  GetCourseReportingBasicToJSON,
35
+ } from '../models/GetCourseReportingBasic';
36
+ import {
37
+ type GetCourseStudentReporting,
37
38
  GetCourseStudentReportingFromJSON,
38
39
  GetCourseStudentReportingToJSON,
40
+ } from '../models/GetCourseStudentReporting';
41
+ import {
42
+ type GetModuleInstructorBasicReporting,
39
43
  GetModuleInstructorBasicReportingFromJSON,
40
44
  GetModuleInstructorBasicReportingToJSON,
45
+ } from '../models/GetModuleInstructorBasicReporting';
46
+ import {
47
+ type GetModuleStudentReporting,
41
48
  GetModuleStudentReportingFromJSON,
42
49
  GetModuleStudentReportingToJSON,
50
+ } from '../models/GetModuleStudentReporting';
51
+ import {
52
+ type GetPortalBasicReporting,
43
53
  GetPortalBasicReportingFromJSON,
44
54
  GetPortalBasicReportingToJSON,
55
+ } from '../models/GetPortalBasicReporting';
56
+ import {
57
+ type GetPortalStudentReporting,
45
58
  GetPortalStudentReportingFromJSON,
46
59
  GetPortalStudentReportingToJSON,
47
- } from '../models/index';
60
+ } from '../models/GetPortalStudentReporting';
48
61
 
49
62
  export interface GetContentGradeDetailRequest {
50
63
  courseId: string;
@@ -140,10 +153,10 @@ export class ReportingApi extends runtime.BaseAPI {
140
153
 
141
154
 
142
155
  let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades/{studentId}`;
143
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
144
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
145
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
146
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
156
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
157
+ urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
158
+ urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
159
+ urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
147
160
 
148
161
  return {
149
162
  path: urlPath,
@@ -214,9 +227,9 @@ export class ReportingApi extends runtime.BaseAPI {
214
227
 
215
228
 
216
229
  let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/grades`;
217
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
218
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
219
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
230
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
231
+ urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
232
+ urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
220
233
 
221
234
  return {
222
235
  path: urlPath,
@@ -275,9 +288,9 @@ export class ReportingApi extends runtime.BaseAPI {
275
288
 
276
289
 
277
290
  let urlPath = `/courses/{courseId}/modules/{moduleId}/contents/{contentId}/reporting/instructor/basic`;
278
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
279
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
280
- urlPath = urlPath.replace(`{${"contentId"}}`, encodeURIComponent(String(requestParameters['contentId'])));
291
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
292
+ urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
293
+ urlPath = urlPath.replace('{contentId}', encodeURIComponent(String(requestParameters['contentId'])));
281
294
 
282
295
  return {
283
296
  path: urlPath,
@@ -322,7 +335,7 @@ export class ReportingApi extends runtime.BaseAPI {
322
335
 
323
336
 
324
337
  let urlPath = `/courses/{courseId}/reporting/instructor/basic`;
325
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
338
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
326
339
 
327
340
  return {
328
341
  path: urlPath,
@@ -374,8 +387,8 @@ export class ReportingApi extends runtime.BaseAPI {
374
387
 
375
388
 
376
389
  let urlPath = `/courses/{courseId}/reporting/students/{studentId}`;
377
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
378
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
390
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
391
+ urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
379
392
 
380
393
  return {
381
394
  path: urlPath,
@@ -427,8 +440,8 @@ export class ReportingApi extends runtime.BaseAPI {
427
440
 
428
441
 
429
442
  let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/instructor/basic`;
430
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
431
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
443
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
444
+ urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
432
445
 
433
446
  return {
434
447
  path: urlPath,
@@ -487,9 +500,9 @@ export class ReportingApi extends runtime.BaseAPI {
487
500
 
488
501
 
489
502
  let urlPath = `/courses/{courseId}/modules/{moduleId}/reporting/students/{studentId}`;
490
- urlPath = urlPath.replace(`{${"courseId"}}`, encodeURIComponent(String(requestParameters['courseId'])));
491
- urlPath = urlPath.replace(`{${"moduleId"}}`, encodeURIComponent(String(requestParameters['moduleId'])));
492
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
503
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
504
+ urlPath = urlPath.replace('{moduleId}', encodeURIComponent(String(requestParameters['moduleId'])));
505
+ urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
493
506
 
494
507
  return {
495
508
  path: urlPath,
@@ -534,7 +547,7 @@ export class ReportingApi extends runtime.BaseAPI {
534
547
 
535
548
 
536
549
  let urlPath = `/portals/{portalId}/reporting/basic`;
537
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
550
+ urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
538
551
 
539
552
  return {
540
553
  path: urlPath,
@@ -586,8 +599,8 @@ export class ReportingApi extends runtime.BaseAPI {
586
599
 
587
600
 
588
601
  let urlPath = `/portals/{portalId}/reporting/students/{studentId}`;
589
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
590
- urlPath = urlPath.replace(`{${"studentId"}}`, encodeURIComponent(String(requestParameters['studentId'])));
602
+ urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
603
+ urlPath = urlPath.replace('{studentId}', encodeURIComponent(String(requestParameters['studentId'])));
591
604
 
592
605
  return {
593
606
  path: urlPath,
@@ -12,30 +12,37 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import * as runtime from '../runtime';
17
- import type {
18
- GetPermission,
19
- GetRole,
20
- GetUserRole,
21
- PostRole,
22
- PutRole,
23
- PutRolePermissions,
24
- } from '../models/index';
25
16
  import {
17
+ type GetPermission,
26
18
  GetPermissionFromJSON,
27
19
  GetPermissionToJSON,
20
+ } from '../models/GetPermission';
21
+ import {
22
+ type GetRole,
28
23
  GetRoleFromJSON,
29
24
  GetRoleToJSON,
25
+ } from '../models/GetRole';
26
+ import {
27
+ type GetUserRole,
30
28
  GetUserRoleFromJSON,
31
29
  GetUserRoleToJSON,
30
+ } from '../models/GetUserRole';
31
+ import {
32
+ type PostRole,
32
33
  PostRoleFromJSON,
33
34
  PostRoleToJSON,
35
+ } from '../models/PostRole';
36
+ import {
37
+ type PutRole,
34
38
  PutRoleFromJSON,
35
39
  PutRoleToJSON,
40
+ } from '../models/PutRole';
41
+ import {
42
+ type PutRolePermissions,
36
43
  PutRolePermissionsFromJSON,
37
44
  PutRolePermissionsToJSON,
38
- } from '../models/index';
45
+ } from '../models/PutRolePermissions';
39
46
 
40
47
  export interface AssignUserRoleRequest {
41
48
  userId: string;
@@ -112,9 +119,9 @@ export class RoleApi extends runtime.BaseAPI {
112
119
 
113
120
 
114
121
  let urlPath = `/roles/users/{userId}/portals/{portalId}/roles/{roleId}`;
115
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
116
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
117
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
122
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
123
+ urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
124
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
118
125
 
119
126
  return {
120
127
  path: urlPath,
@@ -205,7 +212,7 @@ export class RoleApi extends runtime.BaseAPI {
205
212
 
206
213
 
207
214
  let urlPath = `/roles/{roleId}`;
208
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
215
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
209
216
 
210
217
  return {
211
218
  path: urlPath,
@@ -286,7 +293,7 @@ export class RoleApi extends runtime.BaseAPI {
286
293
 
287
294
 
288
295
  let urlPath = `/roles/{roleId}`;
289
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
296
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
290
297
 
291
298
  return {
292
299
  path: urlPath,
@@ -375,8 +382,8 @@ export class RoleApi extends runtime.BaseAPI {
375
382
 
376
383
 
377
384
  let urlPath = `/roles/users/{userId}/portals/{portalId}`;
378
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
379
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
385
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
386
+ urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
380
387
 
381
388
  return {
382
389
  path: urlPath,
@@ -435,9 +442,9 @@ export class RoleApi extends runtime.BaseAPI {
435
442
 
436
443
 
437
444
  let urlPath = `/roles/users/{userId}/portals/{portalId}/roles/{roleId}`;
438
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
439
- urlPath = urlPath.replace(`{${"portalId"}}`, encodeURIComponent(String(requestParameters['portalId'])));
440
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
445
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
446
+ urlPath = urlPath.replace('{portalId}', encodeURIComponent(String(requestParameters['portalId'])));
447
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
441
448
 
442
449
  return {
443
450
  path: urlPath,
@@ -490,7 +497,7 @@ export class RoleApi extends runtime.BaseAPI {
490
497
 
491
498
 
492
499
  let urlPath = `/roles/{roleId}`;
493
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
500
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
494
501
 
495
502
  return {
496
503
  path: urlPath,
@@ -545,7 +552,7 @@ export class RoleApi extends runtime.BaseAPI {
545
552
 
546
553
 
547
554
  let urlPath = `/roles/{roleId}/permissions`;
548
- urlPath = urlPath.replace(`{${"roleId"}}`, encodeURIComponent(String(requestParameters['roleId'])));
555
+ urlPath = urlPath.replace('{roleId}', encodeURIComponent(String(requestParameters['roleId'])));
549
556
 
550
557
  return {
551
558
  path: urlPath,
@@ -12,36 +12,47 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import * as runtime from '../runtime';
17
- import type {
18
- DownloadSupportTicketAttachment200Response,
19
- GetSupportTicket,
20
- GetSupportTicketAttachment,
21
- GetSupportTicketComment,
22
- GetSupportTicketList,
23
- PostSupportTicket,
24
- PostSupportTicketComment,
25
- PutSupportTicket,
26
- } from '../models/index';
27
16
  import {
17
+ type DownloadSupportTicketAttachment200Response,
28
18
  DownloadSupportTicketAttachment200ResponseFromJSON,
29
19
  DownloadSupportTicketAttachment200ResponseToJSON,
20
+ } from '../models/DownloadSupportTicketAttachment200Response';
21
+ import {
22
+ type GetSupportTicket,
30
23
  GetSupportTicketFromJSON,
31
24
  GetSupportTicketToJSON,
25
+ } from '../models/GetSupportTicket';
26
+ import {
27
+ type GetSupportTicketAttachment,
32
28
  GetSupportTicketAttachmentFromJSON,
33
29
  GetSupportTicketAttachmentToJSON,
30
+ } from '../models/GetSupportTicketAttachment';
31
+ import {
32
+ type GetSupportTicketComment,
34
33
  GetSupportTicketCommentFromJSON,
35
34
  GetSupportTicketCommentToJSON,
35
+ } from '../models/GetSupportTicketComment';
36
+ import {
37
+ type GetSupportTicketList,
36
38
  GetSupportTicketListFromJSON,
37
39
  GetSupportTicketListToJSON,
40
+ } from '../models/GetSupportTicketList';
41
+ import {
42
+ type PostSupportTicket,
38
43
  PostSupportTicketFromJSON,
39
44
  PostSupportTicketToJSON,
45
+ } from '../models/PostSupportTicket';
46
+ import {
47
+ type PostSupportTicketComment,
40
48
  PostSupportTicketCommentFromJSON,
41
49
  PostSupportTicketCommentToJSON,
50
+ } from '../models/PostSupportTicketComment';
51
+ import {
52
+ type PutSupportTicket,
42
53
  PutSupportTicketFromJSON,
43
54
  PutSupportTicketToJSON,
44
- } from '../models/index';
55
+ } from '../models/PutSupportTicket';
45
56
 
46
57
  export interface CloseSupportTicketRequest {
47
58
  ticketId: string;
@@ -109,7 +120,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
109
120
 
110
121
 
111
122
  let urlPath = `/support/tickets/{ticketId}/close`;
112
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
123
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
113
124
 
114
125
  return {
115
126
  path: urlPath,
@@ -160,8 +171,8 @@ export class SupportTicketApi extends runtime.BaseAPI {
160
171
 
161
172
 
162
173
  let urlPath = `/support/tickets/{ticketId}/attachments/{attachmentId}/download`;
163
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
164
- urlPath = urlPath.replace(`{${"attachmentId"}}`, encodeURIComponent(String(requestParameters['attachmentId'])));
174
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
175
+ urlPath = urlPath.replace('{attachmentId}', encodeURIComponent(String(requestParameters['attachmentId'])));
165
176
 
166
177
  return {
167
178
  path: urlPath,
@@ -206,7 +217,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
206
217
 
207
218
 
208
219
  let urlPath = `/support/tickets/{ticketId}`;
209
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
220
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
210
221
 
211
222
  return {
212
223
  path: urlPath,
@@ -251,7 +262,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
251
262
 
252
263
 
253
264
  let urlPath = `/support/tickets/{ticketId}/comments`;
254
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
265
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
255
266
 
256
267
  return {
257
268
  path: urlPath,
@@ -427,7 +438,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
427
438
 
428
439
 
429
440
  let urlPath = `/support/tickets/{ticketId}/attachments`;
430
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
441
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
431
442
 
432
443
  return {
433
444
  path: urlPath,
@@ -482,7 +493,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
482
493
 
483
494
 
484
495
  let urlPath = `/support/tickets/{ticketId}/comments`;
485
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
496
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
486
497
 
487
498
  return {
488
499
  path: urlPath,
@@ -537,7 +548,7 @@ export class SupportTicketApi extends runtime.BaseAPI {
537
548
 
538
549
 
539
550
  let urlPath = `/support/tickets/{ticketId}`;
540
- urlPath = urlPath.replace(`{${"ticketId"}}`, encodeURIComponent(String(requestParameters['ticketId'])));
551
+ urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
541
552
 
542
553
  return {
543
554
  path: urlPath,
@@ -12,33 +12,42 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
 
15
-
16
15
  import * as runtime from '../runtime';
17
- import type {
18
- GetUser,
19
- GetUserAvatarUpload,
20
- LoginRes,
21
- PostLogin,
22
- PostResetPassword,
23
- PostSendResetPassword,
24
- PutUser,
25
- } from '../models/index';
26
16
  import {
17
+ type GetUser,
27
18
  GetUserFromJSON,
28
19
  GetUserToJSON,
20
+ } from '../models/GetUser';
21
+ import {
22
+ type GetUserAvatarUpload,
29
23
  GetUserAvatarUploadFromJSON,
30
24
  GetUserAvatarUploadToJSON,
25
+ } from '../models/GetUserAvatarUpload';
26
+ import {
27
+ type LoginRes,
31
28
  LoginResFromJSON,
32
29
  LoginResToJSON,
30
+ } from '../models/LoginRes';
31
+ import {
32
+ type PostLogin,
33
33
  PostLoginFromJSON,
34
34
  PostLoginToJSON,
35
+ } from '../models/PostLogin';
36
+ import {
37
+ type PostResetPassword,
35
38
  PostResetPasswordFromJSON,
36
39
  PostResetPasswordToJSON,
40
+ } from '../models/PostResetPassword';
41
+ import {
42
+ type PostSendResetPassword,
37
43
  PostSendResetPasswordFromJSON,
38
44
  PostSendResetPasswordToJSON,
45
+ } from '../models/PostSendResetPassword';
46
+ import {
47
+ type PutUser,
39
48
  PutUserFromJSON,
40
49
  PutUserToJSON,
41
- } from '../models/index';
50
+ } from '../models/PutUser';
42
51
 
43
52
  export interface DeleteUserAvatarRequest {
44
53
  userId: string;
@@ -92,7 +101,7 @@ export class UserApi extends runtime.BaseAPI {
92
101
 
93
102
 
94
103
  let urlPath = `/users/{userId}/avatar`;
95
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
104
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
96
105
 
97
106
  return {
98
107
  path: urlPath,
@@ -211,7 +220,7 @@ export class UserApi extends runtime.BaseAPI {
211
220
 
212
221
 
213
222
  let urlPath = `/users/{userId}`;
214
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
223
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
215
224
 
216
225
  return {
217
226
  path: urlPath,
@@ -366,7 +375,7 @@ export class UserApi extends runtime.BaseAPI {
366
375
 
367
376
 
368
377
  let urlPath = `/users/{userId}/avatar`;
369
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
378
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
370
379
 
371
380
  return {
372
381
  path: urlPath,
@@ -421,7 +430,7 @@ export class UserApi extends runtime.BaseAPI {
421
430
 
422
431
 
423
432
  let urlPath = `/users/{userId}`;
424
- urlPath = urlPath.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId'])));
433
+ urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
425
434
 
426
435
  return {
427
436
  path: urlPath,
@@ -37,6 +37,18 @@ export interface GetPortal {
37
37
  * @memberof GetPortal
38
38
  */
39
39
  parentPortalId?: string;
40
+ /**
41
+ * Platform subdomain slug used for '{slug}.edaxu.com'
42
+ * @type {string}
43
+ * @memberof GetPortal
44
+ */
45
+ slug?: string | null;
46
+ /**
47
+ * Customer-owned hostname for this portal
48
+ * @type {string}
49
+ * @memberof GetPortal
50
+ */
51
+ clientDomain?: string | null;
40
52
  /**
41
53
  *
42
54
  * @type {string}
@@ -109,6 +121,8 @@ export function GetPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean):
109
121
  'id': json['id'],
110
122
  'name': json['name'],
111
123
  'parentPortalId': json['parent_portal_id'] == null ? undefined : json['parent_portal_id'],
124
+ 'slug': json['slug'] == null ? undefined : json['slug'],
125
+ 'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
112
126
  'logoUrl': json['logo_url'] == null ? undefined : json['logo_url'],
113
127
  'faviconUrl': json['favicon_url'] == null ? undefined : json['favicon_url'],
114
128
  'headerBackgroundColor': json['header_background_color'],
@@ -131,6 +145,8 @@ export function GetPortalToJSONTyped(value?: GetPortal | null, ignoreDiscriminat
131
145
  'id': value['id'],
132
146
  'name': value['name'],
133
147
  'parent_portal_id': value['parentPortalId'],
148
+ 'slug': value['slug'],
149
+ 'client_domain': value['clientDomain'],
134
150
  'logo_url': value['logoUrl'],
135
151
  'favicon_url': value['faviconUrl'],
136
152
  'header_background_color': value['headerBackgroundColor'],
@@ -37,6 +37,18 @@ export interface PostPortal {
37
37
  * @memberof PostPortal
38
38
  */
39
39
  headerTextColor?: string;
40
+ /**
41
+ * Platform subdomain slug used for '{slug}.edaxu.com'
42
+ * @type {string}
43
+ * @memberof PostPortal
44
+ */
45
+ slug?: string | null;
46
+ /**
47
+ * Customer-owned hostname for this portal
48
+ * @type {string}
49
+ * @memberof PostPortal
50
+ */
51
+ clientDomain?: string | null;
40
52
  }
41
53
 
42
54
  /**
@@ -60,6 +72,8 @@ export function PostPortalFromJSONTyped(json: any, ignoreDiscriminator: boolean)
60
72
  'name': json['name'],
61
73
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
62
74
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
75
+ 'slug': json['slug'] == null ? undefined : json['slug'],
76
+ 'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
63
77
  };
64
78
  }
65
79
 
@@ -77,6 +91,8 @@ export function PostPortalToJSONTyped(value?: PostPortal | null, ignoreDiscrimin
77
91
  'name': value['name'],
78
92
  'header_background_color': value['headerBackgroundColor'],
79
93
  'header_text_color': value['headerTextColor'],
94
+ 'slug': value['slug'],
95
+ 'client_domain': value['clientDomain'],
80
96
  };
81
97
  }
82
98
 
@@ -37,6 +37,18 @@ export interface PutPortalBranding {
37
37
  * @memberof PutPortalBranding
38
38
  */
39
39
  headerTextColor?: string;
40
+ /**
41
+ * Platform subdomain slug used for '{slug}.edaxu.com'. Set null to inherit from an ancestor.
42
+ * @type {string}
43
+ * @memberof PutPortalBranding
44
+ */
45
+ slug?: string | null;
46
+ /**
47
+ * Customer-owned hostname for this portal. Set null to inherit from an ancestor.
48
+ * @type {string}
49
+ * @memberof PutPortalBranding
50
+ */
51
+ clientDomain?: string | null;
40
52
  }
41
53
 
42
54
  /**
@@ -59,6 +71,8 @@ export function PutPortalBrandingFromJSONTyped(json: any, ignoreDiscriminator: b
59
71
  'name': json['name'] == null ? undefined : json['name'],
60
72
  'headerBackgroundColor': json['header_background_color'] == null ? undefined : json['header_background_color'],
61
73
  'headerTextColor': json['header_text_color'] == null ? undefined : json['header_text_color'],
74
+ 'slug': json['slug'] == null ? undefined : json['slug'],
75
+ 'clientDomain': json['client_domain'] == null ? undefined : json['client_domain'],
62
76
  };
63
77
  }
64
78
 
@@ -76,6 +90,8 @@ export function PutPortalBrandingToJSONTyped(value?: PutPortalBranding | null, i
76
90
  'name': value['name'],
77
91
  'header_background_color': value['headerBackgroundColor'],
78
92
  'header_text_color': value['headerTextColor'],
93
+ 'slug': value['slug'],
94
+ 'client_domain': value['clientDomain'],
79
95
  };
80
96
  }
81
97