@easyedu/js-lsm-api 1.117.0 → 1.119.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 (236) hide show
  1. package/.openapi-generator/FILES +46 -0
  2. package/README.md +36 -2
  3. package/dist/apis/CourseApi.d.ts +55 -0
  4. package/dist/apis/CourseApi.js +147 -0
  5. package/dist/apis/DispatchApi.d.ts +121 -5
  6. package/dist/apis/DispatchApi.js +303 -8
  7. package/dist/apis/IntegrationApi.d.ts +2 -0
  8. package/dist/apis/IntegrationApi.js +3 -1
  9. package/dist/apis/PlayerApi.d.ts +26 -6
  10. package/dist/apis/PlayerApi.js +57 -6
  11. package/dist/esm/apis/CourseApi.d.ts +55 -0
  12. package/dist/esm/apis/CourseApi.js +147 -0
  13. package/dist/esm/apis/DispatchApi.d.ts +121 -5
  14. package/dist/esm/apis/DispatchApi.js +303 -8
  15. package/dist/esm/apis/IntegrationApi.d.ts +2 -0
  16. package/dist/esm/apis/IntegrationApi.js +3 -1
  17. package/dist/esm/apis/PlayerApi.d.ts +26 -6
  18. package/dist/esm/apis/PlayerApi.js +57 -6
  19. package/dist/esm/models/CustomWebhookIntegration.d.ts +2 -0
  20. package/dist/esm/models/CustomWebhookIntegration.js +3 -1
  21. package/dist/esm/models/DispatchTokenResponse.d.ts +57 -0
  22. package/dist/esm/models/DispatchTokenResponse.js +61 -0
  23. package/dist/esm/models/GetCourseExport.d.ts +62 -0
  24. package/dist/esm/models/GetCourseExport.js +44 -0
  25. package/dist/esm/models/GetDispatchCourse.d.ts +82 -0
  26. package/dist/esm/models/GetDispatchCourse.js +77 -0
  27. package/dist/esm/models/GetDispatchRollup.d.ts +104 -0
  28. package/dist/esm/models/GetDispatchRollup.js +95 -0
  29. package/dist/esm/models/GetHostedScormRegistration.d.ts +80 -0
  30. package/dist/esm/models/GetHostedScormRegistration.js +71 -0
  31. package/dist/esm/models/GetHostedScormRegistrationList.d.ts +57 -0
  32. package/dist/esm/models/GetHostedScormRegistrationList.js +60 -0
  33. package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +8 -0
  34. package/dist/esm/models/GetResourceSessionDiagnostics.js +2 -0
  35. package/dist/esm/models/HostedScormAccessPolicy.d.ts +50 -0
  36. package/dist/esm/models/HostedScormAccessPolicy.js +55 -0
  37. package/dist/esm/models/HostedScormOutlineEntry.d.ts +108 -0
  38. package/dist/esm/models/HostedScormOutlineEntry.js +97 -0
  39. package/dist/esm/models/HostedScormRollupPolicy.d.ts +69 -0
  40. package/dist/esm/models/HostedScormRollupPolicy.js +72 -0
  41. package/dist/esm/models/HostedScormScoreItem.d.ts +38 -0
  42. package/dist/esm/models/HostedScormScoreItem.js +47 -0
  43. package/dist/esm/models/IntegrationEvent.d.ts +2 -0
  44. package/dist/esm/models/IntegrationEvent.js +3 -1
  45. package/dist/esm/models/IntegrationEventData.d.ts +16 -2
  46. package/dist/esm/models/IntegrationEventData.js +10 -0
  47. package/dist/esm/models/IntegrationEventInvitation.d.ts +71 -0
  48. package/dist/esm/models/IntegrationEventInvitation.js +71 -0
  49. package/dist/esm/models/IntegrationEventUser.d.ts +50 -0
  50. package/dist/esm/models/IntegrationEventUser.js +55 -0
  51. package/dist/esm/models/PostCourseExport.d.ts +28 -0
  52. package/dist/esm/models/PostCourseExport.js +15 -0
  53. package/dist/esm/models/PostCustomWebhookIntegration.d.ts +2 -0
  54. package/dist/esm/models/PostCustomWebhookIntegration.js +3 -1
  55. package/dist/esm/models/PostDispatchItemLaunch.d.ts +32 -0
  56. package/dist/esm/models/PostDispatchItemLaunch.js +41 -0
  57. package/dist/esm/models/PostDispatchItemLaunchResponse.d.ts +64 -0
  58. package/dist/esm/models/PostDispatchItemLaunchResponse.js +66 -0
  59. package/dist/esm/models/PostDispatchLaunch.d.ts +50 -0
  60. package/dist/esm/models/PostDispatchLaunch.js +53 -0
  61. package/dist/esm/models/PostDispatchLaunchResponse.d.ts +70 -0
  62. package/dist/esm/models/PostDispatchLaunchResponse.js +70 -0
  63. package/dist/esm/models/PostDispatchTokenExchange.d.ts +32 -0
  64. package/dist/esm/models/PostDispatchTokenExchange.js +43 -0
  65. package/dist/esm/models/PostZapierSubscription.d.ts +2 -0
  66. package/dist/esm/models/PostZapierSubscription.js +3 -1
  67. package/dist/esm/models/PutCustomWebhookIntegration.d.ts +2 -0
  68. package/dist/esm/models/PutCustomWebhookIntegration.js +3 -1
  69. package/dist/esm/models/PutHostedScormStatus.d.ts +32 -0
  70. package/dist/esm/models/PutHostedScormStatus.js +43 -0
  71. package/dist/esm/models/ScormGetValueResponse.d.ts +12 -0
  72. package/dist/esm/models/ScormGetValueResponse.js +8 -0
  73. package/dist/esm/models/ScormNavigationDelivery.d.ts +64 -0
  74. package/dist/esm/models/ScormNavigationDelivery.js +66 -0
  75. package/dist/esm/models/ScormNavigationRequest.d.ts +55 -0
  76. package/dist/esm/models/ScormNavigationRequest.js +61 -0
  77. package/dist/esm/models/ScormNavigationResponse.d.ts +70 -0
  78. package/dist/esm/models/ScormNavigationResponse.js +67 -0
  79. package/dist/esm/models/ScormNavigationValidity.d.ts +92 -0
  80. package/dist/esm/models/ScormNavigationValidity.js +83 -0
  81. package/dist/esm/models/ScormRuntimeResponse.d.ts +44 -0
  82. package/dist/esm/models/ScormRuntimeResponse.js +51 -0
  83. package/dist/esm/models/ScormSetValueResponse.d.ts +12 -0
  84. package/dist/esm/models/ScormSetValueResponse.js +8 -0
  85. package/dist/esm/models/ScormTerminateResponse.d.ts +63 -0
  86. package/dist/esm/models/ScormTerminateResponse.js +62 -0
  87. package/dist/esm/models/ZapierSubscription.d.ts +2 -0
  88. package/dist/esm/models/ZapierSubscription.js +3 -1
  89. package/dist/esm/models/index.d.ts +23 -0
  90. package/dist/esm/models/index.js +23 -0
  91. package/dist/models/CustomWebhookIntegration.d.ts +2 -0
  92. package/dist/models/CustomWebhookIntegration.js +3 -1
  93. package/dist/models/DispatchTokenResponse.d.ts +57 -0
  94. package/dist/models/DispatchTokenResponse.js +69 -0
  95. package/dist/models/GetCourseExport.d.ts +62 -0
  96. package/dist/models/GetCourseExport.js +45 -1
  97. package/dist/models/GetDispatchCourse.d.ts +82 -0
  98. package/dist/models/GetDispatchCourse.js +84 -0
  99. package/dist/models/GetDispatchRollup.d.ts +104 -0
  100. package/dist/models/GetDispatchRollup.js +103 -0
  101. package/dist/models/GetHostedScormRegistration.d.ts +80 -0
  102. package/dist/models/GetHostedScormRegistration.js +78 -0
  103. package/dist/models/GetHostedScormRegistrationList.d.ts +57 -0
  104. package/dist/models/GetHostedScormRegistrationList.js +67 -0
  105. package/dist/models/GetResourceSessionDiagnostics.d.ts +8 -0
  106. package/dist/models/GetResourceSessionDiagnostics.js +2 -0
  107. package/dist/models/HostedScormAccessPolicy.d.ts +50 -0
  108. package/dist/models/HostedScormAccessPolicy.js +62 -0
  109. package/dist/models/HostedScormOutlineEntry.d.ts +108 -0
  110. package/dist/models/HostedScormOutlineEntry.js +105 -0
  111. package/dist/models/HostedScormRollupPolicy.d.ts +69 -0
  112. package/dist/models/HostedScormRollupPolicy.js +80 -0
  113. package/dist/models/HostedScormScoreItem.d.ts +38 -0
  114. package/dist/models/HostedScormScoreItem.js +54 -0
  115. package/dist/models/IntegrationEvent.d.ts +2 -0
  116. package/dist/models/IntegrationEvent.js +3 -1
  117. package/dist/models/IntegrationEventData.d.ts +16 -2
  118. package/dist/models/IntegrationEventData.js +10 -0
  119. package/dist/models/IntegrationEventInvitation.d.ts +71 -0
  120. package/dist/models/IntegrationEventInvitation.js +79 -0
  121. package/dist/models/IntegrationEventUser.d.ts +50 -0
  122. package/dist/models/IntegrationEventUser.js +62 -0
  123. package/dist/models/PostCourseExport.d.ts +28 -0
  124. package/dist/models/PostCourseExport.js +16 -1
  125. package/dist/models/PostCustomWebhookIntegration.d.ts +2 -0
  126. package/dist/models/PostCustomWebhookIntegration.js +3 -1
  127. package/dist/models/PostDispatchItemLaunch.d.ts +32 -0
  128. package/dist/models/PostDispatchItemLaunch.js +48 -0
  129. package/dist/models/PostDispatchItemLaunchResponse.d.ts +64 -0
  130. package/dist/models/PostDispatchItemLaunchResponse.js +74 -0
  131. package/dist/models/PostDispatchLaunch.d.ts +50 -0
  132. package/dist/models/PostDispatchLaunch.js +60 -0
  133. package/dist/models/PostDispatchLaunchResponse.d.ts +70 -0
  134. package/dist/models/PostDispatchLaunchResponse.js +78 -0
  135. package/dist/models/PostDispatchTokenExchange.d.ts +32 -0
  136. package/dist/models/PostDispatchTokenExchange.js +50 -0
  137. package/dist/models/PostZapierSubscription.d.ts +2 -0
  138. package/dist/models/PostZapierSubscription.js +3 -1
  139. package/dist/models/PutCustomWebhookIntegration.d.ts +2 -0
  140. package/dist/models/PutCustomWebhookIntegration.js +3 -1
  141. package/dist/models/PutHostedScormStatus.d.ts +32 -0
  142. package/dist/models/PutHostedScormStatus.js +50 -0
  143. package/dist/models/ScormGetValueResponse.d.ts +12 -0
  144. package/dist/models/ScormGetValueResponse.js +8 -0
  145. package/dist/models/ScormNavigationDelivery.d.ts +64 -0
  146. package/dist/models/ScormNavigationDelivery.js +74 -0
  147. package/dist/models/ScormNavigationRequest.d.ts +55 -0
  148. package/dist/models/ScormNavigationRequest.js +69 -0
  149. package/dist/models/ScormNavigationResponse.d.ts +70 -0
  150. package/dist/models/ScormNavigationResponse.js +74 -0
  151. package/dist/models/ScormNavigationValidity.d.ts +92 -0
  152. package/dist/models/ScormNavigationValidity.js +90 -0
  153. package/dist/models/ScormRuntimeResponse.d.ts +44 -0
  154. package/dist/models/ScormRuntimeResponse.js +58 -0
  155. package/dist/models/ScormSetValueResponse.d.ts +12 -0
  156. package/dist/models/ScormSetValueResponse.js +8 -0
  157. package/dist/models/ScormTerminateResponse.d.ts +63 -0
  158. package/dist/models/ScormTerminateResponse.js +69 -0
  159. package/dist/models/ZapierSubscription.d.ts +2 -0
  160. package/dist/models/ZapierSubscription.js +3 -1
  161. package/dist/models/index.d.ts +23 -0
  162. package/dist/models/index.js +23 -0
  163. package/docs/CourseApi.md +225 -0
  164. package/docs/DispatchApi.md +480 -9
  165. package/docs/DispatchTokenResponse.md +40 -0
  166. package/docs/GetCourseExport.md +14 -0
  167. package/docs/GetDispatchCourse.md +50 -0
  168. package/docs/GetDispatchRollup.md +52 -0
  169. package/docs/GetHostedScormRegistration.md +50 -0
  170. package/docs/GetHostedScormRegistrationList.md +42 -0
  171. package/docs/GetResourceSessionDiagnostics.md +2 -0
  172. package/docs/HostedScormAccessPolicy.md +41 -0
  173. package/docs/HostedScormOutlineEntry.md +54 -0
  174. package/docs/HostedScormRollupPolicy.md +41 -0
  175. package/docs/HostedScormScoreItem.md +36 -0
  176. package/docs/IntegrationApi.md +2 -2
  177. package/docs/IntegrationEventData.md +4 -0
  178. package/docs/IntegrationEventInvitation.md +45 -0
  179. package/docs/IntegrationEventUser.md +41 -0
  180. package/docs/PlayerApi.md +80 -9
  181. package/docs/PostCourseExport.md +6 -0
  182. package/docs/PostDispatchItemLaunch.md +34 -0
  183. package/docs/PostDispatchItemLaunchResponse.md +42 -0
  184. package/docs/PostDispatchLaunch.md +40 -0
  185. package/docs/PostDispatchLaunchResponse.md +44 -0
  186. package/docs/PostDispatchTokenExchange.md +34 -0
  187. package/docs/PutHostedScormStatus.md +34 -0
  188. package/docs/ScormGetValueResponse.md +4 -0
  189. package/docs/ScormNavigationDelivery.md +43 -0
  190. package/docs/ScormNavigationRequest.md +37 -0
  191. package/docs/ScormNavigationResponse.md +47 -0
  192. package/docs/ScormNavigationValidity.md +55 -0
  193. package/docs/ScormRuntimeResponse.md +39 -0
  194. package/docs/ScormSetValueResponse.md +4 -0
  195. package/docs/ScormTerminateResponse.md +44 -0
  196. package/package.json +1 -1
  197. package/src/apis/CourseApi.ts +221 -0
  198. package/src/apis/DispatchApi.ts +426 -10
  199. package/src/apis/IntegrationApi.ts +3 -1
  200. package/src/apis/PlayerApi.ts +95 -12
  201. package/src/models/CustomWebhookIntegration.ts +3 -1
  202. package/src/models/DispatchTokenResponse.ts +103 -0
  203. package/src/models/GetCourseExport.ts +97 -0
  204. package/src/models/GetDispatchCourse.ts +153 -0
  205. package/src/models/GetDispatchRollup.ts +169 -0
  206. package/src/models/GetHostedScormRegistration.ts +136 -0
  207. package/src/models/GetHostedScormRegistrationList.ts +110 -0
  208. package/src/models/GetResourceSessionDiagnostics.ts +8 -0
  209. package/src/models/HostedScormAccessPolicy.ts +93 -0
  210. package/src/models/HostedScormOutlineEntry.ts +176 -0
  211. package/src/models/HostedScormRollupPolicy.ts +123 -0
  212. package/src/models/HostedScormScoreItem.ts +75 -0
  213. package/src/models/IntegrationEvent.ts +3 -1
  214. package/src/models/IntegrationEventData.ts +34 -2
  215. package/src/models/IntegrationEventInvitation.ts +130 -0
  216. package/src/models/IntegrationEventUser.ts +93 -0
  217. package/src/models/PostCourseExport.ts +48 -0
  218. package/src/models/PostCustomWebhookIntegration.ts +3 -1
  219. package/src/models/PostDispatchItemLaunch.ts +65 -0
  220. package/src/models/PostDispatchItemLaunchResponse.ts +113 -0
  221. package/src/models/PostDispatchLaunch.ts +92 -0
  222. package/src/models/PostDispatchLaunchResponse.ts +122 -0
  223. package/src/models/PostDispatchTokenExchange.ts +66 -0
  224. package/src/models/PostZapierSubscription.ts +3 -1
  225. package/src/models/PutCustomWebhookIntegration.ts +3 -1
  226. package/src/models/PutHostedScormStatus.ts +66 -0
  227. package/src/models/ScormGetValueResponse.ts +18 -0
  228. package/src/models/ScormNavigationDelivery.ts +113 -0
  229. package/src/models/ScormNavigationRequest.ts +94 -0
  230. package/src/models/ScormNavigationResponse.ts +134 -0
  231. package/src/models/ScormNavigationValidity.ts +156 -0
  232. package/src/models/ScormRuntimeResponse.ts +84 -0
  233. package/src/models/ScormSetValueResponse.ts +18 -0
  234. package/src/models/ScormTerminateResponse.ts +118 -0
  235. package/src/models/ZapierSubscription.ts +3 -1
  236. package/src/models/index.ts +23 -0
