@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.
- package/.openapi-generator/FILES +20 -0
- package/README.md +20 -2
- 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/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/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/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 +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/DownloadSupportTicketAttachment200Response.d.ts +32 -0
- package/dist/models/DownloadSupportTicketAttachment200Response.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/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 +9 -0
- package/dist/models/index.js +9 -0
- package/docs/DownloadSupportTicketAttachment200Response.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/PutSupportTicket.md +38 -0
- package/docs/SupportTicketApi.md +651 -0
- package/docs/SupportTicketUser.md +40 -0
- package/package.json +1 -1
- package/src/apis/SupportTicketApi.ts +599 -0
- package/src/apis/index.ts +1 -0
- package/src/models/DownloadSupportTicketAttachment200Response.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/PutSupportTicket.ts +104 -0
- package/src/models/SupportTicketUser.ts +93 -0
- package/src/models/index.ts +9 -0
|
@@ -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
|
+
}
|
|
@@ -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';
|
|
@@ -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';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -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';
|
|
@@ -125,6 +126,10 @@ export * from './GetScormPackage';
|
|
|
125
126
|
export * from './GetScormPackagePackageInfo';
|
|
126
127
|
export * from './GetScormSessionData';
|
|
127
128
|
export * from './GetScormSessionDataActivity';
|
|
129
|
+
export * from './GetSupportTicket';
|
|
130
|
+
export * from './GetSupportTicketAttachment';
|
|
131
|
+
export * from './GetSupportTicketComment';
|
|
132
|
+
export * from './GetSupportTicketList';
|
|
128
133
|
export * from './GetUser';
|
|
129
134
|
export * from './GetUserQuizAttempts';
|
|
130
135
|
export * from './GetUserQuizAttemptsAllOfAttempts';
|
|
@@ -182,6 +187,8 @@ export * from './PostQuizSettings';
|
|
|
182
187
|
export * from './PostResetPassword';
|
|
183
188
|
export * from './PostRole';
|
|
184
189
|
export * from './PostSendResetPassword';
|
|
190
|
+
export * from './PostSupportTicket';
|
|
191
|
+
export * from './PostSupportTicketComment';
|
|
185
192
|
export * from './PostVerifyManifest';
|
|
186
193
|
export * from './PostVerifyManifestItemsInner';
|
|
187
194
|
export * from './PostVerifyManifestResourcesInner';
|
|
@@ -200,6 +207,7 @@ export * from './PutQuizAnswerGrade';
|
|
|
200
207
|
export * from './PutQuizSettings';
|
|
201
208
|
export * from './PutRole';
|
|
202
209
|
export * from './PutRolePermissions';
|
|
210
|
+
export * from './PutSupportTicket';
|
|
203
211
|
export * from './PutUser';
|
|
204
212
|
export * from './QuizContent';
|
|
205
213
|
export * from './QuizContentAssignment';
|
|
@@ -217,3 +225,4 @@ export * from './ScormSetValueResponse';
|
|
|
217
225
|
export * from './ShortAnswer';
|
|
218
226
|
export * from './ShortAnswer1';
|
|
219
227
|
export * from './SingleAnswer';
|
|
228
|
+
export * from './SupportTicketUser';
|
|
@@ -0,0 +1,32 @@
|
|
|
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 DownloadSupportTicketAttachment200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface DownloadSupportTicketAttachment200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DownloadSupportTicketAttachment200Response
|
|
22
|
+
*/
|
|
23
|
+
downloadUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DownloadSupportTicketAttachment200Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDownloadSupportTicketAttachment200Response(value: object): value is DownloadSupportTicketAttachment200Response;
|
|
29
|
+
export declare function DownloadSupportTicketAttachment200ResponseFromJSON(json: any): DownloadSupportTicketAttachment200Response;
|
|
30
|
+
export declare function DownloadSupportTicketAttachment200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DownloadSupportTicketAttachment200Response;
|
|
31
|
+
export declare function DownloadSupportTicketAttachment200ResponseToJSON(json: any): DownloadSupportTicketAttachment200Response;
|
|
32
|
+
export declare function DownloadSupportTicketAttachment200ResponseToJSONTyped(value?: DownloadSupportTicketAttachment200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfDownloadSupportTicketAttachment200Response = instanceOfDownloadSupportTicketAttachment200Response;
|
|
17
|
+
exports.DownloadSupportTicketAttachment200ResponseFromJSON = DownloadSupportTicketAttachment200ResponseFromJSON;
|
|
18
|
+
exports.DownloadSupportTicketAttachment200ResponseFromJSONTyped = DownloadSupportTicketAttachment200ResponseFromJSONTyped;
|
|
19
|
+
exports.DownloadSupportTicketAttachment200ResponseToJSON = DownloadSupportTicketAttachment200ResponseToJSON;
|
|
20
|
+
exports.DownloadSupportTicketAttachment200ResponseToJSONTyped = DownloadSupportTicketAttachment200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DownloadSupportTicketAttachment200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDownloadSupportTicketAttachment200Response(value) {
|
|
25
|
+
if (!('downloadUrl' in value) || value['downloadUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function DownloadSupportTicketAttachment200ResponseFromJSON(json) {
|
|
30
|
+
return DownloadSupportTicketAttachment200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function DownloadSupportTicketAttachment200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'downloadUrl': json['download_url'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function DownloadSupportTicketAttachment200ResponseToJSON(json) {
|
|
41
|
+
return DownloadSupportTicketAttachment200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DownloadSupportTicketAttachment200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'download_url': value['downloadUrl'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
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 { GetSupportTicketAttachment } from './GetSupportTicketAttachment';
|
|
13
|
+
import type { SupportTicketUser } from './SupportTicketUser';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetSupportTicket
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSupportTicket {
|
|
20
|
+
/**
|
|
21
|
+
* External ID of the ticket
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof GetSupportTicket
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* External ID of the portal
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof GetSupportTicket
|
|
30
|
+
*/
|
|
31
|
+
portalId: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof GetSupportTicket
|
|
36
|
+
*/
|
|
37
|
+
subject: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof GetSupportTicket
|
|
42
|
+
*/
|
|
43
|
+
description: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {GetSupportTicketStatusEnum}
|
|
47
|
+
* @memberof GetSupportTicket
|
|
48
|
+
*/
|
|
49
|
+
status: GetSupportTicketStatusEnum;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {GetSupportTicketPriorityEnum}
|
|
53
|
+
* @memberof GetSupportTicket
|
|
54
|
+
*/
|
|
55
|
+
priority: GetSupportTicketPriorityEnum;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {GetSupportTicketCategoryEnum}
|
|
59
|
+
* @memberof GetSupportTicket
|
|
60
|
+
*/
|
|
61
|
+
category: GetSupportTicketCategoryEnum;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {SupportTicketUser}
|
|
65
|
+
* @memberof GetSupportTicket
|
|
66
|
+
*/
|
|
67
|
+
reporter: SupportTicketUser;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {SupportTicketUser}
|
|
71
|
+
* @memberof GetSupportTicket
|
|
72
|
+
*/
|
|
73
|
+
assignedTo?: SupportTicketUser | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {number}
|
|
77
|
+
* @memberof GetSupportTicket
|
|
78
|
+
*/
|
|
79
|
+
commentCount: number;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<GetSupportTicketAttachment>}
|
|
83
|
+
* @memberof GetSupportTicket
|
|
84
|
+
*/
|
|
85
|
+
attachments: Array<GetSupportTicketAttachment>;
|
|
86
|
+
/**
|
|
87
|
+
* Unix epoch timestamp
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof GetSupportTicket
|
|
90
|
+
*/
|
|
91
|
+
createdAt: number;
|
|
92
|
+
/**
|
|
93
|
+
* Unix epoch timestamp
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof GetSupportTicket
|
|
96
|
+
*/
|
|
97
|
+
updatedAt: number;
|
|
98
|
+
/**
|
|
99
|
+
* Unix epoch timestamp
|
|
100
|
+
* @type {number}
|
|
101
|
+
* @memberof GetSupportTicket
|
|
102
|
+
*/
|
|
103
|
+
closedAt?: number | null;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
export declare const GetSupportTicketStatusEnum: {
|
|
109
|
+
readonly Open: "Open";
|
|
110
|
+
readonly InProgress: "InProgress";
|
|
111
|
+
readonly Closed: "Closed";
|
|
112
|
+
};
|
|
113
|
+
export type GetSupportTicketStatusEnum = typeof GetSupportTicketStatusEnum[keyof typeof GetSupportTicketStatusEnum];
|
|
114
|
+
/**
|
|
115
|
+
* @export
|
|
116
|
+
*/
|
|
117
|
+
export declare const GetSupportTicketPriorityEnum: {
|
|
118
|
+
readonly Low: "Low";
|
|
119
|
+
readonly Medium: "Medium";
|
|
120
|
+
readonly High: "High";
|
|
121
|
+
readonly Critical: "Critical";
|
|
122
|
+
};
|
|
123
|
+
export type GetSupportTicketPriorityEnum = typeof GetSupportTicketPriorityEnum[keyof typeof GetSupportTicketPriorityEnum];
|
|
124
|
+
/**
|
|
125
|
+
* @export
|
|
126
|
+
*/
|
|
127
|
+
export declare const GetSupportTicketCategoryEnum: {
|
|
128
|
+
readonly Bug: "Bug";
|
|
129
|
+
readonly FeatureRequest: "FeatureRequest";
|
|
130
|
+
readonly AccountIssue: "AccountIssue";
|
|
131
|
+
readonly ContentIssue: "ContentIssue";
|
|
132
|
+
readonly Other: "Other";
|
|
133
|
+
};
|
|
134
|
+
export type GetSupportTicketCategoryEnum = typeof GetSupportTicketCategoryEnum[keyof typeof GetSupportTicketCategoryEnum];
|
|
135
|
+
/**
|
|
136
|
+
* Check if a given object implements the GetSupportTicket interface.
|
|
137
|
+
*/
|
|
138
|
+
export declare function instanceOfGetSupportTicket(value: object): value is GetSupportTicket;
|
|
139
|
+
export declare function GetSupportTicketFromJSON(json: any): GetSupportTicket;
|
|
140
|
+
export declare function GetSupportTicketFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSupportTicket;
|
|
141
|
+
export declare function GetSupportTicketToJSON(json: any): GetSupportTicket;
|
|
142
|
+
export declare function GetSupportTicketToJSONTyped(value?: GetSupportTicket | null, ignoreDiscriminator?: boolean): any;
|