@easyedu/js-lsm-api 1.118.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 (182) hide show
  1. package/.openapi-generator/FILES +42 -0
  2. package/README.md +34 -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/PlayerApi.d.ts +26 -6
  8. package/dist/apis/PlayerApi.js +57 -6
  9. package/dist/esm/apis/CourseApi.d.ts +55 -0
  10. package/dist/esm/apis/CourseApi.js +147 -0
  11. package/dist/esm/apis/DispatchApi.d.ts +121 -5
  12. package/dist/esm/apis/DispatchApi.js +303 -8
  13. package/dist/esm/apis/PlayerApi.d.ts +26 -6
  14. package/dist/esm/apis/PlayerApi.js +57 -6
  15. package/dist/esm/models/DispatchTokenResponse.d.ts +57 -0
  16. package/dist/esm/models/DispatchTokenResponse.js +61 -0
  17. package/dist/esm/models/GetCourseExport.d.ts +62 -0
  18. package/dist/esm/models/GetCourseExport.js +44 -0
  19. package/dist/esm/models/GetDispatchCourse.d.ts +82 -0
  20. package/dist/esm/models/GetDispatchCourse.js +77 -0
  21. package/dist/esm/models/GetDispatchRollup.d.ts +104 -0
  22. package/dist/esm/models/GetDispatchRollup.js +95 -0
  23. package/dist/esm/models/GetHostedScormRegistration.d.ts +80 -0
  24. package/dist/esm/models/GetHostedScormRegistration.js +71 -0
  25. package/dist/esm/models/GetHostedScormRegistrationList.d.ts +57 -0
  26. package/dist/esm/models/GetHostedScormRegistrationList.js +60 -0
  27. package/dist/esm/models/GetResourceSessionDiagnostics.d.ts +8 -0
  28. package/dist/esm/models/GetResourceSessionDiagnostics.js +2 -0
  29. package/dist/esm/models/HostedScormAccessPolicy.d.ts +50 -0
  30. package/dist/esm/models/HostedScormAccessPolicy.js +55 -0
  31. package/dist/esm/models/HostedScormOutlineEntry.d.ts +108 -0
  32. package/dist/esm/models/HostedScormOutlineEntry.js +97 -0
  33. package/dist/esm/models/HostedScormRollupPolicy.d.ts +69 -0
  34. package/dist/esm/models/HostedScormRollupPolicy.js +72 -0
  35. package/dist/esm/models/HostedScormScoreItem.d.ts +38 -0
  36. package/dist/esm/models/HostedScormScoreItem.js +47 -0
  37. package/dist/esm/models/PostCourseExport.d.ts +28 -0
  38. package/dist/esm/models/PostCourseExport.js +15 -0
  39. package/dist/esm/models/PostDispatchItemLaunch.d.ts +32 -0
  40. package/dist/esm/models/PostDispatchItemLaunch.js +41 -0
  41. package/dist/esm/models/PostDispatchItemLaunchResponse.d.ts +64 -0
  42. package/dist/esm/models/PostDispatchItemLaunchResponse.js +66 -0
  43. package/dist/esm/models/PostDispatchLaunch.d.ts +50 -0
  44. package/dist/esm/models/PostDispatchLaunch.js +53 -0
  45. package/dist/esm/models/PostDispatchLaunchResponse.d.ts +70 -0
  46. package/dist/esm/models/PostDispatchLaunchResponse.js +70 -0
  47. package/dist/esm/models/PostDispatchTokenExchange.d.ts +32 -0
  48. package/dist/esm/models/PostDispatchTokenExchange.js +43 -0
  49. package/dist/esm/models/PutHostedScormStatus.d.ts +32 -0
  50. package/dist/esm/models/PutHostedScormStatus.js +43 -0
  51. package/dist/esm/models/ScormGetValueResponse.d.ts +12 -0
  52. package/dist/esm/models/ScormGetValueResponse.js +8 -0
  53. package/dist/esm/models/ScormNavigationDelivery.d.ts +64 -0
  54. package/dist/esm/models/ScormNavigationDelivery.js +66 -0
  55. package/dist/esm/models/ScormNavigationRequest.d.ts +55 -0
  56. package/dist/esm/models/ScormNavigationRequest.js +61 -0
  57. package/dist/esm/models/ScormNavigationResponse.d.ts +70 -0
  58. package/dist/esm/models/ScormNavigationResponse.js +67 -0
  59. package/dist/esm/models/ScormNavigationValidity.d.ts +92 -0
  60. package/dist/esm/models/ScormNavigationValidity.js +83 -0
  61. package/dist/esm/models/ScormRuntimeResponse.d.ts +44 -0
  62. package/dist/esm/models/ScormRuntimeResponse.js +51 -0
  63. package/dist/esm/models/ScormSetValueResponse.d.ts +12 -0
  64. package/dist/esm/models/ScormSetValueResponse.js +8 -0
  65. package/dist/esm/models/ScormTerminateResponse.d.ts +63 -0
  66. package/dist/esm/models/ScormTerminateResponse.js +62 -0
  67. package/dist/esm/models/index.d.ts +21 -0
  68. package/dist/esm/models/index.js +21 -0
  69. package/dist/models/DispatchTokenResponse.d.ts +57 -0
  70. package/dist/models/DispatchTokenResponse.js +69 -0
  71. package/dist/models/GetCourseExport.d.ts +62 -0
  72. package/dist/models/GetCourseExport.js +45 -1
  73. package/dist/models/GetDispatchCourse.d.ts +82 -0
  74. package/dist/models/GetDispatchCourse.js +84 -0
  75. package/dist/models/GetDispatchRollup.d.ts +104 -0
  76. package/dist/models/GetDispatchRollup.js +103 -0
  77. package/dist/models/GetHostedScormRegistration.d.ts +80 -0
  78. package/dist/models/GetHostedScormRegistration.js +78 -0
  79. package/dist/models/GetHostedScormRegistrationList.d.ts +57 -0
  80. package/dist/models/GetHostedScormRegistrationList.js +67 -0
  81. package/dist/models/GetResourceSessionDiagnostics.d.ts +8 -0
  82. package/dist/models/GetResourceSessionDiagnostics.js +2 -0
  83. package/dist/models/HostedScormAccessPolicy.d.ts +50 -0
  84. package/dist/models/HostedScormAccessPolicy.js +62 -0
  85. package/dist/models/HostedScormOutlineEntry.d.ts +108 -0
  86. package/dist/models/HostedScormOutlineEntry.js +105 -0
  87. package/dist/models/HostedScormRollupPolicy.d.ts +69 -0
  88. package/dist/models/HostedScormRollupPolicy.js +80 -0
  89. package/dist/models/HostedScormScoreItem.d.ts +38 -0
  90. package/dist/models/HostedScormScoreItem.js +54 -0
  91. package/dist/models/PostCourseExport.d.ts +28 -0
  92. package/dist/models/PostCourseExport.js +16 -1
  93. package/dist/models/PostDispatchItemLaunch.d.ts +32 -0
  94. package/dist/models/PostDispatchItemLaunch.js +48 -0
  95. package/dist/models/PostDispatchItemLaunchResponse.d.ts +64 -0
  96. package/dist/models/PostDispatchItemLaunchResponse.js +74 -0
  97. package/dist/models/PostDispatchLaunch.d.ts +50 -0
  98. package/dist/models/PostDispatchLaunch.js +60 -0
  99. package/dist/models/PostDispatchLaunchResponse.d.ts +70 -0
  100. package/dist/models/PostDispatchLaunchResponse.js +78 -0
  101. package/dist/models/PostDispatchTokenExchange.d.ts +32 -0
  102. package/dist/models/PostDispatchTokenExchange.js +50 -0
  103. package/dist/models/PutHostedScormStatus.d.ts +32 -0
  104. package/dist/models/PutHostedScormStatus.js +50 -0
  105. package/dist/models/ScormGetValueResponse.d.ts +12 -0
  106. package/dist/models/ScormGetValueResponse.js +8 -0
  107. package/dist/models/ScormNavigationDelivery.d.ts +64 -0
  108. package/dist/models/ScormNavigationDelivery.js +74 -0
  109. package/dist/models/ScormNavigationRequest.d.ts +55 -0
  110. package/dist/models/ScormNavigationRequest.js +69 -0
  111. package/dist/models/ScormNavigationResponse.d.ts +70 -0
  112. package/dist/models/ScormNavigationResponse.js +74 -0
  113. package/dist/models/ScormNavigationValidity.d.ts +92 -0
  114. package/dist/models/ScormNavigationValidity.js +90 -0
  115. package/dist/models/ScormRuntimeResponse.d.ts +44 -0
  116. package/dist/models/ScormRuntimeResponse.js +58 -0
  117. package/dist/models/ScormSetValueResponse.d.ts +12 -0
  118. package/dist/models/ScormSetValueResponse.js +8 -0
  119. package/dist/models/ScormTerminateResponse.d.ts +63 -0
  120. package/dist/models/ScormTerminateResponse.js +69 -0
  121. package/dist/models/index.d.ts +21 -0
  122. package/dist/models/index.js +21 -0
  123. package/docs/CourseApi.md +225 -0
  124. package/docs/DispatchApi.md +480 -9
  125. package/docs/DispatchTokenResponse.md +40 -0
  126. package/docs/GetCourseExport.md +14 -0
  127. package/docs/GetDispatchCourse.md +50 -0
  128. package/docs/GetDispatchRollup.md +52 -0
  129. package/docs/GetHostedScormRegistration.md +50 -0
  130. package/docs/GetHostedScormRegistrationList.md +42 -0
  131. package/docs/GetResourceSessionDiagnostics.md +2 -0
  132. package/docs/HostedScormAccessPolicy.md +41 -0
  133. package/docs/HostedScormOutlineEntry.md +54 -0
  134. package/docs/HostedScormRollupPolicy.md +41 -0
  135. package/docs/HostedScormScoreItem.md +36 -0
  136. package/docs/PlayerApi.md +80 -9
  137. package/docs/PostCourseExport.md +6 -0
  138. package/docs/PostDispatchItemLaunch.md +34 -0
  139. package/docs/PostDispatchItemLaunchResponse.md +42 -0
  140. package/docs/PostDispatchLaunch.md +40 -0
  141. package/docs/PostDispatchLaunchResponse.md +44 -0
  142. package/docs/PostDispatchTokenExchange.md +34 -0
  143. package/docs/PutHostedScormStatus.md +34 -0
  144. package/docs/ScormGetValueResponse.md +4 -0
  145. package/docs/ScormNavigationDelivery.md +43 -0
  146. package/docs/ScormNavigationRequest.md +37 -0
  147. package/docs/ScormNavigationResponse.md +47 -0
  148. package/docs/ScormNavigationValidity.md +55 -0
  149. package/docs/ScormRuntimeResponse.md +39 -0
  150. package/docs/ScormSetValueResponse.md +4 -0
  151. package/docs/ScormTerminateResponse.md +44 -0
  152. package/package.json +1 -1
  153. package/src/apis/CourseApi.ts +221 -0
  154. package/src/apis/DispatchApi.ts +426 -10
  155. package/src/apis/PlayerApi.ts +95 -12
  156. package/src/models/DispatchTokenResponse.ts +103 -0
  157. package/src/models/GetCourseExport.ts +97 -0
  158. package/src/models/GetDispatchCourse.ts +153 -0
  159. package/src/models/GetDispatchRollup.ts +169 -0
  160. package/src/models/GetHostedScormRegistration.ts +136 -0
  161. package/src/models/GetHostedScormRegistrationList.ts +110 -0
  162. package/src/models/GetResourceSessionDiagnostics.ts +8 -0
  163. package/src/models/HostedScormAccessPolicy.ts +93 -0
  164. package/src/models/HostedScormOutlineEntry.ts +176 -0
  165. package/src/models/HostedScormRollupPolicy.ts +123 -0
  166. package/src/models/HostedScormScoreItem.ts +75 -0
  167. package/src/models/PostCourseExport.ts +48 -0
  168. package/src/models/PostDispatchItemLaunch.ts +65 -0
  169. package/src/models/PostDispatchItemLaunchResponse.ts +113 -0
  170. package/src/models/PostDispatchLaunch.ts +92 -0
  171. package/src/models/PostDispatchLaunchResponse.ts +122 -0
  172. package/src/models/PostDispatchTokenExchange.ts +66 -0
  173. package/src/models/PutHostedScormStatus.ts +66 -0
  174. package/src/models/ScormGetValueResponse.ts +18 -0
  175. package/src/models/ScormNavigationDelivery.ts +113 -0
  176. package/src/models/ScormNavigationRequest.ts +94 -0
  177. package/src/models/ScormNavigationResponse.ts +134 -0
  178. package/src/models/ScormNavigationValidity.ts +156 -0
  179. package/src/models/ScormRuntimeResponse.ts +84 -0
  180. package/src/models/ScormSetValueResponse.ts +18 -0
  181. package/src/models/ScormTerminateResponse.ts +118 -0
  182. package/src/models/index.ts +21 -0
