academe-kit 0.7.1 → 0.7.2
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/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1281 -68
- package/dist/index.esm.js +27 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8724 -0
- package/dist/index.js.map +1 -0
- package/dist/types/services/CourseLogService.d.ts +12258 -0
- package/dist/types/services/CourseService.d.ts +40 -4
- package/dist/types/services/InstitutionService.d.ts +198 -0
- package/dist/types/services/{UserService.d.ts → userService.d.ts} +60 -11
- package/dist/types/types/academe-api.d.ts +939 -9
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4755,6 +4755,33 @@ function createInstitutionService(apiClient) {
|
|
|
4755
4755
|
params: { path: { id } },
|
|
4756
4756
|
});
|
|
4757
4757
|
},
|
|
4758
|
+
// Curriculum Periods
|
|
4759
|
+
getCurriculumPeriods(options) {
|
|
4760
|
+
return apiClient.GET("/institutions/curriculum-periods", {
|
|
4761
|
+
params: { query: options },
|
|
4762
|
+
});
|
|
4763
|
+
},
|
|
4764
|
+
getCurriculumPeriodById(id) {
|
|
4765
|
+
return apiClient.GET("/institutions/curriculum-periods/{id}", {
|
|
4766
|
+
params: { path: { id } },
|
|
4767
|
+
});
|
|
4768
|
+
},
|
|
4769
|
+
createCurriculumPeriod(data) {
|
|
4770
|
+
return apiClient.POST("/institutions/curriculum-periods", {
|
|
4771
|
+
body: data,
|
|
4772
|
+
});
|
|
4773
|
+
},
|
|
4774
|
+
updateCurriculumPeriod(id, data) {
|
|
4775
|
+
return apiClient.PATCH("/institutions/curriculum-periods/{id}", {
|
|
4776
|
+
params: { path: { id } },
|
|
4777
|
+
body: data,
|
|
4778
|
+
});
|
|
4779
|
+
},
|
|
4780
|
+
deleteCurriculumPeriod(id) {
|
|
4781
|
+
return apiClient.DELETE("/institutions/curriculum-periods/{id}", {
|
|
4782
|
+
params: { path: { id } },
|
|
4783
|
+
});
|
|
4784
|
+
},
|
|
4758
4785
|
// Educational Models
|
|
4759
4786
|
getAllEducationalModels() {
|
|
4760
4787
|
return apiClient.GET("/institutions/educational-models");
|