@easyedu/js-lsm-api 1.66.0 → 1.68.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 +10 -2
  2. package/README.md +15 -3
  3. package/dist/apis/ContentApi.d.ts +74 -0
  4. package/dist/apis/ContentApi.js +172 -1
  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 +74 -0
  12. package/dist/esm/apis/ContentApi.js +171 -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/ContentAttemptItem.d.ts +69 -0
  20. package/dist/esm/models/ContentAttemptItem.js +68 -0
  21. package/dist/esm/models/ContentAttemptRollupScore.d.ts +38 -0
  22. package/dist/esm/models/ContentAttemptRollupScore.js +47 -0
  23. package/dist/esm/models/ContentAttemptScore.d.ts +50 -0
  24. package/dist/esm/models/ContentAttemptScore.js +47 -0
  25. package/dist/esm/models/ContentLaunchMode.d.ts +26 -0
  26. package/dist/esm/models/ContentLaunchMode.js +44 -0
  27. package/dist/esm/models/GetContent.d.ts +7 -0
  28. package/dist/esm/models/GetContent.js +5 -0
  29. package/dist/esm/models/GetContentAttempts.d.ts +90 -0
  30. package/dist/esm/models/GetContentAttempts.js +84 -0
  31. package/dist/esm/models/GetContentSession.d.ts +12 -0
  32. package/dist/esm/models/GetContentSession.js +8 -0
  33. package/dist/esm/models/GetContentSessionDetail.d.ts +12 -0
  34. package/dist/esm/models/GetContentSessionDetail.js +8 -0
  35. package/dist/esm/models/GetContentSessionListItem.d.ts +24 -0
  36. package/dist/esm/models/GetContentSessionListItem.js +16 -0
  37. package/dist/esm/models/GetPortal.d.ts +2 -2
  38. package/dist/esm/models/GetPortalFaviconUpload.d.ts +1 -1
  39. package/dist/esm/models/GetPortalLogoUpload.d.ts +1 -1
  40. package/dist/esm/models/GetPublicPortalBranding.d.ts +2 -2
  41. package/dist/esm/models/PostContentSession.d.ts +19 -0
  42. package/dist/esm/models/PostContentSession.js +13 -0
  43. package/dist/esm/models/PutContent.d.ts +7 -0
  44. package/dist/esm/models/PutContent.js +3 -0
  45. package/dist/esm/models/index.d.ts +5 -1
  46. package/dist/esm/models/index.js +5 -1
  47. package/dist/models/ContentAttemptItem.d.ts +69 -0
  48. package/dist/models/ContentAttemptItem.js +75 -0
  49. package/dist/models/ContentAttemptRollupScore.d.ts +38 -0
  50. package/dist/models/ContentAttemptRollupScore.js +54 -0
  51. package/dist/models/ContentAttemptScore.d.ts +50 -0
  52. package/dist/models/ContentAttemptScore.js +54 -0
  53. package/dist/models/ContentLaunchMode.d.ts +26 -0
  54. package/dist/models/ContentLaunchMode.js +52 -0
  55. package/dist/models/GetContent.d.ts +7 -0
  56. package/dist/models/GetContent.js +5 -0
  57. package/dist/models/GetContentAttempts.d.ts +90 -0
  58. package/dist/models/GetContentAttempts.js +92 -0
  59. package/dist/models/GetContentSession.d.ts +12 -0
  60. package/dist/models/GetContentSession.js +8 -0
  61. package/dist/models/GetContentSessionDetail.d.ts +12 -0
  62. package/dist/models/GetContentSessionDetail.js +8 -0
  63. package/dist/models/GetContentSessionListItem.d.ts +24 -0
  64. package/dist/models/GetContentSessionListItem.js +16 -0
  65. package/dist/models/GetPortal.d.ts +2 -2
  66. package/dist/models/GetPortalFaviconUpload.d.ts +1 -1
  67. package/dist/models/GetPortalLogoUpload.d.ts +1 -1
  68. package/dist/models/GetPublicPortalBranding.d.ts +2 -2
  69. package/dist/models/PostContentSession.d.ts +19 -0
  70. package/dist/models/PostContentSession.js +13 -0
  71. package/dist/models/PutContent.d.ts +7 -0
  72. package/dist/models/PutContent.js +3 -0
  73. package/dist/models/index.d.ts +5 -1
  74. package/dist/models/index.js +5 -1
  75. package/docs/ContentApi.md +238 -0
  76. package/docs/ContentAttemptItem.md +47 -0
  77. package/docs/ContentAttemptRollupScore.md +37 -0
  78. package/docs/ContentAttemptScore.md +41 -0
  79. package/docs/{DownloadSupportTicketAttachment200Response.md → ContentLaunchMode.md} +5 -6
  80. package/docs/CourseApi.md +72 -0
  81. package/docs/GetContent.md +2 -0
  82. package/docs/GetContentAttempts.md +51 -0
  83. package/docs/GetContentSession.md +4 -0
  84. package/docs/GetContentSessionDetail.md +4 -0
  85. package/docs/GetContentSessionListItem.md +8 -0
  86. package/docs/PortalApi.md +258 -0
  87. package/docs/PostContentSession.md +6 -0
  88. package/docs/PutContent.md +2 -0
  89. package/docs/SupportTicketApi.md +4 -4
  90. package/package.json +1 -1
  91. package/src/apis/ContentApi.ts +249 -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/ContentAttemptItem.ts +128 -0
  96. package/src/models/ContentAttemptRollupScore.ts +75 -0
  97. package/src/models/ContentAttemptScore.ts +89 -0
  98. package/src/models/ContentLaunchMode.ts +54 -0
  99. package/src/models/GetContent.ts +16 -0
  100. package/src/models/GetContentAttempts.ts +164 -0
  101. package/src/models/GetContentSession.ts +18 -0
  102. package/src/models/GetContentSessionDetail.ts +18 -0
  103. package/src/models/GetContentSessionListItem.ts +36 -0
  104. package/src/models/GetPortal.ts +2 -2
  105. package/src/models/GetPortalFaviconUpload.ts +1 -1
  106. package/src/models/GetPortalLogoUpload.ts +1 -1
  107. package/src/models/GetPublicPortalBranding.ts +2 -2
  108. package/src/models/PostContentSession.ts +37 -0
  109. package/src/models/PutContent.ts +18 -0
  110. package/src/models/index.ts +5 -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
