@easyedu/js-lsm-api 1.41.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 (73) hide show
  1. package/.openapi-generator/FILES +20 -0
  2. package/README.md +20 -2
  3. package/dist/apis/SupportTicketApi.d.ts +191 -0
  4. package/dist/apis/SupportTicketApi.js +457 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/esm/apis/SupportTicketApi.d.ts +191 -0
  8. package/dist/esm/apis/SupportTicketApi.js +453 -0
  9. package/dist/esm/apis/index.d.ts +1 -0
  10. package/dist/esm/apis/index.js +1 -0
  11. package/dist/esm/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
  12. package/dist/esm/models/DownloadSupportTicketAttachment200Response.js +43 -0
  13. package/dist/esm/models/GetSupportTicket.d.ts +142 -0
  14. package/dist/esm/models/GetSupportTicket.js +120 -0
  15. package/dist/esm/models/GetSupportTicketAttachment.d.ts +62 -0
  16. package/dist/esm/models/GetSupportTicketAttachment.js +63 -0
  17. package/dist/esm/models/GetSupportTicketComment.d.ts +57 -0
  18. package/dist/esm/models/GetSupportTicketComment.js +60 -0
  19. package/dist/esm/models/GetSupportTicketList.d.ts +57 -0
  20. package/dist/esm/models/GetSupportTicketList.js +60 -0
  21. package/dist/esm/models/PostSupportTicket.d.ts +71 -0
  22. package/dist/esm/models/PostSupportTicket.js +74 -0
  23. package/dist/esm/models/PostSupportTicketComment.d.ts +38 -0
  24. package/dist/esm/models/PostSupportTicketComment.js +45 -0
  25. package/dist/esm/models/PutSupportTicket.d.ts +63 -0
  26. package/dist/esm/models/PutSupportTicket.js +62 -0
  27. package/dist/esm/models/SupportTicketUser.d.ts +50 -0
  28. package/dist/esm/models/SupportTicketUser.js +55 -0
  29. package/dist/esm/models/index.d.ts +9 -0
  30. package/dist/esm/models/index.js +9 -0
  31. package/dist/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
  32. package/dist/models/DownloadSupportTicketAttachment200Response.js +50 -0
  33. package/dist/models/GetSupportTicket.d.ts +142 -0
  34. package/dist/models/GetSupportTicket.js +128 -0
  35. package/dist/models/GetSupportTicketAttachment.d.ts +62 -0
  36. package/dist/models/GetSupportTicketAttachment.js +70 -0
  37. package/dist/models/GetSupportTicketComment.d.ts +57 -0
  38. package/dist/models/GetSupportTicketComment.js +67 -0
  39. package/dist/models/GetSupportTicketList.d.ts +57 -0
  40. package/dist/models/GetSupportTicketList.js +67 -0
  41. package/dist/models/PostSupportTicket.d.ts +71 -0
  42. package/dist/models/PostSupportTicket.js +82 -0
  43. package/dist/models/PostSupportTicketComment.d.ts +38 -0
  44. package/dist/models/PostSupportTicketComment.js +52 -0
  45. package/dist/models/PutSupportTicket.d.ts +63 -0
  46. package/dist/models/PutSupportTicket.js +70 -0
  47. package/dist/models/SupportTicketUser.d.ts +50 -0
  48. package/dist/models/SupportTicketUser.js +62 -0
  49. package/dist/models/index.d.ts +9 -0
  50. package/dist/models/index.js +9 -0
  51. package/docs/DownloadSupportTicketAttachment200Response.md +34 -0
  52. package/docs/GetSupportTicket.md +60 -0
  53. package/docs/GetSupportTicketAttachment.md +44 -0
  54. package/docs/GetSupportTicketComment.md +42 -0
  55. package/docs/GetSupportTicketList.md +42 -0
  56. package/docs/PostSupportTicket.md +40 -0
  57. package/docs/PostSupportTicketComment.md +36 -0
  58. package/docs/PutSupportTicket.md +38 -0
  59. package/docs/SupportTicketApi.md +651 -0
  60. package/docs/SupportTicketUser.md +40 -0
  61. package/package.json +1 -1
  62. package/src/apis/SupportTicketApi.ts +599 -0
  63. package/src/apis/index.ts +1 -0
  64. package/src/models/DownloadSupportTicketAttachment200Response.ts +66 -0
  65. package/src/models/GetSupportTicket.ts +231 -0
  66. package/src/models/GetSupportTicketAttachment.ts +111 -0
  67. package/src/models/GetSupportTicketComment.ts +110 -0
  68. package/src/models/GetSupportTicketList.ts +110 -0
  69. package/src/models/PostSupportTicket.ts +118 -0
  70. package/src/models/PostSupportTicketComment.ts +74 -0
  71. package/src/models/PutSupportTicket.ts +104 -0
  72. package/src/models/SupportTicketUser.ts +93 -0
  73. package/src/models/index.ts +9 -0
