@easyedu/js-lsm-api 1.40.0 → 1.42.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 (90) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/README.md +23 -2
  3. package/dist/apis/PortalApi.d.ts +32 -1
  4. package/dist/apis/PortalApi.js +99 -0
  5. package/dist/apis/SupportTicketApi.d.ts +191 -0
  6. package/dist/apis/SupportTicketApi.js +457 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/esm/apis/PortalApi.d.ts +32 -1
  10. package/dist/esm/apis/PortalApi.js +100 -1
  11. package/dist/esm/apis/SupportTicketApi.d.ts +191 -0
  12. package/dist/esm/apis/SupportTicketApi.js +453 -0
  13. package/dist/esm/apis/index.d.ts +1 -0
  14. package/dist/esm/apis/index.js +1 -0
  15. package/dist/esm/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
  16. package/dist/esm/models/DownloadSupportTicketAttachment200Response.js +43 -0
  17. package/dist/esm/models/GetPortal.d.ts +1 -1
  18. package/dist/esm/models/GetPortal.js +1 -3
  19. package/dist/esm/models/GetPortalLogoUpload.d.ts +32 -0
  20. package/dist/esm/models/GetPortalLogoUpload.js +43 -0
  21. package/dist/esm/models/GetSupportTicket.d.ts +142 -0
  22. package/dist/esm/models/GetSupportTicket.js +120 -0
  23. package/dist/esm/models/GetSupportTicketAttachment.d.ts +62 -0
  24. package/dist/esm/models/GetSupportTicketAttachment.js +63 -0
  25. package/dist/esm/models/GetSupportTicketComment.d.ts +57 -0
  26. package/dist/esm/models/GetSupportTicketComment.js +60 -0
  27. package/dist/esm/models/GetSupportTicketList.d.ts +57 -0
  28. package/dist/esm/models/GetSupportTicketList.js +60 -0
  29. package/dist/esm/models/PostSupportTicket.d.ts +71 -0
  30. package/dist/esm/models/PostSupportTicket.js +74 -0
  31. package/dist/esm/models/PostSupportTicketComment.d.ts +38 -0
  32. package/dist/esm/models/PostSupportTicketComment.js +45 -0
  33. package/dist/esm/models/PutSupportTicket.d.ts +63 -0
  34. package/dist/esm/models/PutSupportTicket.js +62 -0
  35. package/dist/esm/models/SupportTicketUser.d.ts +50 -0
  36. package/dist/esm/models/SupportTicketUser.js +55 -0
  37. package/dist/esm/models/index.d.ts +10 -0
  38. package/dist/esm/models/index.js +10 -0
  39. package/dist/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
  40. package/dist/models/DownloadSupportTicketAttachment200Response.js +50 -0
  41. package/dist/models/GetPortal.d.ts +1 -1
  42. package/dist/models/GetPortal.js +1 -3
  43. package/dist/models/GetPortalLogoUpload.d.ts +32 -0
  44. package/dist/models/GetPortalLogoUpload.js +50 -0
  45. package/dist/models/GetSupportTicket.d.ts +142 -0
  46. package/dist/models/GetSupportTicket.js +128 -0
  47. package/dist/models/GetSupportTicketAttachment.d.ts +62 -0
  48. package/dist/models/GetSupportTicketAttachment.js +70 -0
  49. package/dist/models/GetSupportTicketComment.d.ts +57 -0
  50. package/dist/models/GetSupportTicketComment.js +67 -0
  51. package/dist/models/GetSupportTicketList.d.ts +57 -0
  52. package/dist/models/GetSupportTicketList.js +67 -0
  53. package/dist/models/PostSupportTicket.d.ts +71 -0
  54. package/dist/models/PostSupportTicket.js +82 -0
  55. package/dist/models/PostSupportTicketComment.d.ts +38 -0
  56. package/dist/models/PostSupportTicketComment.js +52 -0
  57. package/dist/models/PutSupportTicket.d.ts +63 -0
  58. package/dist/models/PutSupportTicket.js +70 -0
  59. package/dist/models/SupportTicketUser.d.ts +50 -0
  60. package/dist/models/SupportTicketUser.js +62 -0
  61. package/dist/models/index.d.ts +10 -0
  62. package/dist/models/index.js +10 -0
  63. package/docs/DownloadSupportTicketAttachment200Response.md +34 -0
  64. package/docs/GetPortalLogoUpload.md +34 -0
  65. package/docs/GetSupportTicket.md +60 -0
  66. package/docs/GetSupportTicketAttachment.md +44 -0
  67. package/docs/GetSupportTicketComment.md +42 -0
  68. package/docs/GetSupportTicketList.md +42 -0
  69. package/docs/PortalApi.md +138 -0
  70. package/docs/PostSupportTicket.md +40 -0
  71. package/docs/PostSupportTicketComment.md +36 -0
  72. package/docs/PutSupportTicket.md +38 -0
  73. package/docs/SupportTicketApi.md +651 -0
  74. package/docs/SupportTicketUser.md +40 -0
  75. package/package.json +1 -1
  76. package/src/apis/PortalApi.ts +129 -0
  77. package/src/apis/SupportTicketApi.ts +599 -0
  78. package/src/apis/index.ts +1 -0
  79. package/src/models/DownloadSupportTicketAttachment200Response.ts +66 -0
  80. package/src/models/GetPortal.ts +2 -3
  81. package/src/models/GetPortalLogoUpload.ts +66 -0
  82. package/src/models/GetSupportTicket.ts +231 -0
  83. package/src/models/GetSupportTicketAttachment.ts +111 -0
  84. package/src/models/GetSupportTicketComment.ts +110 -0
  85. package/src/models/GetSupportTicketList.ts +110 -0
  86. package/src/models/PostSupportTicket.ts +118 -0
  87. package/src/models/PostSupportTicketComment.ts +74 -0
  88. package/src/models/PutSupportTicket.ts +104 -0
  89. package/src/models/SupportTicketUser.ts +93 -0
  90. package/src/models/index.ts +10 -0
