@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.
- package/.openapi-generator/FILES +6 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +6 -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 +7 -1
- package/dist/apis/UserApi.js +19 -13
- 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 +7 -1
- package/dist/esm/apis/UserApi.js +11 -5
- package/dist/esm/models/GetPortal.d.ts +12 -0
- package/dist/esm/models/GetPortal.js +4 -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 +52 -0
- package/dist/esm/models/UpdateSelectedPortalResponse.js +57 -0
- package/dist/esm/models/UpdateSelectedPortalResponseHostPortal.d.ts +44 -0
- package/dist/esm/models/UpdateSelectedPortalResponseHostPortal.js +51 -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/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 +52 -0
- package/dist/models/UpdateSelectedPortalResponse.js +64 -0
- package/dist/models/UpdateSelectedPortalResponseHostPortal.d.ts +44 -0
- package/dist/models/UpdateSelectedPortalResponseHostPortal.js +58 -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/PortalApi.md +3 -3
- package/docs/PostPortal.md +4 -0
- package/docs/PutPortalBranding.md +4 -0
- package/docs/UpdateSelectedPortalResponse.md +40 -0
- package/docs/UpdateSelectedPortalResponseHostPortal.md +39 -0
- package/docs/UpdateSelectedPortalResponseSelectedPortal.md +38 -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 +24 -15
- package/src/models/GetPortal.ts +16 -0
- package/src/models/PostPortal.ts +16 -0
- package/src/models/PutPortalBranding.ts +16 -0
- package/src/models/UpdateSelectedPortalResponse.ts +108 -0
- package/src/models/UpdateSelectedPortalResponseHostPortal.ts +84 -0
- package/src/models/UpdateSelectedPortalResponseSelectedPortal.ts +84 -0
- package/src/models/index.ts +3 -0
- package/src/runtime.ts +1 -2
package/src/apis/ReportingApi.ts
CHANGED
|
@@ -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/
|
|
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(
|
|
144
|
-
urlPath = urlPath.replace(
|
|
145
|
-
urlPath = urlPath.replace(
|
|
146
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
218
|
-
urlPath = urlPath.replace(
|
|
219
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
279
|
-
urlPath = urlPath.replace(
|
|
280
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
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(
|
|
378
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
431
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
491
|
-
urlPath = urlPath.replace(
|
|
492
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
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(
|
|
590
|
-
urlPath = urlPath.replace(
|
|
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,
|
package/src/apis/RoleApi.ts
CHANGED
|
@@ -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/
|
|
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(
|
|
116
|
-
urlPath = urlPath.replace(
|
|
117
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
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(
|
|
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(
|
|
379
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
439
|
-
urlPath = urlPath.replace(
|
|
440
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
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(
|
|
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/
|
|
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(
|
|
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(
|
|
164
|
-
urlPath = urlPath.replace(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
551
|
+
urlPath = urlPath.replace('{ticketId}', encodeURIComponent(String(requestParameters['ticketId'])));
|
|
541
552
|
|
|
542
553
|
return {
|
|
543
554
|
path: urlPath,
|
package/src/apis/UserApi.ts
CHANGED
|
@@ -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/
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
433
|
+
urlPath = urlPath.replace('{userId}', encodeURIComponent(String(requestParameters['userId'])));
|
|
425
434
|
|
|
426
435
|
return {
|
|
427
436
|
path: urlPath,
|
package/src/models/GetPortal.ts
CHANGED
|
@@ -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'],
|
package/src/models/PostPortal.ts
CHANGED
|
@@ -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
|
|