@easyedu/js-lsm-api 1.65.0 → 1.67.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 (115) hide show
  1. package/.openapi-generator/FILES +2 -2
  2. package/README.md +9 -3
  3. package/dist/apis/ContentApi.d.ts +18 -0
  4. package/dist/apis/ContentApi.js +51 -0
  5. package/dist/apis/CourseApi.d.ts +16 -0
  6. package/dist/apis/CourseApi.js +43 -0
  7. package/dist/apis/PortalApi.d.ts +58 -0
  8. package/dist/apis/PortalApi.js +152 -0
  9. package/dist/apis/SupportTicketApi.d.ts +2 -3
  10. package/dist/apis/SupportTicketApi.js +1 -2
  11. package/dist/esm/apis/ContentApi.d.ts +18 -0
  12. package/dist/esm/apis/ContentApi.js +51 -0
  13. package/dist/esm/apis/CourseApi.d.ts +16 -0
  14. package/dist/esm/apis/CourseApi.js +43 -0
  15. package/dist/esm/apis/PortalApi.d.ts +58 -0
  16. package/dist/esm/apis/PortalApi.js +152 -0
  17. package/dist/esm/apis/SupportTicketApi.d.ts +2 -3
  18. package/dist/esm/apis/SupportTicketApi.js +1 -2
  19. package/dist/esm/models/ContentLaunchMode.d.ts +26 -0
  20. package/dist/esm/models/ContentLaunchMode.js +44 -0
  21. package/dist/esm/models/GetContent.d.ts +7 -0
  22. package/dist/esm/models/GetContent.js +5 -0
  23. package/dist/esm/models/GetCourse.d.ts +27 -0
  24. package/dist/esm/models/GetCourse.js +20 -0
  25. package/dist/esm/models/GetCourseEnrollment.d.ts +29 -1
  26. package/dist/esm/models/GetCourseEnrollment.js +23 -1
  27. package/dist/esm/models/GetCourseEnrollmentListItem.d.ts +28 -1
  28. package/dist/esm/models/GetCourseEnrollmentListItem.js +23 -1
  29. package/dist/esm/models/GetPortal.d.ts +2 -2
  30. package/dist/esm/models/GetPortalFaviconUpload.d.ts +1 -1
  31. package/dist/esm/models/GetPortalLogoUpload.d.ts +1 -1
  32. package/dist/esm/models/GetPublicPortalBranding.d.ts +2 -2
  33. package/dist/esm/models/PostContentSession.d.ts +7 -0
  34. package/dist/esm/models/PostContentSession.js +5 -0
  35. package/dist/esm/models/PostCourse.d.ts +29 -0
  36. package/dist/esm/models/PostCourse.js +14 -0
  37. package/dist/esm/models/PostCourseEnrollment.d.ts +18 -1
  38. package/dist/esm/models/PostCourseEnrollment.js +10 -3
  39. package/dist/esm/models/PutContent.d.ts +7 -0
  40. package/dist/esm/models/PutContent.js +3 -0
  41. package/dist/esm/models/PutCourse.d.ts +27 -0
  42. package/dist/esm/models/PutCourse.js +14 -0
  43. package/dist/esm/models/PutCourseEnrollment.d.ts +8 -1
  44. package/dist/esm/models/PutCourseEnrollment.js +4 -1
  45. package/dist/esm/models/index.d.ts +1 -1
  46. package/dist/esm/models/index.js +1 -1
  47. package/dist/models/ContentLaunchMode.d.ts +26 -0
  48. package/dist/models/ContentLaunchMode.js +52 -0
  49. package/dist/models/GetContent.d.ts +7 -0
  50. package/dist/models/GetContent.js +5 -0
  51. package/dist/models/GetCourse.d.ts +27 -0
  52. package/dist/models/GetCourse.js +21 -0
  53. package/dist/models/GetCourseEnrollment.d.ts +29 -1
  54. package/dist/models/GetCourseEnrollment.js +24 -2
  55. package/dist/models/GetCourseEnrollmentListItem.d.ts +28 -1
  56. package/dist/models/GetCourseEnrollmentListItem.js +24 -2
  57. package/dist/models/GetPortal.d.ts +2 -2
  58. package/dist/models/GetPortalFaviconUpload.d.ts +1 -1
  59. package/dist/models/GetPortalLogoUpload.d.ts +1 -1
  60. package/dist/models/GetPublicPortalBranding.d.ts +2 -2
  61. package/dist/models/PostContentSession.d.ts +7 -0
  62. package/dist/models/PostContentSession.js +5 -0
  63. package/dist/models/PostCourse.d.ts +29 -0
  64. package/dist/models/PostCourse.js +15 -0
  65. package/dist/models/PostCourseEnrollment.d.ts +18 -1
  66. package/dist/models/PostCourseEnrollment.js +11 -4
  67. package/dist/models/PutContent.d.ts +7 -0
  68. package/dist/models/PutContent.js +3 -0
  69. package/dist/models/PutCourse.d.ts +27 -0
  70. package/dist/models/PutCourse.js +15 -0
  71. package/dist/models/PutCourseEnrollment.d.ts +8 -1
  72. package/dist/models/PutCourseEnrollment.js +4 -1
  73. package/dist/models/index.d.ts +1 -1
  74. package/dist/models/index.js +1 -1
  75. package/docs/ContentApi.md +79 -0
  76. package/docs/{DownloadSupportTicketAttachment200Response.md → ContentLaunchMode.md} +5 -6
  77. package/docs/CourseApi.md +72 -0
  78. package/docs/GetContent.md +2 -0
  79. package/docs/GetCourse.md +6 -0
  80. package/docs/GetCourseEnrollment.md +4 -0
  81. package/docs/GetCourseEnrollmentListItem.md +4 -0
  82. package/docs/PortalApi.md +258 -0
  83. package/docs/PostContentSession.md +2 -0
  84. package/docs/PostCourse.md +6 -0
  85. package/docs/PostCourseEnrollment.md +2 -0
  86. package/docs/PutContent.md +2 -0
  87. package/docs/PutCourse.md +6 -0
  88. package/docs/PutCourseEnrollment.md +2 -0
  89. package/docs/SupportTicketApi.md +4 -4
  90. package/package.json +1 -1
  91. package/src/apis/ContentApi.ts +77 -0
  92. package/src/apis/CourseApi.ts +58 -0
  93. package/src/apis/PortalApi.ts +176 -0
  94. package/src/apis/SupportTicketApi.ts +3 -8
  95. package/src/models/ContentLaunchMode.ts +54 -0
  96. package/src/models/GetContent.ts +16 -0
  97. package/src/models/GetCourse.ts +39 -0
  98. package/src/models/GetCourseEnrollment.ts +37 -2
  99. package/src/models/GetCourseEnrollmentListItem.ts +36 -2
  100. package/src/models/GetPortal.ts +2 -2
  101. package/src/models/GetPortalFaviconUpload.ts +1 -1
  102. package/src/models/GetPortalLogoUpload.ts +1 -1
  103. package/src/models/GetPublicPortalBranding.ts +2 -2
  104. package/src/models/PostContentSession.ts +19 -0
  105. package/src/models/PostCourse.ts +38 -0
  106. package/src/models/PostCourseEnrollment.ts +22 -3
  107. package/src/models/PutContent.ts +18 -0
  108. package/src/models/PutCourse.ts +36 -0
  109. package/src/models/PutCourseEnrollment.ts +11 -2
  110. package/src/models/index.ts +1 -1
  111. package/dist/esm/models/DownloadSupportTicketAttachment200Response.d.ts +0 -32
  112. package/dist/esm/models/DownloadSupportTicketAttachment200Response.js +0 -43
  113. package/dist/models/DownloadSupportTicketAttachment200Response.d.ts +0 -32
  114. package/dist/models/DownloadSupportTicketAttachment200Response.js +0 -50
  115. package/src/models/DownloadSupportTicketAttachment200Response.ts +0 -66
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ContentLaunchMode } from './ContentLaunchMode';
17
+ import {
18
+ ContentLaunchModeFromJSON,
19
+ ContentLaunchModeFromJSONTyped,
20
+ ContentLaunchModeToJSON,
21
+ ContentLaunchModeToJSONTyped,
22
+ } from './ContentLaunchMode';
23
+
16
24
  /**
17
25
  * A content session
18
26
  * @export
@@ -37,6 +45,12 @@ export interface PostContentSession {
37
45
  * @memberof PostContentSession
38
46
  */