@@ -0,0 +1,118 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PostSupportTicket
20
+ */
21
+ export interface PostSupportTicket {
22
+ /**
23
+ * Brief summary of the issue
24
+ * @type {string}
25
+ * @memberof PostSupportTicket
26
+ */
27
+ subject: string;
28
+ /**
29
+ * Detailed description of the issue
30
+ * @type {string}
31
+ * @memberof PostSupportTicket
32
+ */
33
+ description: string;
34
+ /**
35
+ * Ticket priority level
36
+ * @type {PostSupportTicketPriorityEnum}
37
+ * @memberof PostSupportTicket
38
+ */
39
+ priority: PostSupportTicketPriorityEnum;
40
+ /**
41
+ * Ticket category
42
+ * @type {PostSupportTicketCategoryEnum}
43
+ * @memberof PostSupportTicket
44
+ */
45
+ category: PostSupportTicketCategoryEnum;
46
+ }
47
+
48
+
49
+ /**
50
+ * @export
51
+ */
52
+ export const PostSupportTicketPriorityEnum = {
53
+ Low: 'Low',
54
+ Medium: 'Medium',
55
+ High: 'High',
56
+ Critical: 'Critical'
57
+ } as const;
58
+ export type PostSupportTicketPriorityEnum = typeof PostSupportTicketPriorityEnum[keyof typeof PostSupportTicketPriorityEnum];
59
+
60
+ /**
61
+ * @export
62
+ */
63
+ export const PostSupportTicketCategoryEnum = {
64
+ Bug: 'Bug',
65
+ FeatureRequest: 'FeatureRequest',
66
+ AccountIssue: 'AccountIssue',
67
+ ContentIssue: 'ContentIssue',
68
+ Other: 'Other'
69
+ } as const;
70
+ export type PostSupportTicketCategoryEnum = typeof PostSupportTicketCategoryEnum[keyof typeof PostSupportTicketCategoryEnum];
71
+
72
+
73
+ /**
74
+ * Check if a given object implements the PostSupportTicket interface.
75
+ */
76
+ export function instanceOfPostSupportTicket(value: object): value is PostSupportTicket {
77
+ if (!('subject' in value) || value['subject'] === undefined) return false;
78
+ if (!('description' in value) || value['description'] === undefined) return false;
79
+ if (!('priority' in value) || value['priority'] === undefined) return false;
80
+ if (!('category' in value) || value['category'] === undefined) return false;
81
+ return true;
82
+ }
83
+
84
+ export function PostSupportTicketFromJSON(json: any): PostSupportTicket {
85
+ return PostSupportTicketFromJSONTyped(json, false);
86
+ }
87
+
88
+ export function PostSupportTicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostSupportTicket {
89
+ if (json == null) {
90
+ return json;
91
+ }
92
+ return {
93
+
94
+ 'subject': json['subject'],
95
+ 'description': json['description'],
96
+ 'priority': json['priority'],
97
+ 'category': json['category'],
98
+ };
99
+ }
100
+
101
+ export function PostSupportTicketToJSON(json: any): PostSupportTicket {
102
+ return PostSupportTicketToJSONTyped(json, false);
103
+ }
104
+
105
+ export function PostSupportTicketToJSONTyped(value?: PostSupportTicket | null, ignoreDiscriminator: boolean = false): any {
106
+ if (value == null) {
107
+ return value;
108
+ }
109
+
110
+ return {
111
+
112
+ 'subject': value['subject'],
113
+ 'description': value['description'],
114
+ 'priority': value['priority'],
115
+ 'category': value['category'],
116
+ };
117
+ }
118
+
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PostSupportTicketComment
20
+ */
21
+ export interface PostSupportTicketComment {
22
+ /**
23
+ * Comment text
24
+ * @type {string}
25
+ * @memberof PostSupportTicketComment
26
+ */
27
+ content: string;
28
+ /**
29
+ * Whether this comment is internal (not visible to reporter)
30
+ * @type {boolean}
31
+ * @memberof PostSupportTicketComment
32
+ */
33
+ isInternal?: boolean;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the PostSupportTicketComment interface.
38
+ */
39
+ export function instanceOfPostSupportTicketComment(value: object): value is PostSupportTicketComment {
40
+ if (!('content' in value) || value['content'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function PostSupportTicketCommentFromJSON(json: any): PostSupportTicketComment {
45
+ return PostSupportTicketCommentFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function PostSupportTicketCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostSupportTicketComment {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'content': json['content'],
55
+ 'isInternal': json['is_internal'] == null ? undefined : json['is_internal'],
56
+ };
57
+ }
58
+
59
+ export function PostSupportTicketCommentToJSON(json: any): PostSupportTicketComment {
60
+ return PostSupportTicketCommentToJSONTyped(json, false);
61
+ }
62
+
63
+ export function PostSupportTicketCommentToJSONTyped(value?: PostSupportTicketComment | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'content': value['content'],
71
+ 'is_internal': value['isInternal'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,104 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface PutSupportTicket
20
+ */
21
+ export interface PutSupportTicket {
22
+ /**
23
+ *
24
+ * @type {PutSupportTicketStatusEnum}
25
+ * @memberof PutSupportTicket
26
+ */
27
+ status?: PutSupportTicketStatusEnum;
28
+ /**
29
+ *
30
+ * @type {PutSupportTicketPriorityEnum}
31
+ * @memberof PutSupportTicket
32
+ */
33
+ priority?: PutSupportTicketPriorityEnum;
34
+ /**
35
+ * External user ID of the assignee, or null to unassign
36
+ * @type {string}
37
+ * @memberof PutSupportTicket
38
+ */
39
+ assignedTo?: string | null;
40
+ }
41
+
42
+
43
+ /**
44
+ * @export
45
+ */
46
+ export const PutSupportTicketStatusEnum = {
47
+ Open: 'Open',
48
+ InProgress: 'InProgress',
49
+ Closed: 'Closed'
50
+ } as const;
51
+ export type PutSupportTicketStatusEnum = typeof PutSupportTicketStatusEnum[keyof typeof PutSupportTicketStatusEnum];
52
+
53
+ /**
54
+ * @export
55
+ */
56
+ export const PutSupportTicketPriorityEnum = {
57
+ Low: 'Low',
58
+ Medium: 'Medium',
59
+ High: 'High',
60
+ Critical: 'Critical'
61
+ } as const;
62
+ export type PutSupportTicketPriorityEnum = typeof PutSupportTicketPriorityEnum[keyof typeof PutSupportTicketPriorityEnum];
63
+
64
+
65
+ /**
66
+ * Check if a given object implements the PutSupportTicket interface.
67
+ */
68
+ export function instanceOfPutSupportTicket(value: object): value is PutSupportTicket {
69
+ return true;
70
+ }
71
+
72
+ export function PutSupportTicketFromJSON(json: any): PutSupportTicket {
73
+ return PutSupportTicketFromJSONTyped(json, false);
74
+ }
75
+
76
+ export function PutSupportTicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutSupportTicket {
77
+ if (json == null) {
78
+ return json;
79
+ }
80
+ return {
81
+
82
+ 'status': json['status'] == null ? undefined : json['status'],
83
+ 'priority': json['priority'] == null ? undefined : json['priority'],
84
+ 'assignedTo': json['assigned_to'] == null ? undefined : json['assigned_to'],
85
+ };
86
+ }
87
+
88
+ export function PutSupportTicketToJSON(json: any): PutSupportTicket {
89
+ return PutSupportTicketToJSONTyped(json, false);
90
+ }
91
+
92
+ export function PutSupportTicketToJSONTyped(value?: PutSupportTicket | null, ignoreDiscriminator: boolean = false): any {
93
+ if (value == null) {
94
+ return value;
95
+ }
96
+
97
+ return {
98
+
99
+ 'status': value['status'],
100
+ 'priority': value['priority'],
101
+ 'assigned_to': value['assignedTo'],
102
+ };
103
+ }
104
+
@@ -0,0 +1,93 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * LMS API
5
+ * LMS API
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface SupportTicketUser
20
+ */
21
+ export interface SupportTicketUser {
22
+ /**
23
+ * External user ID
24
+ * @type {string}
25
+ * @memberof SupportTicketUser
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof SupportTicketUser
32
+ */
33
+ email: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof SupportTicketUser
38
+ */
39
+ firstName: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SupportTicketUser
44
+ */
45
+ lastName: string;
46
+ }
47
+
48
+ /**
49
+ * Check if a given object implements the SupportTicketUser interface.
50
+ */
51
+ export function instanceOfSupportTicketUser(value: object): value is SupportTicketUser {
52
+ if (!('id' in value) || value['id'] === undefined) return false;
53
+ if (!('email' in value) || value['email'] === undefined) return false;
54
+ if (!('firstName' in value) || value['firstName'] === undefined) return false;
55
+ if (!('lastName' in value) || value['lastName'] === undefined) return false;
56
+ return true;
57
+ }
58
+
59
+ export function SupportTicketUserFromJSON(json: any): SupportTicketUser {
60
+ return SupportTicketUserFromJSONTyped(json, false);
61
+ }
62
+
63
+ export function SupportTicketUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportTicketUser {
64
+ if (json == null) {
65
+ return json;
66
+ }
67
+ return {
68
+
69
+ 'id': json['id'],
70
+ 'email': json['email'],
71
+ 'firstName': json['first_name'],
72
+ 'lastName': json['last_name'],
73
+ };
74
+ }
75
+
76
+ export function SupportTicketUserToJSON(json: any): SupportTicketUser {
77
+ return SupportTicketUserToJSONTyped(json, false);
78
+ }
79
+
80
+ export function SupportTicketUserToJSONTyped(value?: SupportTicketUser | null, ignoreDiscriminator: boolean = false): any {
81
+ if (value == null) {
82
+ return value;
83
+ }
84
+
85
+ return {
86
+
87
+ 'id': value['id'],
88
+ 'email': value['email'],
89
+ 'first_name': value['firstName'],
90
+ 'last_name': value['lastName'],
91
+ };
92
+ }
93
+
@@ -3,6 +3,7 @@
3
3
  export * from './CriteriaBasedSelection';
4
4
  export * from './CriteriaBasedSelectionCriteria';
5
5
  export * from './CriteriaBasedSelectionDistribution';
6
+ export * from './DownloadSupportTicketAttachment200Response';
6
7
  export * from './Essay';
7
8
  export * from './Essay1';
8
9
  export * from './FillInBlank';
@@ -63,6 +64,7 @@ export * from './GetPortalBasicReporting';
63
64
  export * from './GetPortalBasicReportingCertificates';
64
65
  export * from './GetPortalBasicReportingPortalInfo';
65
66
  export * from './GetPortalList';
67
+ export * from './GetPortalLogoUpload';
66
68
  export * from './GetPortalStudentReporting';
67
69
  export * from './GetPortalStudentReportingCertificates';
68
70
  export * from './GetPortalStudentReportingPortalInfo';
@@ -124,6 +126,10 @@ export * from './GetScormPackage';
124
126
  export * from './GetScormPackagePackageInfo';
125
127
  export * from './GetScormSessionData';
126
128
  export * from './GetScormSessionDataActivity';
129
+ export * from './GetSupportTicket';
130
+ export * from './GetSupportTicketAttachment';
131
+ export * from './GetSupportTicketComment';
132
+ export * from './GetSupportTicketList';
127
133
  export * from './GetUser';
128
134
  export * from './GetUserQuizAttempts';
129
135
  export * from './GetUserQuizAttemptsAllOfAttempts';
@@ -181,6 +187,8 @@ export * from './PostQuizSettings';
181
187
  export * from './PostResetPassword';
182
188
  export * from './PostRole';
183
189
  export * from './PostSendResetPassword';
190
+ export * from './PostSupportTicket';
191
+ export * from './PostSupportTicketComment';
184
192
  export * from './PostVerifyManifest';
185
193
  export * from './PostVerifyManifestItemsInner';
186
194
  export * from './PostVerifyManifestResourcesInner';
@@ -199,6 +207,7 @@ export * from './PutQuizAnswerGrade';
199
207
  export * from './PutQuizSettings';
200
208
  export * from './PutRole';
201
209
  export * from './PutRolePermissions';
210
+ export * from './PutSupportTicket';
202
211
  export * from './PutUser';
203
212
  export * from './QuizContent';
204
213
  export * from './QuizContentAssignment';
@@ -216,3 +225,4 @@ export * from './ScormSetValueResponse';
216
225
  export * from './ShortAnswer';
217
226
  export * from './ShortAnswer1';
218
227
  export * from './SingleAnswer';
228
+ export * from './SupportTicketUser';