@easyedu/js-lsm-api 1.51.0 → 1.53.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 +26 -0
- package/README.md +30 -2
- package/dist/apis/CourseCatalogApi.d.ts +138 -0
- package/dist/apis/CourseCatalogApi.js +352 -0
- package/dist/apis/CourseShareApi.d.ts +153 -0
- package/dist/apis/CourseShareApi.js +385 -0
- package/dist/apis/PortalSublicenseApi.d.ts +36 -0
- package/dist/apis/PortalSublicenseApi.js +79 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/CourseCatalogApi.d.ts +138 -0
- package/dist/esm/apis/CourseCatalogApi.js +348 -0
- package/dist/esm/apis/CourseShareApi.d.ts +153 -0
- package/dist/esm/apis/CourseShareApi.js +381 -0
- package/dist/esm/apis/PortalSublicenseApi.d.ts +36 -0
- package/dist/esm/apis/PortalSublicenseApi.js +75 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/CourseCatalog.d.ts +44 -0
- package/dist/esm/models/CourseCatalog.js +51 -0
- package/dist/esm/models/CourseShare.d.ts +88 -0
- package/dist/esm/models/CourseShare.js +85 -0
- package/dist/esm/models/PortalSublicense.d.ts +65 -0
- package/dist/esm/models/PortalSublicense.js +61 -0
- package/dist/esm/models/PostCourseCatalog.d.ts +38 -0
- package/dist/esm/models/PostCourseCatalog.js +45 -0
- package/dist/esm/models/PostOfferCatalog.d.ts +59 -0
- package/dist/esm/models/PostOfferCatalog.js +59 -0
- package/dist/esm/models/PostOfferCatalogResponse.d.ts +32 -0
- package/dist/esm/models/PostOfferCatalogResponse.js +43 -0
- package/dist/esm/models/PostOfferCourse.d.ts +59 -0
- package/dist/esm/models/PostOfferCourse.js +59 -0
- package/dist/esm/models/PostOfferCourseResponse.d.ts +49 -0
- package/dist/esm/models/PostOfferCourseResponse.js +57 -0
- package/dist/esm/models/PutCourseCatalog.d.ts +38 -0
- package/dist/esm/models/PutCourseCatalog.js +43 -0
- package/dist/esm/models/PutPortalSublicense.d.ts +46 -0
- package/dist/esm/models/PutPortalSublicense.js +45 -0
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/CourseCatalog.d.ts +44 -0
- package/dist/models/CourseCatalog.js +58 -0
- package/dist/models/CourseShare.d.ts +88 -0
- package/dist/models/CourseShare.js +93 -0
- package/dist/models/PortalSublicense.d.ts +65 -0
- package/dist/models/PortalSublicense.js +69 -0
- package/dist/models/PostCourseCatalog.d.ts +38 -0
- package/dist/models/PostCourseCatalog.js +52 -0
- package/dist/models/PostOfferCatalog.d.ts +59 -0
- package/dist/models/PostOfferCatalog.js +67 -0
- package/dist/models/PostOfferCatalogResponse.d.ts +32 -0
- package/dist/models/PostOfferCatalogResponse.js +50 -0
- package/dist/models/PostOfferCourse.d.ts +59 -0
- package/dist/models/PostOfferCourse.js +67 -0
- package/dist/models/PostOfferCourseResponse.d.ts +49 -0
- package/dist/models/PostOfferCourseResponse.js +65 -0
- package/dist/models/PutCourseCatalog.d.ts +38 -0
- package/dist/models/PutCourseCatalog.js +50 -0
- package/dist/models/PutPortalSublicense.d.ts +46 -0
- package/dist/models/PutPortalSublicense.js +52 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/docs/CourseCatalog.md +38 -0
- package/docs/CourseCatalogApi.md +544 -0
- package/docs/CourseShare.md +46 -0
- package/docs/CourseShareApi.md +609 -0
- package/docs/PortalSublicense.md +42 -0
- package/docs/PortalSublicenseApi.md +81 -0
- package/docs/PostCourseCatalog.md +36 -0
- package/docs/PostOfferCatalog.md +40 -0
- package/docs/PostOfferCatalogResponse.md +34 -0
- package/docs/PostOfferCourse.md +40 -0
- package/docs/PostOfferCourseResponse.md +36 -0
- package/docs/PutCourseCatalog.md +36 -0
- package/docs/PutPortalSublicense.md +39 -0
- package/package.json +1 -1
- package/src/apis/CourseCatalogApi.ts +447 -0
- package/src/apis/CourseShareApi.ts +480 -0
- package/src/apis/PortalSublicenseApi.ts +95 -0
- package/src/apis/index.ts +3 -0
- package/src/models/CourseCatalog.ts +84 -0
- package/src/models/CourseShare.ts +144 -0
- package/src/models/PortalSublicense.ts +111 -0
- package/src/models/PostCourseCatalog.ts +74 -0
- package/src/models/PostOfferCatalog.ts +103 -0
- package/src/models/PostOfferCatalogResponse.ts +66 -0
- package/src/models/PostOfferCourse.ts +103 -0
- package/src/models/PostOfferCourseResponse.ts +89 -0
- package/src/models/PutCourseCatalog.ts +73 -0
- package/src/models/PutPortalSublicense.ts +83 -0
- package/src/models/index.ts +10 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -9,6 +9,10 @@ docs/CertificatePublic.md
|
|
|
9
9
|
docs/ChatApi.md
|
|
10
10
|
docs/ContentApi.md
|
|
11
11
|
docs/CourseApi.md
|
|
12
|
+
docs/CourseCatalog.md
|
|
13
|
+
docs/CourseCatalogApi.md
|
|
14
|
+
docs/CourseShare.md
|
|
15
|
+
docs/CourseShareApi.md
|
|
12
16
|
docs/CriteriaBasedSelection.md
|
|
13
17
|
docs/CriteriaBasedSelectionCriteria.md
|
|
14
18
|
docs/CriteriaBasedSelectionDistribution.md
|
|
@@ -167,6 +171,8 @@ docs/NoAnswer.md
|
|
|
167
171
|
docs/OtherApi.md
|
|
168
172
|
docs/Paginated.md
|
|
169
173
|
docs/PortalApi.md
|
|
174
|
+
docs/PortalSublicense.md
|
|
175
|
+
docs/PortalSublicenseApi.md
|
|
170
176
|
docs/PostCertificate.md
|
|
171
177
|
docs/PostCertificateConfig.md
|
|
172
178
|
docs/PostContentQuiz.md
|
|
@@ -178,6 +184,7 @@ docs/PostContentUpload.md
|
|
|
178
184
|
docs/PostConversation.md
|
|
179
185
|
docs/PostConversationResponse.md
|
|
180
186
|
docs/PostCourse.md
|
|
187
|
+
docs/PostCourseCatalog.md
|
|
181
188
|
docs/PostCourseEnrollment.md
|
|
182
189
|
docs/PostCourseExport.md
|
|
183
190
|
docs/PostLogin.md
|
|
@@ -185,6 +192,10 @@ docs/PostManualQuestionSelection.md
|
|
|
185
192
|
docs/PostMessage.md
|
|
186
193
|
docs/PostMessageResponse.md
|
|
187
194
|
docs/PostModule.md
|
|
195
|
+
docs/PostOfferCatalog.md
|
|
196
|
+
docs/PostOfferCatalogResponse.md
|
|
197
|
+
docs/PostOfferCourse.md
|
|
198
|
+
docs/PostOfferCourseResponse.md
|
|
188
199
|
docs/PostPortal.md
|
|
189
200
|
docs/PostPortalInvite.md
|
|
190
201
|
docs/PostQuestion.md
|
|
@@ -217,10 +228,12 @@ docs/PutContent.md
|
|
|
217
228
|
docs/PutContentReorder.md
|
|
218
229
|
docs/PutContentVersion.md
|
|
219
230
|
docs/PutCourse.md
|
|
231
|
+
docs/PutCourseCatalog.md
|
|
220
232
|
docs/PutCourseEnrollment.md
|
|
221
233
|
docs/PutModule.md
|
|
222
234
|
docs/PutModuleReorder.md
|
|
223
235
|
docs/PutPortalBranding.md
|
|
236
|
+
docs/PutPortalSublicense.md
|
|
224
237
|
docs/PutQuestion.md
|
|
225
238
|
docs/PutQuestionAnswerChoicesInner.md
|
|
226
239
|
docs/PutQuiz.md
|
|
@@ -260,9 +273,12 @@ src/apis/CertificateApi.ts
|
|
|
260
273
|
src/apis/ChatApi.ts
|
|
261
274
|
src/apis/ContentApi.ts
|
|
262
275
|
src/apis/CourseApi.ts
|
|
276
|
+
src/apis/CourseCatalogApi.ts
|
|
277
|
+
src/apis/CourseShareApi.ts
|
|
263
278
|
src/apis/ModuleApi.ts
|
|
264
279
|
src/apis/OtherApi.ts
|
|
265
280
|
src/apis/PortalApi.ts
|
|
281
|
+
src/apis/PortalSublicenseApi.ts
|
|
266
282
|
src/apis/QuestionApi.ts
|
|
267
283
|
src/apis/QuizApi.ts
|
|
268
284
|
src/apis/ReportingApi.ts
|
|
@@ -274,6 +290,8 @@ src/index.ts
|
|
|
274
290
|
src/models/Certificate.ts
|
|
275
291
|
src/models/CertificateConfig.ts
|
|
276
292
|
src/models/CertificatePublic.ts
|
|
293
|
+
src/models/CourseCatalog.ts
|
|
294
|
+
src/models/CourseShare.ts
|
|
277
295
|
src/models/CriteriaBasedSelection.ts
|
|
278
296
|
src/models/CriteriaBasedSelectionCriteria.ts
|
|
279
297
|
src/models/CriteriaBasedSelectionDistribution.ts
|
|
@@ -429,6 +447,7 @@ src/models/MultipleAnswer.ts
|
|
|
429
447
|
src/models/MultipleAnswer1.ts
|
|
430
448
|
src/models/NoAnswer.ts
|
|
431
449
|
src/models/Paginated.ts
|
|
450
|
+
src/models/PortalSublicense.ts
|
|
432
451
|
src/models/PostCertificate.ts
|
|
433
452
|
src/models/PostCertificateConfig.ts
|
|
434
453
|
src/models/PostContentQuiz.ts
|
|
@@ -440,6 +459,7 @@ src/models/PostContentUpload.ts
|
|
|
440
459
|
src/models/PostConversation.ts
|
|
441
460
|
src/models/PostConversationResponse.ts
|
|
442
461
|
src/models/PostCourse.ts
|
|
462
|
+
src/models/PostCourseCatalog.ts
|
|
443
463
|
src/models/PostCourseEnrollment.ts
|
|
444
464
|
src/models/PostCourseExport.ts
|
|
445
465
|
src/models/PostLogin.ts
|
|
@@ -447,6 +467,10 @@ src/models/PostManualQuestionSelection.ts
|
|
|
447
467
|
src/models/PostMessage.ts
|
|
448
468
|
src/models/PostMessageResponse.ts
|
|
449
469
|
src/models/PostModule.ts
|
|
470
|
+
src/models/PostOfferCatalog.ts
|
|
471
|
+
src/models/PostOfferCatalogResponse.ts
|
|
472
|
+
src/models/PostOfferCourse.ts
|
|
473
|
+
src/models/PostOfferCourseResponse.ts
|
|
450
474
|
src/models/PostPortal.ts
|
|
451
475
|
src/models/PostPortalInvite.ts
|
|
452
476
|
src/models/PostQuestion.ts
|
|
@@ -479,10 +503,12 @@ src/models/PutContent.ts
|
|
|
479
503
|
src/models/PutContentReorder.ts
|
|
480
504
|
src/models/PutContentVersion.ts
|
|
481
505
|
src/models/PutCourse.ts
|
|
506
|
+
src/models/PutCourseCatalog.ts
|
|
482
507
|
src/models/PutCourseEnrollment.ts
|
|
483
508
|
src/models/PutModule.ts
|
|
484
509
|
src/models/PutModuleReorder.ts
|
|
485
510
|
src/models/PutPortalBranding.ts
|
|
511
|
+
src/models/PutPortalSublicense.ts
|
|
486
512
|
src/models/PutQuestion.ts
|
|
487
513
|
src/models/PutQuestionAnswerChoicesInner.ts
|
|
488
514
|
src/models/PutQuiz.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @easyedu/js-lsm-api@1.
|
|
1
|
+
# @easyedu/js-lsm-api@1.53.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the sbzw93t49b.execute-api.us-east-2.amazonaws.com API.
|
|
4
4
|
|
|
@@ -105,6 +105,23 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
105
105
|
*CourseApi* | [**postCourseImageUpload**](docs/CourseApi.md#postcourseimageupload) | **POST** /courses/{courseId}/image | Upload a course image
|
|
106
106
|
*CourseApi* | [**putCourse**](docs/CourseApi.md#putcourse) | **PUT** /courses/{courseId} | Update a course by id
|
|
107
107
|
*CourseApi* | [**putCourseEnrollment**](docs/CourseApi.md#putcourseenrollment) | **PUT** /courses/{courseId}/enrollments/{enrollmentId} | Update a course enrollment
|
|
108
|
+
*CourseCatalogApi* | [**addCourseToCatalog**](docs/CourseCatalogApi.md#addcoursetocatalog) | **POST** /catalogs/{catalogId}/courses/{courseId} | Add a course to a catalog
|
|
109
|
+
*CourseCatalogApi* | [**deleteCourseCatalog**](docs/CourseCatalogApi.md#deletecoursecatalog) | **DELETE** /catalogs/{catalogId} | Delete a catalog
|
|
110
|
+
*CourseCatalogApi* | [**getCatalogCourses**](docs/CourseCatalogApi.md#getcatalogcourses) | **GET** /catalogs/{catalogId}/courses | List the courses in a catalog
|
|
111
|
+
*CourseCatalogApi* | [**getCourseCatalog**](docs/CourseCatalogApi.md#getcoursecatalog) | **GET** /catalogs/{catalogId} | Get a catalog
|
|
112
|
+
*CourseCatalogApi* | [**getCourseCatalogs**](docs/CourseCatalogApi.md#getcoursecatalogs) | **GET** /catalogs | List catalogs in the current portal
|
|
113
|
+
*CourseCatalogApi* | [**postCourseCatalog**](docs/CourseCatalogApi.md#postcoursecatalog) | **POST** /catalogs | Create a course catalog
|
|
114
|
+
*CourseCatalogApi* | [**putCourseCatalog**](docs/CourseCatalogApi.md#putcoursecatalog) | **PUT** /catalogs/{catalogId} | Update a catalog
|
|
115
|
+
*CourseCatalogApi* | [**removeCourseFromCatalog**](docs/CourseCatalogApi.md#removecoursefromcatalog) | **DELETE** /catalogs/{catalogId}/courses/{courseId} | Remove a course from a catalog
|
|
116
|
+
*CourseShareApi* | [**deleteCourseShare**](docs/CourseShareApi.md#deletecourseshare) | **DELETE** /course-shares/{shareId} | Revoke a share
|
|
117
|
+
*CourseShareApi* | [**getCourseSharesOfferedByMe**](docs/CourseShareApi.md#getcoursesharesofferedbyme) | **GET** /course-shares/offered-by-me | List shares the current portal has offered out
|
|
118
|
+
*CourseShareApi* | [**getCourseSharesOfferedToMe**](docs/CourseShareApi.md#getcoursesharesofferedtome) | **GET** /course-shares/offered-to-me | List shares offered to the current portal
|
|
119
|
+
*CourseShareApi* | [**postOfferCatalog**](docs/CourseShareApi.md#postoffercatalog) | **POST** /catalogs/{catalogId}/shares | Offer every course in a catalog to a descendant portal
|
|
120
|
+
*CourseShareApi* | [**postOfferCourse**](docs/CourseShareApi.md#postoffercourse) | **POST** /courses/{courseId}/shares | Offer a single course to a descendant portal
|
|
121
|
+
*CourseShareApi* | [**postUnrevokeShare**](docs/CourseShareApi.md#postunrevokeshare) | **POST** /course-shares/{shareId}/unrevoke | Restore a previously revoked share
|
|
122
|
+
*CourseShareApi* | [**putAcceptClone**](docs/CourseShareApi.md#putacceptclone) | **PUT** /course-shares/{shareId}/accept-clone | Accept an offer as a clone (deep copy into your portal)
|
|
123
|
+
*CourseShareApi* | [**putAcceptMirror**](docs/CourseShareApi.md#putacceptmirror) | **PUT** /course-shares/{shareId}/accept-mirror | Accept an offer as a mirror (no copy, live link to source)
|
|
124
|
+
*CourseShareApi* | [**putDeclineShare**](docs/CourseShareApi.md#putdeclineshare) | **PUT** /course-shares/{shareId}/decline | Decline an offer
|
|
108
125
|
*ModuleApi* | [**getModule**](docs/ModuleApi.md#getmodule) | **GET** /courses/{courseId}/modules/{moduleId} | get a course module
|
|
109
126
|
*ModuleApi* | [**getModuleList**](docs/ModuleApi.md#getmodulelist) | **GET** /courses/{courseId}/modules | get module list
|
|
110
127
|
*ModuleApi* | [**postModule**](docs/ModuleApi.md#postmodule) | **POST** /courses/{courseId}/modules | Post a new module
|
|
@@ -120,6 +137,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
120
137
|
*PortalApi* | [**postPortalLogoUpload**](docs/PortalApi.md#postportallogoupload) | **POST** /portals/{portalId}/branding/logo | Upload a logo image for portal branding
|
|
121
138
|
*PortalApi* | [**putPortalBranding**](docs/PortalApi.md#putportalbranding) | **PUT** /portals/{portalId} | Update portal branding (name, background color, text color)
|
|
122
139
|
*PortalApi* | [**updateSelectedPortal**](docs/PortalApi.md#updateselectedportal) | **PUT** /portals/{portalId}/selected | Update the users current selected portal. Returns new JWT with updated roles.
|
|
140
|
+
*PortalSublicenseApi* | [**putPortalSublicense**](docs/PortalSublicenseApi.md#putportalsublicense) | **PUT** /portals/{portalId}/sublicense | Manage seat limit and license window for a descendant portal
|
|
123
141
|
*QuestionApi* | [**deleteQuestion**](docs/QuestionApi.md#deletequestion) | **DELETE** /questions/{questionId} | Delete a question by ID
|
|
124
142
|
*QuestionApi* | [**getQuestion**](docs/QuestionApi.md#getquestion) | **GET** /questions/{questionId} | Get a question by ID
|
|
125
143
|
*QuestionApi* | [**getQuestionList**](docs/QuestionApi.md#getquestionlist) | **GET** /questions | Get list of questions with filtering and pagination
|
|
@@ -194,6 +212,8 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
194
212
|
- [Certificate](docs/Certificate.md)
|
|
195
213
|
- [CertificateConfig](docs/CertificateConfig.md)
|
|
196
214
|
- [CertificatePublic](docs/CertificatePublic.md)
|
|
215
|
+
- [CourseCatalog](docs/CourseCatalog.md)
|
|
216
|
+
- [CourseShare](docs/CourseShare.md)
|
|
197
217
|
- [CriteriaBasedSelection](docs/CriteriaBasedSelection.md)
|
|
198
218
|
- [CriteriaBasedSelectionCriteria](docs/CriteriaBasedSelectionCriteria.md)
|
|
199
219
|
- [CriteriaBasedSelectionDistribution](docs/CriteriaBasedSelectionDistribution.md)
|
|
@@ -349,6 +369,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
349
369
|
- [MultipleAnswer1](docs/MultipleAnswer1.md)
|
|
350
370
|
- [NoAnswer](docs/NoAnswer.md)
|
|
351
371
|
- [Paginated](docs/Paginated.md)
|
|
372
|
+
- [PortalSublicense](docs/PortalSublicense.md)
|
|
352
373
|
- [PostCertificate](docs/PostCertificate.md)
|
|
353
374
|
- [PostCertificateConfig](docs/PostCertificateConfig.md)
|
|
354
375
|
- [PostContentQuiz](docs/PostContentQuiz.md)
|
|
@@ -360,6 +381,7 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
360
381
|
- [PostConversation](docs/PostConversation.md)
|
|
361
382
|
- [PostConversationResponse](docs/PostConversationResponse.md)
|
|
362
383
|
- [PostCourse](docs/PostCourse.md)
|
|
384
|
+
- [PostCourseCatalog](docs/PostCourseCatalog.md)
|
|
363
385
|
- [PostCourseEnrollment](docs/PostCourseEnrollment.md)
|
|
364
386
|
- [PostCourseExport](docs/PostCourseExport.md)
|
|
365
387
|
- [PostLogin](docs/PostLogin.md)
|
|
@@ -367,6 +389,10 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
367
389
|
- [PostMessage](docs/PostMessage.md)
|
|
368
390
|
- [PostMessageResponse](docs/PostMessageResponse.md)
|
|
369
391
|
- [PostModule](docs/PostModule.md)
|
|
392
|
+
- [PostOfferCatalog](docs/PostOfferCatalog.md)
|
|
393
|
+
- [PostOfferCatalogResponse](docs/PostOfferCatalogResponse.md)
|
|
394
|
+
- [PostOfferCourse](docs/PostOfferCourse.md)
|
|
395
|
+
- [PostOfferCourseResponse](docs/PostOfferCourseResponse.md)
|
|
370
396
|
- [PostPortal](docs/PostPortal.md)
|
|
371
397
|
- [PostPortalInvite](docs/PostPortalInvite.md)
|
|
372
398
|
- [PostQuestion](docs/PostQuestion.md)
|
|
@@ -399,10 +425,12 @@ All URIs are relative to *https://sbzw93t49b.execute-api.us-east-2.amazonaws.com
|
|
|
399
425
|
- [PutContentReorder](docs/PutContentReorder.md)
|
|
400
426
|
- [PutContentVersion](docs/PutContentVersion.md)
|
|
401
427
|
- [PutCourse](docs/PutCourse.md)
|
|
428
|
+
- [PutCourseCatalog](docs/PutCourseCatalog.md)
|
|
402
429
|
- [PutCourseEnrollment](docs/PutCourseEnrollment.md)
|
|
403
430
|
- [PutModule](docs/PutModule.md)
|
|
404
431
|
- [PutModuleReorder](docs/PutModuleReorder.md)
|
|
405
432
|
- [PutPortalBranding](docs/PutPortalBranding.md)
|
|
433
|
+
- [PutPortalSublicense](docs/PutPortalSublicense.md)
|
|
406
434
|
- [PutQuestion](docs/PutQuestion.md)
|
|
407
435
|
- [PutQuestionAnswerChoicesInner](docs/PutQuestionAnswerChoicesInner.md)
|
|
408
436
|
- [PutQuiz](docs/PutQuiz.md)
|
|
@@ -444,7 +472,7 @@ and is automatically generated by the
|
|
|
444
472
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
445
473
|
|
|
446
474
|
- API version: `1.0.0`
|
|
447
|
-
- Package version: `1.
|
|
475
|
+
- Package version: `1.53.0`
|
|
448
476
|
- Generator version: `7.21.0`
|
|
449
477
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
450
478
|
|
|
@@ -0,0 +1,138 @@
|
|
|
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 { CourseCatalog, GetCourse, PostCourseCatalog, PutCourseCatalog } from '../models/index';
|
|
14
|
+
export interface AddCourseToCatalogRequest {
|
|
15
|
+
catalogId: string;
|
|
16
|
+
courseId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface DeleteCourseCatalogRequest {
|
|
19
|
+
catalogId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetCatalogCoursesRequest {
|
|
22
|
+
catalogId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetCourseCatalogRequest {
|
|
25
|
+
catalogId: string;
|
|
26
|
+
}
|
|
27
|
+
export interface PostCourseCatalogRequest {
|
|
28
|
+
postCourseCatalog: PostCourseCatalog;
|
|
29
|
+
}
|
|
30
|
+
export interface PutCourseCatalogRequest {
|
|
31
|
+
catalogId: string;
|
|
32
|
+
putCourseCatalog: PutCourseCatalog;
|
|
33
|
+
}
|
|
34
|
+
export interface RemoveCourseFromCatalogRequest {
|
|
35
|
+
catalogId: string;
|
|
36
|
+
courseId: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
export declare class CourseCatalogApi extends runtime.BaseAPI {
|
|
42
|
+
/**
|
|
43
|
+
* Creates request options for addCourseToCatalog without sending the request
|
|
44
|
+
*/
|
|
45
|
+
addCourseToCatalogRequestOpts(requestParameters: AddCourseToCatalogRequest): Promise<runtime.RequestOpts>;
|
|
46
|
+
/**
|
|
47
|
+
* Add a course to a catalog
|
|
48
|
+
*/
|
|
49
|
+
addCourseToCatalogRaw(requestParameters: AddCourseToCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
50
|
+
/**
|
|
51
|
+
* Add a course to a catalog
|
|
52
|
+
*/
|
|
53
|
+
addCourseToCatalog(requestParameters: AddCourseToCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* Creates request options for deleteCourseCatalog without sending the request
|
|
56
|
+
*/
|
|
57
|
+
deleteCourseCatalogRequestOpts(requestParameters: DeleteCourseCatalogRequest): Promise<runtime.RequestOpts>;
|
|
58
|
+
/**
|
|
59
|
+
* Delete a catalog
|
|
60
|
+
*/
|
|
61
|
+
deleteCourseCatalogRaw(requestParameters: DeleteCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
62
|
+
/**
|
|
63
|
+
* Delete a catalog
|
|
64
|
+
*/
|
|
65
|
+
deleteCourseCatalog(requestParameters: DeleteCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Creates request options for getCatalogCourses without sending the request
|
|
68
|
+
*/
|
|
69
|
+
getCatalogCoursesRequestOpts(requestParameters: GetCatalogCoursesRequest): Promise<runtime.RequestOpts>;
|
|
70
|
+
/**
|
|
71
|
+
* List the courses in a catalog
|
|
72
|
+
*/
|
|
73
|
+
getCatalogCoursesRaw(requestParameters: GetCatalogCoursesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<GetCourse>>>;
|
|
74
|
+
/**
|
|
75
|
+
* List the courses in a catalog
|
|
76
|
+
*/
|
|
77
|
+
getCatalogCourses(requestParameters: GetCatalogCoursesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<GetCourse>>;
|
|
78
|
+
/**
|
|
79
|
+
* Creates request options for getCourseCatalog without sending the request
|
|
80
|
+
*/
|
|
81
|
+
getCourseCatalogRequestOpts(requestParameters: GetCourseCatalogRequest): Promise<runtime.RequestOpts>;
|
|
82
|
+
/**
|
|
83
|
+
* Get a catalog
|
|
84
|
+
*/
|
|
85
|
+
getCourseCatalogRaw(requestParameters: GetCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CourseCatalog>>;
|
|
86
|
+
/**
|
|
87
|
+
* Get a catalog
|
|
88
|
+
*/
|
|
89
|
+
getCourseCatalog(requestParameters: GetCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CourseCatalog>;
|
|
90
|
+
/**
|
|
91
|
+
* Creates request options for getCourseCatalogs without sending the request
|
|
92
|
+
*/
|
|
93
|
+
getCourseCatalogsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
94
|
+
/**
|
|
95
|
+
* List catalogs in the current portal
|
|
96
|
+
*/
|
|
97
|
+
getCourseCatalogsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CourseCatalog>>>;
|
|
98
|
+
/**
|
|
99
|
+
* List catalogs in the current portal
|
|
100
|
+
*/
|
|
101
|
+
getCourseCatalogs(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CourseCatalog>>;
|
|
102
|
+
/**
|
|
103
|
+
* Creates request options for postCourseCatalog without sending the request
|
|
104
|
+
*/
|
|
105
|
+
postCourseCatalogRequestOpts(requestParameters: PostCourseCatalogRequest): Promise<runtime.RequestOpts>;
|
|
106
|
+
/**
|
|
107
|
+
* Create a course catalog
|
|
108
|
+
*/
|
|
109
|
+
postCourseCatalogRaw(requestParameters: PostCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CourseCatalog>>;
|
|
110
|
+
/**
|
|
111
|
+
* Create a course catalog
|
|
112
|
+
*/
|
|
113
|
+
postCourseCatalog(requestParameters: PostCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CourseCatalog>;
|
|
114
|
+
/**
|
|
115
|
+
* Creates request options for putCourseCatalog without sending the request
|
|
116
|
+
*/
|
|
117
|
+
putCourseCatalogRequestOpts(requestParameters: PutCourseCatalogRequest): Promise<runtime.RequestOpts>;
|
|
118
|
+
/**
|
|
119
|
+
* Update a catalog
|
|
120
|
+
*/
|
|
121
|
+
putCourseCatalogRaw(requestParameters: PutCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CourseCatalog>>;
|
|
122
|
+
/**
|
|
123
|
+
* Update a catalog
|
|
124
|
+
*/
|
|
125
|
+
putCourseCatalog(requestParameters: PutCourseCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CourseCatalog>;
|
|
126
|
+
/**
|
|
127
|
+
* Creates request options for removeCourseFromCatalog without sending the request
|
|
128
|
+
*/
|
|
129
|
+
removeCourseFromCatalogRequestOpts(requestParameters: RemoveCourseFromCatalogRequest): Promise<runtime.RequestOpts>;
|
|
130
|
+
/**
|
|
131
|
+
* Remove a course from a catalog
|
|
132
|
+
*/
|
|
133
|
+
removeCourseFromCatalogRaw(requestParameters: RemoveCourseFromCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
134
|
+
/**
|
|
135
|
+
* Remove a course from a catalog
|
|
136
|
+
*/
|
|
137
|
+
removeCourseFromCatalog(requestParameters: RemoveCourseFromCatalogRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
138
|
+
}
|