39
47
  launchUrl: string;
48
+ /**
49
+ *
50
+ * @type {ContentLaunchMode}
51
+ * @memberof PostContentSession
52
+ */
53
+ launchMode: ContentLaunchMode;
40
54
  /**
41
55
  * The date and time the content session was created
42
56
  * @type {number}
@@ -51,6 +65,8 @@ export interface PostContentSession {
51
65
  playerSessionId?: string | null;
52
66
  }
53
67
 
68
+
69
+
54
70
  /**
55
71
  * Check if a given object implements the PostContentSession interface.
56
72
  */
@@ -58,6 +74,7 @@ export function instanceOfPostContentSession(value: object): value is PostConten
58
74
  if (!('contentId' in value) || value['contentId'] === undefined) return false;
59
75
  if (!('userId' in value) || value['userId'] === undefined) return false;
60
76
  if (!('launchUrl' in value) || value['launchUrl'] === undefined) return false;
77
+ if (!('launchMode' in value) || value['launchMode'] === undefined) return false;
61
78
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
62
79
  return true;
63
80
  }
@@ -75,6 +92,7 @@ export function PostContentSessionFromJSONTyped(json: any, ignoreDiscriminator:
75
92
  'contentId': json['content_id'],
76
93
  'userId': json['user_id'],
77
94
  'launchUrl': json['launch_url'],
95
+ 'launchMode': ContentLaunchModeFromJSON(json['launch_mode']),
78
96
  'createdAt': json['created_at'],
79
97
  'playerSessionId': json['player_session_id'] == null ? undefined : json['player_session_id'],
80
98
  };