@@ -0,0 +1,134 @@
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
+ import type { ScormNavigationDelivery } from './ScormNavigationDelivery';
17
+ import {
18
+ ScormNavigationDeliveryFromJSON,
19
+ ScormNavigationDeliveryFromJSONTyped,
20
+ ScormNavigationDeliveryToJSON,
21
+ ScormNavigationDeliveryToJSONTyped,
22
+ } from './ScormNavigationDelivery';
23
+ import type { ScormNavigationValidity } from './ScormNavigationValidity';
24
+ import {
25
+ ScormNavigationValidityFromJSON,
26
+ ScormNavigationValidityFromJSONTyped,
27
+ ScormNavigationValidityToJSON,
28
+ ScormNavigationValidityToJSONTyped,
29
+ } from './ScormNavigationValidity';
30
+
31
+ /**
32
+ * Result of a SCORM 2004 sequencing transition
33
+ * @export
34
+ * @interface ScormNavigationResponse
35
+ */
36
+ export interface ScormNavigationResponse {
37
+ /**
38
+ *
39
+ * @type {boolean}
40
+ * @memberof ScormNavigationResponse
41
+ */
42
+ success: boolean;
43
+ /**
44
+ *
45
+ * @type {ScormNavigationDelivery}
46
+ * @memberof ScormNavigationResponse
47
+ */
48
+ delivery?: ScormNavigationDelivery;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof ScormNavigationResponse
53
+ */
54
+ sequencingEnded: boolean;
55
+ /**
56
+ *
57
+ * @type {boolean}
58
+ * @memberof ScormNavigationResponse
59
+ */
60
+ suspended: boolean;
61
+ /**
62
+ *
63
+ * @type {ScormNavigationValidity}
64
+ * @memberof ScormNavigationResponse
65
+ */
66
+ valid: ScormNavigationValidity;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof ScormNavigationResponse
71
+ */
72
+ errorCode: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ScormNavigationResponse
77
+ */
78
+ diagnostic: string;
79
+ }
80
+
81
+ /**
82
+ * Check if a given object implements the ScormNavigationResponse interface.
83
+ */
84
+ export function instanceOfScormNavigationResponse(value: object): value is ScormNavigationResponse {
85
+ if (!('success' in value) || value['success'] === undefined) return false;
86
+ if (!('sequencingEnded' in value) || value['sequencingEnded'] === undefined) return false;
87
+ if (!('suspended' in value) || value['suspended'] === undefined) return false;
88
+ if (!('valid' in value) || value['valid'] === undefined) return false;
89
+ if (!('errorCode' in value) || value['errorCode'] === undefined) return false;
90
+ if (!('diagnostic' in value) || value['diagnostic'] === undefined) return false;
91
+ return true;
92
+ }
93
+
94
+ export function ScormNavigationResponseFromJSON(json: any): ScormNavigationResponse {
95
+ return ScormNavigationResponseFromJSONTyped(json, false);
96
+ }
97
+
98
+ export function ScormNavigationResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationResponse {
99
+ if (json == null) {
100
+ return json;
101
+ }
102
+ return {
103
+
104
+ 'success': json['success'],
105
+ 'delivery': json['delivery'] == null ? undefined : ScormNavigationDeliveryFromJSON(json['delivery']),
106
+ 'sequencingEnded': json['sequencing_ended'],
107
+ 'suspended': json['suspended'],
108
+ 'valid': ScormNavigationValidityFromJSON(json['valid']),
109
+ 'errorCode': json['error_code'],
110
+ 'diagnostic': json['diagnostic'],
111
+ };
112
+ }
113
+
114
+ export function ScormNavigationResponseToJSON(json: any): ScormNavigationResponse {
115
+ return ScormNavigationResponseToJSONTyped(json, false);
116
+ }
117
+
118
+ export function ScormNavigationResponseToJSONTyped(value?: ScormNavigationResponse | null, ignoreDiscriminator: boolean = false): any {
119
+ if (value == null) {
120
+ return value;
121
+ }
122
+
123
+ return {
124
+
125
+ 'success': value['success'],
126
+ 'delivery': ScormNavigationDeliveryToJSON(value['delivery']),
127
+ 'sequencing_ended': value['sequencingEnded'],
128
+ 'suspended': value['suspended'],
129
+ 'valid': ScormNavigationValidityToJSON(value['valid']),
130
+ 'error_code': value['errorCode'],
131
+ 'diagnostic': value['diagnostic'],
132
+ };
133
+ }
134
+
@@ -0,0 +1,156 @@
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
+ * Navigation requests valid in the resulting sequencing state
18
+ * @export
19
+ * @interface ScormNavigationValidity
20
+ */
21
+ export interface ScormNavigationValidity {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ScormNavigationValidity
26
+ */
27
+ start: boolean;
28
+ /**
29
+ *
30
+ * @type {boolean}
31
+ * @memberof ScormNavigationValidity
32
+ */
33
+ resumeAll: boolean;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof ScormNavigationValidity
38
+ */
39
+ _continue: boolean;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof ScormNavigationValidity
44
+ */
45
+ previous: boolean;
46
+ /**
47
+ *
48
+ * @type {boolean}
49
+ * @memberof ScormNavigationValidity
50
+ */
51
+ exit: boolean;
52
+ /**
53
+ *
54
+ * @type {boolean}
55
+ * @memberof ScormNavigationValidity
56
+ */
57
+ exitAll: boolean;
58
+ /**
59
+ *
60
+ * @type {boolean}
61
+ * @memberof ScormNavigationValidity
62
+ */
63
+ abandon: boolean;
64
+ /**
65
+ *
66
+ * @type {boolean}
67
+ * @memberof ScormNavigationValidity
68
+ */
69
+ abandonAll: boolean;
70
+ /**
71
+ *
72
+ * @type {boolean}
73
+ * @memberof ScormNavigationValidity
74
+ */
75
+ suspendAll: boolean;
76
+ /**
77
+ *
78
+ * @type {Array<string>}
79
+ * @memberof ScormNavigationValidity
80
+ */
81
+ choiceTargets: Array<string>;
82
+ /**
83
+ *
84
+ * @type {Array<string>}
85
+ * @memberof ScormNavigationValidity
86
+ */
87
+ jumpTargets: Array<string>;
88
+ }
89
+
90
+ /**
91
+ * Check if a given object implements the ScormNavigationValidity interface.
92
+ */
93
+ export function instanceOfScormNavigationValidity(value: object): value is ScormNavigationValidity {
94
+ if (!('start' in value) || value['start'] === undefined) return false;
95
+ if (!('resumeAll' in value) || value['resumeAll'] === undefined) return false;
96
+ if (!('_continue' in value) || value['_continue'] === undefined) return false;
97
+ if (!('previous' in value) || value['previous'] === undefined) return false;
98
+ if (!('exit' in value) || value['exit'] === undefined) return false;
99
+ if (!('exitAll' in value) || value['exitAll'] === undefined) return false;
100
+ if (!('abandon' in value) || value['abandon'] === undefined) return false;
101
+ if (!('abandonAll' in value) || value['abandonAll'] === undefined) return false;
102
+ if (!('suspendAll' in value) || value['suspendAll'] === undefined) return false;
103
+ if (!('choiceTargets' in value) || value['choiceTargets'] === undefined) return false;
104
+ if (!('jumpTargets' in value) || value['jumpTargets'] === undefined) return false;
105
+ return true;
106
+ }
107
+
108
+ export function ScormNavigationValidityFromJSON(json: any): ScormNavigationValidity {
109
+ return ScormNavigationValidityFromJSONTyped(json, false);
110
+ }
111
+
112
+ export function ScormNavigationValidityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormNavigationValidity {
113
+ if (json == null) {
114
+ return json;
115
+ }
116
+ return {
117
+
118
+ 'start': json['start'],
119
+ 'resumeAll': json['resume_all'],
120
+ '_continue': json['continue'],
121
+ 'previous': json['previous'],
122
+ 'exit': json['exit'],
123
+ 'exitAll': json['exit_all'],
124
+ 'abandon': json['abandon'],
125
+ 'abandonAll': json['abandon_all'],
126
+ 'suspendAll': json['suspend_all'],
127
+ 'choiceTargets': json['choice_targets'],
128
+ 'jumpTargets': json['jump_targets'],
129
+ };
130
+ }
131
+
132
+ export function ScormNavigationValidityToJSON(json: any): ScormNavigationValidity {
133
+ return ScormNavigationValidityToJSONTyped(json, false);
134
+ }
135
+
136
+ export function ScormNavigationValidityToJSONTyped(value?: ScormNavigationValidity | null, ignoreDiscriminator: boolean = false): any {
137
+ if (value == null) {
138
+ return value;
139
+ }
140
+
141
+ return {
142
+
143
+ 'start': value['start'],
144
+ 'resume_all': value['resumeAll'],
145
+ 'continue': value['_continue'],
146
+ 'previous': value['previous'],
147
+ 'exit': value['exit'],
148
+ 'exit_all': value['exitAll'],
149
+ 'abandon': value['abandon'],
150
+ 'abandon_all': value['abandonAll'],
151
+ 'suspend_all': value['suspendAll'],
152
+ 'choice_targets': value['choiceTargets'],
153
+ 'jump_targets': value['jumpTargets'],
154
+ };
155
+ }
156
+
@@ -0,0 +1,84 @@
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
+ * Typed result of a SCORM runtime API operation
18
+ * @export
19
+ * @interface ScormRuntimeResponse
20
+ */
21
+ export interface ScormRuntimeResponse {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ScormRuntimeResponse
26
+ */
27
+ success: boolean;
28
+ /**
29
+ * Exact SCORM runtime error code for this API call
30
+ * @type {string}
31
+ * @memberof ScormRuntimeResponse
32
+ */
33
+ errorCode: string;
34
+ /**
35
+ * Diagnostic detail for the error code, empty on success
36
+ * @type {string}
37
+ * @memberof ScormRuntimeResponse
38
+ */
39
+ diagnostic: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ScormRuntimeResponse interface.
44
+ */
45
+ export function instanceOfScormRuntimeResponse(value: object): value is ScormRuntimeResponse {
46
+ if (!('success' in value) || value['success'] === undefined) return false;
47
+ if (!('errorCode' in value) || value['errorCode'] === undefined) return false;
48
+ if (!('diagnostic' in value) || value['diagnostic'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function ScormRuntimeResponseFromJSON(json: any): ScormRuntimeResponse {
53
+ return ScormRuntimeResponseFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function ScormRuntimeResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormRuntimeResponse {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'success': json['success'],
63
+ 'errorCode': json['error_code'],
64
+ 'diagnostic': json['diagnostic'],
65
+ };
66
+ }
67
+
68
+ export function ScormRuntimeResponseToJSON(json: any): ScormRuntimeResponse {
69
+ return ScormRuntimeResponseToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ScormRuntimeResponseToJSONTyped(value?: ScormRuntimeResponse | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'success': value['success'],
80
+ 'error_code': value['errorCode'],
81
+ 'diagnostic': value['diagnostic'],
82
+ };
83
+ }
84
+
@@ -25,6 +25,18 @@ export interface ScormSetValueResponse {
25
25
  * @memberof ScormSetValueResponse
26
26
  */
27
27
  success: boolean;
28
+ /**
29
+ * Exact SCORM runtime error code for this API call
30
+ * @type {string}
31
+ * @memberof ScormSetValueResponse
32
+ */
33
+ errorCode: string;
34
+ /**
35
+ * Diagnostic detail for the error code, empty on success
36
+ * @type {string}
37
+ * @memberof ScormSetValueResponse
38
+ */
39
+ diagnostic: string;
28
40
  }
29
41
 
30
42
  /**
@@ -32,6 +44,8 @@ export interface ScormSetValueResponse {
32
44
  */
33
45
  export function instanceOfScormSetValueResponse(value: object): value is ScormSetValueResponse {
34
46
  if (!('success' in value) || value['success'] === undefined) return false;
47
+ if (!('errorCode' in value) || value['errorCode'] === undefined) return false;
48
+ if (!('diagnostic' in value) || value['diagnostic'] === undefined) return false;
35
49
  return true;
36
50
  }
37
51
 
@@ -46,6 +60,8 @@ export function ScormSetValueResponseFromJSONTyped(json: any, ignoreDiscriminato
46
60
  return {
47
61
 
48
62
  'success': json['success'],
63
+ 'errorCode': json['error_code'],
64
+ 'diagnostic': json['diagnostic'],
49
65
  };
50
66
  }
51
67
 
@@ -61,6 +77,8 @@ export function ScormSetValueResponseToJSONTyped(value?: ScormSetValueResponse |
61
77
  return {
62
78
 
63
79
  'success': value['success'],
80
+ 'error_code': value['errorCode'],
81
+ 'diagnostic': value['diagnostic'],
64
82
  };
65
83
  }
66
84
 
@@ -0,0 +1,118 @@
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
+ import type { ScormNavigationDelivery } from './ScormNavigationDelivery';
17
+ import {
18
+ ScormNavigationDeliveryFromJSON,
19
+ ScormNavigationDeliveryFromJSONTyped,
20
+ ScormNavigationDeliveryToJSON,
21
+ ScormNavigationDeliveryToJSONTyped,
22
+ } from './ScormNavigationDelivery';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ScormTerminateResponse
28
+ */
29
+ export interface ScormTerminateResponse {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ScormTerminateResponse
34
+ */
35
+ success: boolean;
36
+ /**
37
+ * Exact SCORM runtime error code for this API call
38
+ * @type {string}
39
+ * @memberof ScormTerminateResponse
40
+ */
41
+ errorCode: string;
42
+ /**
43
+ * Diagnostic detail for the error code, empty on success
44
+ * @type {string}
45
+ * @memberof ScormTerminateResponse
46
+ */
47
+ diagnostic: string;
48
+ /**
49
+ *
50
+ * @type {ScormNavigationDelivery}
51
+ * @memberof ScormTerminateResponse
52
+ */
53
+ delivery?: ScormNavigationDelivery;
54
+ /**
55
+ *
56
+ * @type {boolean}
57
+ * @memberof ScormTerminateResponse
58
+ */
59
+ sequencingEnded: boolean;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof ScormTerminateResponse
64
+ */
65
+ suspended: boolean;
66
+ }
67
+
68
+ /**
69
+ * Check if a given object implements the ScormTerminateResponse interface.
70
+ */
71
+ export function instanceOfScormTerminateResponse(value: object): value is ScormTerminateResponse {
72
+ if (!('success' in value) || value['success'] === undefined) return false;
73
+ if (!('errorCode' in value) || value['errorCode'] === undefined) return false;
74
+ if (!('diagnostic' in value) || value['diagnostic'] === undefined) return false;
75
+ if (!('sequencingEnded' in value) || value['sequencingEnded'] === undefined) return false;
76
+ if (!('suspended' in value) || value['suspended'] === undefined) return false;
77
+ return true;
78
+ }
79
+
80
+ export function ScormTerminateResponseFromJSON(json: any): ScormTerminateResponse {
81
+ return ScormTerminateResponseFromJSONTyped(json, false);
82
+ }
83
+
84
+ export function ScormTerminateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ScormTerminateResponse {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+
90
+ 'success': json['success'],
91
+ 'errorCode': json['error_code'],
92
+ 'diagnostic': json['diagnostic'],
93
+ 'delivery': json['delivery'] == null ? undefined : ScormNavigationDeliveryFromJSON(json['delivery']),
94
+ 'sequencingEnded': json['sequencing_ended'],
95
+ 'suspended': json['suspended'],
96
+ };
97
+ }
98
+
99
+ export function ScormTerminateResponseToJSON(json: any): ScormTerminateResponse {
100
+ return ScormTerminateResponseToJSONTyped(json, false);
101
+ }
102
+
103
+ export function ScormTerminateResponseToJSONTyped(value?: ScormTerminateResponse | null, ignoreDiscriminator: boolean = false): any {
104
+ if (value == null) {
105
+ return value;
106
+ }
107
+
108
+ return {
109
+
110
+ 'success': value['success'],
111
+ 'error_code': value['errorCode'],
112
+ 'diagnostic': value['diagnostic'],
113
+ 'delivery': ScormNavigationDeliveryToJSON(value['delivery']),
114
+ 'sequencing_ended': value['sequencingEnded'],
115
+ 'suspended': value['suspended'],
116
+ };
117
+ }
118
+
@@ -46,7 +46,9 @@ export interface ZapierSubscription {
46
46
  export const ZapierSubscriptionEventTypeEnum = {
47
47
  ComEdaxuEnrollmentEnrolledV1: 'com.edaxu.enrollment.enrolled.v1',
48
48
  ComEdaxuEnrollmentCompletedV1: 'com.edaxu.enrollment.completed.v1',
49
- ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1'
49
+ ComEdaxuCertificateIssuedV1: 'com.edaxu.certificate.issued.v1',
50
+ ComEdaxuPortalUserInvitedV1: 'com.edaxu.portal.user_invited.v1',
51
+ ComEdaxuPortalUserJoinedV1: 'com.edaxu.portal.user_joined.v1'
50
52
  } as const;
51
53
  export type ZapierSubscriptionEventTypeEnum = typeof ZapierSubscriptionEventTypeEnum[keyof typeof ZapierSubscriptionEventTypeEnum];
52
54
 
@@ -43,6 +43,7 @@ export * from './CourseProgressionMode';
43
43
  export * from './CourseShare';
44
44
  export * from './CourseShareAcceptError';
45
45
  export * from './CustomWebhookIntegration';
46
+ export * from './DispatchTokenResponse';
46
47
  export * from './EffectiveCertificateConfig';
47
48
  export * from './EmailTemplateDefinition';
48
49
  export * from './EmailTemplateScope';
@@ -87,6 +88,8 @@ export * from './GetCourseVersionSection';
87
88
  export * from './GetCourseVersionSectionChild';
88
89
  export * from './GetCourseVersionSectionProgression';
89
90
  export * from './GetCourseVersionSectionReporting';
91
+ export * from './GetDispatchCourse';
92
+ export * from './GetDispatchRollup';
90
93
  export * from './GetEffectiveLearnerExperience';
91
94
  export * from './GetEmailAssetUpload';
92
95
  export * from './GetEmailDelivery';
@@ -94,6 +97,8 @@ export * from './GetEmailDeliveryList';
94
97
  export * from './GetEmailTemplate';
95
98
  export * from './GetEmailTemplateList';
96
99
  export * from './GetEmailTemplatePreview';
100
+ export * from './GetHostedScormRegistration';
101
+ export * from './GetHostedScormRegistrationList';
97
102
  export * from './GetLearnerDashboard';
98
103
  export * from './GetLearnerDashboardCourseList';
99
104
  export * from './GetLearnerDashboardSummary';
@@ -167,13 +172,19 @@ export * from './GetZapierMe';
167
172
  export * from './GetZapierSetup';
168
173
  export * from './GetZapierShopifyCourseMappings';
169
174
  export * from './GetZapierUsers';
175
+ export * from './HostedScormAccessPolicy';
176
+ export * from './HostedScormOutlineEntry';
177
+ export * from './HostedScormRollupPolicy';
178
+ export * from './HostedScormScoreItem';
170
179
  export * from './IntegrationEvent';
171
180
  export * from './IntegrationEventCertificate';
172
181
  export * from './IntegrationEventCourse';
173
182
  export * from './IntegrationEventData';
174
183
  export * from './IntegrationEventEnrollment';
184
+ export * from './IntegrationEventInvitation';
175
185
  export * from './IntegrationEventLearner';
176
186
  export * from './IntegrationEventPortal';
187
+ export * from './IntegrationEventUser';
177
188
  export * from './LearnerExperienceVersion';
178
189
  export * from './LibraryQuizCriteriaPreviewQuestion';
179
190
  export * from './LibraryQuizCriterion';
@@ -226,6 +237,11 @@ export * from './PostCourseVersionPublish';
226
237
  export * from './PostCourseVersionSection';
227
238
  export * from './PostCourseVersionSectionDuplicate';
228
239
  export * from './PostCustomWebhookIntegration';
240
+ export * from './PostDispatchItemLaunch';
241
+ export * from './PostDispatchItemLaunchResponse';
242
+ export * from './PostDispatchLaunch';
243
+ export * from './PostDispatchLaunchResponse';
244
+ export * from './PostDispatchTokenExchange';
229
245
  export * from './PostDuplicate';
230
246
  export * from './PostEmailAssetComplete';
231
247
  export * from './PostEmailAssetUpload';
@@ -292,6 +308,7 @@ export * from './PutCourseVersionOutlineEntryMove';
292
308
  export * from './PutCourseVersionSection';
293
309
  export * from './PutCustomWebhookIntegration';
294
310
  export * from './PutEmailTemplateDraft';
311
+ export * from './PutHostedScormStatus';
295
312
  export * from './PutLearnerExperienceDraft';
296
313
  export * from './PutLibraryQuiz';
297
314
  export * from './PutLibraryQuizCriteria';
@@ -327,8 +344,14 @@ export * from './RichTextAsset';
327
344
  export * from './RichTextDocument';
328
345
  export * from './RichTextInput';
329
346
  export * from './ScormGetValueResponse';
347
+ export * from './ScormNavigationDelivery';
348
+ export * from './ScormNavigationRequest';
349
+ export * from './ScormNavigationResponse';
350
+ export * from './ScormNavigationValidity';
351
+ export * from './ScormRuntimeResponse';
330
352
  export * from './ScormSetValueRequest';
331
353
  export * from './ScormSetValueResponse';
354
+ export * from './ScormTerminateResponse';
332
355
  export * from './SupportTicketUser';
333
356
  export * from './UpdateSelectedPortalResponse';
334
357
  export * from './UpdateSelectedPortalResponseHostPortal';