@@ -58,6 +58,30 @@ export interface GetContentSessionListItem {
58
58
  * @memberof GetContentSessionListItem
59
59
  */
60
60
  contentId: string;
61
+ /**
62
+ * The completion status of the content session
63
+ * @type {string}
64
+ * @memberof GetContentSessionListItem
65
+ */
66
+ completionStatus: string;
67
+ /**
68
+ * The grade status of the content session
69
+ * @type {string}
70
+ * @memberof GetContentSessionListItem
71
+ */
72
+ gradeStatus: string;
73
+ /**
74
+ * The learner attempt number for this content session
75
+ * @type {number}
76
+ * @memberof GetContentSessionListItem
77
+ */
78
+ attemptNumber: number;
79
+ /**
80
+ * Whether this is the current attempt used for learner progress display
81
+ * @type {boolean}
82
+ * @memberof GetContentSessionListItem
83
+ */
84
+ isCurrent: boolean;
61
85
  /**
62
86
  *
63
87
  * @type {GetContentSessionDetailUserData}
@@ -80,6 +104,10 @@ export function instanceOfGetContentSessionListItem(value: object): value is Get
80
104
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
81
105
  if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
82
106
  if (!('contentId' in value) || value['contentId'] === undefined) return false;
107
+ if (!('completionStatus' in value) || value['completionStatus'] === undefined) return false;
108
+ if (!('gradeStatus' in value) || value['gradeStatus'] === undefined) return false;
109
+ if (!('attemptNumber' in value) || value['attemptNumber'] === undefined) return false;
110
+ if (!('isCurrent' in value) || value['isCurrent'] === undefined) return false;
83
111
  if (!('userData' in value) || value['userData'] === undefined) return false;
84
112
  if (!('scormSessionData' in value) || value['scormSessionData'] === undefined) return false;
85
113
  return true;
@@ -99,6 +127,10 @@ export function GetContentSessionListItemFromJSONTyped(json: any, ignoreDiscrimi
99
127
  'createdAt': json['created_at'],
100
128
  'updatedAt': json['updated_at'],
101
129
  'contentId': json['content_id'],
130
+ 'completionStatus': json['completion_status'],
131
+ 'gradeStatus': json['grade_status'],
132
+ 'attemptNumber': json['attempt_number'],
133
+ 'isCurrent': json['is_current'],
102
134
  'userData': GetContentSessionDetailUserDataFromJSON(json['user_data']),
103
135
  'scormSessionData': GetContentSessionListItemScormSessionDataFromJSON(json['scorm_session_data']),
104
136
  };
@@ -119,6 +151,10 @@ export function GetContentSessionListItemToJSONTyped(value?: GetContentSessionLi
119
151
  'created_at': value['createdAt'],
120
152
  'updated_at': value['updatedAt'],
121
153
  'content_id': value['contentId'],
154
+ 'completion_status': value['completionStatus'],
155
+ 'grade_status': value['gradeStatus'],
156
+ 'attempt_number': value['attemptNumber'],
157
+ 'is_current': value['isCurrent'],
122
158
  'user_data': GetContentSessionDetailUserDataToJSON(value['userData']),
123
159
  'scorm_session_data': GetContentSessionListItemScormSessionDataToJSON(value['scormSessionData']),
124
160
  };
@@ -50,13 +50,13 @@ export interface GetPortal {
50
50
  */
51
51
  clientDomain?: string | null;
52
52
  /**
53
- *
53
+ * API-proxied portal logo URL when a logo is configured.
54
54
  * @type {string}
55
55
  * @memberof GetPortal
56
56
  */
57
57
  logoUrl?: string | null;
58
58
  /**
59
- *
59
+ * API-proxied portal favicon URL when a favicon is configured.
60
60
  * @type {string}
61
61
  * @memberof GetPortal
62
62
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface GetPortalFaviconUpload {
22
22
  /**
23
- * Presigned URL for the uploaded favicon image
23
+ * API-proxied URL for the uploaded favicon image
24
24
  * @type {string}
25
25
  * @memberof GetPortalFaviconUpload
26
26
  */
@@ -20,7 +20,7 @@ import { mapValues } from '../runtime';
20
20
  */
21
21
  export interface GetPortalLogoUpload {
22
22
  /**
23
- * Presigned URL for the uploaded logo image
23
+ * API-proxied URL for the uploaded logo image
24
24
  * @type {string}
25
25
  * @memberof GetPortalLogoUpload
26
26
  */
@@ -38,13 +38,13 @@ export interface GetPublicPortalBranding {
38
38
  */
39
39
  slug: string | null;
40
40
  /**
41
- * Presigned portal logo URL when a logo is configured.
41
+ * API-proxied portal logo URL when a logo is configured.
42
42
  * @type {string}
43
43
  * @memberof GetPublicPortalBranding
44
44
  */
45
45
  logoUrl: string | null;
46
46
  /**
47
- * Presigned portal favicon URL when a favicon is configured.
47
+ * API-proxied portal favicon URL when a favicon is configured.
48
48
  * @type {string}
49
49
  * @memberof GetPublicPortalBranding
50
50
  */
@@ -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}
@@ -49,8 +63,22 @@ export interface PostContentSession {
49
63
  * @memberof PostContentSession
50
64
  */
51
65
  playerSessionId?: string | null;
66
+ /**
67
+ * The learner attempt number for this content session
68
+ * @type {number}
69
+ * @memberof PostContentSession
70
+ */
71
+ attemptNumber: number;
72
+ /**
73
+ * Whether this is the current attempt used for learner progress display
74
+ * @type {boolean}
75
+ * @memberof PostContentSession
76
+ */
77
+ isCurrent: boolean;
52
78
  }
53
79
 
80
+
81
+
54
82
  /**
55
83
  * Check if a given object implements the PostContentSession interface.
56
84
  */
@@ -58,7 +86,10 @@ export function instanceOfPostContentSession(value: object): value is PostConten
58
86
  if (!('contentId' in value) || value['contentId'] === undefined) return false;
59
87
  if (!('userId' in value) || value['userId'] === undefined) return false;
60
88
  if (!('launchUrl' in value) || value['launchUrl'] === undefined) return false;
89
+ if (!('launchMode' in value) || value['launchMode'] === undefined) return false;
61
90
  if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
91
+ if (!('attemptNumber' in value) || value['attemptNumber'] === undefined) return false;
92
+ if (!('isCurrent' in value) || value['isCurrent'] === undefined) return false;
62
93
  return true;
63
94
  }
64
95
 
@@ -75,8 +106,11 @@ export function PostContentSessionFromJSONTyped(json: any, ignoreDiscriminator:
75
106
  'contentId': json['content_id'],
76
107
  'userId': json['user_id'],
77
108
  'launchUrl': json['launch_url'],
109
+ 'launchMode': ContentLaunchModeFromJSON(json['launch_mode']),
78
110
  'createdAt': json['created_at'],
79
111
  'playerSessionId': json['player_session_id'] == null ? undefined : json['player_session_id'],
112
+ 'attemptNumber': json['attempt_number'],
113
+ 'isCurrent': json['is_current'],
80
114
  };
81
115
  }