@@ -94,6 +112,7 @@ export function PostContentSessionToJSONTyped(value?: PostContentSession | null,
94
112
  'content_id': value['contentId'],
95
113
  'user_id': value['userId'],
96
114
  'launch_url': value['launchUrl'],
115
+ 'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
97
116
  'created_at': value['createdAt'],
98
117
  'player_session_id': value['playerSessionId'],
99
118
  };
@@ -31,8 +31,40 @@ export interface PostCourse {
31
31
  * @memberof PostCourse
32
32
  */
33
33
  description: string;
34
+ /**
35
+ * Course-level learner access policy. If omitted, new courses default to
36
+ * duration_days with 90 days.
37
+ *
38
+ * @type {PostCourseAccessPolicyTypeEnum}
39
+ * @memberof PostCourse
40
+ */
41
+ accessPolicyType?: PostCourseAccessPolicyTypeEnum;
42
+ /**
43
+ * Number of access days from enrollment start when access_policy_type is duration_days.
44
+ * @type {number}
45
+ * @memberof PostCourse
46
+ */
47
+ accessDurationDays?: number | null;
48
+ /**
49
+ * Fixed Unix timestamp when access expires when access_policy_type is fixed_end_date.
50
+ * @type {number}
51
+ * @memberof PostCourse
52
+ */
53
+ accessFixedEndAt?: number | null;
34
54
  }
35
55
 
56
+
57
+ /**
58
+ * @export
59
+ */
60
+ export const PostCourseAccessPolicyTypeEnum = {
61
+ DurationDays: 'duration_days',
62
+ FixedEndDate: 'fixed_end_date',
63
+ NeverExpires: 'never_expires'
64
+ } as const;
65
+ export type PostCourseAccessPolicyTypeEnum = typeof PostCourseAccessPolicyTypeEnum[keyof typeof PostCourseAccessPolicyTypeEnum];
66
+
67
+
36
68
  /**
37
69
  * Check if a given object implements the PostCourse interface.
38
70
  */
@@ -54,6 +86,9 @@ export function PostCourseFromJSONTyped(json: any, ignoreDiscriminator: boolean)
54
86
 
55
87
  'name': json['name'],
56
88
  'description': json['description'],
89
+ 'accessPolicyType': json['access_policy_type'] == null ? undefined : json['access_policy_type'],
90
+ 'accessDurationDays': json['access_duration_days'] == null ? undefined : json['access_duration_days'],
91
+ 'accessFixedEndAt': json['access_fixed_end_at'] == null ? undefined : json['access_fixed_end_at'],
57
92
  };
58
93
  }
59
94
 
@@ -70,6 +105,9 @@ export function PostCourseToJSONTyped(value?: PostCourse | null, ignoreDiscrimin
70
105
 
71
106
  'name': value['name'],
72
107
  'description': value['description'],
108
+ 'access_policy_type': value['accessPolicyType'],
109
+ 'access_duration_days': value['accessDurationDays'],
110
+ 'access_fixed_end_at': value['accessFixedEndAt'],
73
111
  };
74
112
  }
75
113
 
