@easyedu/js-lsm-api 1.41.0 → 1.43.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 +22 -0
- package/README.md +23 -2
- package/dist/apis/CourseApi.d.ts +32 -1
- package/dist/apis/CourseApi.js +99 -0
- package/dist/apis/SupportTicketApi.d.ts +191 -0
- package/dist/apis/SupportTicketApi.js +457 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/CourseApi.d.ts +32 -1
- package/dist/esm/apis/CourseApi.js +100 -1
- package/dist/esm/apis/SupportTicketApi.d.ts +191 -0
- package/dist/esm/apis/SupportTicketApi.js +453 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
- package/dist/esm/models/DownloadSupportTicketAttachment200Response.js +43 -0
- package/dist/esm/models/GetCourseImageUpload.d.ts +32 -0
- package/dist/esm/models/GetCourseImageUpload.js +43 -0
- package/dist/esm/models/GetSupportTicket.d.ts +142 -0
- package/dist/esm/models/GetSupportTicket.js +120 -0
- package/dist/esm/models/GetSupportTicketAttachment.d.ts +62 -0
- package/dist/esm/models/GetSupportTicketAttachment.js +63 -0
- package/dist/esm/models/GetSupportTicketComment.d.ts +57 -0
- package/dist/esm/models/GetSupportTicketComment.js +60 -0
- package/dist/esm/models/GetSupportTicketList.d.ts +57 -0
- package/dist/esm/models/GetSupportTicketList.js +60 -0
- package/dist/esm/models/PostSupportTicket.d.ts +71 -0
- package/dist/esm/models/PostSupportTicket.js +74 -0
- package/dist/esm/models/PostSupportTicketComment.d.ts +38 -0
- package/dist/esm/models/PostSupportTicketComment.js +45 -0
- package/dist/esm/models/PutCourse.d.ts +0 -6
- package/dist/esm/models/PutCourse.js +0 -2
- package/dist/esm/models/PutSupportTicket.d.ts +63 -0
- package/dist/esm/models/PutSupportTicket.js +62 -0
- package/dist/esm/models/SupportTicketUser.d.ts +50 -0
- package/dist/esm/models/SupportTicketUser.js +55 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
- package/dist/models/DownloadSupportTicketAttachment200Response.js +50 -0
- package/dist/models/GetCourseImageUpload.d.ts +32 -0
- package/dist/models/GetCourseImageUpload.js +50 -0
- package/dist/models/GetSupportTicket.d.ts +142 -0
- package/dist/models/GetSupportTicket.js +128 -0
- package/dist/models/GetSupportTicketAttachment.d.ts +62 -0
- package/dist/models/GetSupportTicketAttachment.js +70 -0
- package/dist/models/GetSupportTicketComment.d.ts +57 -0
- package/dist/models/GetSupportTicketComment.js +67 -0
- package/dist/models/GetSupportTicketList.d.ts +57 -0
- package/dist/models/GetSupportTicketList.js +67 -0
- package/dist/models/PostSupportTicket.d.ts +71 -0
- package/dist/models/PostSupportTicket.js +82 -0
- package/dist/models/PostSupportTicketComment.d.ts +38 -0
- package/dist/models/PostSupportTicketComment.js +52 -0
- package/dist/models/PutCourse.d.ts +0 -6
- package/dist/models/PutCourse.js +0 -2
- package/dist/models/PutSupportTicket.d.ts +63 -0
- package/dist/models/PutSupportTicket.js +70 -0
- package/dist/models/SupportTicketUser.d.ts +50 -0
- package/dist/models/SupportTicketUser.js +62 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/CourseApi.md +138 -0
- package/docs/DownloadSupportTicketAttachment200Response.md +34 -0
- package/docs/GetCourseImageUpload.md +34 -0
- package/docs/GetSupportTicket.md +60 -0
- package/docs/GetSupportTicketAttachment.md +44 -0
- package/docs/GetSupportTicketComment.md +42 -0
- package/docs/GetSupportTicketList.md +42 -0
- package/docs/PostSupportTicket.md +40 -0
- package/docs/PostSupportTicketComment.md +36 -0
- package/docs/PutCourse.md +0 -2
- package/docs/PutSupportTicket.md +38 -0
- package/docs/SupportTicketApi.md +651 -0
- package/docs/SupportTicketUser.md +40 -0
- package/package.json +1 -1
- package/src/apis/CourseApi.ts +129 -0
- package/src/apis/SupportTicketApi.ts +599 -0
- package/src/apis/index.ts +1 -0
- package/src/models/DownloadSupportTicketAttachment200Response.ts +66 -0
- package/src/models/GetCourseImageUpload.ts +66 -0
- package/src/models/GetSupportTicket.ts +231 -0
- package/src/models/GetSupportTicketAttachment.ts +111 -0
- package/src/models/GetSupportTicketComment.ts +110 -0
- package/src/models/GetSupportTicketList.ts +110 -0
- package/src/models/PostSupportTicket.ts +118 -0
- package/src/models/PostSupportTicketComment.ts +74 -0
- package/src/models/PutCourse.ts +0 -8
- package/src/models/PutSupportTicket.ts +104 -0
- package/src/models/SupportTicketUser.ts +93 -0
- package/src/models/index.ts +10 -0
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
import type { GetSupportTicket } from './GetSupportTicket';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSupportTicketList
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSupportTicketList {
|
|
19
|
+
/**
|
|
20
|
+
* The current page number
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof GetSupportTicketList
|
|
23
|
+
*/
|
|
24
|
+
page: number;
|
|
25
|
+
/**
|
|
26
|
+
* The number of items per page
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof GetSupportTicketList
|
|
29
|
+
*/
|
|
30
|
+
pageSize: number;
|
|
31
|
+
/**
|
|
32
|
+
* The total number of pages
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof GetSupportTicketList
|
|
35
|
+
*/
|
|
36
|
+
totalPages: number;
|
|
37
|
+
/**
|
|
38
|
+
* The total number of items
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof GetSupportTicketList
|
|
41
|
+
*/
|
|
42
|
+
totalItems: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<GetSupportTicket>}
|
|
46
|
+
* @memberof GetSupportTicketList
|
|
47
|
+
*/
|
|
48
|
+
items: Array<GetSupportTicket>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the GetSupportTicketList interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfGetSupportTicketList(value: object): value is GetSupportTicketList;
|
|
54
|
+
export declare function GetSupportTicketListFromJSON(json: any): GetSupportTicketList;
|
|
55
|
+
export declare function GetSupportTicketListFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSupportTicketList;
|
|
56
|
+
export declare function GetSupportTicketListToJSON(json: any): GetSupportTicketList;
|
|
57
|
+
export declare function GetSupportTicketListToJSONTyped(value?: GetSupportTicketList | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import { GetSupportTicketFromJSON, GetSupportTicketToJSON, } from './GetSupportTicket';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetSupportTicketList interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetSupportTicketList(value) {
|
|
19
|
+
if (!('page' in value) || value['page'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('pageSize' in value) || value['pageSize'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalPages' in value) || value['totalPages'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalItems' in value) || value['totalItems'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('items' in value) || value['items'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function GetSupportTicketListFromJSON(json) {
|
|
32
|
+
return GetSupportTicketListFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function GetSupportTicketListFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'page': json['page'],
|
|
40
|
+
'pageSize': json['pageSize'],
|
|
41
|
+
'totalPages': json['totalPages'],
|
|
42
|
+
'totalItems': json['totalItems'],
|
|
43
|
+
'items': (json['items'].map(GetSupportTicketFromJSON)),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export function GetSupportTicketListToJSON(json) {
|
|
47
|
+
return GetSupportTicketListToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function GetSupportTicketListToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'page': value['page'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalPages': value['totalPages'],
|
|
57
|
+
'totalItems': value['totalItems'],
|
|
58
|
+
'items': (value['items'].map(GetSupportTicketToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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 PostSupportTicket
|
|
16
|
+
*/
|
|
17
|
+
export interface PostSupportTicket {
|
|
18
|
+
/**
|
|
19
|
+
* Brief summary of the issue
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostSupportTicket
|
|
22
|
+
*/
|
|
23
|
+
subject: string;
|
|
24
|
+
/**
|
|
25
|
+
* Detailed description of the issue
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PostSupportTicket
|
|
28
|
+
*/
|
|
29
|
+
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* Ticket priority level
|
|
32
|
+
* @type {PostSupportTicketPriorityEnum}
|
|
33
|
+
* @memberof PostSupportTicket
|
|
34
|
+
*/
|
|
35
|
+
priority: PostSupportTicketPriorityEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Ticket category
|
|
38
|
+
* @type {PostSupportTicketCategoryEnum}
|
|
39
|
+
* @memberof PostSupportTicket
|
|
40
|
+
*/
|
|
41
|
+
category: PostSupportTicketCategoryEnum;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export declare const PostSupportTicketPriorityEnum: {
|
|
47
|
+
readonly Low: "Low";
|
|
48
|
+
readonly Medium: "Medium";
|
|
49
|
+
readonly High: "High";
|
|
50
|
+
readonly Critical: "Critical";
|
|
51
|
+
};
|
|
52
|
+
export type PostSupportTicketPriorityEnum = typeof PostSupportTicketPriorityEnum[keyof typeof PostSupportTicketPriorityEnum];
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export declare const PostSupportTicketCategoryEnum: {
|
|
57
|
+
readonly Bug: "Bug";
|
|
58
|
+
readonly FeatureRequest: "FeatureRequest";
|
|
59
|
+
readonly AccountIssue: "AccountIssue";
|
|
60
|
+
readonly ContentIssue: "ContentIssue";
|
|
61
|
+
readonly Other: "Other";
|
|
62
|
+
};
|
|
63
|
+
export type PostSupportTicketCategoryEnum = typeof PostSupportTicketCategoryEnum[keyof typeof PostSupportTicketCategoryEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the PostSupportTicket interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfPostSupportTicket(value: object): value is PostSupportTicket;
|
|
68
|
+
export declare function PostSupportTicketFromJSON(json: any): PostSupportTicket;
|
|
69
|
+
export declare function PostSupportTicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostSupportTicket;
|
|
70
|
+
export declare function PostSupportTicketToJSON(json: any): PostSupportTicket;
|
|
71
|
+
export declare function PostSupportTicketToJSONTyped(value?: PostSupportTicket | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PostSupportTicketPriorityEnum = {
|
|
18
|
+
Low: 'Low',
|
|
19
|
+
Medium: 'Medium',
|
|
20
|
+
High: 'High',
|
|
21
|
+
Critical: 'Critical'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
export const PostSupportTicketCategoryEnum = {
|
|
27
|
+
Bug: 'Bug',
|
|
28
|
+
FeatureRequest: 'FeatureRequest',
|
|
29
|
+
AccountIssue: 'AccountIssue',
|
|
30
|
+
ContentIssue: 'ContentIssue',
|
|
31
|
+
Other: 'Other'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the PostSupportTicket interface.
|
|
35
|
+
*/
|
|
36
|
+
export function instanceOfPostSupportTicket(value) {
|
|
37
|
+
if (!('subject' in value) || value['subject'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('priority' in value) || value['priority'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('category' in value) || value['category'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
export function PostSupportTicketFromJSON(json) {
|
|
48
|
+
return PostSupportTicketFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function PostSupportTicketFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'subject': json['subject'],
|
|
56
|
+
'description': json['description'],
|
|
57
|
+
'priority': json['priority'],
|
|
58
|
+
'category': json['category'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function PostSupportTicketToJSON(json) {
|
|
62
|
+
return PostSupportTicketToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
export function PostSupportTicketToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'subject': value['subject'],
|
|
70
|
+
'description': value['description'],
|
|
71
|
+
'priority': value['priority'],
|
|
72
|
+
'category': value['category'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -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,45 @@
|
|
|
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
|
+
* Check if a given object implements the PostSupportTicketComment interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostSupportTicketComment(value) {
|
|
18
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PostSupportTicketCommentFromJSON(json) {
|
|
23
|
+
return PostSupportTicketCommentFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PostSupportTicketCommentFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'content': json['content'],
|
|
31
|
+
'isInternal': json['is_internal'] == null ? undefined : json['is_internal'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function PostSupportTicketCommentToJSON(json) {
|
|
35
|
+
return PostSupportTicketCommentToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function PostSupportTicketCommentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'content': value['content'],
|
|
43
|
+
'is_internal': value['isInternal'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -39,12 +39,6 @@ export interface PutCourse {
|
|
|
39
39
|
* @memberof PutCourse
|
|
40
40
|
*/
|
|
41
41
|
instructor?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof PutCourse
|
|
46
|
-
*/
|
|
47
|
-
imageUrl?: string;
|
|
48
42
|
/**
|
|
49
43
|
* Whether the course is published and visible to students
|
|
50
44
|
* @type {boolean}
|
|
@@ -29,7 +29,6 @@ export function PutCourseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'name': json['name'] == null ? undefined : json['name'],
|
|
30
30
|
'description': json['description'] == null ? undefined : json['description'],
|
|
31
31
|
'instructor': json['instructor'] == null ? undefined : json['instructor'],
|
|
32
|
-
'imageUrl': json['image_url'] == null ? undefined : json['image_url'],
|
|
33
32
|
'published': json['published'] == null ? undefined : json['published'],
|
|
34
33
|
};
|
|
35
34
|
}
|
|
@@ -44,7 +43,6 @@ export function PutCourseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
43
|
'name': value['name'],
|
|
45
44
|
'description': value['description'],
|
|
46
45
|
'instructor': value['instructor'],
|
|
47
|
-
'image_url': value['imageUrl'],
|
|
48
46
|
'published': value['published'],
|
|
49
47
|
};
|
|
50
48
|
}
|
|
@@ -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,62 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PutSupportTicketStatusEnum = {
|
|
18
|
+
Open: 'Open',
|
|
19
|
+
InProgress: 'InProgress',
|
|
20
|
+
Closed: 'Closed'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const PutSupportTicketPriorityEnum = {
|
|
26
|
+
Low: 'Low',
|
|
27
|
+
Medium: 'Medium',
|
|
28
|
+
High: 'High',
|
|
29
|
+
Critical: 'Critical'
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PutSupportTicket interface.
|
|
33
|
+
*/
|
|
34
|
+
export function instanceOfPutSupportTicket(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
export function PutSupportTicketFromJSON(json) {
|
|
38
|
+
return PutSupportTicketFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function PutSupportTicketFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
46
|
+
'priority': json['priority'] == null ? undefined : json['priority'],
|
|
47
|
+
'assignedTo': json['assigned_to'] == null ? undefined : json['assigned_to'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function PutSupportTicketToJSON(json) {
|
|
51
|
+
return PutSupportTicketToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function PutSupportTicketToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'status': value['status'],
|
|
59
|
+
'priority': value['priority'],
|
|
60
|
+
'assigned_to': value['assignedTo'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -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,55 @@
|
|
|
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
|
+
* Check if a given object implements the SupportTicketUser interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSupportTicketUser(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function SupportTicketUserFromJSON(json) {
|
|
29
|
+
return SupportTicketUserFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SupportTicketUserFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'email': json['email'],
|
|
38
|
+
'firstName': json['first_name'],
|
|
39
|
+
'lastName': json['last_name'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function SupportTicketUserToJSON(json) {
|
|
43
|
+
return SupportTicketUserToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SupportTicketUserToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'first_name': value['firstName'],
|
|
53
|
+
'last_name': value['lastName'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -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';
|
|
@@ -38,6 +39,7 @@ export * from './GetCourseEnrollmentList';
|
|
|
38
39
|
export * from './GetCourseEnrollmentListItem';
|
|
39
40
|
export * from './GetCourseExport';
|
|
40
41
|
export * from './GetCourseExportList';
|
|
42
|
+
export * from './GetCourseImageUpload';
|
|
41
43
|
export * from './GetCourseList';
|
|
42
44
|
export * from './GetCourseReportingBasic';
|
|
43
45
|
export * from './GetCourseStudentReporting';
|
|
@@ -123,6 +125,10 @@ export * from './GetScormPackage';
|
|
|
123
125
|
export * from './GetScormPackagePackageInfo';
|
|
124
126
|
export * from './GetScormSessionData';
|
|
125
127
|
export * from './GetScormSessionDataActivity';
|
|
128
|
+
export * from './GetSupportTicket';
|
|
129
|
+
export * from './GetSupportTicketAttachment';
|
|
130
|
+
export * from './GetSupportTicketComment';
|
|
131
|
+
export * from './GetSupportTicketList';
|
|
126
132
|
export * from './GetUser';
|
|
127
133
|
export * from './GetUserQuizAttempts';
|
|
128
134
|
export * from './GetUserQuizAttemptsAllOfAttempts';
|
|
@@ -180,6 +186,8 @@ export * from './PostQuizSettings';
|
|
|
180
186
|
export * from './PostResetPassword';
|
|
181
187
|
export * from './PostRole';
|
|
182
188
|
export * from './PostSendResetPassword';
|
|
189
|
+
export * from './PostSupportTicket';
|
|
190
|
+
export * from './PostSupportTicketComment';
|
|
183
191
|
export * from './PostVerifyManifest';
|
|
184
192
|
export * from './PostVerifyManifestItemsInner';
|
|
185
193
|
export * from './PostVerifyManifestResourcesInner';
|
|
@@ -198,6 +206,7 @@ export * from './PutQuizAnswerGrade';
|
|
|
198
206
|
export * from './PutQuizSettings';
|
|
199
207
|
export * from './PutRole';
|
|
200
208
|
export * from './PutRolePermissions';
|
|
209
|
+
export * from './PutSupportTicket';
|
|
201
210
|
export * from './PutUser';
|
|
202
211
|
export * from './QuizContent';
|
|
203
212
|
export * from './QuizContentAssignment';
|
|
@@ -215,3 +224,4 @@ export * from './ScormSetValueResponse';
|
|
|
215
224
|
export * from './ShortAnswer';
|
|
216
225
|
export * from './ShortAnswer1';
|
|
217
226
|
export * from './SingleAnswer';
|
|
227
|
+
export * from './SupportTicketUser';
|