@@ -55,6 +55,7 @@ docs/CourseShareAcceptError.md
55
55
  docs/CourseShareApi.md
56
56
  docs/CustomWebhookIntegration.md
57
57
  docs/DispatchApi.md
58
+ docs/DispatchTokenResponse.md
58
59
  docs/EffectiveCertificateConfig.md
59
60
  docs/EmailTemplateApi.md
60
61
  docs/EmailTemplateDefinition.md
@@ -100,6 +101,8 @@ docs/GetCourseVersionSection.md
100
101
  docs/GetCourseVersionSectionChild.md
101
102
  docs/GetCourseVersionSectionProgression.md
102
103
  docs/GetCourseVersionSectionReporting.md
104
+ docs/GetDispatchCourse.md
105
+ docs/GetDispatchRollup.md
103
106
  docs/GetEffectiveLearnerExperience.md
104
107
  docs/GetEmailAssetUpload.md
105
108
  docs/GetEmailDelivery.md
@@ -107,6 +110,8 @@ docs/GetEmailDeliveryList.md
107
110
  docs/GetEmailTemplate.md
108
111
  docs/GetEmailTemplateList.md
109
112
  docs/GetEmailTemplatePreview.md
113
+ docs/GetHostedScormRegistration.md
114
+ docs/GetHostedScormRegistrationList.md
110
115
  docs/GetLearnerDashboard.md