@@ -30,7 +30,7 @@ export interface PostCourseEnrollment {
30
30
  * @type {number}
31
31
  * @memberof PostCourseEnrollment
32
32
  */
33
- enrollmentDateStart: number;
33
+ enrollmentDateStart?: number;
34
34
  /**
35
35
  * End date of the enrollment (Unix timestamp)
36
36
  * @type {number}
@@ -49,6 +49,15 @@ export interface PostCourseEnrollment {
49
49
  * @memberof PostCourseEnrollment
50
50
  */
51
51
  userType?: PostCourseEnrollmentUserTypeEnum | null;
52
+ /**
53
+ * How to handle a learner with a prior terminal enrollment for this course.
54
+ * restart creates a new enrollment period; resume reopens the latest terminal
55
+ * enrollment. Active enrollments always conflict.
56
+ *
57
+ * @type {PostCourseEnrollmentReEnrollmentModeEnum}
58
+ * @memberof PostCourseEnrollment
59
+ */
60
+ reEnrollmentMode?: PostCourseEnrollmentReEnrollmentModeEnum | null;
52
61
  }
53
62
 
54
63
 
@@ -61,13 +70,21 @@ export const PostCourseEnrollmentUserTypeEnum = {
61
70
  } as const;
62
71
  export type PostCourseEnrollmentUserTypeEnum = typeof PostCourseEnrollmentUserTypeEnum[keyof typeof PostCourseEnrollmentUserTypeEnum];
63
72
 
73
+ /**
74
+ * @export
75
+ */
76
+ export const PostCourseEnrollmentReEnrollmentModeEnum = {
77
+ Restart: 'restart',
78
+ Resume: 'resume'
79
+ } as const;
80
+ export type PostCourseEnrollmentReEnrollmentModeEnum = typeof PostCourseEnrollmentReEnrollmentModeEnum[keyof typeof PostCourseEnrollmentReEnrollmentModeEnum];
81
+
64
82
 
65
83
  /**
66
84
  * Check if a given object implements the PostCourseEnrollment interface.
67
85
  */
68
86
  export function instanceOfPostCourseEnrollment(value: object): value is PostCourseEnrollment {
69
87
  if (!('userId' in value) || value['userId'] === undefined) return false;
70
- if (!('enrollmentDateStart' in value) || value['enrollmentDateStart'] === undefined) return false;
71
88
  return true;
72
89
  }
73
90
 
@@ -82,10 +99,11 @@ export function PostCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator
82
99
  return {
83
100
 
84
101
  'userId': json['user_id'],
85
- 'enrollmentDateStart': json['enrollment_date_start'],
102
+ 'enrollmentDateStart': json['enrollment_date_start'] == null ? undefined : json['enrollment_date_start'],
86
103
  'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
87
104
  'notes': json['notes'] == null ? undefined : json['notes'],
88
105
  'userType': json['user_type'] == null ? undefined : json['user_type'],
106
+ 'reEnrollmentMode': json['re_enrollment_mode'] == null ? undefined : json['re_enrollment_mode'],
89
107
  };
90
108
  }
91
109
 
@@ -105,6 +123,7 @@ export function PostCourseEnrollmentToJSONTyped(value?: PostCourseEnrollment | n
105
123
  'enrollment_date_end': value['enrollmentDateEnd'],
106
124
  'notes': value['notes'],
107
125
  'user_type': value['userType'],
126
+ 're_enrollment_mode': value['reEnrollmentMode'],
108
127
  };
109
128
  }
110
129
 
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ContentLaunchMode } from './ContentLaunchMode';
17
+ import {
18
+ ContentLaunchModeFromJSON,
19
+ ContentLaunchModeFromJSONTyped,
20
+ ContentLaunchModeToJSON,
21
+ ContentLaunchModeToJSONTyped,
22
+ } from './ContentLaunchMode';
23
+
16
24
  /**
17
25
  *
18
26
  * @export
@@ -31,8 +39,16 @@ export interface PutContent {
31
39
  * @memberof PutContent
32
40
  */
33
41
  published?: boolean;
42
+ /**
43
+ *
44
+ * @type {ContentLaunchMode}
45
+ * @memberof PutContent
46
+ */
47
+ launchMode?: ContentLaunchMode;
34
48
  }
35
49
 
50
+
51
+
36
52
  /**
37
53
  * Check if a given object implements the PutContent interface.
38
54
  */
@@ -52,6 +68,7 @@ export function PutContentFromJSONTyped(json: any, ignoreDiscriminator: boolean)
52
68
 
53
69
  'name': json['name'] == null ? undefined : json['name'],