82
116
 
@@ -94,8 +128,11 @@ export function PostContentSessionToJSONTyped(value?: PostContentSession | null,
94
128
  'content_id': value['contentId'],
95
129
  'user_id': value['userId'],
96
130
  'launch_url': value['launchUrl'],
131
+ 'launch_mode': ContentLaunchModeToJSON(value['launchMode']),
97
132
  'created_at': value['createdAt'],
98
133
  'player_session_id': value['playerSessionId'],
134
+ 'attempt_number': value['attemptNumber'],
135
+ 'is_current': value['isCurrent'],
99
136
  };
100
137
  }
101
138
 
@@ -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
 
@@ -3,12 +3,15 @@
3
3
  export * from './Certificate';
4
4
  export * from './CertificateConfig';
5
5
  export * from './CertificatePublic';
6
+ export * from './ContentAttemptItem';
7
+ export * from './ContentAttemptRollupScore';
8
+ export * from './ContentAttemptScore';
9
+ export * from './ContentLaunchMode';
6
10
  export * from './CourseCatalog';
7
11
  export * from './CourseShare';
8
12
  export * from './CriteriaBasedSelection';
9
13
  export * from './CriteriaBasedSelectionCriteria';
10
14
  export * from './CriteriaBasedSelectionDistribution';
11
- export * from './DownloadSupportTicketAttachment200Response';
12
15
  export * from './EffectiveCertificateConfig';
13
16
  export * from './Essay';
14
17
  export * from './Essay1';
@@ -18,6 +21,7 @@ export * from './GetCertificateConfigList';
18
21
  export * from './GetCertificateList';
19
22
  export * from './GetChatMessage';
20
23
  export * from './GetContent';
24
+ export * from './GetContentAttempts';
21
25
  export * from './GetContentContentData';
22
26
  export * from './GetContentGradeDetail';
23
27
  export * from './GetContentGrades';
@@ -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
-