111
116
  docs/GetLearnerDashboardCourseList.md
112
117
  docs/GetLearnerDashboardSummary.md
@@ -180,6 +185,10 @@ docs/GetZapierMe.md
180
185
  docs/GetZapierSetup.md
181
186
  docs/GetZapierShopifyCourseMappings.md
182
187
  docs/GetZapierUsers.md
188
+ docs/HostedScormAccessPolicy.md
189
+ docs/HostedScormOutlineEntry.md
190
+ docs/HostedScormRollupPolicy.md
191
+ docs/HostedScormScoreItem.md
183
192
  docs/IntegrationApi.md
184
193
  docs/IntegrationEvent.md
185
194
  docs/IntegrationEventCertificate.md
@@ -247,6 +256,11 @@ docs/PostCourseVersionPublish.md
247
256
  docs/PostCourseVersionSection.md
248
257
  docs/PostCourseVersionSectionDuplicate.md
249
258
  docs/PostCustomWebhookIntegration.md
259
+ docs/PostDispatchItemLaunch.md
260
+ docs/PostDispatchItemLaunchResponse.md
261
+ docs/PostDispatchLaunch.md
262
+ docs/PostDispatchLaunchResponse.md
263
+ docs/PostDispatchTokenExchange.md
250
264
  docs/PostDuplicate.md
251
265
  docs/PostEmailAssetComplete.md
252
266
  docs/PostEmailAssetUpload.md
@@ -313,6 +327,7 @@ docs/PutCourseVersionOutlineEntryMove.md
313
327
  docs/PutCourseVersionSection.md
314
328
  docs/PutCustomWebhookIntegration.md
315
329
  docs/PutEmailTemplateDraft.md
330
+ docs/PutHostedScormStatus.md
316
331
  docs/PutLearnerExperienceDraft.md
317
332
  docs/PutLibraryQuiz.md
318
333
  docs/PutLibraryQuizCriteria.md
@@ -353,8 +368,14 @@ docs/RichTextDocument.md
353
368
  docs/RichTextInput.md
354
369
  docs/RoleApi.md
355
370
  docs/ScormGetValueResponse.md
371
+ docs/ScormNavigationDelivery.md
372
+ docs/ScormNavigationRequest.md
373
+ docs/ScormNavigationResponse.md
374
+ docs/ScormNavigationValidity.md
375
+ docs/ScormRuntimeResponse.md
356
376
  docs/ScormSetValueRequest.md
357
377
  docs/ScormSetValueResponse.md
378
+ docs/ScormTerminateResponse.md
358
379
  docs/SupportTicketApi.md
359
380
  docs/SupportTicketUser.md
360
381
  docs/SystemApi.md
@@ -439,6 +460,7 @@ src/models/CourseProgressionMode.ts
439
460
  src/models/CourseShare.ts
440
461
  src/models/CourseShareAcceptError.ts
441
462
  src/models/CustomWebhookIntegration.ts
463
+ src/models/DispatchTokenResponse.ts
442
464
  src/models/EffectiveCertificateConfig.ts
443
465
  src/models/EmailTemplateDefinition.ts
444
466
  src/models/EmailTemplateScope.ts
@@ -483,6 +505,8 @@ src/models/GetCourseVersionSection.ts
483
505
  src/models/GetCourseVersionSectionChild.ts
484
506
  src/models/GetCourseVersionSectionProgression.ts
485
507
  src/models/GetCourseVersionSectionReporting.ts
508
+ src/models/GetDispatchCourse.ts
509
+ src/models/GetDispatchRollup.ts
486
510
  src/models/GetEffectiveLearnerExperience.ts
487
511
  src/models/GetEmailAssetUpload.ts
488
512
  src/models/GetEmailDelivery.ts
@@ -490,6 +514,8 @@ src/models/GetEmailDeliveryList.ts
490
514
  src/models/GetEmailTemplate.ts
491
515
  src/models/GetEmailTemplateList.ts
492
516
  src/models/GetEmailTemplatePreview.ts
517
+ src/models/GetHostedScormRegistration.ts
518
+ src/models/GetHostedScormRegistrationList.ts
493
519
  src/models/GetLearnerDashboard.ts
494
520
  src/models/GetLearnerDashboardCourseList.ts
495
521
  src/models/GetLearnerDashboardSummary.ts
@@ -563,6 +589,10 @@ src/models/GetZapierMe.ts
563
589
  src/models/GetZapierSetup.ts
564
590
  src/models/GetZapierShopifyCourseMappings.ts
565
591
  src/models/GetZapierUsers.ts