54
70
  'published': json['published'] == null ? undefined : json['published'],
71
+ 'launchMode': json['launch_mode'] == null ? undefined : ContentLaunchModeFromJSON(json['launch_mode']),
55
72
  };
56
73
  }
57
74
 
@@ -68,6 +85,7 @@ export function PutContentToJSONTyped(value?: PutContent | null, ignoreDiscrimin
68
85
 
69
86
  'name': value['name'],
70
87
  'published': value['published'],
88
+ 'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
71
89
  };
72
90
  }
73
91
 
@@ -43,8 +43,38 @@ export interface PutCourse {
43
43
  * @memberof PutCourse
44
44
  */
45
45
  published?: boolean;
46
+ /**
47
+ * Course-level learner access policy.
48
+ * @type {PutCourseAccessPolicyTypeEnum}
49
+ * @memberof PutCourse
50
+ */
51
+ accessPolicyType?: PutCourseAccessPolicyTypeEnum;
52
+ /**
53
+ * Number of access days from enrollment start when access_policy_type is duration_days.
54
+ * @type {number}
55
+ * @memberof PutCourse
56
+ */
57
+ accessDurationDays?: number | null;
58
+ /**
59
+ * Fixed Unix timestamp when access expires when access_policy_type is fixed_end_date.
60
+ * @type {number}
61
+ * @memberof PutCourse
62
+ */
63
+ accessFixedEndAt?: number | null;
46
64
  }
47
65
 
66
+
67
+ /**
68
+ * @export
69
+ */
70
+ export const PutCourseAccessPolicyTypeEnum = {
71
+ DurationDays: 'duration_days',
72
+ FixedEndDate: 'fixed_end_date',
73
+ NeverExpires: 'never_expires'
74
+ } as const;
75
+ export type PutCourseAccessPolicyTypeEnum = typeof PutCourseAccessPolicyTypeEnum[keyof typeof PutCourseAccessPolicyTypeEnum];
76
+
77
+
48
78
  /**
49
79
  * Check if a given object implements the PutCourse interface.
50
80
  */
@@ -66,6 +96,9 @@ export function PutCourseFromJSONTyped(json: any, ignoreDiscriminator: boolean):
66
96
  'name': json['name'] == null ? undefined : json['name'],
67
97
  'description': json['description'] == null ? undefined : json['description'],
68
98
  'published': json['published'] == null ? undefined : json['published'],
99
+ 'accessPolicyType': json['access_policy_type'] == null ? undefined : json['access_policy_type'],
100
+ 'accessDurationDays': json['access_duration_days'] == null ? undefined : json['access_duration_days'],
101
+ 'accessFixedEndAt': json['access_fixed_end_at'] == null ? undefined : json['access_fixed_end_at'],
69
102
  };
70
103
  }
71
104
 
@@ -83,6 +116,9 @@ export function PutCourseToJSONTyped(value?: Omit<PutCourse, 'id'> | null, ignor
83
116
  'name': value['name'],
84
117
  'description': value['description'],
85
118
  'published': value['published'],
119
+ 'access_policy_type': value['accessPolicyType'],
120
+ 'access_duration_days': value['accessDurationDays'],
121
+ 'access_fixed_end_at': value['accessFixedEndAt'],
86
122
  };
87
123
  }
88
124
 
