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 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");