592
+ src/models/HostedScormAccessPolicy.ts
593
+ src/models/HostedScormOutlineEntry.ts
594
+ src/models/HostedScormRollupPolicy.ts
595
+ src/models/HostedScormScoreItem.ts
566
596
  src/models/IntegrationEvent.ts
567
597
  src/models/IntegrationEventCertificate.ts
568
598
  src/models/IntegrationEventCourse.ts
@@ -624,6 +654,11 @@ src/models/PostCourseVersionPublish.ts
624
654
  src/models/PostCourseVersionSection.ts
625
655
  src/models/PostCourseVersionSectionDuplicate.ts
626
656
  src/models/PostCustomWebhookIntegration.ts
657
+ src/models/PostDispatchItemLaunch.ts
658
+ src/models/PostDispatchItemLaunchResponse.ts
659
+ src/models/PostDispatchLaunch.ts
660
+ src/models/PostDispatchLaunchResponse.ts
661
+ src/models/PostDispatchTokenExchange.ts
627
662
  src/models/PostDuplicate.ts
628
663
  src/models/PostEmailAssetComplete.ts
629
664
  src/models/PostEmailAssetUpload.ts
@@ -690,6 +725,7 @@ src/models/PutCourseVersionOutlineEntryMove.ts
690
725
  src/models/PutCourseVersionSection.ts
691
726
  src/models/PutCustomWebhookIntegration.ts
692
727
  src/models/PutEmailTemplateDraft.ts
728
+ src/models/PutHostedScormStatus.ts
693
729
  src/models/PutLearnerExperienceDraft.ts
694
730
  src/models/PutLibraryQuiz.ts
695
731
  src/models/PutLibraryQuizCriteria.ts
@@ -725,8 +761,14 @@ src/models/RichTextAsset.ts
725
761
  src/models/RichTextDocument.ts
726
762
  src/models/RichTextInput.ts
727
763
  src/models/ScormGetValueResponse.ts
764
+ src/models/ScormNavigationDelivery.ts
765
+ src/models/ScormNavigationRequest.ts
766
+ src/models/ScormNavigationResponse.ts
767
+ src/models/ScormNavigationValidity.ts
768
+ src/models/ScormRuntimeResponse.ts
728
769
  src/models/ScormSetValueRequest.ts
729
770
  src/models/ScormSetValueResponse.ts
771
+ src/models/ScormTerminateResponse.ts
730
772
  src/models/SupportTicketUser.ts
731
773
  src/models/UpdateSelectedPortalResponse.ts
732
774
  src/models/UpdateSelectedPortalResponseHostPortal.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @easyedu/js-lsm-api@1.118.0
1
+ # @easyedu/js-lsm-api@1.119.0
2
2
 
3
3
  A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
4
4
 
