academe-kit 0.3.9 → 0.4.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/dist/index.d.ts +4929 -3172
- package/dist/index.esm.js +140 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +140 -4
- package/dist/index.js.map +1 -1
- package/dist/types/context/SecurityProvider/index.d.ts +10 -0
- package/dist/types/context/SecurityProvider/types.d.ts +1 -1
- package/dist/types/services/CourseService.d.ts +216 -0
- package/dist/types/services/InstitutionService.d.ts +595 -0
- package/dist/types/services/index.d.ts +3 -0
- package/dist/types/types/academe-api.d.ts +926 -0
- package/dist/types/types/index.d.ts +9 -0
- package/package.json +1 -1
|
@@ -2778,6 +2778,726 @@ export interface paths {
|
|
|
2778
2778
|
patch?: never;
|
|
2779
2779
|
trace?: never;
|
|
2780
2780
|
};
|
|
2781
|
+
"/institutions/curriculum-grids": {
|
|
2782
|
+
parameters: {
|
|
2783
|
+
query?: never;
|
|
2784
|
+
header?: never;
|
|
2785
|
+
path?: never;
|
|
2786
|
+
cookie?: never;
|
|
2787
|
+
};
|
|
2788
|
+
/**
|
|
2789
|
+
* List all curriculum grids
|
|
2790
|
+
* @description Retrieve a list of all curriculum grids with optional filters
|
|
2791
|
+
*/
|
|
2792
|
+
get: {
|
|
2793
|
+
parameters: {
|
|
2794
|
+
query?: {
|
|
2795
|
+
/** @description Filter by institution ID */
|
|
2796
|
+
institutionId?: string;
|
|
2797
|
+
/** @description Filter by serie ID */
|
|
2798
|
+
serie?: string;
|
|
2799
|
+
/** @description Filter by active status */
|
|
2800
|
+
isActive?: boolean;
|
|
2801
|
+
/** @description Page number */
|
|
2802
|
+
page?: number;
|
|
2803
|
+
/** @description Items per page */
|
|
2804
|
+
limit?: number;
|
|
2805
|
+
};
|
|
2806
|
+
header?: never;
|
|
2807
|
+
path?: never;
|
|
2808
|
+
cookie?: never;
|
|
2809
|
+
};
|
|
2810
|
+
requestBody?: never;
|
|
2811
|
+
responses: {
|
|
2812
|
+
/** @description List of curriculum grids */
|
|
2813
|
+
200: {
|
|
2814
|
+
headers: {
|
|
2815
|
+
[name: string]: unknown;
|
|
2816
|
+
};
|
|
2817
|
+
content: {
|
|
2818
|
+
"application/json": {
|
|
2819
|
+
/** @example success */
|
|
2820
|
+
status?: string;
|
|
2821
|
+
data?: components["schemas"]["CurriculumGrid"][];
|
|
2822
|
+
meta?: {
|
|
2823
|
+
total?: number;
|
|
2824
|
+
page?: number;
|
|
2825
|
+
limit?: number;
|
|
2826
|
+
totalPages?: number;
|
|
2827
|
+
};
|
|
2828
|
+
};
|
|
2829
|
+
};
|
|
2830
|
+
};
|
|
2831
|
+
401: components["responses"]["Unauthorized"];
|
|
2832
|
+
500: components["responses"]["ServerError"];
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
put?: never;
|
|
2836
|
+
/**
|
|
2837
|
+
* Create a new curriculum grid
|
|
2838
|
+
* @description Create a new curriculum grid for an institution and serie
|
|
2839
|
+
*/
|
|
2840
|
+
post: {
|
|
2841
|
+
parameters: {
|
|
2842
|
+
query?: never;
|
|
2843
|
+
header?: never;
|
|
2844
|
+
path?: never;
|
|
2845
|
+
cookie?: never;
|
|
2846
|
+
};
|
|
2847
|
+
requestBody: {
|
|
2848
|
+
content: {
|
|
2849
|
+
"application/json": components["schemas"]["CreateCurriculumGridDto"];
|
|
2850
|
+
};
|
|
2851
|
+
};
|
|
2852
|
+
responses: {
|
|
2853
|
+
/** @description Curriculum grid created successfully */
|
|
2854
|
+
201: {
|
|
2855
|
+
headers: {
|
|
2856
|
+
[name: string]: unknown;
|
|
2857
|
+
};
|
|
2858
|
+
content: {
|
|
2859
|
+
"application/json": {
|
|
2860
|
+
/** @example success */
|
|
2861
|
+
status?: string;
|
|
2862
|
+
data?: components["schemas"]["CurriculumGrid"];
|
|
2863
|
+
};
|
|
2864
|
+
};
|
|
2865
|
+
};
|
|
2866
|
+
400: components["responses"]["BadRequest"];
|
|
2867
|
+
401: components["responses"]["Unauthorized"];
|
|
2868
|
+
409: components["responses"]["Conflict"];
|
|
2869
|
+
500: components["responses"]["ServerError"];
|
|
2870
|
+
};
|
|
2871
|
+
};
|
|
2872
|
+
delete?: never;
|
|
2873
|
+
options?: never;
|
|
2874
|
+
head?: never;
|
|
2875
|
+
patch?: never;
|
|
2876
|
+
trace?: never;
|
|
2877
|
+
};
|
|
2878
|
+
"/institutions/{institutionId}/curriculum-grids": {
|
|
2879
|
+
parameters: {
|
|
2880
|
+
query?: never;
|
|
2881
|
+
header?: never;
|
|
2882
|
+
path?: never;
|
|
2883
|
+
cookie?: never;
|
|
2884
|
+
};
|
|
2885
|
+
/**
|
|
2886
|
+
* List curriculum grids by institution
|
|
2887
|
+
* @description Retrieve all curriculum grids for a specific institution
|
|
2888
|
+
*/
|
|
2889
|
+
get: {
|
|
2890
|
+
parameters: {
|
|
2891
|
+
query?: {
|
|
2892
|
+
/** @description Filter by serie ID */
|
|
2893
|
+
serie?: string;
|
|
2894
|
+
/** @description Filter by active status */
|
|
2895
|
+
isActive?: boolean;
|
|
2896
|
+
/** @description Page number */
|
|
2897
|
+
page?: number;
|
|
2898
|
+
/** @description Items per page */
|
|
2899
|
+
limit?: number;
|
|
2900
|
+
};
|
|
2901
|
+
header?: never;
|
|
2902
|
+
path: {
|
|
2903
|
+
/** @description Institution ID */
|
|
2904
|
+
institutionId: string;
|
|
2905
|
+
};
|
|
2906
|
+
cookie?: never;
|
|
2907
|
+
};
|
|
2908
|
+
requestBody?: never;
|
|
2909
|
+
responses: {
|
|
2910
|
+
/** @description List of curriculum grids */
|
|
2911
|
+
200: {
|
|
2912
|
+
headers: {
|
|
2913
|
+
[name: string]: unknown;
|
|
2914
|
+
};
|
|
2915
|
+
content: {
|
|
2916
|
+
"application/json": {
|
|
2917
|
+
/** @example success */
|
|
2918
|
+
status?: string;
|
|
2919
|
+
data?: components["schemas"]["CurriculumGrid"][];
|
|
2920
|
+
meta?: {
|
|
2921
|
+
total?: number;
|
|
2922
|
+
page?: number;
|
|
2923
|
+
limit?: number;
|
|
2924
|
+
totalPages?: number;
|
|
2925
|
+
};
|
|
2926
|
+
};
|
|
2927
|
+
};
|
|
2928
|
+
};
|
|
2929
|
+
401: components["responses"]["Unauthorized"];
|
|
2930
|
+
404: components["responses"]["NotFound"];
|
|
2931
|
+
500: components["responses"]["ServerError"];
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
put?: never;
|
|
2935
|
+
post?: never;
|
|
2936
|
+
delete?: never;
|
|
2937
|
+
options?: never;
|
|
2938
|
+
head?: never;
|
|
2939
|
+
patch?: never;
|
|
2940
|
+
trace?: never;
|
|
2941
|
+
};
|
|
2942
|
+
"/institutions/curriculum-grids/{id}": {
|
|
2943
|
+
parameters: {
|
|
2944
|
+
query?: never;
|
|
2945
|
+
header?: never;
|
|
2946
|
+
path?: never;
|
|
2947
|
+
cookie?: never;
|
|
2948
|
+
};
|
|
2949
|
+
/**
|
|
2950
|
+
* Get curriculum grid by ID
|
|
2951
|
+
* @description Retrieve detailed information about a specific curriculum grid
|
|
2952
|
+
*/
|
|
2953
|
+
get: {
|
|
2954
|
+
parameters: {
|
|
2955
|
+
query?: never;
|
|
2956
|
+
header?: never;
|
|
2957
|
+
path: {
|
|
2958
|
+
/** @description Resource ID */
|
|
2959
|
+
id: components["parameters"]["id"];
|
|
2960
|
+
};
|
|
2961
|
+
cookie?: never;
|
|
2962
|
+
};
|
|
2963
|
+
requestBody?: never;
|
|
2964
|
+
responses: {
|
|
2965
|
+
/** @description Curriculum grid information */
|
|
2966
|
+
200: {
|
|
2967
|
+
headers: {
|
|
2968
|
+
[name: string]: unknown;
|
|
2969
|
+
};
|
|
2970
|
+
content: {
|
|
2971
|
+
"application/json": {
|
|
2972
|
+
/** @example success */
|
|
2973
|
+
status?: string;
|
|
2974
|
+
data?: components["schemas"]["CurriculumGrid"];
|
|
2975
|
+
};
|
|
2976
|
+
};
|
|
2977
|
+
};
|
|
2978
|
+
400: components["responses"]["BadRequest"];
|
|
2979
|
+
401: components["responses"]["Unauthorized"];
|
|
2980
|
+
404: components["responses"]["NotFound"];
|
|
2981
|
+
500: components["responses"]["ServerError"];
|
|
2982
|
+
};
|
|
2983
|
+
};
|
|
2984
|
+
put?: never;
|
|
2985
|
+
post?: never;
|
|
2986
|
+
/**
|
|
2987
|
+
* Delete curriculum grid
|
|
2988
|
+
* @description Remove a curriculum grid from the system
|
|
2989
|
+
*/
|
|
2990
|
+
delete: {
|
|
2991
|
+
parameters: {
|
|
2992
|
+
query?: never;
|
|
2993
|
+
header?: never;
|
|
2994
|
+
path: {
|
|
2995
|
+
/** @description Resource ID */
|
|
2996
|
+
id: components["parameters"]["id"];
|
|
2997
|
+
};
|
|
2998
|
+
cookie?: never;
|
|
2999
|
+
};
|
|
3000
|
+
requestBody?: never;
|
|
3001
|
+
responses: {
|
|
3002
|
+
/** @description Curriculum grid deleted successfully */
|
|
3003
|
+
204: {
|
|
3004
|
+
headers: {
|
|
3005
|
+
[name: string]: unknown;
|
|
3006
|
+
};
|
|
3007
|
+
content?: never;
|
|
3008
|
+
};
|
|
3009
|
+
400: components["responses"]["BadRequest"];
|
|
3010
|
+
401: components["responses"]["Unauthorized"];
|
|
3011
|
+
404: components["responses"]["NotFound"];
|
|
3012
|
+
500: components["responses"]["ServerError"];
|
|
3013
|
+
};
|
|
3014
|
+
};
|
|
3015
|
+
options?: never;
|
|
3016
|
+
head?: never;
|
|
3017
|
+
/**
|
|
3018
|
+
* Update curriculum grid
|
|
3019
|
+
* @description Update curriculum grid information
|
|
3020
|
+
*/
|
|
3021
|
+
patch: {
|
|
3022
|
+
parameters: {
|
|
3023
|
+
query?: never;
|
|
3024
|
+
header?: never;
|
|
3025
|
+
path: {
|
|
3026
|
+
/** @description Resource ID */
|
|
3027
|
+
id: components["parameters"]["id"];
|
|
3028
|
+
};
|
|
3029
|
+
cookie?: never;
|
|
3030
|
+
};
|
|
3031
|
+
requestBody: {
|
|
3032
|
+
content: {
|
|
3033
|
+
"application/json": components["schemas"]["UpdateCurriculumGridDto"];
|
|
3034
|
+
};
|
|
3035
|
+
};
|
|
3036
|
+
responses: {
|
|
3037
|
+
/** @description Curriculum grid updated successfully */
|
|
3038
|
+
200: {
|
|
3039
|
+
headers: {
|
|
3040
|
+
[name: string]: unknown;
|
|
3041
|
+
};
|
|
3042
|
+
content: {
|
|
3043
|
+
"application/json": {
|
|
3044
|
+
/** @example success */
|
|
3045
|
+
status?: string;
|
|
3046
|
+
data?: components["schemas"]["CurriculumGrid"];
|
|
3047
|
+
};
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
400: components["responses"]["BadRequest"];
|
|
3051
|
+
401: components["responses"]["Unauthorized"];
|
|
3052
|
+
404: components["responses"]["NotFound"];
|
|
3053
|
+
409: components["responses"]["Conflict"];
|
|
3054
|
+
500: components["responses"]["ServerError"];
|
|
3055
|
+
};
|
|
3056
|
+
};
|
|
3057
|
+
trace?: never;
|
|
3058
|
+
};
|
|
3059
|
+
"/institutions/educational-model-periods": {
|
|
3060
|
+
parameters: {
|
|
3061
|
+
query?: never;
|
|
3062
|
+
header?: never;
|
|
3063
|
+
path?: never;
|
|
3064
|
+
cookie?: never;
|
|
3065
|
+
};
|
|
3066
|
+
/**
|
|
3067
|
+
* List all educational model periods
|
|
3068
|
+
* @description Retrieve a list of all educational model periods, optionally filtered by educationModelId
|
|
3069
|
+
*/
|
|
3070
|
+
get: {
|
|
3071
|
+
parameters: {
|
|
3072
|
+
query?: {
|
|
3073
|
+
/** @description Filter by educational model ID (institution ID) */
|
|
3074
|
+
educationModelId?: string;
|
|
3075
|
+
};
|
|
3076
|
+
header?: never;
|
|
3077
|
+
path?: never;
|
|
3078
|
+
cookie?: never;
|
|
3079
|
+
};
|
|
3080
|
+
requestBody?: never;
|
|
3081
|
+
responses: {
|
|
3082
|
+
/** @description List of educational model periods */
|
|
3083
|
+
200: {
|
|
3084
|
+
headers: {
|
|
3085
|
+
[name: string]: unknown;
|
|
3086
|
+
};
|
|
3087
|
+
content: {
|
|
3088
|
+
"application/json": {
|
|
3089
|
+
/** @example success */
|
|
3090
|
+
status?: string;
|
|
3091
|
+
data?: components["schemas"]["EducationalModelPeriod"][];
|
|
3092
|
+
};
|
|
3093
|
+
};
|
|
3094
|
+
};
|
|
3095
|
+
401: components["responses"]["Unauthorized"];
|
|
3096
|
+
500: components["responses"]["ServerError"];
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
put?: never;
|
|
3100
|
+
/**
|
|
3101
|
+
* Create a new educational model period
|
|
3102
|
+
* @description Create a new educational model period
|
|
3103
|
+
*/
|
|
3104
|
+
post: {
|
|
3105
|
+
parameters: {
|
|
3106
|
+
query?: never;
|
|
3107
|
+
header?: never;
|
|
3108
|
+
path?: never;
|
|
3109
|
+
cookie?: never;
|
|
3110
|
+
};
|
|
3111
|
+
requestBody: {
|
|
3112
|
+
content: {
|
|
3113
|
+
"application/json": components["schemas"]["CreateEducationalModelPeriodDto"];
|
|
3114
|
+
};
|
|
3115
|
+
};
|
|
3116
|
+
responses: {
|
|
3117
|
+
/** @description Educational model period created successfully */
|
|
3118
|
+
201: {
|
|
3119
|
+
headers: {
|
|
3120
|
+
[name: string]: unknown;
|
|
3121
|
+
};
|
|
3122
|
+
content: {
|
|
3123
|
+
"application/json": {
|
|
3124
|
+
/** @example success */
|
|
3125
|
+
status?: string;
|
|
3126
|
+
data?: components["schemas"]["EducationalModelPeriod"];
|
|
3127
|
+
};
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
400: components["responses"]["BadRequest"];
|
|
3131
|
+
401: components["responses"]["Unauthorized"];
|
|
3132
|
+
404: components["responses"]["NotFound"];
|
|
3133
|
+
500: components["responses"]["ServerError"];
|
|
3134
|
+
};
|
|
3135
|
+
};
|
|
3136
|
+
delete?: never;
|
|
3137
|
+
options?: never;
|
|
3138
|
+
head?: never;
|
|
3139
|
+
patch?: never;
|
|
3140
|
+
trace?: never;
|
|
3141
|
+
};
|
|
3142
|
+
"/institutions/{institutionId}/educational-model/periods": {
|
|
3143
|
+
parameters: {
|
|
3144
|
+
query?: never;
|
|
3145
|
+
header?: never;
|
|
3146
|
+
path?: never;
|
|
3147
|
+
cookie?: never;
|
|
3148
|
+
};
|
|
3149
|
+
/**
|
|
3150
|
+
* Get educational model periods by institution
|
|
3151
|
+
* @description Retrieve all periods for a specific institution's educational model
|
|
3152
|
+
*/
|
|
3153
|
+
get: {
|
|
3154
|
+
parameters: {
|
|
3155
|
+
query?: never;
|
|
3156
|
+
header?: never;
|
|
3157
|
+
path: {
|
|
3158
|
+
/** @description Institution ID (used as educational model ID) */
|
|
3159
|
+
institutionId: string;
|
|
3160
|
+
};
|
|
3161
|
+
cookie?: never;
|
|
3162
|
+
};
|
|
3163
|
+
requestBody?: never;
|
|
3164
|
+
responses: {
|
|
3165
|
+
/** @description List of educational model periods */
|
|
3166
|
+
200: {
|
|
3167
|
+
headers: {
|
|
3168
|
+
[name: string]: unknown;
|
|
3169
|
+
};
|
|
3170
|
+
content: {
|
|
3171
|
+
"application/json": {
|
|
3172
|
+
/** @example success */
|
|
3173
|
+
status?: string;
|
|
3174
|
+
data?: components["schemas"]["EducationalModelPeriod"][];
|
|
3175
|
+
};
|
|
3176
|
+
};
|
|
3177
|
+
};
|
|
3178
|
+
401: components["responses"]["Unauthorized"];
|
|
3179
|
+
500: components["responses"]["ServerError"];
|
|
3180
|
+
};
|
|
3181
|
+
};
|
|
3182
|
+
put?: never;
|
|
3183
|
+
post?: never;
|
|
3184
|
+
delete?: never;
|
|
3185
|
+
options?: never;
|
|
3186
|
+
head?: never;
|
|
3187
|
+
patch?: never;
|
|
3188
|
+
trace?: never;
|
|
3189
|
+
};
|
|
3190
|
+
"/institutions/educational-model-periods/{id}": {
|
|
3191
|
+
parameters: {
|
|
3192
|
+
query?: never;
|
|
3193
|
+
header?: never;
|
|
3194
|
+
path?: never;
|
|
3195
|
+
cookie?: never;
|
|
3196
|
+
};
|
|
3197
|
+
/**
|
|
3198
|
+
* Get educational model period by ID
|
|
3199
|
+
* @description Retrieve a specific educational model period
|
|
3200
|
+
*/
|
|
3201
|
+
get: {
|
|
3202
|
+
parameters: {
|
|
3203
|
+
query?: never;
|
|
3204
|
+
header?: never;
|
|
3205
|
+
path: {
|
|
3206
|
+
/** @description Educational model period ID */
|
|
3207
|
+
id: string;
|
|
3208
|
+
};
|
|
3209
|
+
cookie?: never;
|
|
3210
|
+
};
|
|
3211
|
+
requestBody?: never;
|
|
3212
|
+
responses: {
|
|
3213
|
+
/** @description Educational model period information */
|
|
3214
|
+
200: {
|
|
3215
|
+
headers: {
|
|
3216
|
+
[name: string]: unknown;
|
|
3217
|
+
};
|
|
3218
|
+
content: {
|
|
3219
|
+
"application/json": {
|
|
3220
|
+
/** @example success */
|
|
3221
|
+
status?: string;
|
|
3222
|
+
data?: components["schemas"]["EducationalModelPeriod"];
|
|
3223
|
+
};
|
|
3224
|
+
};
|
|
3225
|
+
};
|
|
3226
|
+
401: components["responses"]["Unauthorized"];
|
|
3227
|
+
404: components["responses"]["NotFound"];
|
|
3228
|
+
500: components["responses"]["ServerError"];
|
|
3229
|
+
};
|
|
3230
|
+
};
|
|
3231
|
+
put?: never;
|
|
3232
|
+
post?: never;
|
|
3233
|
+
/**
|
|
3234
|
+
* Delete educational model period
|
|
3235
|
+
* @description Remove an educational model period from the system
|
|
3236
|
+
*/
|
|
3237
|
+
delete: {
|
|
3238
|
+
parameters: {
|
|
3239
|
+
query?: never;
|
|
3240
|
+
header?: never;
|
|
3241
|
+
path: {
|
|
3242
|
+
/** @description Educational model period ID */
|
|
3243
|
+
id: string;
|
|
3244
|
+
};
|
|
3245
|
+
cookie?: never;
|
|
3246
|
+
};
|
|
3247
|
+
requestBody?: never;
|
|
3248
|
+
responses: {
|
|
3249
|
+
/** @description Educational model period deleted successfully */
|
|
3250
|
+
204: {
|
|
3251
|
+
headers: {
|
|
3252
|
+
[name: string]: unknown;
|
|
3253
|
+
};
|
|
3254
|
+
content?: never;
|
|
3255
|
+
};
|
|
3256
|
+
400: components["responses"]["BadRequest"];
|
|
3257
|
+
401: components["responses"]["Unauthorized"];
|
|
3258
|
+
404: components["responses"]["NotFound"];
|
|
3259
|
+
500: components["responses"]["ServerError"];
|
|
3260
|
+
};
|
|
3261
|
+
};
|
|
3262
|
+
options?: never;
|
|
3263
|
+
head?: never;
|
|
3264
|
+
/**
|
|
3265
|
+
* Update educational model period
|
|
3266
|
+
* @description Update educational model period information
|
|
3267
|
+
*/
|
|
3268
|
+
patch: {
|
|
3269
|
+
parameters: {
|
|
3270
|
+
query?: never;
|
|
3271
|
+
header?: never;
|
|
3272
|
+
path: {
|
|
3273
|
+
/** @description Educational model period ID */
|
|
3274
|
+
id: string;
|
|
3275
|
+
};
|
|
3276
|
+
cookie?: never;
|
|
3277
|
+
};
|
|
3278
|
+
requestBody: {
|
|
3279
|
+
content: {
|
|
3280
|
+
"application/json": components["schemas"]["UpdateEducationalModelPeriodDto"];
|
|
3281
|
+
};
|
|
3282
|
+
};
|
|
3283
|
+
responses: {
|
|
3284
|
+
/** @description Educational model period updated successfully */
|
|
3285
|
+
200: {
|
|
3286
|
+
headers: {
|
|
3287
|
+
[name: string]: unknown;
|
|
3288
|
+
};
|
|
3289
|
+
content: {
|
|
3290
|
+
"application/json": {
|
|
3291
|
+
/** @example success */
|
|
3292
|
+
status?: string;
|
|
3293
|
+
data?: components["schemas"]["EducationalModelPeriod"];
|
|
3294
|
+
};
|
|
3295
|
+
};
|
|
3296
|
+
};
|
|
3297
|
+
400: components["responses"]["BadRequest"];
|
|
3298
|
+
401: components["responses"]["Unauthorized"];
|
|
3299
|
+
404: components["responses"]["NotFound"];
|
|
3300
|
+
500: components["responses"]["ServerError"];
|
|
3301
|
+
};
|
|
3302
|
+
};
|
|
3303
|
+
trace?: never;
|
|
3304
|
+
};
|
|
3305
|
+
"/institutions/educational-models": {
|
|
3306
|
+
parameters: {
|
|
3307
|
+
query?: never;
|
|
3308
|
+
header?: never;
|
|
3309
|
+
path?: never;
|
|
3310
|
+
cookie?: never;
|
|
3311
|
+
};
|
|
3312
|
+
/**
|
|
3313
|
+
* List all educational models
|
|
3314
|
+
* @description Retrieve a list of all educational models
|
|
3315
|
+
*/
|
|
3316
|
+
get: {
|
|
3317
|
+
parameters: {
|
|
3318
|
+
query?: never;
|
|
3319
|
+
header?: never;
|
|
3320
|
+
path?: never;
|
|
3321
|
+
cookie?: never;
|
|
3322
|
+
};
|
|
3323
|
+
requestBody?: never;
|
|
3324
|
+
responses: {
|
|
3325
|
+
/** @description List of educational models */
|
|
3326
|
+
200: {
|
|
3327
|
+
headers: {
|
|
3328
|
+
[name: string]: unknown;
|
|
3329
|
+
};
|
|
3330
|
+
content: {
|
|
3331
|
+
"application/json": {
|
|
3332
|
+
/** @example success */
|
|
3333
|
+
status?: string;
|
|
3334
|
+
data?: components["schemas"]["EducationalModel"][];
|
|
3335
|
+
};
|
|
3336
|
+
};
|
|
3337
|
+
};
|
|
3338
|
+
401: components["responses"]["Unauthorized"];
|
|
3339
|
+
500: components["responses"]["ServerError"];
|
|
3340
|
+
};
|
|
3341
|
+
};
|
|
3342
|
+
put?: never;
|
|
3343
|
+
/**
|
|
3344
|
+
* Create a new educational model
|
|
3345
|
+
* @description Create a new educational model for an institution
|
|
3346
|
+
*/
|
|
3347
|
+
post: {
|
|
3348
|
+
parameters: {
|
|
3349
|
+
query?: never;
|
|
3350
|
+
header?: never;
|
|
3351
|
+
path?: never;
|
|
3352
|
+
cookie?: never;
|
|
3353
|
+
};
|
|
3354
|
+
requestBody: {
|
|
3355
|
+
content: {
|
|
3356
|
+
"application/json": components["schemas"]["CreateEducationalModelDto"];
|
|
3357
|
+
};
|
|
3358
|
+
};
|
|
3359
|
+
responses: {
|
|
3360
|
+
/** @description Educational model created successfully */
|
|
3361
|
+
201: {
|
|
3362
|
+
headers: {
|
|
3363
|
+
[name: string]: unknown;
|
|
3364
|
+
};
|
|
3365
|
+
content: {
|
|
3366
|
+
"application/json": {
|
|
3367
|
+
/** @example success */
|
|
3368
|
+
status?: string;
|
|
3369
|
+
data?: components["schemas"]["EducationalModel"];
|
|
3370
|
+
};
|
|
3371
|
+
};
|
|
3372
|
+
};
|
|
3373
|
+
400: components["responses"]["BadRequest"];
|
|
3374
|
+
401: components["responses"]["Unauthorized"];
|
|
3375
|
+
404: components["responses"]["NotFound"];
|
|
3376
|
+
409: components["responses"]["Conflict"];
|
|
3377
|
+
500: components["responses"]["ServerError"];
|
|
3378
|
+
};
|
|
3379
|
+
};
|
|
3380
|
+
delete?: never;
|
|
3381
|
+
options?: never;
|
|
3382
|
+
head?: never;
|
|
3383
|
+
patch?: never;
|
|
3384
|
+
trace?: never;
|
|
3385
|
+
};
|
|
3386
|
+
"/institutions/{institutionId}/educational-model": {
|
|
3387
|
+
parameters: {
|
|
3388
|
+
query?: never;
|
|
3389
|
+
header?: never;
|
|
3390
|
+
path?: never;
|
|
3391
|
+
cookie?: never;
|
|
3392
|
+
};
|
|
3393
|
+
/**
|
|
3394
|
+
* Get educational model by institution
|
|
3395
|
+
* @description Retrieve educational model for a specific institution
|
|
3396
|
+
*/
|
|
3397
|
+
get: {
|
|
3398
|
+
parameters: {
|
|
3399
|
+
query?: never;
|
|
3400
|
+
header?: never;
|
|
3401
|
+
path: {
|
|
3402
|
+
/** @description Institution ID */
|
|
3403
|
+
institutionId: string;
|
|
3404
|
+
};
|
|
3405
|
+
cookie?: never;
|
|
3406
|
+
};
|
|
3407
|
+
requestBody?: never;
|
|
3408
|
+
responses: {
|
|
3409
|
+
/** @description Educational model information (returns null if no model exists for the institution) */
|
|
3410
|
+
200: {
|
|
3411
|
+
headers: {
|
|
3412
|
+
[name: string]: unknown;
|
|
3413
|
+
};
|
|
3414
|
+
content: {
|
|
3415
|
+
"application/json": {
|
|
3416
|
+
/** @example success */
|
|
3417
|
+
status?: string;
|
|
3418
|
+
/** @example null */
|
|
3419
|
+
data?: (components["schemas"]["EducationalModel"] | null) | null;
|
|
3420
|
+
};
|
|
3421
|
+
};
|
|
3422
|
+
};
|
|
3423
|
+
401: components["responses"]["Unauthorized"];
|
|
3424
|
+
500: components["responses"]["ServerError"];
|
|
3425
|
+
};
|
|
3426
|
+
};
|
|
3427
|
+
put?: never;
|
|
3428
|
+
post?: never;
|
|
3429
|
+
/**
|
|
3430
|
+
* Delete educational model
|
|
3431
|
+
* @description Remove an educational model from the system
|
|
3432
|
+
*/
|
|
3433
|
+
delete: {
|
|
3434
|
+
parameters: {
|
|
3435
|
+
query?: never;
|
|
3436
|
+
header?: never;
|
|
3437
|
+
path: {
|
|
3438
|
+
/** @description Institution ID */
|
|
3439
|
+
institutionId: string;
|
|
3440
|
+
};
|
|
3441
|
+
cookie?: never;
|
|
3442
|
+
};
|
|
3443
|
+
requestBody?: never;
|
|
3444
|
+
responses: {
|
|
3445
|
+
/** @description Educational model deleted successfully */
|
|
3446
|
+
204: {
|
|
3447
|
+
headers: {
|
|
3448
|
+
[name: string]: unknown;
|
|
3449
|
+
};
|
|
3450
|
+
content?: never;
|
|
3451
|
+
};
|
|
3452
|
+
400: components["responses"]["BadRequest"];
|
|
3453
|
+
401: components["responses"]["Unauthorized"];
|
|
3454
|
+
404: components["responses"]["NotFound"];
|
|
3455
|
+
500: components["responses"]["ServerError"];
|
|
3456
|
+
};
|
|
3457
|
+
};
|
|
3458
|
+
options?: never;
|
|
3459
|
+
head?: never;
|
|
3460
|
+
/**
|
|
3461
|
+
* Update educational model
|
|
3462
|
+
* @description Update educational model information
|
|
3463
|
+
*/
|
|
3464
|
+
patch: {
|
|
3465
|
+
parameters: {
|
|
3466
|
+
query?: never;
|
|
3467
|
+
header?: never;
|
|
3468
|
+
path: {
|
|
3469
|
+
/** @description Institution ID */
|
|
3470
|
+
institutionId: string;
|
|
3471
|
+
};
|
|
3472
|
+
cookie?: never;
|
|
3473
|
+
};
|
|
3474
|
+
requestBody: {
|
|
3475
|
+
content: {
|
|
3476
|
+
"application/json": components["schemas"]["UpdateEducationalModelDto"];
|
|
3477
|
+
};
|
|
3478
|
+
};
|
|
3479
|
+
responses: {
|
|
3480
|
+
/** @description Educational model updated successfully */
|
|
3481
|
+
200: {
|
|
3482
|
+
headers: {
|
|
3483
|
+
[name: string]: unknown;
|
|
3484
|
+
};
|
|
3485
|
+
content: {
|
|
3486
|
+
"application/json": {
|
|
3487
|
+
/** @example success */
|
|
3488
|
+
status?: string;
|
|
3489
|
+
data?: components["schemas"]["EducationalModel"];
|
|
3490
|
+
};
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
400: components["responses"]["BadRequest"];
|
|
3494
|
+
401: components["responses"]["Unauthorized"];
|
|
3495
|
+
404: components["responses"]["NotFound"];
|
|
3496
|
+
500: components["responses"]["ServerError"];
|
|
3497
|
+
};
|
|
3498
|
+
};
|
|
3499
|
+
trace?: never;
|
|
3500
|
+
};
|
|
2781
3501
|
"/institutions/seat-code/{seatCodeId}/classrooms": {
|
|
2782
3502
|
parameters: {
|
|
2783
3503
|
query?: never;
|
|
@@ -8845,6 +9565,207 @@ export interface components {
|
|
|
8845
9565
|
/** Format: date-time */
|
|
8846
9566
|
updatedAt?: string;
|
|
8847
9567
|
};
|
|
9568
|
+
CurriculumGrid: {
|
|
9569
|
+
/**
|
|
9570
|
+
* Format: uuid
|
|
9571
|
+
* @description Curriculum grid ID
|
|
9572
|
+
*/
|
|
9573
|
+
id?: string;
|
|
9574
|
+
/**
|
|
9575
|
+
* Format: uuid
|
|
9576
|
+
* @description Institution ID
|
|
9577
|
+
*/
|
|
9578
|
+
institutionId?: string;
|
|
9579
|
+
/**
|
|
9580
|
+
* Format: uuid
|
|
9581
|
+
* @description Serie ID
|
|
9582
|
+
*/
|
|
9583
|
+
serie?: string;
|
|
9584
|
+
/**
|
|
9585
|
+
* @description Whether the curriculum grid is active
|
|
9586
|
+
* @default true
|
|
9587
|
+
*/
|
|
9588
|
+
isActive: boolean;
|
|
9589
|
+
/** Format: date-time */
|
|
9590
|
+
createdAt?: string;
|
|
9591
|
+
/** Format: date-time */
|
|
9592
|
+
updatedAt?: string;
|
|
9593
|
+
};
|
|
9594
|
+
CreateCurriculumGridDto: {
|
|
9595
|
+
/**
|
|
9596
|
+
* Format: uuid
|
|
9597
|
+
* @description Institution ID
|
|
9598
|
+
*/
|
|
9599
|
+
institutionId: string;
|
|
9600
|
+
/**
|
|
9601
|
+
* Format: uuid
|
|
9602
|
+
* @description Serie ID
|
|
9603
|
+
*/
|
|
9604
|
+
serie: string;
|
|
9605
|
+
/**
|
|
9606
|
+
* @description Whether the curriculum grid is active
|
|
9607
|
+
* @default true
|
|
9608
|
+
*/
|
|
9609
|
+
isActive: boolean;
|
|
9610
|
+
};
|
|
9611
|
+
UpdateCurriculumGridDto: {
|
|
9612
|
+
/**
|
|
9613
|
+
* Format: uuid
|
|
9614
|
+
* @description Institution ID
|
|
9615
|
+
*/
|
|
9616
|
+
institutionId?: string;
|
|
9617
|
+
/**
|
|
9618
|
+
* Format: uuid
|
|
9619
|
+
* @description Serie ID
|
|
9620
|
+
*/
|
|
9621
|
+
serie?: string;
|
|
9622
|
+
/** @description Whether the curriculum grid is active */
|
|
9623
|
+
isActive?: boolean;
|
|
9624
|
+
};
|
|
9625
|
+
EducationalModel: {
|
|
9626
|
+
/**
|
|
9627
|
+
* Format: uuid
|
|
9628
|
+
* @description Institution ID (primary key)
|
|
9629
|
+
*/
|
|
9630
|
+
institutionId?: string;
|
|
9631
|
+
/**
|
|
9632
|
+
* @description Type of academic period (bimestre, semestre, trimestre)
|
|
9633
|
+
* @example bimestre
|
|
9634
|
+
*/
|
|
9635
|
+
periodType?: string;
|
|
9636
|
+
/**
|
|
9637
|
+
* @description Pedagogical model type
|
|
9638
|
+
* @example grade_indicada
|
|
9639
|
+
*/
|
|
9640
|
+
pedagogicalModel?: string;
|
|
9641
|
+
/**
|
|
9642
|
+
* @description Number of courses required to complete
|
|
9643
|
+
* @example 10
|
|
9644
|
+
*/
|
|
9645
|
+
coursesToComplete?: number | null;
|
|
9646
|
+
/**
|
|
9647
|
+
* @description Type of deadline for course completion
|
|
9648
|
+
* @example semester
|
|
9649
|
+
*/
|
|
9650
|
+
deadlineType?: string | null;
|
|
9651
|
+
/** Format: date-time */
|
|
9652
|
+
createdAt?: string;
|
|
9653
|
+
/** Format: date-time */
|
|
9654
|
+
updatedAt?: string;
|
|
9655
|
+
};
|
|
9656
|
+
CreateEducationalModelDto: {
|
|
9657
|
+
/**
|
|
9658
|
+
* Format: uuid
|
|
9659
|
+
* @description Institution ID
|
|
9660
|
+
*/
|
|
9661
|
+
institutionId: string;
|
|
9662
|
+
/**
|
|
9663
|
+
* @description Type of academic period (bimestre, semestre, trimestre)
|
|
9664
|
+
* @example bimestre
|
|
9665
|
+
*/
|
|
9666
|
+
periodType: string;
|
|
9667
|
+
/**
|
|
9668
|
+
* @description Pedagogical model type
|
|
9669
|
+
* @example grade_indicada
|
|
9670
|
+
*/
|
|
9671
|
+
pedagogicalModel: string;
|
|
9672
|
+
/**
|
|
9673
|
+
* @description Number of courses required to complete
|
|
9674
|
+
* @example 10
|
|
9675
|
+
*/
|
|
9676
|
+
coursesToComplete?: number | null;
|
|
9677
|
+
/**
|
|
9678
|
+
* @description Type of deadline for course completion
|
|
9679
|
+
* @example semester
|
|
9680
|
+
*/
|
|
9681
|
+
deadlineType?: string | null;
|
|
9682
|
+
};
|
|
9683
|
+
UpdateEducationalModelDto: {
|
|
9684
|
+
/**
|
|
9685
|
+
* @description Type of academic period (bimestre, semestre, trimestre)
|
|
9686
|
+
* @example bimestre
|
|
9687
|
+
*/
|
|
9688
|
+
periodType?: string;
|
|
9689
|
+
/**
|
|
9690
|
+
* @description Pedagogical model type
|
|
9691
|
+
* @example grade_indicada
|
|
9692
|
+
*/
|
|
9693
|
+
pedagogicalModel?: string;
|
|
9694
|
+
/**
|
|
9695
|
+
* @description Number of courses required to complete
|
|
9696
|
+
* @example 10
|
|
9697
|
+
*/
|
|
9698
|
+
coursesToComplete?: number | null;
|
|
9699
|
+
/**
|
|
9700
|
+
* @description Type of deadline for course completion
|
|
9701
|
+
* @example semester
|
|
9702
|
+
*/
|
|
9703
|
+
deadlineType?: string | null;
|
|
9704
|
+
};
|
|
9705
|
+
EducationalModelPeriod: {
|
|
9706
|
+
/**
|
|
9707
|
+
* Format: uuid
|
|
9708
|
+
* @description Educational model period ID
|
|
9709
|
+
*/
|
|
9710
|
+
id?: string;
|
|
9711
|
+
/**
|
|
9712
|
+
* Format: uuid
|
|
9713
|
+
* @description Educational model ID (institution ID)
|
|
9714
|
+
*/
|
|
9715
|
+
educationModelId?: string;
|
|
9716
|
+
/**
|
|
9717
|
+
* Format: date-time
|
|
9718
|
+
* @description Period start date
|
|
9719
|
+
*/
|
|
9720
|
+
start?: string;
|
|
9721
|
+
/**
|
|
9722
|
+
* Format: date-time
|
|
9723
|
+
* @description Period end date
|
|
9724
|
+
*/
|
|
9725
|
+
end?: string;
|
|
9726
|
+
/** Format: date-time */
|
|
9727
|
+
createdAt?: string;
|
|
9728
|
+
/** Format: date-time */
|
|
9729
|
+
updatedAt?: string;
|
|
9730
|
+
};
|
|
9731
|
+
CreateEducationalModelPeriodDto: {
|
|
9732
|
+
/**
|
|
9733
|
+
* Format: uuid
|
|
9734
|
+
* @description Educational model ID (institution ID)
|
|
9735
|
+
*/
|
|
9736
|
+
educationModelId: string;
|
|
9737
|
+
/**
|
|
9738
|
+
* Format: date-time
|
|
9739
|
+
* @description Period start date
|
|
9740
|
+
* @example 2024-02-03T00:00:00Z
|
|
9741
|
+
*/
|
|
9742
|
+
start: string;
|
|
9743
|
+
/**
|
|
9744
|
+
* Format: date-time
|
|
9745
|
+
* @description Period end date
|
|
9746
|
+
* @example 2024-04-11T23:59:59Z
|
|
9747
|
+
*/
|
|
9748
|
+
end: string;
|
|
9749
|
+
};
|
|
9750
|
+
UpdateEducationalModelPeriodDto: {
|
|
9751
|
+
/**
|
|
9752
|
+
* Format: uuid
|
|
9753
|
+
* @description Educational model ID (institution ID)
|
|
9754
|
+
*/
|
|
9755
|
+
educationModelId?: string;
|
|
9756
|
+
/**
|
|
9757
|
+
* Format: date-time
|
|
9758
|
+
* @description Period start date
|
|
9759
|
+
* @example 2024-02-03T00:00:00Z
|
|
9760
|
+
*/
|
|
9761
|
+
start?: string;
|
|
9762
|
+
/**
|
|
9763
|
+
* Format: date-time
|
|
9764
|
+
* @description Period end date
|
|
9765
|
+
* @example 2024-04-11T23:59:59Z
|
|
9766
|
+
*/
|
|
9767
|
+
end?: string;
|
|
9768
|
+
};
|
|
8848
9769
|
Application: {
|
|
8849
9770
|
/**
|
|
8850
9771
|
* Format: uuid
|
|
@@ -9140,6 +10061,11 @@ export interface components {
|
|
|
9140
10061
|
UpdateSeatsDto: {
|
|
9141
10062
|
/** @description New available quantity for this group */
|
|
9142
10063
|
availableQuantity: number;
|
|
10064
|
+
/**
|
|
10065
|
+
* Format: uuid
|
|
10066
|
+
* @description Product ID to associate with the seat (optional, to update the product)
|
|
10067
|
+
*/
|
|
10068
|
+
productId?: string;
|
|
9143
10069
|
};
|
|
9144
10070
|
/**
|
|
9145
10071
|
* @example {
|