@@ -39,7 +39,13 @@ export interface PutCourseEnrollment {
39
39
  * @type {number}
40
40
  * @memberof PutCourseEnrollment
41
41
  */
42
- enrollmentDateEnd?: number;
42
+ enrollmentDateEnd?: number | null;
43
+ /**
44
+ * Add this many days to the current end date, or to now if the enrollment is already expired.
45
+ * @type {number}
46
+ * @memberof PutCourseEnrollment
47
+ */
48
+ extensionDays?: number;
43
49
  /**
44
50
  * Optional notes about the enrollment
45
51
  * @type {string}
@@ -58,7 +64,8 @@ export const PutCourseEnrollmentStatusEnum = {
58
64
  Failed: 'Failed',
59
65
  Withdrawn: 'Withdrawn',
60
66
  Removed: 'Removed',
61
- Archived: 'Archived'
67
+ Archived: 'Archived',
68
+ Suspended: 'Suspended'
62
69
  } as const;
63
70
  export type PutCourseEnrollmentStatusEnum = typeof PutCourseEnrollmentStatusEnum[keyof typeof PutCourseEnrollmentStatusEnum];
64
71
 
@@ -92,6 +99,7 @@ export function PutCourseEnrollmentFromJSONTyped(json: any, ignoreDiscriminator:
92
99
  'status': json['status'] == null ? undefined : json['status'],
93
100
  'userType': json['user_type'] == null ? undefined : json['user_type'],
94
101
  'enrollmentDateEnd': json['enrollment_date_end'] == null ? undefined : json['enrollment_date_end'],
102
+ 'extensionDays': json['extension_days'] == null ? undefined : json['extension_days'],
95
103
  'notes': json['notes'] == null ? undefined : json['notes'],
96
104
  };
97
105
  }
@@ -110,6 +118,7 @@ export function PutCourseEnrollmentToJSONTyped(value?: PutCourseEnrollment | nul
110
118
  'status': value['status'],
111
119
  'user_type': value['userType'],
112
120
  'enrollment_date_end': value['enrollmentDateEnd'],
121
+ 'extension_days': value['extensionDays'],
113
122
  'notes': value['notes'],
114
123
  };
115
124
  }
@@ -3,12 +3,12 @@
3
3
  export * from './Certificate';
4
4
  export * from './CertificateConfig';
5
5
  export * from './CertificatePublic';
6
+ export * from './ContentLaunchMode';
6
7
  export * from './CourseCatalog';
7
8
  export * from './CourseShare';
8
9
  export * from './CriteriaBasedSelection';
9
10
  export * from './CriteriaBasedSelectionCriteria';
10
11
  export * from './CriteriaBasedSelectionDistribution';
11
- export * from './DownloadSupportTicketAttachment200Response';
12
12
  export * from './EffectiveCertificateConfig';
13
13
  export * from './Essay';
14
14
  export * from './Essay1';
@@ -1,32 +0,0 @@
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;
@@ -1,43 +0,0 @@
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 DownloadSupportTicketAttachment200Response interface.
16
- */
17
- export function instanceOfDownloadSupportTicketAttachment200Response(value) {
18
- if (!('downloadUrl' in value) || value['downloadUrl'] === undefined)
19
- return false;
20
- return true;
21
- }
22
- export function DownloadSupportTicketAttachment200ResponseFromJSON(json) {
23
- return DownloadSupportTicketAttachment200ResponseFromJSONTyped(json, false);
24
- }
25
- export function DownloadSupportTicketAttachment200ResponseFromJSONTyped(json, ignoreDiscriminator) {
26
- if (json == null) {
27
- return json;
28
- }
29
- return {
30
- 'downloadUrl': json['download_url'],
31
- };
32
- }
33
- export function DownloadSupportTicketAttachment200ResponseToJSON(json) {
34
- return DownloadSupportTicketAttachment200ResponseToJSONTyped(json, false);
35
- }
36
- export function DownloadSupportTicketAttachment200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
- if (value == null) {
38
- return value;
39
- }
40
- return {
41
- 'download_url': value['downloadUrl'],
42
- };
43
- }
@@ -1,32 +0,0 @@
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;
@@ -1,50 +0,0 @@
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
- }
@@ -1,66 +0,0 @@
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 DownloadSupportTicketAttachment200Response
20
- */
21
- export interface DownloadSupportTicketAttachment200Response {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof DownloadSupportTicketAttachment200Response
26
- */
27
- downloadUrl: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the DownloadSupportTicketAttachment200Response interface.
32
- */
33
- export function instanceOfDownloadSupportTicketAttachment200Response(value: object): value is DownloadSupportTicketAttachment200Response {
34
- if (!('downloadUrl' in value) || value['downloadUrl'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function DownloadSupportTicketAttachment200ResponseFromJSON(json: any): DownloadSupportTicketAttachment200Response {
39
- return DownloadSupportTicketAttachment200ResponseFromJSONTyped(json, false);
40
- }
41
-
42
- export function DownloadSupportTicketAttachment200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DownloadSupportTicketAttachment200Response {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'downloadUrl': json['download_url'],
49
- };
50
- }
51
-
52
- export function DownloadSupportTicketAttachment200ResponseToJSON(json: any): DownloadSupportTicketAttachment200Response {
53
- return DownloadSupportTicketAttachment200ResponseToJSONTyped(json, false);
54
- }
55
-
56
- export function DownloadSupportTicketAttachment200ResponseToJSONTyped(value?: DownloadSupportTicketAttachment200Response | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'download_url': value['downloadUrl'],
64
- };
65
- }
66
-