@@ -200,6 +200,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
200
200
  *CourseApi* | [**getCourseVersionItemLaunch**](docs/CourseApi.md#getcourseversionitemlaunch) | **GET** /courses/{courseId}/versions/{courseVersionId}/items/{itemId}/launch | Resolve the exact immutable resource launch selected by a course version
201
201
  *CourseApi* | [**getCourseVersionList**](docs/CourseApi.md#getcourseversionlist) | **GET** /courses/{courseId}/versions | List immutable course versions and the current draft
202
202
  *CourseApi* | [**getCourseVersionProgression**](docs/CourseApi.md#getcourseversionprogression) | **GET** /courses/{courseId}/versions/{courseVersionId}/progression | Get learner-specific completion and section lock state
203
+ *CourseApi* | [**getHostedScormExportRegistrations**](docs/CourseApi.md#gethostedscormexportregistrations) | **GET** /courses/{courseId}/exports/{exportId}/registrations | List hosted SCORM learner registrations
203
204
  *CourseApi* | [**getPortalCourseExports**](docs/CourseApi.md#getportalcourseexports) | **GET** /course-exports | List SCORM exports owned by the current portal
204
205
  *CourseApi* | [**postCourse**](docs/CourseApi.md#postcourse) | **POST** /courses | Post a new course
205
206
  *CourseApi* | [**postCourseDraft**](docs/CourseApi.md#postcoursedraft) | **POST** /courses/{courseId}/draft | Create or return the single editable course draft
@@ -222,6 +223,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
222
223
  *CourseApi* | [**putCourseVersionItem**](docs/CourseApi.md#putcourseversionitem) | **PUT** /courses/{courseId}/draft/sections/{sectionId}/items/{itemId} | Update a draft placement; use the outline move endpoint to change its parent or position
223
224
  *CourseApi* | [**putCourseVersionOutlineEntryMove**](docs/CourseApi.md#putcourseversionoutlineentrymove) | **PUT** /courses/{courseId}/draft/outline/move | Move a section or item to a new parent and sibling position
224
225
  *CourseApi* | [**putCourseVersionSection**](docs/CourseApi.md#putcourseversionsection) | **PUT** /courses/{courseId}/draft/sections/{sectionId} | Update a draft section
226
+ *CourseApi* | [**putHostedScormExportAccess**](docs/CourseApi.md#puthostedscormexportaccess) | **PUT** /courses/{courseId}/exports/{exportId}/access | Update mutable access controls for a hosted SCORM export
227
+ *CourseApi* | [**putHostedScormExportStatus**](docs/CourseApi.md#puthostedscormexportstatus) | **PUT** /courses/{courseId}/exports/{exportId}/status | Revoke or reactivate a hosted SCORM export
225
228
  *CourseCatalogApi* | [**addCourseToCatalog**](docs/CourseCatalogApi.md#addcoursetocatalog) | **POST** /catalogs/{catalogId}/courses/{courseId} | Add a course to a catalog
226
229
  *CourseCatalogApi* | [**deleteCourseCatalog**](docs/CourseCatalogApi.md#deletecoursecatalog) | **DELETE** /catalogs/{catalogId} | Delete a catalog
227
230
  *CourseCatalogApi* | [**getCatalogCourses**](docs/CourseCatalogApi.md#getcatalogcourses) | **GET** /catalogs/{catalogId}/courses | List the courses in a catalog
@@ -239,8 +242,15 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
239
242
  *CourseShareApi* | [**putAcceptClone**](docs/CourseShareApi.md#putacceptclone) | **PUT** /course-shares/{shareId}/accept-clone | Accept an offer as a clone (deep copy into your portal)
240
243
  *CourseShareApi* | [**putAcceptMirror**](docs/CourseShareApi.md#putacceptmirror) | **PUT** /course-shares/{shareId}/accept-mirror | Accept an offer as a mirror (no copy, live link to source)
241
244
  *CourseShareApi* | [**putDeclineShare**](docs/CourseShareApi.md#putdeclineshare) | **PUT** /course-shares/{shareId}/decline | Decline an offer
245
+ *DispatchApi* | [**getDispatchCourse**](docs/DispatchApi.md#getdispatchcourse) | **GET** /dispatch/runtime/course | Get the registration-scoped hosted course snapshot
246
+ *DispatchApi* | [**getDispatchQuizSession**](docs/DispatchApi.md#getdispatchquizsession) | **GET** /dispatch/runtime/quiz-sessions/{sessionId} | Get a registration-owned native quiz session
242
247
  *DispatchApi* | [**getDispatchRollup**](docs/DispatchApi.md#getdispatchrollup) | **GET** /dispatch/sessions/{dispatchPackageId}/rollup | Get dispatch package rollup data
248
+ *DispatchApi* | [**postDispatchItemLaunch**](docs/DispatchApi.md#postdispatchitemlaunch) | **POST** /dispatch/runtime/items/{itemId}/launch | Start or resume a selected hosted course item
243
249
  *DispatchApi* | [**postDispatchLaunch**](docs/DispatchApi.md#postdispatchlaunch) | **POST** /dispatch/launch | Launch a dispatch package
250
+ *DispatchApi* | [**postDispatchQuizSessionSubmit**](docs/DispatchApi.md#postdispatchquizsessionsubmit) | **POST** /dispatch/runtime/quiz-sessions/{sessionId}/submit | Submit a registration-owned native quiz session
251
+ *DispatchApi* | [**postDispatchTokenExchange**](docs/DispatchApi.md#postdispatchtokenexchange) | **POST** /dispatch/runtime/token | Exchange a one-time hosted SCORM launch code
252
+ *DispatchApi* | [**postDispatchTokenRefresh**](docs/DispatchApi.md#postdispatchtokenrefresh) | **POST** /dispatch/runtime/token/refresh | Rotate a valid hosted SCORM access token
253
+ *DispatchApi* | [**putDispatchQuizSessionAnswer**](docs/DispatchApi.md#putdispatchquizsessionanswer) | **PUT** /dispatch/runtime/quiz-sessions/{sessionId}/answers/{sessionQuestionId} | Save a registration-owned native quiz answer
244
254
  *EmailTemplateApi* | [**deleteEmailTemplateDraft**](docs/EmailTemplateApi.md#deleteemailtemplatedraft) | **DELETE** /email-templates/{templateKey}/draft | Discard the current portal email template draft
245
255
  *EmailTemplateApi* | [**deleteSystemEmailTemplateDraft**](docs/EmailTemplateApi.md#deletesystememailtemplatedraft) | **DELETE** /system/email-templates/{templateKey}/draft | Discard the current platform email template draft
246
256
  *EmailTemplateApi* | [**getEmailDeliveryList**](docs/EmailTemplateApi.md#getemaildeliverylist) | **GET** /email-deliveries | List selected-portal email delivery activity
@@ -317,6 +327,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
317
327
  *PlayerApi* | [**getResourceSessionScormApiLogs**](docs/PlayerApi.md#getresourcesessionscormapilogs) | **GET** /resource/sessions/{sessionId}/api-logs | Get SCORM runtime logs for a resource session
318
328
  *PlayerApi* | [**getResourceSessionScormData**](docs/PlayerApi.md#getresourcesessionscormdata) | **GET** /resource/sessions/{sessionId}/scorm-data | Get SCORM CMI data for a resource session
319
329
  *PlayerApi* | [**initializeResourceScormSession**](docs/PlayerApi.md#initializeresourcescormsession) | **POST** /resource/sessions/{sessionId}/initialize | Initialize a reusable SCORM resource session
330
+ *PlayerApi* | [**navigateResourceScormSession**](docs/PlayerApi.md#navigateresourcescormsession) | **POST** /resource/sessions/{sessionId}/navigation | Process a SCORM 2004 sequencing and navigation request
320
331
  *PlayerApi* | [**postResourceSessionActivityEvent**](docs/PlayerApi.md#postresourcesessionactivityevent) | **POST** /resource/sessions/{sessionId}/activities/{activityId}/events | Record learner activity and update active time
321
332
  *PlayerApi* | [**postResourceSessionComplete**](docs/PlayerApi.md#postresourcesessioncomplete) | **POST** /resource/sessions/{sessionId}/complete | Complete a non-SCORM resource session
322
333
  *PlayerApi* | [**putResourceSessionOverride**](docs/PlayerApi.md#putresourcesessionoverride) | **PUT** /resource/sessions/{sessionId}/override | Override a learner\'s live resource-session progress
@@ -443,6 +454,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
443
454
  - [CourseShare](docs/CourseShare.md)
444
455
  - [CourseShareAcceptError](docs/CourseShareAcceptError.md)
445
456
  - [CustomWebhookIntegration](docs/CustomWebhookIntegration.md)
457
+ - [DispatchTokenResponse](docs/DispatchTokenResponse.md)
446
458
  - [EffectiveCertificateConfig](docs/EffectiveCertificateConfig.md)
447
459
  - [EmailTemplateDefinition](docs/EmailTemplateDefinition.md)
448
460
  - [EmailTemplateScope](docs/EmailTemplateScope.md)
@@ -487,6 +499,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
487
499
  - [GetCourseVersionSectionChild](docs/GetCourseVersionSectionChild.md)
488
500
  - [GetCourseVersionSectionProgression](docs/GetCourseVersionSectionProgression.md)
489
501
  - [GetCourseVersionSectionReporting](docs/GetCourseVersionSectionReporting.md)
502
+ - [GetDispatchCourse](docs/GetDispatchCourse.md)
503
+ - [GetDispatchRollup](docs/GetDispatchRollup.md)
490
504
  - [GetEffectiveLearnerExperience](docs/GetEffectiveLearnerExperience.md)
491
505
  - [GetEmailAssetUpload](docs/GetEmailAssetUpload.md)
492
506
  - [GetEmailDelivery](docs/GetEmailDelivery.md)
@@ -494,6 +508,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
494
508
  - [GetEmailTemplate](docs/GetEmailTemplate.md)
495
509
  - [GetEmailTemplateList](docs/GetEmailTemplateList.md)
496
510
  - [GetEmailTemplatePreview](docs/GetEmailTemplatePreview.md)
511
+ - [GetHostedScormRegistration](docs/GetHostedScormRegistration.md)
512
+ - [GetHostedScormRegistrationList](docs/GetHostedScormRegistrationList.md)
497
513
  - [GetLearnerDashboard](docs/GetLearnerDashboard.md)
498
514
  - [GetLearnerDashboardCourseList](docs/GetLearnerDashboardCourseList.md)
499
515
  - [GetLearnerDashboardSummary](docs/GetLearnerDashboardSummary.md)
@@ -567,6 +583,10 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
567
583
  - [GetZapierSetup](docs/GetZapierSetup.md)
568
584
  - [GetZapierShopifyCourseMappings](docs/GetZapierShopifyCourseMappings.md)
569
585
  - [GetZapierUsers](docs/GetZapierUsers.md)
586
+ - [HostedScormAccessPolicy](docs/HostedScormAccessPolicy.md)
587
+ - [HostedScormOutlineEntry](docs/HostedScormOutlineEntry.md)
588
+ - [HostedScormRollupPolicy](docs/HostedScormRollupPolicy.md)
589
+ - [HostedScormScoreItem](docs/HostedScormScoreItem.md)
570
590
  - [IntegrationEvent](docs/IntegrationEvent.md)
571
591
  - [IntegrationEventCertificate](docs/IntegrationEventCertificate.md)
572
592
  - [IntegrationEventCourse](docs/IntegrationEventCourse.md)
@@ -628,6 +648,11 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
628
648
  - [PostCourseVersionSection](docs/PostCourseVersionSection.md)
629
649
  - [PostCourseVersionSectionDuplicate](docs/PostCourseVersionSectionDuplicate.md)
630
650
  - [PostCustomWebhookIntegration](docs/PostCustomWebhookIntegration.md)
651
+ - [PostDispatchItemLaunch](docs/PostDispatchItemLaunch.md)
652
+ - [PostDispatchItemLaunchResponse](docs/PostDispatchItemLaunchResponse.md)
653
+ - [PostDispatchLaunch](docs/PostDispatchLaunch.md)
654
+ - [PostDispatchLaunchResponse](docs/PostDispatchLaunchResponse.md)
655
+ - [PostDispatchTokenExchange](docs/PostDispatchTokenExchange.md)
631
656
  - [PostDuplicate](docs/PostDuplicate.md)
632
657
  - [PostEmailAssetComplete](docs/PostEmailAssetComplete.md)
633
658
  - [PostEmailAssetUpload](docs/PostEmailAssetUpload.md)
@@ -694,6 +719,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
694
719
  - [PutCourseVersionSection](docs/PutCourseVersionSection.md)
695
720
  - [PutCustomWebhookIntegration](docs/PutCustomWebhookIntegration.md)
696
721
  - [PutEmailTemplateDraft](docs/PutEmailTemplateDraft.md)
722
+ - [PutHostedScormStatus](docs/PutHostedScormStatus.md)
697
723
  - [PutLearnerExperienceDraft](docs/PutLearnerExperienceDraft.md)
698
724
  - [PutLibraryQuiz](docs/PutLibraryQuiz.md)
699
725
  - [PutLibraryQuizCriteria](docs/PutLibraryQuizCriteria.md)
@@ -729,8 +755,14 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
729
755
  - [RichTextDocument](docs/RichTextDocument.md)
730
756
  - [RichTextInput](docs/RichTextInput.md)
731
757
  - [ScormGetValueResponse](docs/ScormGetValueResponse.md)
758
+ - [ScormNavigationDelivery](docs/ScormNavigationDelivery.md)
759
+ - [ScormNavigationRequest](docs/ScormNavigationRequest.md)
760
+ - [ScormNavigationResponse](docs/ScormNavigationResponse.md)
761
+ - [ScormNavigationValidity](docs/ScormNavigationValidity.md)
762
+ - [ScormRuntimeResponse](docs/ScormRuntimeResponse.md)
732
763
  - [ScormSetValueRequest](docs/ScormSetValueRequest.md)
733
764
  - [ScormSetValueResponse](docs/ScormSetValueResponse.md)
765
+ - [ScormTerminateResponse](docs/ScormTerminateResponse.md)
734
766
  - [SupportTicketUser](docs/SupportTicketUser.md)
735
767
  - [UpdateSelectedPortalResponse](docs/UpdateSelectedPortalResponse.md)
736
768
  - [UpdateSelectedPortalResponseHostPortal](docs/UpdateSelectedPortalResponseHostPortal.md)
@@ -754,7 +786,7 @@ and is automatically generated by the
754
786
  [OpenAPI Generator](https://openapi-generator.tech) project:
755
787
 
756
788
  - API version: `1.0.0`
757
- - Package version: `1.118.0`
789
+ - Package version: `1.119.0`
758
790
  - Generator version: `7.22.0`
759
791
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
760
792
 
@@ -25,6 +25,8 @@ import { type GetCourseVersionItemSession } from '../models/GetCourseVersionItem
25
25
  import { type GetCourseVersionList } from '../models/GetCourseVersionList';
26
26
  import { type GetCourseVersionProgression } from '../models/GetCourseVersionProgression';
27
27
  import { type GetCourseVersionSection } from '../models/GetCourseVersionSection';
28
+ import { type GetHostedScormRegistrationList } from '../models/GetHostedScormRegistrationList';
29
+ import { type HostedScormAccessPolicy } from '../models/HostedScormAccessPolicy';
28
30
  import { type PostClearSessions } from '../models/PostClearSessions';
29
31
  import { type PostClearSessionsResponse } from '../models/PostClearSessionsResponse';
30
32
  import { type PostCourse } from '../models/PostCourse';
@@ -45,6 +47,7 @@ import { type PutCourseVersionDraft } from '../models/PutCourseVersionDraft';
45
47
  import { type PutCourseVersionItem } from '../models/PutCourseVersionItem';
46
48
  import { type PutCourseVersionOutlineEntryMove } from '../models/PutCourseVersionOutlineEntryMove';
47
49
  import { type PutCourseVersionSection } from '../models/PutCourseVersionSection';
50
+ import { type PutHostedScormStatus } from '../models/PutHostedScormStatus';
48
51
  export interface DeleteCourseRequest {
49
52
  courseId: string;
50
53
  }
@@ -131,6 +134,12 @@ export interface GetCourseVersionProgressionRequest {
131
134
  courseVersionId: string;
132
135
  preview?: boolean;
133
136
  }
137
+ export interface GetHostedScormExportRegistrationsRequest {
138
+ courseId: string;
139
+ exportId: string;
140
+ page?: number;
141
+ pageSize?: number;
142
+ }
134
143
  export interface GetPortalCourseExportsRequest {
135
144
  page?: number;
136
145
  pageSize?: number;
@@ -234,6 +243,16 @@ export interface PutCourseVersionSectionRequest {
234
243
  sectionId: string;
235
244
  putCourseVersionSection: PutCourseVersionSection;
236
245
  }
246
+ export interface PutHostedScormExportAccessRequest {
247
+ courseId: string;
248
+ exportId: string;
249
+ body: HostedScormAccessPolicy;
250
+ }
251
+ export interface PutHostedScormExportStatusRequest {
252
+ courseId: string;
253
+ exportId: string;
254
+ putHostedScormStatus: PutHostedScormStatus;
255
+ }
237
256
  /**
238
257
  *
239
258
  */
@@ -468,6 +487,18 @@ export declare class CourseApi extends runtime.BaseAPI {
468
487
  * Get learner-specific completion and section lock state
469
488
  */
470
489
  getCourseVersionProgression(requestParameters: GetCourseVersionProgressionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionProgression>;
490
+ /**
491
+ * Creates request options for getHostedScormExportRegistrations without sending the request
492
+ */
493
+ getHostedScormExportRegistrationsRequestOpts(requestParameters: GetHostedScormExportRegistrationsRequest): Promise<runtime.RequestOpts>;
494
+ /**
495
+ * List hosted SCORM learner registrations
496
+ */
497
+ getHostedScormExportRegistrationsRaw(requestParameters: GetHostedScormExportRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetHostedScormRegistrationList>>;
498
+ /**
499
+ * List hosted SCORM learner registrations
500
+ */
501
+ getHostedScormExportRegistrations(requestParameters: GetHostedScormExportRegistrationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetHostedScormRegistrationList>;
471
502
  /**
472
503
  * Creates request options for getPortalCourseExports without sending the request
473
504
  */
@@ -738,6 +769,30 @@ export declare class CourseApi extends runtime.BaseAPI {
738
769
  * Update a draft section
739
770
  */
740
771
  putCourseVersionSection(requestParameters: PutCourseVersionSectionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionSection>;
772
+ /**
773
+ * Creates request options for putHostedScormExportAccess without sending the request
774
+ */
775
+ putHostedScormExportAccessRequestOpts(requestParameters: PutHostedScormExportAccessRequest): Promise<runtime.RequestOpts>;
776
+ /**
777
+ * Update mutable access controls for a hosted SCORM export
778
+ */
779
+ putHostedScormExportAccessRaw(requestParameters: PutHostedScormExportAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCourseExport>>;
780
+ /**
781
+ * Update mutable access controls for a hosted SCORM export
782
+ */
783
+ putHostedScormExportAccess(requestParameters: PutHostedScormExportAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseExport>;
784
+ /**
785
+ * Creates request options for putHostedScormExportStatus without sending the request
786
+ */
787
+ putHostedScormExportStatusRequestOpts(requestParameters: PutHostedScormExportStatusRequest): Promise<runtime.RequestOpts>;
788
+ /**
789
+ * Revoke or reactivate a hosted SCORM export
790
+ */
791
+ putHostedScormExportStatusRaw(requestParameters: PutHostedScormExportStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCourseExport>>;
792
+ /**
793
+ * Revoke or reactivate a hosted SCORM export
794
+ */
795
+ putHostedScormExportStatus(requestParameters: PutHostedScormExportStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseExport>;
741
796
  }
742
797
  /**
743
798
  * @export
@@ -39,6 +39,7 @@ const GetCourseVersionItemSession_1 = require("../models/GetCourseVersionItemSes
39
39
  const GetCourseVersionList_1 = require("../models/GetCourseVersionList");
40
40
  const GetCourseVersionProgression_1 = require("../models/GetCourseVersionProgression");
41
41
  const GetCourseVersionSection_1 = require("../models/GetCourseVersionSection");
42
+ const GetHostedScormRegistrationList_1 = require("../models/GetHostedScormRegistrationList");
42
43
  const PostClearSessions_1 = require("../models/PostClearSessions");
43
44
  const PostClearSessionsResponse_1 = require("../models/PostClearSessionsResponse");
44
45
  const PostCourse_1 = require("../models/PostCourse");
@@ -59,6 +60,7 @@ const PutCourseVersionDraft_1 = require("../models/PutCourseVersionDraft");
59
60
  const PutCourseVersionItem_1 = require("../models/PutCourseVersionItem");
60
61
  const PutCourseVersionOutlineEntryMove_1 = require("../models/PutCourseVersionOutlineEntryMove");
61
62
  const PutCourseVersionSection_1 = require("../models/PutCourseVersionSection");
63
+ const PutHostedScormStatus_1 = require("../models/PutHostedScormStatus");
62
64
  /**
63
65
  *
64
66
  */
@@ -901,6 +903,55 @@ class CourseApi extends runtime.BaseAPI {
901
903
  return yield response.value();
902
904
  });
903
905
  }
906
+ /**
907
+ * Creates request options for getHostedScormExportRegistrations without sending the request
908
+ */
909
+ getHostedScormExportRegistrationsRequestOpts(requestParameters) {
910
+ return __awaiter(this, void 0, void 0, function* () {
911
+ if (requestParameters['courseId'] == null) {
912
+ throw new runtime.RequiredError('courseId', 'Required parameter "courseId" was null or undefined when calling getHostedScormExportRegistrations().');
913
+ }
914
+ if (requestParameters['exportId'] == null) {
915
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling getHostedScormExportRegistrations().');
916
+ }
917
+ const queryParameters = {};
918
+ if (requestParameters['page'] != null) {
919
+ queryParameters['page'] = requestParameters['page'];
920
+ }
921
+ if (requestParameters['pageSize'] != null) {
922
+ queryParameters['page_size'] = requestParameters['pageSize'];
923
+ }
924
+ const headerParameters = {};
925
+ let urlPath = `/courses/{courseId}/exports/{exportId}/registrations`;
926
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
927
+ urlPath = urlPath.replace('{exportId}', encodeURIComponent(String(requestParameters['exportId'])));
928
+ return {
929
+ path: urlPath,
930
+ method: 'GET',
931
+ headers: headerParameters,
932
+ query: queryParameters,
933
+ };
934
+ });
935
+ }
936
+ /**
937
+ * List hosted SCORM learner registrations
938
+ */
939
+ getHostedScormExportRegistrationsRaw(requestParameters, initOverrides) {
940
+ return __awaiter(this, void 0, void 0, function* () {
941
+ const requestOptions = yield this.getHostedScormExportRegistrationsRequestOpts(requestParameters);
942
+ const response = yield this.request(requestOptions, initOverrides);
943
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetHostedScormRegistrationList_1.GetHostedScormRegistrationListFromJSON)(jsonValue));
944
+ });
945
+ }
946
+ /**
947
+ * List hosted SCORM learner registrations
948
+ */
949
+ getHostedScormExportRegistrations(requestParameters, initOverrides) {
950
+ return __awaiter(this, void 0, void 0, function* () {
951
+ const response = yield this.getHostedScormExportRegistrationsRaw(requestParameters, initOverrides);
952
+ return yield response.value();
953
+ });
954
+ }
904
955
  /**
905
956
  * Creates request options for getPortalCourseExports without sending the request
906
957
  */
@@ -1936,6 +1987,102 @@ class CourseApi extends runtime.BaseAPI {
1936
1987
  return yield response.value();
1937
1988
  });
1938
1989
  }
1990
+ /**
1991
+ * Creates request options for putHostedScormExportAccess without sending the request
1992
+ */
1993
+ putHostedScormExportAccessRequestOpts(requestParameters) {
1994
+ return __awaiter(this, void 0, void 0, function* () {
1995
+ if (requestParameters['courseId'] == null) {
1996
+ throw new runtime.RequiredError('courseId', 'Required parameter "courseId" was null or undefined when calling putHostedScormExportAccess().');
1997
+ }
1998
+ if (requestParameters['exportId'] == null) {
1999
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling putHostedScormExportAccess().');
2000
+ }
2001
+ if (requestParameters['body'] == null) {
2002
+ throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling putHostedScormExportAccess().');
2003
+ }
2004
+ const queryParameters = {};
2005
+ const headerParameters = {};
2006
+ headerParameters['Content-Type'] = 'application/json';
2007
+ let urlPath = `/courses/{courseId}/exports/{exportId}/access`;
2008
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
2009
+ urlPath = urlPath.replace('{exportId}', encodeURIComponent(String(requestParameters['exportId'])));
2010
+ return {
2011
+ path: urlPath,
2012
+ method: 'PUT',
2013
+ headers: headerParameters,
2014
+ query: queryParameters,
2015
+ body: requestParameters['body'],
2016
+ };
2017
+ });
2018
+ }
2019
+ /**
2020
+ * Update mutable access controls for a hosted SCORM export
2021
+ */
2022
+ putHostedScormExportAccessRaw(requestParameters, initOverrides) {
2023
+ return __awaiter(this, void 0, void 0, function* () {
2024
+ const requestOptions = yield this.putHostedScormExportAccessRequestOpts(requestParameters);
2025
+ const response = yield this.request(requestOptions, initOverrides);
2026
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetCourseExport_1.GetCourseExportFromJSON)(jsonValue));
2027
+ });
2028
+ }
2029
+ /**
2030
+ * Update mutable access controls for a hosted SCORM export
2031
+ */
2032
+ putHostedScormExportAccess(requestParameters, initOverrides) {
2033
+ return __awaiter(this, void 0, void 0, function* () {
2034
+ const response = yield this.putHostedScormExportAccessRaw(requestParameters, initOverrides);
2035
+ return yield response.value();
2036
+ });
2037
+ }
2038
+ /**
2039
+ * Creates request options for putHostedScormExportStatus without sending the request
2040
+ */
2041
+ putHostedScormExportStatusRequestOpts(requestParameters) {
2042
+ return __awaiter(this, void 0, void 0, function* () {
2043
+ if (requestParameters['courseId'] == null) {
2044
+ throw new runtime.RequiredError('courseId', 'Required parameter "courseId" was null or undefined when calling putHostedScormExportStatus().');
2045
+ }
2046
+ if (requestParameters['exportId'] == null) {
2047
+ throw new runtime.RequiredError('exportId', 'Required parameter "exportId" was null or undefined when calling putHostedScormExportStatus().');
2048
+ }
2049
+ if (requestParameters['putHostedScormStatus'] == null) {
2050
+ throw new runtime.RequiredError('putHostedScormStatus', 'Required parameter "putHostedScormStatus" was null or undefined when calling putHostedScormExportStatus().');
2051
+ }
2052
+ const queryParameters = {};
2053
+ const headerParameters = {};
2054
+ headerParameters['Content-Type'] = 'application/json';
2055
+ let urlPath = `/courses/{courseId}/exports/{exportId}/status`;
2056
+ urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
2057
+ urlPath = urlPath.replace('{exportId}', encodeURIComponent(String(requestParameters['exportId'])));
2058
+ return {
2059
+ path: urlPath,
2060
+ method: 'PUT',
2061
+ headers: headerParameters,
2062
+ query: queryParameters,
2063
+ body: (0, PutHostedScormStatus_1.PutHostedScormStatusToJSON)(requestParameters['putHostedScormStatus']),
2064
+ };
2065
+ });
2066
+ }
2067
+ /**
2068
+ * Revoke or reactivate a hosted SCORM export
2069
+ */
2070
+ putHostedScormExportStatusRaw(requestParameters, initOverrides) {
2071
+ return __awaiter(this, void 0, void 0, function* () {
2072
+ const requestOptions = yield this.putHostedScormExportStatusRequestOpts(requestParameters);
2073
+ const response = yield this.request(requestOptions, initOverrides);
2074
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetCourseExport_1.GetCourseExportFromJSON)(jsonValue));
2075
+ });
2076
+ }
2077
+ /**
2078
+ * Revoke or reactivate a hosted SCORM export
2079
+ */
2080
+ putHostedScormExportStatus(requestParameters, initOverrides) {
2081
+ return __awaiter(this, void 0, void 0, function* () {
2082
+ const response = yield this.putHostedScormExportStatusRaw(requestParameters, initOverrides);
2083
+ return yield response.value();
2084
+ });
2085
+ }
1939
2086
  }
1940
2087
  exports.CourseApi = CourseApi;
1941
2088
  /**