academe-kit 0.2.4 → 0.2.6
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 +57 -6
- package/dist/index.esm.js +6 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/types/services/InstitutionService.d.ts +45 -0
- package/dist/types/services/SerieService.d.ts +2 -2
- package/dist/types/types/academe-api.d.ts +10 -4
- package/package.json +1 -1
|
@@ -787,6 +787,51 @@ export declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
789
|
}, `${string}/${string}`>>;
|
|
790
|
+
getGroupUsers(institutionId: string): Promise<import("openapi-fetch").FetchResponse<{
|
|
791
|
+
parameters: {
|
|
792
|
+
query?: never;
|
|
793
|
+
header?: never;
|
|
794
|
+
path: {
|
|
795
|
+
institutionId: string;
|
|
796
|
+
};
|
|
797
|
+
cookie?: never;
|
|
798
|
+
};
|
|
799
|
+
requestBody?: never;
|
|
800
|
+
responses: {
|
|
801
|
+
200: {
|
|
802
|
+
headers: {
|
|
803
|
+
[name: string]: unknown;
|
|
804
|
+
};
|
|
805
|
+
content: {
|
|
806
|
+
"application/json": {
|
|
807
|
+
status?: string;
|
|
808
|
+
data?: {
|
|
809
|
+
[key: string]: {
|
|
810
|
+
id?: string;
|
|
811
|
+
firstName?: string;
|
|
812
|
+
lastName?: string;
|
|
813
|
+
email?: string;
|
|
814
|
+
document?: string;
|
|
815
|
+
phone?: string;
|
|
816
|
+
isActive?: boolean;
|
|
817
|
+
assignedAt?: string;
|
|
818
|
+
assignedBy?: string;
|
|
819
|
+
}[];
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
};
|
|
824
|
+
401: components["responses"]["Unauthorized"];
|
|
825
|
+
404: components["responses"]["NotFound"];
|
|
826
|
+
500: components["responses"]["ServerError"];
|
|
827
|
+
};
|
|
828
|
+
}, {
|
|
829
|
+
params: {
|
|
830
|
+
path: {
|
|
831
|
+
institutionId: string;
|
|
832
|
+
};
|
|
833
|
+
};
|
|
834
|
+
}, `${string}/${string}`>>;
|
|
790
835
|
};
|
|
791
836
|
export type InstitutionService = ReturnType<typeof createInstitutionService>;
|
|
792
837
|
export {};
|
|
@@ -124,7 +124,7 @@ export declare function createSerieService(apiClient: AcademeApiClient): {
|
|
|
124
124
|
};
|
|
125
125
|
}, {
|
|
126
126
|
body: {
|
|
127
|
-
|
|
127
|
+
value: number;
|
|
128
128
|
};
|
|
129
129
|
}, `${string}/${string}`>>;
|
|
130
130
|
/**
|
|
@@ -169,7 +169,7 @@ export declare function createSerieService(apiClient: AcademeApiClient): {
|
|
|
169
169
|
};
|
|
170
170
|
};
|
|
171
171
|
body: {
|
|
172
|
-
|
|
172
|
+
value?: number;
|
|
173
173
|
};
|
|
174
174
|
}, `${string}/${string}`>>;
|
|
175
175
|
/**
|
|
@@ -6932,12 +6932,18 @@ export interface components {
|
|
|
6932
6932
|
serieId?: string;
|
|
6933
6933
|
};
|
|
6934
6934
|
CreateSerieDto: {
|
|
6935
|
-
/**
|
|
6936
|
-
|
|
6935
|
+
/**
|
|
6936
|
+
* @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
|
|
6937
|
+
* @example 1
|
|
6938
|
+
*/
|
|
6939
|
+
value: number;
|
|
6937
6940
|
};
|
|
6938
6941
|
UpdateSerieDto: {
|
|
6939
|
-
/**
|
|
6940
|
-
|
|
6942
|
+
/**
|
|
6943
|
+
* @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
|
|
6944
|
+
* @example 1
|
|
6945
|
+
*/
|
|
6946
|
+
value?: number;
|
|
6941
6947
|
};
|
|
6942
6948
|
CreateShiftDto: {
|
|
6943
6949
|
/**
|