@easyedu/js-lsm-api 1.100.0 → 1.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +20 -0
- package/README.md +14 -2
- package/dist/apis/ChangelogApi.d.ts +32 -0
- package/dist/apis/ChangelogApi.js +70 -0
- package/dist/apis/CourseApi.d.ts +34 -0
- package/dist/apis/CourseApi.js +89 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ChangelogApi.d.ts +32 -0
- package/dist/esm/apis/ChangelogApi.js +66 -0
- package/dist/esm/apis/CourseApi.d.ts +34 -0
- package/dist/esm/apis/CourseApi.js +89 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/CourseProgressionMode.d.ts +25 -0
- package/dist/esm/models/CourseProgressionMode.js +43 -0
- package/dist/esm/models/GetChangelogEntry.d.ts +44 -0
- package/dist/esm/models/GetChangelogEntry.js +51 -0
- package/dist/esm/models/GetChangelogList.d.ts +33 -0
- package/dist/esm/models/GetChangelogList.js +44 -0
- package/dist/esm/models/GetCourseVersion.d.ts +7 -0
- package/dist/esm/models/GetCourseVersion.js +5 -0
- package/dist/esm/models/GetCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/GetCourseVersionItem.js +4 -0
- package/dist/esm/models/GetCourseVersionItemProgression.d.ts +105 -0
- package/dist/esm/models/GetCourseVersionItemProgression.js +92 -0
- package/dist/esm/models/GetCourseVersionItemSession.d.ts +37 -1
- package/dist/esm/models/GetCourseVersionItemSession.js +24 -0
- package/dist/esm/models/GetCourseVersionProgression.d.ts +59 -0
- package/dist/esm/models/GetCourseVersionProgression.js +62 -0
- package/dist/esm/models/GetCourseVersionSectionProgression.d.ts +75 -0
- package/dist/esm/models/GetCourseVersionSectionProgression.js +72 -0
- package/dist/esm/models/GetResourceSession.d.ts +36 -0
- package/dist/esm/models/GetResourceSession.js +24 -0
- package/dist/esm/models/PostCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/PostCourseVersionItem.js +2 -0
- package/dist/esm/models/ProgressionGateError.d.ts +76 -0
- package/dist/esm/models/ProgressionGateError.js +74 -0
- package/dist/esm/models/ProgressionLockReason.d.ts +24 -0
- package/dist/esm/models/ProgressionLockReason.js +42 -0
- package/dist/esm/models/PutCourseVersionDraft.d.ts +33 -0
- package/dist/esm/models/PutCourseVersionDraft.js +44 -0
- package/dist/esm/models/PutCourseVersionItem.d.ts +6 -0
- package/dist/esm/models/PutCourseVersionItem.js +2 -0
- package/dist/esm/models/PutResourceSessionOverride.d.ts +6 -0
- package/dist/esm/models/PutResourceSessionOverride.js +2 -0
- package/dist/esm/models/index.d.ts +9 -0
- package/dist/esm/models/index.js +9 -0
- package/dist/models/CourseProgressionMode.d.ts +25 -0
- package/dist/models/CourseProgressionMode.js +51 -0
- package/dist/models/GetChangelogEntry.d.ts +44 -0
- package/dist/models/GetChangelogEntry.js +58 -0
- package/dist/models/GetChangelogList.d.ts +33 -0
- package/dist/models/GetChangelogList.js +51 -0
- package/dist/models/GetCourseVersion.d.ts +7 -0
- package/dist/models/GetCourseVersion.js +5 -0
- package/dist/models/GetCourseVersionItem.d.ts +6 -0
- package/dist/models/GetCourseVersionItem.js +4 -0
- package/dist/models/GetCourseVersionItemProgression.d.ts +105 -0
- package/dist/models/GetCourseVersionItemProgression.js +99 -0
- package/dist/models/GetCourseVersionItemSession.d.ts +37 -1
- package/dist/models/GetCourseVersionItemSession.js +24 -0
- package/dist/models/GetCourseVersionProgression.d.ts +59 -0
- package/dist/models/GetCourseVersionProgression.js +69 -0
- package/dist/models/GetCourseVersionSectionProgression.d.ts +75 -0
- package/dist/models/GetCourseVersionSectionProgression.js +79 -0
- package/dist/models/GetResourceSession.d.ts +36 -0
- package/dist/models/GetResourceSession.js +24 -0
- package/dist/models/PostCourseVersionItem.d.ts +6 -0
- package/dist/models/PostCourseVersionItem.js +2 -0
- package/dist/models/ProgressionGateError.d.ts +76 -0
- package/dist/models/ProgressionGateError.js +82 -0
- package/dist/models/ProgressionLockReason.d.ts +24 -0
- package/dist/models/ProgressionLockReason.js +50 -0
- package/dist/models/PutCourseVersionDraft.d.ts +33 -0
- package/dist/models/PutCourseVersionDraft.js +51 -0
- package/dist/models/PutCourseVersionItem.d.ts +6 -0
- package/dist/models/PutCourseVersionItem.js +2 -0
- package/dist/models/PutResourceSessionOverride.d.ts +6 -0
- package/dist/models/PutResourceSessionOverride.js +2 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/docs/ChangelogApi.md +68 -0
- package/docs/CourseApi.md +143 -1
- package/docs/CourseProgressionMode.md +33 -0
- package/docs/GetChangelogEntry.md +39 -0
- package/docs/GetChangelogList.md +34 -0
- package/docs/GetCourseVersion.md +2 -0
- package/docs/GetCourseVersionItem.md +2 -0
- package/docs/GetCourseVersionItemProgression.md +58 -0
- package/docs/GetCourseVersionItemSession.md +12 -0
- package/docs/GetCourseVersionProgression.md +43 -0
- package/docs/GetCourseVersionSectionProgression.md +48 -0
- package/docs/GetResourceSession.md +12 -0
- package/docs/PlayerApi.md +1 -0
- package/docs/PostCourseVersionItem.md +2 -0
- package/docs/ProgressionGateError.md +47 -0
- package/docs/ProgressionLockReason.md +32 -0
- package/docs/PutCourseVersionDraft.md +34 -0
- package/docs/PutCourseVersionItem.md +2 -0
- package/docs/PutResourceSessionOverride.md +2 -0
- package/package.json +1 -1
- package/src/apis/ChangelogApi.ts +66 -0
- package/src/apis/CourseApi.ts +133 -0
- package/src/apis/PlayerApi.ts +5 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CourseProgressionMode.ts +53 -0
- package/src/models/GetChangelogEntry.ts +84 -0
- package/src/models/GetChangelogList.ts +74 -0
- package/src/models/GetCourseVersion.ts +16 -0
- package/src/models/GetCourseVersionItem.ts +9 -0
- package/src/models/GetCourseVersionItemProgression.ts +184 -0
- package/src/models/GetCourseVersionItemSession.ts +55 -1
- package/src/models/GetCourseVersionProgression.ts +126 -0
- package/src/models/GetCourseVersionSectionProgression.ts +139 -0
- package/src/models/GetResourceSession.ts +54 -0
- package/src/models/PostCourseVersionItem.ts +8 -0
- package/src/models/ProgressionGateError.ts +131 -0
- package/src/models/ProgressionLockReason.ts +52 -0
- package/src/models/PutCourseVersionDraft.ts +76 -0
- package/src/models/PutCourseVersionItem.ts +8 -0
- package/src/models/PutResourceSessionOverride.ts +8 -0
- package/src/models/index.ts +9 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -26,6 +26,7 @@ docs/CertificateRenewalPolicy.md
|
|
|
26
26
|
docs/CertificateTemplate.md
|
|
27
27
|
docs/CertificateTemplateApi.md
|
|
28
28
|
docs/CertificateTemplateVersion.md
|
|
29
|
+
docs/ChangelogApi.md
|
|
29
30
|
docs/ChatApi.md
|
|
30
31
|
docs/ContentLaunchMode.md
|
|
31
32
|
docs/ContentLibraryApi.md
|
|
@@ -34,6 +35,7 @@ docs/ContentLibraryVersionStatus.md
|
|
|
34
35
|
docs/CourseApi.md
|
|
35
36
|
docs/CourseCatalog.md
|
|
36
37
|
docs/CourseCatalogApi.md
|
|
38
|
+
docs/CourseProgressionMode.md
|
|
37
39
|
docs/CourseShare.md
|
|
38
40
|
docs/CourseShareApi.md
|
|
39
41
|
docs/DispatchApi.md
|
|
@@ -49,6 +51,8 @@ docs/GetCertificateConfigList.md
|
|
|
49
51
|
docs/GetCertificateEventList.md
|
|
50
52
|
docs/GetCertificateList.md
|
|
51
53
|
docs/GetCertificateTemplateList.md
|
|
54
|
+
docs/GetChangelogEntry.md
|
|
55
|
+
docs/GetChangelogList.md
|
|
52
56
|
docs/GetChatMessage.md
|
|
53
57
|
docs/GetContentLibraryVersion.md
|
|
54
58
|
docs/GetConversation.md
|
|
@@ -64,12 +68,15 @@ docs/GetCourseList.md
|
|
|
64
68
|
docs/GetCourseVersion.md
|
|
65
69
|
docs/GetCourseVersionItem.md
|
|
66
70
|
docs/GetCourseVersionItemLaunch.md
|
|
71
|
+
docs/GetCourseVersionItemProgression.md
|
|
67
72
|
docs/GetCourseVersionItemReporting.md
|
|
68
73
|
docs/GetCourseVersionItemSession.md
|
|
69
74
|
docs/GetCourseVersionList.md
|
|
75
|
+
docs/GetCourseVersionProgression.md
|
|
70
76
|
docs/GetCourseVersionReporting.md
|
|
71
77
|
docs/GetCourseVersionSection.md
|
|
72
78
|
docs/GetCourseVersionSectionChild.md
|
|
79
|
+
docs/GetCourseVersionSectionProgression.md
|
|
73
80
|
docs/GetCourseVersionSectionReporting.md
|
|
74
81
|
docs/GetEmailAssetUpload.md
|
|
75
82
|
docs/GetEmailDelivery.md
|
|
@@ -223,6 +230,8 @@ docs/PostSignupRequest.md
|
|
|
223
230
|
docs/PostSignupRequestResponse.md
|
|
224
231
|
docs/PostSupportTicket.md
|
|
225
232
|
docs/PostSupportTicketComment.md
|
|
233
|
+
docs/ProgressionGateError.md
|
|
234
|
+
docs/ProgressionLockReason.md
|
|
226
235
|
docs/PutAttemptAllowance.md
|
|
227
236
|
docs/PutBadgeIssuer.md
|
|
228
237
|
docs/PutCertificateConfig.md
|
|
@@ -231,6 +240,7 @@ docs/PutCertificateTemplateDraft.md
|
|
|
231
240
|
docs/PutCourse.md
|
|
232
241
|
docs/PutCourseCatalog.md
|
|
233
242
|
docs/PutCourseEnrollment.md
|
|
243
|
+
docs/PutCourseVersionDraft.md
|
|
234
244
|
docs/PutCourseVersionItem.md
|
|
235
245
|
docs/PutCourseVersionOutlineEntryMove.md
|
|
236
246
|
docs/PutCourseVersionSection.md
|
|
@@ -278,6 +288,7 @@ docs/UserApi.md
|
|
|
278
288
|
package.json
|
|
279
289
|
src/apis/CertificateApi.ts
|
|
280
290
|
src/apis/CertificateTemplateApi.ts
|
|
291
|
+
src/apis/ChangelogApi.ts
|
|
281
292
|
src/apis/ChatApi.ts
|
|
282
293
|
src/apis/ContentLibraryApi.ts
|
|
283
294
|
src/apis/ContentLibraryQuizApi.ts
|
|
@@ -324,6 +335,7 @@ src/models/CertificateTemplateVersion.ts
|
|
|
324
335
|
src/models/ContentLaunchMode.ts
|
|
325
336
|
src/models/ContentLibraryVersionStatus.ts
|
|
326
337
|
src/models/CourseCatalog.ts
|
|
338
|
+
src/models/CourseProgressionMode.ts
|
|
327
339
|
src/models/CourseShare.ts
|
|
328
340
|
src/models/EffectiveCertificateConfig.ts
|
|
329
341
|
src/models/EmailTemplateDefinition.ts
|
|
@@ -336,6 +348,8 @@ src/models/GetCertificateConfigList.ts
|
|
|
336
348
|
src/models/GetCertificateEventList.ts
|
|
337
349
|
src/models/GetCertificateList.ts
|
|
338
350
|
src/models/GetCertificateTemplateList.ts
|
|
351
|
+
src/models/GetChangelogEntry.ts
|
|
352
|
+
src/models/GetChangelogList.ts
|
|
339
353
|
src/models/GetChatMessage.ts
|
|
340
354
|
src/models/GetContentLibraryVersion.ts
|
|
341
355
|
src/models/GetConversation.ts
|
|
@@ -351,12 +365,15 @@ src/models/GetCourseList.ts
|
|
|
351
365
|
src/models/GetCourseVersion.ts
|
|
352
366
|
src/models/GetCourseVersionItem.ts
|
|
353
367
|
src/models/GetCourseVersionItemLaunch.ts
|
|
368
|
+
src/models/GetCourseVersionItemProgression.ts
|
|
354
369
|
src/models/GetCourseVersionItemReporting.ts
|
|
355
370
|
src/models/GetCourseVersionItemSession.ts
|
|
356
371
|
src/models/GetCourseVersionList.ts
|
|
372
|
+
src/models/GetCourseVersionProgression.ts
|
|
357
373
|
src/models/GetCourseVersionReporting.ts
|
|
358
374
|
src/models/GetCourseVersionSection.ts
|
|
359
375
|
src/models/GetCourseVersionSectionChild.ts
|
|
376
|
+
src/models/GetCourseVersionSectionProgression.ts
|
|
360
377
|
src/models/GetCourseVersionSectionReporting.ts
|
|
361
378
|
src/models/GetEmailAssetUpload.ts
|
|
362
379
|
src/models/GetEmailDelivery.ts
|
|
@@ -506,6 +523,8 @@ src/models/PostSignupRequest.ts
|
|
|
506
523
|
src/models/PostSignupRequestResponse.ts
|
|
507
524
|
src/models/PostSupportTicket.ts
|
|
508
525
|
src/models/PostSupportTicketComment.ts
|
|
526
|
+
src/models/ProgressionGateError.ts
|
|
527
|
+
src/models/ProgressionLockReason.ts
|
|
509
528
|
src/models/PutAttemptAllowance.ts
|
|
510
529
|
src/models/PutBadgeIssuer.ts
|
|
511
530
|
src/models/PutCertificateConfig.ts
|
|
@@ -514,6 +533,7 @@ src/models/PutCertificateTemplateDraft.ts
|
|
|
514
533
|
src/models/PutCourse.ts
|
|
515
534
|
src/models/PutCourseCatalog.ts
|
|
516
535
|
src/models/PutCourseEnrollment.ts
|
|
536
|
+
src/models/PutCourseVersionDraft.ts
|
|
517
537
|
src/models/PutCourseVersionItem.ts
|
|
518
538
|
src/models/PutCourseVersionOutlineEntryMove.ts
|
|
519
539
|
src/models/PutCourseVersionSection.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.102.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -116,6 +116,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
116
116
|
*CertificateTemplateApi* | [**putPlatformCertificateAssetFile**](docs/CertificateTemplateApi.md#putplatformcertificateassetfile) | **PUT** /system/certificate-assets/{assetId}/file | Upload platform certificate image bytes
|
|
117
117
|
*CertificateTemplateApi* | [**putPlatformCertificateTemplate**](docs/CertificateTemplateApi.md#putplatformcertificatetemplate) | **PUT** /system/certificate-templates/{templateId} | Update platform certificate design metadata
|
|
118
118
|
*CertificateTemplateApi* | [**putPlatformCertificateTemplateDraft**](docs/CertificateTemplateApi.md#putplatformcertificatetemplatedraft) | **PUT** /system/certificate-templates/{templateId}/draft | Update a platform certificate design draft
|
|
119
|
+
*ChangelogApi* | [**getChangelog**](docs/ChangelogApi.md#getchangelog) | **GET** /changelog | List user-facing product updates
|
|
119
120
|
*ChatApi* | [**deleteConversation**](docs/ChatApi.md#deleteconversation) | **DELETE** /chat/conversations/{conversationId} | Delete a conversation
|
|
120
121
|
*ChatApi* | [**getConversationMessages**](docs/ChatApi.md#getconversationmessages) | **GET** /chat/conversations/{conversationId}/messages | Get all messages in a conversation
|
|
121
122
|
*ChatApi* | [**getConversations**](docs/ChatApi.md#getconversations) | **GET** /chat/conversations | List conversations for the current user
|
|
@@ -183,6 +184,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
183
184
|
*CourseApi* | [**getCourseVersion**](docs/CourseApi.md#getcourseversion) | **GET** /courses/{courseId}/versions/{courseVersionId} | Get one immutable course version or preview the owned draft
|
|
184
185
|
*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
|
|
185
186
|
*CourseApi* | [**getCourseVersionList**](docs/CourseApi.md#getcourseversionlist) | **GET** /courses/{courseId}/versions | List immutable course versions and the current draft
|
|
187
|
+
*CourseApi* | [**getCourseVersionProgression**](docs/CourseApi.md#getcourseversionprogression) | **GET** /courses/{courseId}/versions/{courseVersionId}/progression | Get learner-specific completion and section lock state
|
|
186
188
|
*CourseApi* | [**postCourse**](docs/CourseApi.md#postcourse) | **POST** /courses | Post a new course
|
|
187
189
|
*CourseApi* | [**postCourseDraft**](docs/CourseApi.md#postcoursedraft) | **POST** /courses/{courseId}/draft | Create or return the single editable course draft
|
|
188
190
|
*CourseApi* | [**postCourseDraftResourceUpdateAll**](docs/CourseApi.md#postcoursedraftresourceupdateall) | **POST** /courses/{courseId}/draft/resources/update-all | Update all draft resource placements to their latest published versions
|
|
@@ -200,6 +202,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
200
202
|
*CourseApi* | [**putCourse**](docs/CourseApi.md#putcourse) | **PUT** /courses/{courseId} | Update a course by id
|
|
201
203
|
*CourseApi* | [**putCourseEnrollment**](docs/CourseApi.md#putcourseenrollment) | **PUT** /courses/{courseId}/enrollments/{enrollmentId} | Update a course enrollment
|
|
202
204
|
*CourseApi* | [**putCourseItemLearnerAttemptAllowance**](docs/CourseApi.md#putcourseitemlearnerattemptallowance) | **PUT** /courses/{courseId}/versions/{courseVersionId}/items/{itemId}/learners/{userId}/attempt-allowance | Set extra attempts for a learner on a course item
|
|
205
|
+
*CourseApi* | [**putCourseVersionDraft**](docs/CourseApi.md#putcourseversiondraft) | **PUT** /courses/{courseId}/draft | Update progression settings on the editable course draft
|
|
203
206
|
*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
|
|
204
207
|
*CourseApi* | [**putCourseVersionOutlineEntryMove**](docs/CourseApi.md#putcourseversionoutlineentrymove) | **PUT** /courses/{courseId}/draft/outline/move | Move a section or item to a new parent and sibling position
|
|
205
208
|
*CourseApi* | [**putCourseVersionSection**](docs/CourseApi.md#putcourseversionsection) | **PUT** /courses/{courseId}/draft/sections/{sectionId} | Update a draft section
|
|
@@ -373,6 +376,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
373
376
|
- [ContentLaunchMode](docs/ContentLaunchMode.md)
|
|
374
377
|
- [ContentLibraryVersionStatus](docs/ContentLibraryVersionStatus.md)
|
|
375
378
|
- [CourseCatalog](docs/CourseCatalog.md)
|
|
379
|
+
- [CourseProgressionMode](docs/CourseProgressionMode.md)
|
|
376
380
|
- [CourseShare](docs/CourseShare.md)
|
|
377
381
|
- [EffectiveCertificateConfig](docs/EffectiveCertificateConfig.md)
|
|
378
382
|
- [EmailTemplateDefinition](docs/EmailTemplateDefinition.md)
|
|
@@ -385,6 +389,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
385
389
|
- [GetCertificateEventList](docs/GetCertificateEventList.md)
|
|
386
390
|
- [GetCertificateList](docs/GetCertificateList.md)
|
|
387
391
|
- [GetCertificateTemplateList](docs/GetCertificateTemplateList.md)
|
|
392
|
+
- [GetChangelogEntry](docs/GetChangelogEntry.md)
|
|
393
|
+
- [GetChangelogList](docs/GetChangelogList.md)
|
|
388
394
|
- [GetChatMessage](docs/GetChatMessage.md)
|
|
389
395
|
- [GetContentLibraryVersion](docs/GetContentLibraryVersion.md)
|
|
390
396
|
- [GetConversation](docs/GetConversation.md)
|
|
@@ -400,12 +406,15 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
400
406
|
- [GetCourseVersion](docs/GetCourseVersion.md)
|
|
401
407
|
- [GetCourseVersionItem](docs/GetCourseVersionItem.md)
|
|
402
408
|
- [GetCourseVersionItemLaunch](docs/GetCourseVersionItemLaunch.md)
|
|
409
|
+
- [GetCourseVersionItemProgression](docs/GetCourseVersionItemProgression.md)
|
|
403
410
|
- [GetCourseVersionItemReporting](docs/GetCourseVersionItemReporting.md)
|
|
404
411
|
- [GetCourseVersionItemSession](docs/GetCourseVersionItemSession.md)
|
|
405
412
|
- [GetCourseVersionList](docs/GetCourseVersionList.md)
|
|
413
|
+
- [GetCourseVersionProgression](docs/GetCourseVersionProgression.md)
|
|
406
414
|
- [GetCourseVersionReporting](docs/GetCourseVersionReporting.md)
|
|
407
415
|
- [GetCourseVersionSection](docs/GetCourseVersionSection.md)
|
|
408
416
|
- [GetCourseVersionSectionChild](docs/GetCourseVersionSectionChild.md)
|
|
417
|
+
- [GetCourseVersionSectionProgression](docs/GetCourseVersionSectionProgression.md)
|
|
409
418
|
- [GetCourseVersionSectionReporting](docs/GetCourseVersionSectionReporting.md)
|
|
410
419
|
- [GetEmailAssetUpload](docs/GetEmailAssetUpload.md)
|
|
411
420
|
- [GetEmailDelivery](docs/GetEmailDelivery.md)
|
|
@@ -555,6 +564,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
555
564
|
- [PostSignupRequestResponse](docs/PostSignupRequestResponse.md)
|
|
556
565
|
- [PostSupportTicket](docs/PostSupportTicket.md)
|
|
557
566
|
- [PostSupportTicketComment](docs/PostSupportTicketComment.md)
|
|
567
|
+
- [ProgressionGateError](docs/ProgressionGateError.md)
|
|
568
|
+
- [ProgressionLockReason](docs/ProgressionLockReason.md)
|
|
558
569
|
- [PutAttemptAllowance](docs/PutAttemptAllowance.md)
|
|
559
570
|
- [PutBadgeIssuer](docs/PutBadgeIssuer.md)
|
|
560
571
|
- [PutCertificateConfig](docs/PutCertificateConfig.md)
|
|
@@ -563,6 +574,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
563
574
|
- [PutCourse](docs/PutCourse.md)
|
|
564
575
|
- [PutCourseCatalog](docs/PutCourseCatalog.md)
|
|
565
576
|
- [PutCourseEnrollment](docs/PutCourseEnrollment.md)
|
|
577
|
+
- [PutCourseVersionDraft](docs/PutCourseVersionDraft.md)
|
|
566
578
|
- [PutCourseVersionItem](docs/PutCourseVersionItem.md)
|
|
567
579
|
- [PutCourseVersionOutlineEntryMove](docs/PutCourseVersionOutlineEntryMove.md)
|
|
568
580
|
- [PutCourseVersionSection](docs/PutCourseVersionSection.md)
|
|
@@ -613,7 +625,7 @@ and is automatically generated by the
|
|
|
613
625
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
614
626
|
|
|
615
627
|
- API version: `1.0.0`
|
|
616
|
-
- Package version: `1.
|
|
628
|
+
- Package version: `1.102.0`
|
|
617
629
|
- Generator version: `7.22.0`
|
|
618
630
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
619
631
|
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type GetChangelogList } from '../models/GetChangelogList';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class ChangelogApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Creates request options for getChangelog without sending the request
|
|
20
|
+
*/
|
|
21
|
+
getChangelogRequestOpts(): Promise<runtime.RequestOpts>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
24
|
+
* List user-facing product updates
|
|
25
|
+
*/
|
|
26
|
+
getChangelogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetChangelogList>>;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
29
|
+
* List user-facing product updates
|
|
30
|
+
*/
|
|
31
|
+
getChangelog(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetChangelogList>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.ChangelogApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const GetChangelogList_1 = require("../models/GetChangelogList");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class ChangelogApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Creates request options for getChangelog without sending the request
|
|
34
|
+
*/
|
|
35
|
+
getChangelogRequestOpts() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
let urlPath = `/changelog`;
|
|
40
|
+
return {
|
|
41
|
+
path: urlPath,
|
|
42
|
+
method: 'GET',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
50
|
+
* List user-facing product updates
|
|
51
|
+
*/
|
|
52
|
+
getChangelogRaw(initOverrides) {
|
|
53
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
+
const requestOptions = yield this.getChangelogRequestOpts();
|
|
55
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
56
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetChangelogList_1.GetChangelogListFromJSON)(jsonValue));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
61
|
+
* List user-facing product updates
|
|
62
|
+
*/
|
|
63
|
+
getChangelog(initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
const response = yield this.getChangelogRaw(initOverrides);
|
|
66
|
+
return yield response.value();
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ChangelogApi = ChangelogApi;
|
package/dist/apis/CourseApi.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { type GetCourseVersionItem } from '../models/GetCourseVersionItem';
|
|
|
23
23
|
import { type GetCourseVersionItemLaunch } from '../models/GetCourseVersionItemLaunch';
|
|
24
24
|
import { type GetCourseVersionItemSession } from '../models/GetCourseVersionItemSession';
|
|
25
25
|
import { type GetCourseVersionList } from '../models/GetCourseVersionList';
|
|
26
|
+
import { type GetCourseVersionProgression } from '../models/GetCourseVersionProgression';
|
|
26
27
|
import { type GetCourseVersionSection } from '../models/GetCourseVersionSection';
|
|
27
28
|
import { type PostClearSessions } from '../models/PostClearSessions';
|
|
28
29
|
import { type PostClearSessionsResponse } from '../models/PostClearSessionsResponse';
|
|
@@ -40,6 +41,7 @@ import { type PostDuplicate } from '../models/PostDuplicate';
|
|
|
40
41
|
import { type PutAttemptAllowance } from '../models/PutAttemptAllowance';
|
|
41
42
|
import { type PutCourse } from '../models/PutCourse';
|
|
42
43
|
import { type PutCourseEnrollment } from '../models/PutCourseEnrollment';
|
|
44
|
+
import { type PutCourseVersionDraft } from '../models/PutCourseVersionDraft';
|
|
43
45
|
import { type PutCourseVersionItem } from '../models/PutCourseVersionItem';
|
|
44
46
|
import { type PutCourseVersionOutlineEntryMove } from '../models/PutCourseVersionOutlineEntryMove';
|
|
45
47
|
import { type PutCourseVersionSection } from '../models/PutCourseVersionSection';
|
|
@@ -122,6 +124,10 @@ export interface GetCourseVersionItemLaunchRequest {
|
|
|
122
124
|
export interface GetCourseVersionListRequest {
|
|
123
125
|
courseId: string;
|
|
124
126
|
}
|
|
127
|
+
export interface GetCourseVersionProgressionRequest {
|
|
128
|
+
courseId: string;
|
|
129
|
+
courseVersionId: string;
|
|
130
|
+
}
|
|
125
131
|
export interface PostCourseRequest {
|
|
126
132
|
postCourse: PostCourse;
|
|
127
133
|
}
|
|
@@ -199,6 +205,10 @@ export interface PutCourseItemLearnerAttemptAllowanceRequest {
|
|
|
199
205
|
userId: string;
|
|
200
206
|
putAttemptAllowance: PutAttemptAllowance;
|
|
201
207
|
}
|
|
208
|
+
export interface PutCourseVersionDraftRequest {
|
|
209
|
+
courseId: string;
|
|
210
|
+
putCourseVersionDraft: PutCourseVersionDraft;
|
|
211
|
+
}
|
|
202
212
|
export interface PutCourseVersionItemRequest {
|
|
203
213
|
courseId: string;
|
|
204
214
|
sectionId: string;
|
|
@@ -436,6 +446,18 @@ export declare class CourseApi extends runtime.BaseAPI {
|
|
|
436
446
|
* List immutable course versions and the current draft
|
|
437
447
|
*/
|
|
438
448
|
getCourseVersionList(requestParameters: GetCourseVersionListRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionList>;
|
|
449
|
+
/**
|
|
450
|
+
* Creates request options for getCourseVersionProgression without sending the request
|
|
451
|
+
*/
|
|
452
|
+
getCourseVersionProgressionRequestOpts(requestParameters: GetCourseVersionProgressionRequest): Promise<runtime.RequestOpts>;
|
|
453
|
+
/**
|
|
454
|
+
* Get learner-specific completion and section lock state
|
|
455
|
+
*/
|
|
456
|
+
getCourseVersionProgressionRaw(requestParameters: GetCourseVersionProgressionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCourseVersionProgression>>;
|
|
457
|
+
/**
|
|
458
|
+
* Get learner-specific completion and section lock state
|
|
459
|
+
*/
|
|
460
|
+
getCourseVersionProgression(requestParameters: GetCourseVersionProgressionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersionProgression>;
|
|
439
461
|
/**
|
|
440
462
|
* Creates request options for postCourse without sending the request
|
|
441
463
|
*/
|
|
@@ -646,6 +668,18 @@ export declare class CourseApi extends runtime.BaseAPI {
|
|
|
646
668
|
* Set extra attempts for a learner on a course item
|
|
647
669
|
*/
|
|
648
670
|
putCourseItemLearnerAttemptAllowance(requestParameters: PutCourseItemLearnerAttemptAllowanceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttemptAllowance>;
|
|
671
|
+
/**
|
|
672
|
+
* Creates request options for putCourseVersionDraft without sending the request
|
|
673
|
+
*/
|
|
674
|
+
putCourseVersionDraftRequestOpts(requestParameters: PutCourseVersionDraftRequest): Promise<runtime.RequestOpts>;
|
|
675
|
+
/**
|
|
676
|
+
* Update progression settings on the editable course draft
|
|
677
|
+
*/
|
|
678
|
+
putCourseVersionDraftRaw(requestParameters: PutCourseVersionDraftRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCourseVersion>>;
|
|
679
|
+
/**
|
|
680
|
+
* Update progression settings on the editable course draft
|
|
681
|
+
*/
|
|
682
|
+
putCourseVersionDraft(requestParameters: PutCourseVersionDraftRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCourseVersion>;
|
|
649
683
|
/**
|
|
650
684
|
* Creates request options for putCourseVersionItem without sending the request
|
|
651
685
|
*/
|
package/dist/apis/CourseApi.js
CHANGED
|
@@ -37,6 +37,7 @@ const GetCourseVersionItem_1 = require("../models/GetCourseVersionItem");
|
|
|
37
37
|
const GetCourseVersionItemLaunch_1 = require("../models/GetCourseVersionItemLaunch");
|
|
38
38
|
const GetCourseVersionItemSession_1 = require("../models/GetCourseVersionItemSession");
|
|
39
39
|
const GetCourseVersionList_1 = require("../models/GetCourseVersionList");
|
|
40
|
+
const GetCourseVersionProgression_1 = require("../models/GetCourseVersionProgression");
|
|
40
41
|
const GetCourseVersionSection_1 = require("../models/GetCourseVersionSection");
|
|
41
42
|
const PostClearSessions_1 = require("../models/PostClearSessions");
|
|
42
43
|
const PostClearSessionsResponse_1 = require("../models/PostClearSessionsResponse");
|
|
@@ -54,6 +55,7 @@ const PostDuplicate_1 = require("../models/PostDuplicate");
|
|
|
54
55
|
const PutAttemptAllowance_1 = require("../models/PutAttemptAllowance");
|
|
55
56
|
const PutCourse_1 = require("../models/PutCourse");
|
|
56
57
|
const PutCourseEnrollment_1 = require("../models/PutCourseEnrollment");
|
|
58
|
+
const PutCourseVersionDraft_1 = require("../models/PutCourseVersionDraft");
|
|
57
59
|
const PutCourseVersionItem_1 = require("../models/PutCourseVersionItem");
|
|
58
60
|
const PutCourseVersionOutlineEntryMove_1 = require("../models/PutCourseVersionOutlineEntryMove");
|
|
59
61
|
const PutCourseVersionSection_1 = require("../models/PutCourseVersionSection");
|
|
@@ -847,6 +849,49 @@ class CourseApi extends runtime.BaseAPI {
|
|
|
847
849
|
return yield response.value();
|
|
848
850
|
});
|
|
849
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
* Creates request options for getCourseVersionProgression without sending the request
|
|
854
|
+
*/
|
|
855
|
+
getCourseVersionProgressionRequestOpts(requestParameters) {
|
|
856
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
857
|
+
if (requestParameters['courseId'] == null) {
|
|
858
|
+
throw new runtime.RequiredError('courseId', 'Required parameter "courseId" was null or undefined when calling getCourseVersionProgression().');
|
|
859
|
+
}
|
|
860
|
+
if (requestParameters['courseVersionId'] == null) {
|
|
861
|
+
throw new runtime.RequiredError('courseVersionId', 'Required parameter "courseVersionId" was null or undefined when calling getCourseVersionProgression().');
|
|
862
|
+
}
|
|
863
|
+
const queryParameters = {};
|
|
864
|
+
const headerParameters = {};
|
|
865
|
+
let urlPath = `/courses/{courseId}/versions/{courseVersionId}/progression`;
|
|
866
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
867
|
+
urlPath = urlPath.replace('{courseVersionId}', encodeURIComponent(String(requestParameters['courseVersionId'])));
|
|
868
|
+
return {
|
|
869
|
+
path: urlPath,
|
|
870
|
+
method: 'GET',
|
|
871
|
+
headers: headerParameters,
|
|
872
|
+
query: queryParameters,
|
|
873
|
+
};
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* Get learner-specific completion and section lock state
|
|
878
|
+
*/
|
|
879
|
+
getCourseVersionProgressionRaw(requestParameters, initOverrides) {
|
|
880
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
881
|
+
const requestOptions = yield this.getCourseVersionProgressionRequestOpts(requestParameters);
|
|
882
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
883
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetCourseVersionProgression_1.GetCourseVersionProgressionFromJSON)(jsonValue));
|
|
884
|
+
});
|
|
885
|
+
}
|
|
886
|
+
/**
|
|
887
|
+
* Get learner-specific completion and section lock state
|
|
888
|
+
*/
|
|
889
|
+
getCourseVersionProgression(requestParameters, initOverrides) {
|
|
890
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
+
const response = yield this.getCourseVersionProgressionRaw(requestParameters, initOverrides);
|
|
892
|
+
return yield response.value();
|
|
893
|
+
});
|
|
894
|
+
}
|
|
850
895
|
/**
|
|
851
896
|
* Creates request options for postCourse without sending the request
|
|
852
897
|
*/
|
|
@@ -1644,6 +1689,50 @@ class CourseApi extends runtime.BaseAPI {
|
|
|
1644
1689
|
return yield response.value();
|
|
1645
1690
|
});
|
|
1646
1691
|
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Creates request options for putCourseVersionDraft without sending the request
|
|
1694
|
+
*/
|
|
1695
|
+
putCourseVersionDraftRequestOpts(requestParameters) {
|
|
1696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1697
|
+
if (requestParameters['courseId'] == null) {
|
|
1698
|
+
throw new runtime.RequiredError('courseId', 'Required parameter "courseId" was null or undefined when calling putCourseVersionDraft().');
|
|
1699
|
+
}
|
|
1700
|
+
if (requestParameters['putCourseVersionDraft'] == null) {
|
|
1701
|
+
throw new runtime.RequiredError('putCourseVersionDraft', 'Required parameter "putCourseVersionDraft" was null or undefined when calling putCourseVersionDraft().');
|
|
1702
|
+
}
|
|
1703
|
+
const queryParameters = {};
|
|
1704
|
+
const headerParameters = {};
|
|
1705
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1706
|
+
let urlPath = `/courses/{courseId}/draft`;
|
|
1707
|
+
urlPath = urlPath.replace('{courseId}', encodeURIComponent(String(requestParameters['courseId'])));
|
|
1708
|
+
return {
|
|
1709
|
+
path: urlPath,
|
|
1710
|
+
method: 'PUT',
|
|
1711
|
+
headers: headerParameters,
|
|
1712
|
+
query: queryParameters,
|
|
1713
|
+
body: (0, PutCourseVersionDraft_1.PutCourseVersionDraftToJSON)(requestParameters['putCourseVersionDraft']),
|
|
1714
|
+
};
|
|
1715
|
+
});
|
|
1716
|
+
}
|
|
1717
|
+
/**
|
|
1718
|
+
* Update progression settings on the editable course draft
|
|
1719
|
+
*/
|
|
1720
|
+
putCourseVersionDraftRaw(requestParameters, initOverrides) {
|
|
1721
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1722
|
+
const requestOptions = yield this.putCourseVersionDraftRequestOpts(requestParameters);
|
|
1723
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
1724
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetCourseVersion_1.GetCourseVersionFromJSON)(jsonValue));
|
|
1725
|
+
});
|
|
1726
|
+
}
|
|
1727
|
+
/**
|
|
1728
|
+
* Update progression settings on the editable course draft
|
|
1729
|
+
*/
|
|
1730
|
+
putCourseVersionDraft(requestParameters, initOverrides) {
|
|
1731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1732
|
+
const response = yield this.putCourseVersionDraftRaw(requestParameters, initOverrides);
|
|
1733
|
+
return yield response.value();
|
|
1734
|
+
});
|
|
1735
|
+
}
|
|
1647
1736
|
/**
|
|
1648
1737
|
* Creates request options for putCourseVersionItem without sending the request
|
|
1649
1738
|
*/
|
package/dist/apis/index.d.ts
CHANGED
package/dist/apis/index.js
CHANGED
|
@@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./CertificateApi"), exports);
|
|
20
20
|
__exportStar(require("./CertificateTemplateApi"), exports);
|
|
21
|
+
__exportStar(require("./ChangelogApi"), exports);
|
|
21
22
|
__exportStar(require("./ChatApi"), exports);
|
|
22
23
|
__exportStar(require("./ContentLibraryApi"), exports);
|
|
23
24
|
__exportStar(require("./ContentLibraryQuizApi"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LMS API
|
|
3
|
+
* LMS API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type GetChangelogList } from '../models/GetChangelogList';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare class ChangelogApi extends runtime.BaseAPI {
|
|
18
|
+
/**
|
|
19
|
+
* Creates request options for getChangelog without sending the request
|
|
20
|
+
*/
|
|
21
|
+
getChangelogRequestOpts(): Promise<runtime.RequestOpts>;
|
|
22
|
+
/**
|
|
23
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
24
|
+
* List user-facing product updates
|
|
25
|
+
*/
|
|
26
|
+
getChangelogRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetChangelogList>>;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
29
|
+
* List user-facing product updates
|
|
30
|
+
*/
|
|
31
|
+
getChangelog(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetChangelogList>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { GetChangelogListFromJSON, } from '../models/GetChangelogList';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ChangelogApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Creates request options for getChangelog without sending the request
|
|
31
|
+
*/
|
|
32
|
+
getChangelogRequestOpts() {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
const queryParameters = {};
|
|
35
|
+
const headerParameters = {};
|
|
36
|
+
let urlPath = `/changelog`;
|
|
37
|
+
return {
|
|
38
|
+
path: urlPath,
|
|
39
|
+
method: 'GET',
|
|
40
|
+
headers: headerParameters,
|
|
41
|
+
query: queryParameters,
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
47
|
+
* List user-facing product updates
|
|
48
|
+
*/
|
|
49
|
+
getChangelogRaw(initOverrides) {
|
|
50
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
51
|
+
const requestOptions = yield this.getChangelogRequestOpts();
|
|
52
|
+
const response = yield this.request(requestOptions, initOverrides);
|
|
53
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetChangelogListFromJSON(jsonValue));
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Returns the changelog loaded from the server\'s configured changelog file at startup, newest first.
|
|
58
|
+
* List user-facing product updates
|
|
59
|
+
*/
|
|
60
|
+
getChangelog(initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const response = yield this.getChangelogRaw(initOverrides);
|
|
63
|
+
return yield response.value();
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
}
|