@@ -0,0 +1,38 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PostSupportTicketComment
16
+ */
17
+ export interface PostSupportTicketComment {
18
+ /**
19
+ * Comment text
20
+ * @type {string}
21
+ * @memberof PostSupportTicketComment
22
+ */
23
+ content: string;
24
+ /**
25
+ * Whether this comment is internal (not visible to reporter)
26
+ * @type {boolean}
27
+ * @memberof PostSupportTicketComment
28
+ */
29
+ isInternal?: boolean;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PostSupportTicketComment interface.
33
+ */
34
+ export declare function instanceOfPostSupportTicketComment(value: object): value is PostSupportTicketComment;
35
+ export declare function PostSupportTicketCommentFromJSON(json: any): PostSupportTicketComment;
36
+ export declare function PostSupportTicketCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostSupportTicketComment;
37
+ export declare function PostSupportTicketCommentToJSON(json: any): PostSupportTicketComment;
38
+ export declare function PostSupportTicketCommentToJSONTyped(value?: PostSupportTicketComment | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPostSupportTicketComment = instanceOfPostSupportTicketComment;
17
+ exports.PostSupportTicketCommentFromJSON = PostSupportTicketCommentFromJSON;
18
+ exports.PostSupportTicketCommentFromJSONTyped = PostSupportTicketCommentFromJSONTyped;
19
+ exports.PostSupportTicketCommentToJSON = PostSupportTicketCommentToJSON;
20
+ exports.PostSupportTicketCommentToJSONTyped = PostSupportTicketCommentToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PostSupportTicketComment interface.
23
+ */
24
+ function instanceOfPostSupportTicketComment(value) {
25
+ if (!('content' in value) || value['content'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function PostSupportTicketCommentFromJSON(json) {
30
+ return PostSupportTicketCommentFromJSONTyped(json, false);
31
+ }
32
+ function PostSupportTicketCommentFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'content': json['content'],
38
+ 'isInternal': json['is_internal'] == null ? undefined : json['is_internal'],
39
+ };
40
+ }
41
+ function PostSupportTicketCommentToJSON(json) {
42
+ return PostSupportTicketCommentToJSONTyped(json, false);
43
+ }
44
+ function PostSupportTicketCommentToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'content': value['content'],
50
+ 'is_internal': value['isInternal'],
51
+ };
52
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface PutSupportTicket
16
+ */
17
+ export interface PutSupportTicket {
18
+ /**
19
+ *
20
+ * @type {PutSupportTicketStatusEnum}
21
+ * @memberof PutSupportTicket
22
+ */
23
+ status?: PutSupportTicketStatusEnum;
24
+ /**
25
+ *
26
+ * @type {PutSupportTicketPriorityEnum}
27
+ * @memberof PutSupportTicket
28
+ */
29
+ priority?: PutSupportTicketPriorityEnum;
30
+ /**
31
+ * External user ID of the assignee, or null to unassign
32
+ * @type {string}
33
+ * @memberof PutSupportTicket
34
+ */
35
+ assignedTo?: string | null;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const PutSupportTicketStatusEnum: {
41
+ readonly Open: "Open";
42
+ readonly InProgress: "InProgress";
43
+ readonly Closed: "Closed";
44
+ };
45
+ export type PutSupportTicketStatusEnum = typeof PutSupportTicketStatusEnum[keyof typeof PutSupportTicketStatusEnum];
46
+ /**
47
+ * @export
48
+ */
49
+ export declare const PutSupportTicketPriorityEnum: {
50
+ readonly Low: "Low";
51
+ readonly Medium: "Medium";
52
+ readonly High: "High";
53
+ readonly Critical: "Critical";
54
+ };
55
+ export type PutSupportTicketPriorityEnum = typeof PutSupportTicketPriorityEnum[keyof typeof PutSupportTicketPriorityEnum];
56
+ /**
57
+ * Check if a given object implements the PutSupportTicket interface.
58
+ */
59
+ export declare function instanceOfPutSupportTicket(value: object): value is PutSupportTicket;
60
+ export declare function PutSupportTicketFromJSON(json: any): PutSupportTicket;
61
+ export declare function PutSupportTicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): PutSupportTicket;
62
+ export declare function PutSupportTicketToJSON(json: any): PutSupportTicket;
63
+ export declare function PutSupportTicketToJSONTyped(value?: PutSupportTicket | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PutSupportTicketPriorityEnum = exports.PutSupportTicketStatusEnum = void 0;
17
+ exports.instanceOfPutSupportTicket = instanceOfPutSupportTicket;
18
+ exports.PutSupportTicketFromJSON = PutSupportTicketFromJSON;
19
+ exports.PutSupportTicketFromJSONTyped = PutSupportTicketFromJSONTyped;
20
+ exports.PutSupportTicketToJSON = PutSupportTicketToJSON;
21
+ exports.PutSupportTicketToJSONTyped = PutSupportTicketToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PutSupportTicketStatusEnum = {
26
+ Open: 'Open',
27
+ InProgress: 'InProgress',
28
+ Closed: 'Closed'
29
+ };
30
+ /**
31
+ * @export
32
+ */
33
+ exports.PutSupportTicketPriorityEnum = {
34
+ Low: 'Low',
35
+ Medium: 'Medium',
36
+ High: 'High',
37
+ Critical: 'Critical'
38
+ };
39
+ /**
40
+ * Check if a given object implements the PutSupportTicket interface.
41
+ */
42
+ function instanceOfPutSupportTicket(value) {
43
+ return true;
44
+ }
45
+ function PutSupportTicketFromJSON(json) {
46
+ return PutSupportTicketFromJSONTyped(json, false);
47
+ }
48
+ function PutSupportTicketFromJSONTyped(json, ignoreDiscriminator) {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+ 'status': json['status'] == null ? undefined : json['status'],
54
+ 'priority': json['priority'] == null ? undefined : json['priority'],
55
+ 'assignedTo': json['assigned_to'] == null ? undefined : json['assigned_to'],
56
+ };
57
+ }
58
+ function PutSupportTicketToJSON(json) {
59
+ return PutSupportTicketToJSONTyped(json, false);
60
+ }
61
+ function PutSupportTicketToJSONTyped(value, ignoreDiscriminator = false) {
62
+ if (value == null) {
63
+ return value;
64
+ }
65
+ return {
66
+ 'status': value['status'],
67
+ 'priority': value['priority'],
68
+ 'assigned_to': value['assignedTo'],
69
+ };
70
+ }
@@ -0,0 +1,50 @@
1
+ /**
2
+ * LMS API
3
+ * LMS API
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SupportTicketUser
16
+ */
17
+ export interface SupportTicketUser {
18
+ /**
19
+ * External user ID
20
+ * @type {string}
21
+ * @memberof SupportTicketUser
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SupportTicketUser
28
+ */
29
+ email: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SupportTicketUser
34
+ */
35
+ firstName: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SupportTicketUser
40
+ */
41
+ lastName: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the SupportTicketUser interface.
45
+ */
46
+ export declare function instanceOfSupportTicketUser(value: object): value is SupportTicketUser;
47
+ export declare function SupportTicketUserFromJSON(json: any): SupportTicketUser;
48
+ export declare function SupportTicketUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupportTicketUser;
49
+ export declare function SupportTicketUserToJSON(json: any): SupportTicketUser;
50
+ export declare function SupportTicketUserToJSONTyped(value?: SupportTicketUser | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * LMS API
6
+ * LMS API
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfSupportTicketUser = instanceOfSupportTicketUser;
17
+ exports.SupportTicketUserFromJSON = SupportTicketUserFromJSON;
18
+ exports.SupportTicketUserFromJSONTyped = SupportTicketUserFromJSONTyped;
19
+ exports.SupportTicketUserToJSON = SupportTicketUserToJSON;
20
+ exports.SupportTicketUserToJSONTyped = SupportTicketUserToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the SupportTicketUser interface.
23
+ */
24
+ function instanceOfSupportTicketUser(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('email' in value) || value['email'] === undefined)
28
+ return false;
29
+ if (!('firstName' in value) || value['firstName'] === undefined)
30
+ return false;
31
+ if (!('lastName' in value) || value['lastName'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function SupportTicketUserFromJSON(json) {
36
+ return SupportTicketUserFromJSONTyped(json, false);
37
+ }
38
+ function SupportTicketUserFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'email': json['email'],
45
+ 'firstName': json['first_name'],
46
+ 'lastName': json['last_name'],
47
+ };
48
+ }
49
+ function SupportTicketUserToJSON(json) {
50
+ return SupportTicketUserToJSONTyped(json, false);
51
+ }
52
+ function SupportTicketUserToJSONTyped(value, ignoreDiscriminator = false) {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+ 'id': value['id'],
58
+ 'email': value['email'],
59
+ 'first_name': value['firstName'],
60
+ 'last_name': value['lastName'],
61
+ };
62
+ }
@@ -1,6 +1,7 @@
1
1
  export * from './CriteriaBasedSelection';
2
2
  export * from './CriteriaBasedSelectionCriteria';
3
3
  export * from './CriteriaBasedSelectionDistribution';
4
+ export * from './DownloadSupportTicketAttachment200Response';
4
5
  export * from './Essay';
5
6
  export * from './Essay1';
6
7
  export * from './FillInBlank';
@@ -123,6 +124,10 @@ export * from './GetScormPackage';
123
124
  export * from './GetScormPackagePackageInfo';
124
125
  export * from './GetScormSessionData';
125
126
  export * from './GetScormSessionDataActivity';
127
+ export * from './GetSupportTicket';
128
+ export * from './GetSupportTicketAttachment';
129
+ export * from './GetSupportTicketComment';
130
+ export * from './GetSupportTicketList';
126
131
  export * from './GetUser';
127
132
  export * from './GetUserQuizAttempts';
128
133
  export * from './GetUserQuizAttemptsAllOfAttempts';
@@ -180,6 +185,8 @@ export * from './PostQuizSettings';
180
185
  export * from './PostResetPassword';
181
186
  export * from './PostRole';
182
187
  export * from './PostSendResetPassword';
188
+ export * from './PostSupportTicket';
189
+ export * from './PostSupportTicketComment';
183
190
  export * from './PostVerifyManifest';
184
191
  export * from './PostVerifyManifestItemsInner';
185
192
  export * from './PostVerifyManifestResourcesInner';
@@ -198,6 +205,7 @@ export * from './PutQuizAnswerGrade';
198
205
  export * from './PutQuizSettings';
199
206
  export * from './PutRole';
200
207
  export * from './PutRolePermissions';
208
+ export * from './PutSupportTicket';
201
209
  export * from './PutUser';
202
210
  export * from './QuizContent';
203
211
  export * from './QuizContentAssignment';
@@ -215,3 +223,4 @@ export * from './ScormSetValueResponse';
215
223
  export * from './ShortAnswer';
216
224
  export * from './ShortAnswer1';
217
225
  export * from './SingleAnswer';
226
+ export * from './SupportTicketUser';
@@ -19,6 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
19
19
  __exportStar(require("./CriteriaBasedSelection"), exports);
20
20
  __exportStar(require("./CriteriaBasedSelectionCriteria"), exports);
21
21
  __exportStar(require("./CriteriaBasedSelectionDistribution"), exports);
22
+ __exportStar(require("./DownloadSupportTicketAttachment200Response"), exports);
22
23
  __exportStar(require("./Essay"), exports);
23
24
  __exportStar(require("./Essay1"), exports);
24
25
  __exportStar(require("./FillInBlank"), exports);
@@ -141,6 +142,10 @@ __exportStar(require("./GetScormPackage"), exports);
141
142
  __exportStar(require("./GetScormPackagePackageInfo"), exports);
142
143
  __exportStar(require("./GetScormSessionData"), exports);
143
144
  __exportStar(require("./GetScormSessionDataActivity"), exports);
145
+ __exportStar(require("./GetSupportTicket"), exports);
146
+ __exportStar(require("./GetSupportTicketAttachment"), exports);
147
+ __exportStar(require("./GetSupportTicketComment"), exports);
148
+ __exportStar(require("./GetSupportTicketList"), exports);
144
149
  __exportStar(require("./GetUser"), exports);
145
150
  __exportStar(require("./GetUserQuizAttempts"), exports);
146
151
  __exportStar(require("./GetUserQuizAttemptsAllOfAttempts"), exports);
@@ -198,6 +203,8 @@ __exportStar(require("./PostQuizSettings"), exports);
198
203
  __exportStar(require("./PostResetPassword"), exports);
199
204
  __exportStar(require("./PostRole"), exports);
200
205
  __exportStar(require("./PostSendResetPassword"), exports);
206
+ __exportStar(require("./PostSupportTicket"), exports);
207
+ __exportStar(require("./PostSupportTicketComment"), exports);
201
208
  __exportStar(require("./PostVerifyManifest"), exports);
202
209
  __exportStar(require("./PostVerifyManifestItemsInner"), exports);
203
210
  __exportStar(require("./PostVerifyManifestResourcesInner"), exports);
@@ -216,6 +223,7 @@ __exportStar(require("./PutQuizAnswerGrade"), exports);
216
223
  __exportStar(require("./PutQuizSettings"), exports);
217
224
  __exportStar(require("./PutRole"), exports);
218
225
  __exportStar(require("./PutRolePermissions"), exports);
226
+ __exportStar(require("./PutSupportTicket"), exports);
219
227
  __exportStar(require("./PutUser"), exports);
220
228
  __exportStar(require("./QuizContent"), exports);
221
229
  __exportStar(require("./QuizContentAssignment"), exports);
@@ -233,3 +241,4 @@ __exportStar(require("./ScormSetValueResponse"), exports);
233
241
  __exportStar(require("./ShortAnswer"), exports);
234
242
  __exportStar(require("./ShortAnswer1"), exports);
235
243
  __exportStar(require("./SingleAnswer"), exports);
244
+ __exportStar(require("./SupportTicketUser"), exports);
@@ -0,0 +1,34 @@
1
+
2
+ # DownloadSupportTicketAttachment200Response
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `downloadUrl` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DownloadSupportTicketAttachment200Response } from '@easyedu/js-lsm-api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "downloadUrl": null,
19
+ } satisfies DownloadSupportTicketAttachment200Response
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as DownloadSupportTicketAttachment200Response
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,60 @@
1
+
2
+ # GetSupportTicket
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `portalId` | string
11
+ `subject` | string
12
+ `description` | string
13
+ `status` | string
14
+ `priority` | string
15
+ `category` | string
16
+ `reporter` | [SupportTicketUser](SupportTicketUser.md)
17
+ `assignedTo` | [SupportTicketUser](SupportTicketUser.md)
18
+ `commentCount` | number
19
+ `attachments` | [Array<GetSupportTicketAttachment>](GetSupportTicketAttachment.md)
20
+ `createdAt` | number
21
+ `updatedAt` | number
22
+ `closedAt` | number
23
+
24
+ ## Example
25
+
26
+ ```typescript
27
+ import type { GetSupportTicket } from '@easyedu/js-lsm-api'
28
+
29
+ // TODO: Update the object below with actual values
30
+ const example = {
31
+ "id": null,
32
+ "portalId": null,
33
+ "subject": null,
34
+ "description": null,
35
+ "status": null,
36
+ "priority": null,
37
+ "category": null,
38
+ "reporter": null,
39
+ "assignedTo": null,
40
+ "commentCount": null,
41
+ "attachments": null,
42
+ "createdAt": null,
43
+ "updatedAt": null,
44
+ "closedAt": null,
45
+ } satisfies GetSupportTicket
46
+
47
+ console.log(example)
48
+
49
+ // Convert the instance to a JSON string
50
+ const exampleJSON: string = JSON.stringify(example)
51
+ console.log(exampleJSON)
52
+
53
+ // Parse the JSON string back to an object
54
+ const exampleParsed = JSON.parse(exampleJSON) as GetSupportTicket
55
+ console.log(exampleParsed)
56
+ ```
57
+
58
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
59
+
60
+
@@ -0,0 +1,44 @@
1
+
2
+ # GetSupportTicketAttachment
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `fileName` | string
11
+ `fileSize` | number
12
+ `mimeType` | string
13
+ `downloadUrl` | string
14
+ `createdAt` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { GetSupportTicketAttachment } from '@easyedu/js-lsm-api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "id": null,
24
+ "fileName": null,
25
+ "fileSize": null,
26
+ "mimeType": null,
27
+ "downloadUrl": null,
28
+ "createdAt": null,
29
+ } satisfies GetSupportTicketAttachment
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as GetSupportTicketAttachment
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetSupportTicketComment
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `user` | [SupportTicketUser](SupportTicketUser.md)
11
+ `content` | string
12
+ `isInternal` | boolean
13
+ `createdAt` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetSupportTicketComment } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "id": null,
23
+ "user": null,
24
+ "content": null,
25
+ "isInternal": null,
26
+ "createdAt": null,
27
+ } satisfies GetSupportTicketComment
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetSupportTicketComment
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,42 @@
1
+
2
+ # GetSupportTicketList
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `page` | number
10
+ `pageSize` | number
11
+ `totalPages` | number
12
+ `totalItems` | number
13
+ `items` | [Array<GetSupportTicket>](GetSupportTicket.md)
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { GetSupportTicketList } from '@easyedu/js-lsm-api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "page": null,
23
+ "pageSize": null,
24
+ "totalPages": null,
25
+ "totalItems": null,
26
+ "items": null,
27
+ } satisfies GetSupportTicketList
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as GetSupportTicketList
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,40 @@
1
+
2
+ # PostSupportTicket
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `subject` | string
10
+ `description` | string
11
+ `priority` | string
12
+ `category` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { PostSupportTicket } from '@easyedu/js-lsm-api'
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "subject": null,
22
+ "description": null,
23
+ "priority": null,
24
+ "category": null,
25
+ } satisfies PostSupportTicket
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as PostSupportTicket
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+