academe-kit 0.2.5 → 0.2.7
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.
|
@@ -474,8 +474,8 @@ export declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
474
474
|
parameters: {
|
|
475
475
|
query?: {
|
|
476
476
|
classroomId?: string;
|
|
477
|
-
isStudent?: boolean;
|
|
478
477
|
isActive?: boolean;
|
|
478
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
479
479
|
hasCertificates?: boolean;
|
|
480
480
|
hasGuardian?: boolean;
|
|
481
481
|
search?: string;
|
|
@@ -664,7 +664,6 @@ export declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
664
664
|
body: {
|
|
665
665
|
userId: string;
|
|
666
666
|
institutionClassroomId?: string | null;
|
|
667
|
-
isStudent: boolean;
|
|
668
667
|
isActive: boolean;
|
|
669
668
|
};
|
|
670
669
|
}, `${string}/${string}`>>;
|
|
@@ -709,7 +708,6 @@ export declare function createInstitutionService(apiClient: AcademeApiClient): {
|
|
|
709
708
|
};
|
|
710
709
|
body: {
|
|
711
710
|
institutionClassroomId?: string | null;
|
|
712
|
-
isStudent?: boolean;
|
|
713
711
|
isActive?: boolean;
|
|
714
712
|
};
|
|
715
713
|
}, `${string}/${string}`>>;
|
|
@@ -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
|
/**
|
|
@@ -1658,6 +1658,12 @@ export interface paths {
|
|
|
1658
1658
|
* @default false
|
|
1659
1659
|
*/
|
|
1660
1660
|
isDefault?: boolean;
|
|
1661
|
+
/**
|
|
1662
|
+
* @description Type of the group
|
|
1663
|
+
* @default other
|
|
1664
|
+
* @enum {string}
|
|
1665
|
+
*/
|
|
1666
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
1661
1667
|
};
|
|
1662
1668
|
};
|
|
1663
1669
|
};
|
|
@@ -1800,6 +1806,11 @@ export interface paths {
|
|
|
1800
1806
|
name?: string;
|
|
1801
1807
|
/** @description If true, group is automatically associated when creating institutions */
|
|
1802
1808
|
isDefault?: boolean;
|
|
1809
|
+
/**
|
|
1810
|
+
* @description Type of the group
|
|
1811
|
+
* @enum {string}
|
|
1812
|
+
*/
|
|
1813
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
1803
1814
|
};
|
|
1804
1815
|
};
|
|
1805
1816
|
};
|
|
@@ -3591,10 +3602,10 @@ export interface paths {
|
|
|
3591
3602
|
query?: {
|
|
3592
3603
|
/** @description Filter by classroom (institution_classroom_id) */
|
|
3593
3604
|
classroomId?: string;
|
|
3594
|
-
/** @description Filter by student status (true = students only, false = non-students only) */
|
|
3595
|
-
isStudent?: boolean;
|
|
3596
3605
|
/** @description Filter by user active status */
|
|
3597
3606
|
isActive?: boolean;
|
|
3607
|
+
/** @description Filter users by group type (e.g., student, teacher, school-director, other) */
|
|
3608
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
3598
3609
|
/** @description Filter users with certificates (true) or without (false) */
|
|
3599
3610
|
hasCertificates?: boolean;
|
|
3600
3611
|
/** @description Filter users with guardian (true) or without (false) */
|
|
@@ -5537,7 +5548,6 @@ export interface paths {
|
|
|
5537
5548
|
* - Classroom name
|
|
5538
5549
|
* - Shift (manhã, tarde, noite)
|
|
5539
5550
|
* - Serie (grade level)
|
|
5540
|
-
* - Student status (isStudent)
|
|
5541
5551
|
*/
|
|
5542
5552
|
get: {
|
|
5543
5553
|
parameters: {
|
|
@@ -5963,6 +5973,12 @@ export interface components {
|
|
|
5963
5973
|
* @example false
|
|
5964
5974
|
*/
|
|
5965
5975
|
isDefault?: boolean;
|
|
5976
|
+
/**
|
|
5977
|
+
* @description Type of the group
|
|
5978
|
+
* @example student
|
|
5979
|
+
* @enum {string}
|
|
5980
|
+
*/
|
|
5981
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
5966
5982
|
/** Format: date-time */
|
|
5967
5983
|
createdAt?: string;
|
|
5968
5984
|
/** Format: date-time */
|
|
@@ -5976,12 +5992,23 @@ export interface components {
|
|
|
5976
5992
|
* @default false
|
|
5977
5993
|
*/
|
|
5978
5994
|
isDefault: boolean;
|
|
5995
|
+
/**
|
|
5996
|
+
* @description Type of the group
|
|
5997
|
+
* @default other
|
|
5998
|
+
* @enum {string}
|
|
5999
|
+
*/
|
|
6000
|
+
type: "student" | "teacher" | "school-director" | "other";
|
|
5979
6001
|
};
|
|
5980
6002
|
UpdateGroupDto: {
|
|
5981
6003
|
/** @example students */
|
|
5982
6004
|
name?: string;
|
|
5983
6005
|
/** @description If true, group is automatically associated when creating institutions */
|
|
5984
6006
|
isDefault?: boolean;
|
|
6007
|
+
/**
|
|
6008
|
+
* @description Type of the group
|
|
6009
|
+
* @enum {string}
|
|
6010
|
+
*/
|
|
6011
|
+
type?: "student" | "teacher" | "school-director" | "other";
|
|
5985
6012
|
};
|
|
5986
6013
|
AssignUserToGroupDto: {
|
|
5987
6014
|
/** Format: uuid */
|
|
@@ -6081,11 +6108,6 @@ export interface components {
|
|
|
6081
6108
|
institutionRegistration?: {
|
|
6082
6109
|
/** Format: uuid */
|
|
6083
6110
|
id?: string;
|
|
6084
|
-
/**
|
|
6085
|
-
* @description Indicates if the user is registered as a student
|
|
6086
|
-
* @example true
|
|
6087
|
-
*/
|
|
6088
|
-
isStudent?: boolean;
|
|
6089
6111
|
/**
|
|
6090
6112
|
* @description Indicates if the registration is active
|
|
6091
6113
|
* @example true
|
|
@@ -6142,11 +6164,6 @@ export interface components {
|
|
|
6142
6164
|
* @description ID of the institution classroom assignment
|
|
6143
6165
|
*/
|
|
6144
6166
|
institutionClassroomId?: string | null;
|
|
6145
|
-
/**
|
|
6146
|
-
* @description Indicates if the user is registered as a student
|
|
6147
|
-
* @example true
|
|
6148
|
-
*/
|
|
6149
|
-
isStudent?: boolean;
|
|
6150
6167
|
/**
|
|
6151
6168
|
* @description Indicates if the user is active in the institution
|
|
6152
6169
|
* @example true
|
|
@@ -6587,11 +6604,6 @@ export interface components {
|
|
|
6587
6604
|
* @description Optional classroom ID to assign the user to
|
|
6588
6605
|
*/
|
|
6589
6606
|
institutionClassroomId?: string | null;
|
|
6590
|
-
/**
|
|
6591
|
-
* @description Whether the user is a student
|
|
6592
|
-
* @default true
|
|
6593
|
-
*/
|
|
6594
|
-
isStudent: boolean;
|
|
6595
6607
|
/**
|
|
6596
6608
|
* @description Whether the registration is active
|
|
6597
6609
|
* @default true
|
|
@@ -6604,8 +6616,6 @@ export interface components {
|
|
|
6604
6616
|
* @description Classroom ID to assign the user to (null to remove)
|
|
6605
6617
|
*/
|
|
6606
6618
|
institutionClassroomId?: string | null;
|
|
6607
|
-
/** @description Whether the user is a student */
|
|
6608
|
-
isStudent?: boolean;
|
|
6609
6619
|
/** @description Whether the registration is active */
|
|
6610
6620
|
isActive?: boolean;
|
|
6611
6621
|
};
|
|
@@ -6932,12 +6942,18 @@ export interface components {
|
|
|
6932
6942
|
serieId?: string;
|
|
6933
6943
|
};
|
|
6934
6944
|
CreateSerieDto: {
|
|
6935
|
-
/**
|
|
6936
|
-
|
|
6945
|
+
/**
|
|
6946
|
+
* @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
|
|
6947
|
+
* @example 1
|
|
6948
|
+
*/
|
|
6949
|
+
value: number;
|
|
6937
6950
|
};
|
|
6938
6951
|
UpdateSerieDto: {
|
|
6939
|
-
/**
|
|
6940
|
-
|
|
6952
|
+
/**
|
|
6953
|
+
* @description Grade/year level (e.g., 1 for 1st grade, 2 for 2nd grade)
|
|
6954
|
+
* @example 1
|
|
6955
|
+
*/
|
|
6956
|
+
value?: number;
|
|
6941
6957
|
};
|
|
6942
6958
|
CreateShiftDto: {
|
|
6943
6959
|
/**
|