academe-kit 0.2.8 → 0.2.9
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
CHANGED
|
@@ -7565,6 +7565,7 @@ type UpdateInstitutionClassroomDto = components['schemas']['UpdateInstitutionCla
|
|
|
7565
7565
|
type CreateInstitutionRegistrationDto = components['schemas']['CreateInstitutionRegistrationDto'];
|
|
7566
7566
|
type UpdateInstitutionRegistrationDto = components['schemas']['UpdateInstitutionRegistrationDto'];
|
|
7567
7567
|
type AssignClassroomDto = components['schemas']['AssignClassroomDto'];
|
|
7568
|
+
type GetInstitutionUsersQuery = paths['/institutions/{institutionId}/users']['get']['parameters']['query'];
|
|
7568
7569
|
declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
7569
7570
|
getAll(): Promise<openapi_fetch.FetchResponse<{
|
|
7570
7571
|
parameters: {
|
|
@@ -8019,16 +8020,7 @@ declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
8019
8020
|
};
|
|
8020
8021
|
};
|
|
8021
8022
|
}, `${string}/${string}`>>;
|
|
8022
|
-
getUsers(institutionId: string, options?: {
|
|
8023
|
-
classroomId?: string;
|
|
8024
|
-
isStudent?: boolean;
|
|
8025
|
-
isActive?: boolean;
|
|
8026
|
-
hasCertificates?: boolean;
|
|
8027
|
-
hasGuardian?: boolean;
|
|
8028
|
-
search?: string;
|
|
8029
|
-
page?: number;
|
|
8030
|
-
limit?: number;
|
|
8031
|
-
}): Promise<openapi_fetch.FetchResponse<{
|
|
8023
|
+
getUsers(institutionId: string, options?: GetInstitutionUsersQuery): Promise<openapi_fetch.FetchResponse<{
|
|
8032
8024
|
parameters: {
|
|
8033
8025
|
query?: {
|
|
8034
8026
|
classroomId?: string;
|
|
@@ -8068,8 +8060,8 @@ declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
8068
8060
|
};
|
|
8069
8061
|
query: {
|
|
8070
8062
|
classroomId?: string;
|
|
8071
|
-
isStudent?: boolean;
|
|
8072
8063
|
isActive?: boolean;
|
|
8064
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
8073
8065
|
hasCertificates?: boolean;
|
|
8074
8066
|
hasGuardian?: boolean;
|
|
8075
8067
|
search?: string;
|