@brite-future-schools-contracts/contracts 1.0.8 → 2.0.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.
Files changed (40) hide show
  1. package/dist/chunk-AEZO7MJD.js +127 -0
  2. package/dist/chunk-AEZO7MJD.js.map +1 -0
  3. package/dist/chunk-IR6JUP6L.js +48 -0
  4. package/dist/chunk-IR6JUP6L.js.map +1 -0
  5. package/dist/chunk-PCHAGP5X.js +1 -0
  6. package/dist/contracts/index.cjs +179 -0
  7. package/dist/contracts/index.cjs.map +1 -0
  8. package/dist/contracts/index.d.cts +201 -0
  9. package/dist/contracts/index.d.ts +158 -9677
  10. package/dist/contracts/index.js +22 -1414
  11. package/dist/contracts/index.js.map +1 -1
  12. package/dist/index.cjs +222 -0
  13. package/dist/index.cjs.map +1 -0
  14. package/dist/index.d.cts +4 -0
  15. package/dist/index.d.ts +2 -2
  16. package/dist/index.js +62 -1538
  17. package/dist/index.js.map +1 -1
  18. package/dist/schemas/index.cjs +181 -0
  19. package/dist/schemas/index.cjs.map +1 -0
  20. package/dist/schemas/index.d.cts +145 -0
  21. package/dist/schemas/index.d.ts +130 -1024
  22. package/dist/schemas/index.js +42 -640
  23. package/dist/schemas/index.js.map +1 -1
  24. package/package.json +32 -59
  25. package/dist/chunk-M6LF6JUL.mjs +0 -557
  26. package/dist/chunk-M6LF6JUL.mjs.map +0 -1
  27. package/dist/chunk-VC6SCJVW.mjs +0 -935
  28. package/dist/chunk-VC6SCJVW.mjs.map +0 -1
  29. package/dist/contracts/index.d.mts +0 -9720
  30. package/dist/contracts/index.mjs +0 -36
  31. package/dist/index.d.mts +0 -4
  32. package/dist/index.mjs +0 -161
  33. package/dist/index.mjs.map +0 -1
  34. package/dist/schemas/index.d.mts +0 -1039
  35. package/dist/schemas/index.mjs +0 -129
  36. package/dist/schemas/index.mjs.map +0 -1
  37. package/src/contracts/index.ts +0 -1209
  38. package/src/index.ts +0 -2
  39. package/src/schemas/index.ts +0 -586
  40. /package/dist/{contracts/index.mjs.map → chunk-PCHAGP5X.js.map} +0 -0
@@ -1,1039 +1,145 @@
1
- import { z } from 'zod';
1
+ import * as z from 'zod';
2
2
 
3
- declare const uuidSchema: z.ZodString;
4
- declare const paginationSchema: z.ZodObject<{
5
- page: z.ZodDefault<z.ZodNumber>;
6
- limit: z.ZodDefault<z.ZodNumber>;
7
- }, "strip", z.ZodTypeAny, {
8
- page: number;
9
- limit: number;
10
- }, {
11
- page?: number | undefined;
12
- limit?: number | undefined;
13
- }>;
14
- declare const dateRangeSchema: z.ZodObject<{
15
- from: z.ZodOptional<z.ZodString>;
16
- to: z.ZodOptional<z.ZodString>;
17
- }, "strip", z.ZodTypeAny, {
18
- from?: string | undefined;
19
- to?: string | undefined;
20
- }, {
21
- from?: string | undefined;
22
- to?: string | undefined;
23
- }>;
24
- declare const genderEnum: z.ZodEnum<["male", "female"]>;
25
- declare const userStatusEnum: z.ZodEnum<["active", "inactive", "suspended"]>;
26
- declare const systemRoleEnum: z.ZodEnum<["DIRECTOR", "PRINCIPAL", "DEPUTY_PRINCIPAL", "HOD", "CLASS_TEACHER", "SUBJECT_TEACHER", "BURSAR", "HR_ADMIN", "SCHOOL_NURSE", "LIBRARIAN", "LAB_TECHNICIAN", "SPORTS_COACH", "COUNSELLOR", "CARETAKER", "SECURITY", "KITCHEN_STAFF", "DRIVER", "IT_ADMIN", "STUDENT", "PARENT", "ORG_SPONSOR", "INDIVIDUAL_SPONSOR"]>;
27
- type SystemRole = z.infer<typeof systemRoleEnum>;
28
- declare const loginInputSchema: z.ZodObject<{
29
- email: z.ZodString;
3
+ /**
4
+ * Brite Future Schools — bfs-contracts
5
+ * Base Zod schemas: reusable primitives shared across all domain schemas.
6
+ *
7
+ * Phase History:
8
+ * Phase 0.1 (2026-06-05): Initial creation
9
+ *
10
+ * @module src/schemas/base
11
+ * @since Phase 0.1
12
+ */
13
+
14
+ declare const CuidSchema: z.ZodString;
15
+ declare const UuidSchema: z.ZodUUID;
16
+ declare const TimestampsSchema: z.ZodObject<{
17
+ createdAt: z.ZodISODateTime;
18
+ updatedAt: z.ZodISODateTime;
19
+ }, z.core.$strip>;
20
+ declare const SoftDeleteSchema: z.ZodObject<{
21
+ deletedAt: z.ZodNullable<z.ZodISODateTime>;
22
+ }, z.core.$strip>;
23
+ declare const PaginationInputSchema: z.ZodObject<{
24
+ cursor: z.ZodOptional<z.ZodString>;
25
+ limit: z.ZodDefault<z.ZodInt>;
26
+ }, z.core.$strip>;
27
+ declare function paginatedOutputSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
28
+ items: z.ZodArray<T>;
29
+ nextCursor: z.ZodNullable<z.ZodString>;
30
+ total: z.ZodInt;
31
+ }, z.core.$strip>;
32
+ declare const BranchRefSchema: z.ZodObject<{
33
+ branchId: z.ZodString;
34
+ }, z.core.$strip>;
35
+ type Timestamps = z.infer<typeof TimestampsSchema>;
36
+ type SoftDelete = z.infer<typeof SoftDeleteSchema>;
37
+ type PaginationInput = z.infer<typeof PaginationInputSchema>;
38
+
39
+ /**
40
+ * Brite Future Schools — bfs-contracts
41
+ * Auth-related Zod schemas.
42
+ *
43
+ * Phase History:
44
+ * Phase 0.1 (2026-06-05): Initial creation
45
+ *
46
+ * @module src/schemas/auth
47
+ * @since Phase 0.1
48
+ */
49
+
50
+ declare const SessionUserRoleSchema: z.ZodObject<{
51
+ id: z.ZodString;
52
+ name: z.ZodString;
53
+ branchId: z.ZodString;
54
+ isPrimary: z.ZodBoolean;
55
+ }, z.core.$strip>;
56
+ declare const SessionUserSubRoleSchema: z.ZodObject<{
57
+ id: z.ZodString;
58
+ name: z.ZodString;
59
+ branchId: z.ZodString;
60
+ }, z.core.$strip>;
61
+ declare const SessionUserOutputSchema: z.ZodObject<{
62
+ id: z.ZodString;
63
+ email: z.ZodEmail;
64
+ firstName: z.ZodString;
65
+ lastName: z.ZodString;
66
+ activeBranchId: z.ZodString;
67
+ roles: z.ZodArray<z.ZodObject<{
68
+ id: z.ZodString;
69
+ name: z.ZodString;
70
+ branchId: z.ZodString;
71
+ isPrimary: z.ZodBoolean;
72
+ }, z.core.$strip>>;
73
+ subRoles: z.ZodArray<z.ZodObject<{
74
+ id: z.ZodString;
75
+ name: z.ZodString;
76
+ branchId: z.ZodString;
77
+ }, z.core.$strip>>;
78
+ isActive: z.ZodBoolean;
79
+ mustChangePassword: z.ZodBoolean;
80
+ }, z.core.$strip>;
81
+ declare const LoginInputSchema: z.ZodObject<{
82
+ email: z.ZodEmail;
30
83
  password: z.ZodString;
31
- deviceFingerprint: z.ZodOptional<z.ZodString>;
32
- }, "strip", z.ZodTypeAny, {
33
- email: string;
34
- password: string;
35
- deviceFingerprint?: string | undefined;
36
- }, {
37
- email: string;
38
- password: string;
39
- deviceFingerprint?: string | undefined;
40
- }>;
41
- declare const loginOutputSchema: z.ZodObject<{
84
+ branchId: z.ZodOptional<z.ZodString>;
85
+ }, z.core.$strip>;
86
+ declare const LoginOutputSchema: z.ZodObject<{
42
87
  accessToken: z.ZodString;
43
- refreshToken: z.ZodOptional<z.ZodString>;
88
+ refreshToken: z.ZodString;
89
+ expiresIn: z.ZodInt;
44
90
  user: z.ZodObject<{
45
91
  id: z.ZodString;
92
+ email: z.ZodEmail;
46
93
  firstName: z.ZodString;
47
- middleName: z.ZodNullable<z.ZodString>;
48
94
  lastName: z.ZodString;
49
- email: z.ZodString;
50
- avatarUrl: z.ZodNullable<z.ZodString>;
95
+ activeBranchId: z.ZodString;
51
96
  roles: z.ZodArray<z.ZodObject<{
52
97
  id: z.ZodString;
53
98
  name: z.ZodString;
54
- branchId: z.ZodNullable<z.ZodString>;
55
- }, "strip", z.ZodTypeAny, {
56
- id: string;
57
- name: string;
58
- branchId: string | null;
59
- }, {
60
- id: string;
61
- name: string;
62
- branchId: string | null;
63
- }>, "many">;
64
- activeBranchId: z.ZodNullable<z.ZodString>;
65
- isMfaEnabled: z.ZodBoolean;
66
- }, "strip", z.ZodTypeAny, {
67
- email: string;
68
- id: string;
69
- firstName: string;
70
- middleName: string | null;
71
- lastName: string;
72
- avatarUrl: string | null;
73
- roles: {
74
- id: string;
75
- name: string;
76
- branchId: string | null;
77
- }[];
78
- activeBranchId: string | null;
79
- isMfaEnabled: boolean;
80
- }, {
81
- email: string;
82
- id: string;
83
- firstName: string;
84
- middleName: string | null;
85
- lastName: string;
86
- avatarUrl: string | null;
87
- roles: {
88
- id: string;
89
- name: string;
90
- branchId: string | null;
91
- }[];
92
- activeBranchId: string | null;
93
- isMfaEnabled: boolean;
94
- }>;
95
- }, "strip", z.ZodTypeAny, {
96
- accessToken: string;
97
- user: {
98
- email: string;
99
- id: string;
100
- firstName: string;
101
- middleName: string | null;
102
- lastName: string;
103
- avatarUrl: string | null;
104
- roles: {
105
- id: string;
106
- name: string;
107
- branchId: string | null;
108
- }[];
109
- activeBranchId: string | null;
110
- isMfaEnabled: boolean;
111
- };
112
- refreshToken?: string | undefined;
113
- }, {
114
- accessToken: string;
115
- user: {
116
- email: string;
117
- id: string;
118
- firstName: string;
119
- middleName: string | null;
120
- lastName: string;
121
- avatarUrl: string | null;
122
- roles: {
123
- id: string;
124
- name: string;
125
- branchId: string | null;
126
- }[];
127
- activeBranchId: string | null;
128
- isMfaEnabled: boolean;
129
- };
130
- refreshToken?: string | undefined;
131
- }>;
132
- declare const refreshTokenOutputSchema: z.ZodObject<{
99
+ branchId: z.ZodString;
100
+ isPrimary: z.ZodBoolean;
101
+ }, z.core.$strip>>;
102
+ subRoles: z.ZodArray<z.ZodObject<{
103
+ id: z.ZodString;
104
+ name: z.ZodString;
105
+ branchId: z.ZodString;
106
+ }, z.core.$strip>>;
107
+ isActive: z.ZodBoolean;
108
+ mustChangePassword: z.ZodBoolean;
109
+ }, z.core.$strip>;
110
+ }, z.core.$strip>;
111
+ declare const RefreshTokenInputSchema: z.ZodObject<{
112
+ refreshToken: z.ZodString;
113
+ }, z.core.$strip>;
114
+ declare const RefreshTokenOutputSchema: z.ZodObject<{
133
115
  accessToken: z.ZodString;
134
- }, "strip", z.ZodTypeAny, {
135
- accessToken: string;
136
- }, {
137
- accessToken: string;
138
- }>;
139
- declare const refreshInputSchema: z.ZodObject<{
140
- refreshToken: z.ZodOptional<z.ZodString>;
141
- }, "strip", z.ZodTypeAny, {
142
- refreshToken?: string | undefined;
143
- }, {
144
- refreshToken?: string | undefined;
145
- }>;
146
- declare const mfaVerifyInputSchema: z.ZodObject<{
147
- totp: z.ZodString;
148
- }, "strip", z.ZodTypeAny, {
149
- totp: string;
150
- }, {
151
- totp: string;
152
- }>;
153
- declare const changePasswordInputSchema: z.ZodObject<{
116
+ expiresIn: z.ZodInt;
117
+ }, z.core.$strip>;
118
+ declare const LogoutInputSchema: z.ZodObject<{
119
+ refreshToken: z.ZodString;
120
+ }, z.core.$strip>;
121
+ declare const ChangePasswordInputSchema: z.ZodObject<{
154
122
  currentPassword: z.ZodString;
155
123
  newPassword: z.ZodString;
156
- }, "strip", z.ZodTypeAny, {
157
- currentPassword: string;
158
- newPassword: string;
159
- }, {
160
- currentPassword: string;
161
- newPassword: string;
162
- }>;
163
- declare const userSchema: z.ZodObject<{
164
- id: z.ZodString;
165
- firstName: z.ZodString;
166
- middleName: z.ZodNullable<z.ZodString>;
167
- lastName: z.ZodString;
168
- email: z.ZodString;
169
- phone: z.ZodNullable<z.ZodString>;
170
- avatarUrl: z.ZodNullable<z.ZodString>;
171
- isActive: z.ZodBoolean;
172
- isMfaEnabled: z.ZodBoolean;
173
- lastLoginAt: z.ZodNullable<z.ZodString>;
174
- createdAt: z.ZodString;
175
- }, "strip", z.ZodTypeAny, {
176
- email: string;
177
- id: string;
178
- firstName: string;
179
- middleName: string | null;
180
- lastName: string;
181
- avatarUrl: string | null;
182
- isMfaEnabled: boolean;
183
- phone: string | null;
184
- isActive: boolean;
185
- lastLoginAt: string | null;
186
- createdAt: string;
187
- }, {
188
- email: string;
189
- id: string;
190
- firstName: string;
191
- middleName: string | null;
192
- lastName: string;
193
- avatarUrl: string | null;
194
- isMfaEnabled: boolean;
195
- phone: string | null;
196
- isActive: boolean;
197
- lastLoginAt: string | null;
198
- createdAt: string;
199
- }>;
200
- declare const branchSchema: z.ZodObject<{
201
- id: z.ZodString;
202
- name: z.ZodString;
203
- code: z.ZodString;
204
- address: z.ZodString;
205
- county: z.ZodString;
206
- phone: z.ZodNullable<z.ZodString>;
207
- email: z.ZodNullable<z.ZodString>;
208
- logoUrl: z.ZodNullable<z.ZodString>;
209
- motto: z.ZodNullable<z.ZodString>;
210
- principalId: z.ZodNullable<z.ZodString>;
211
- mpesaPaybill: z.ZodNullable<z.ZodString>;
212
- featureFlags: z.ZodRecord<z.ZodString, z.ZodBoolean>;
213
- createdAt: z.ZodString;
214
- }, "strip", z.ZodTypeAny, {
215
- code: string;
216
- email: string | null;
217
- id: string;
218
- name: string;
219
- phone: string | null;
220
- createdAt: string;
221
- address: string;
222
- county: string;
223
- logoUrl: string | null;
224
- motto: string | null;
225
- principalId: string | null;
226
- mpesaPaybill: string | null;
227
- featureFlags: Record<string, boolean>;
228
- }, {
229
- code: string;
230
- email: string | null;
231
- id: string;
232
- name: string;
233
- phone: string | null;
234
- createdAt: string;
235
- address: string;
236
- county: string;
237
- logoUrl: string | null;
238
- motto: string | null;
239
- principalId: string | null;
240
- mpesaPaybill: string | null;
241
- featureFlags: Record<string, boolean>;
242
- }>;
243
- declare const createBranchInputSchema: z.ZodObject<{
244
- name: z.ZodString;
245
- code: z.ZodString;
246
- address: z.ZodString;
247
- county: z.ZodString;
248
- phone: z.ZodOptional<z.ZodString>;
249
- email: z.ZodOptional<z.ZodString>;
250
- motto: z.ZodOptional<z.ZodString>;
251
- }, "strip", z.ZodTypeAny, {
252
- code: string;
253
- name: string;
254
- address: string;
255
- county: string;
256
- email?: string | undefined;
257
- phone?: string | undefined;
258
- motto?: string | undefined;
259
- }, {
260
- code: string;
261
- name: string;
262
- address: string;
263
- county: string;
264
- email?: string | undefined;
265
- phone?: string | undefined;
266
- motto?: string | undefined;
267
- }>;
268
- declare const studentStatusEnum: z.ZodEnum<["active", "transferred", "graduated", "suspended", "withdrawn"]>;
269
- declare const studentSchema: z.ZodObject<{
270
- id: z.ZodString;
271
- branchId: z.ZodString;
272
- admissionNo: z.ZodString;
273
- nemisNo: z.ZodNullable<z.ZodString>;
274
- firstName: z.ZodString;
275
- middleName: z.ZodNullable<z.ZodString>;
276
- lastName: z.ZodString;
277
- dateOfBirth: z.ZodString;
278
- gender: z.ZodEnum<["male", "female"]>;
279
- photoUrl: z.ZodNullable<z.ZodString>;
280
- bloodGroup: z.ZodNullable<z.ZodString>;
281
- admissionDate: z.ZodString;
282
- status: z.ZodEnum<["active", "transferred", "graduated", "suspended", "withdrawn"]>;
283
- currentClassId: z.ZodNullable<z.ZodString>;
284
- createdAt: z.ZodString;
285
- }, "strip", z.ZodTypeAny, {
286
- status: "active" | "suspended" | "transferred" | "graduated" | "withdrawn";
287
- id: string;
288
- firstName: string;
289
- middleName: string | null;
290
- lastName: string;
291
- branchId: string;
292
- createdAt: string;
293
- admissionNo: string;
294
- nemisNo: string | null;
295
- dateOfBirth: string;
296
- gender: "male" | "female";
297
- photoUrl: string | null;
298
- bloodGroup: string | null;
299
- admissionDate: string;
300
- currentClassId: string | null;
301
- }, {
302
- status: "active" | "suspended" | "transferred" | "graduated" | "withdrawn";
303
- id: string;
304
- firstName: string;
305
- middleName: string | null;
306
- lastName: string;
307
- branchId: string;
308
- createdAt: string;
309
- admissionNo: string;
310
- nemisNo: string | null;
311
- dateOfBirth: string;
312
- gender: "male" | "female";
313
- photoUrl: string | null;
314
- bloodGroup: string | null;
315
- admissionDate: string;
316
- currentClassId: string | null;
317
- }>;
318
- declare const createStudentInputSchema: z.ZodObject<{
319
- admissionNo: z.ZodString;
320
- nemisNo: z.ZodOptional<z.ZodString>;
321
- firstName: z.ZodString;
322
- middleName: z.ZodOptional<z.ZodString>;
323
- lastName: z.ZodString;
324
- dateOfBirth: z.ZodString;
325
- gender: z.ZodEnum<["male", "female"]>;
326
- admissionDate: z.ZodString;
327
- guardianId: z.ZodOptional<z.ZodString>;
328
- }, "strip", z.ZodTypeAny, {
329
- firstName: string;
330
- lastName: string;
331
- admissionNo: string;
332
- dateOfBirth: string;
333
- gender: "male" | "female";
334
- admissionDate: string;
335
- middleName?: string | undefined;
336
- nemisNo?: string | undefined;
337
- guardianId?: string | undefined;
338
- }, {
339
- firstName: string;
340
- lastName: string;
341
- admissionNo: string;
342
- dateOfBirth: string;
343
- gender: "male" | "female";
344
- admissionDate: string;
345
- middleName?: string | undefined;
346
- nemisNo?: string | undefined;
347
- guardianId?: string | undefined;
348
- }>;
349
- declare const listStudentsInputSchema: z.ZodObject<{
350
- page: z.ZodDefault<z.ZodNumber>;
351
- limit: z.ZodDefault<z.ZodNumber>;
352
- } & {
353
- branchId: z.ZodOptional<z.ZodString>;
354
- classId: z.ZodOptional<z.ZodString>;
355
- gradeId: z.ZodOptional<z.ZodString>;
356
- search: z.ZodOptional<z.ZodString>;
357
- status: z.ZodOptional<z.ZodEnum<["active", "transferred", "graduated", "suspended", "withdrawn"]>>;
358
- termId: z.ZodOptional<z.ZodString>;
359
- }, "strip", z.ZodTypeAny, {
360
- page: number;
361
- limit: number;
362
- status?: "active" | "suspended" | "transferred" | "graduated" | "withdrawn" | undefined;
363
- branchId?: string | undefined;
364
- classId?: string | undefined;
365
- gradeId?: string | undefined;
366
- search?: string | undefined;
367
- termId?: string | undefined;
368
- }, {
369
- page?: number | undefined;
370
- limit?: number | undefined;
371
- status?: "active" | "suspended" | "transferred" | "graduated" | "withdrawn" | undefined;
372
- branchId?: string | undefined;
373
- classId?: string | undefined;
374
- gradeId?: string | undefined;
375
- search?: string | undefined;
376
- termId?: string | undefined;
377
- }>;
378
- declare const guardianSchema: z.ZodObject<{
379
- id: z.ZodString;
380
- userId: z.ZodString;
381
- firstName: z.ZodString;
382
- middleName: z.ZodNullable<z.ZodString>;
383
- lastName: z.ZodString;
384
- relationship: z.ZodString;
385
- phone: z.ZodString;
386
- email: z.ZodNullable<z.ZodString>;
387
- nationalId: z.ZodNullable<z.ZodString>;
388
- occupation: z.ZodNullable<z.ZodString>;
389
- address: z.ZodNullable<z.ZodString>;
390
- }, "strip", z.ZodTypeAny, {
391
- email: string | null;
392
- id: string;
393
- firstName: string;
394
- middleName: string | null;
395
- lastName: string;
396
- phone: string;
397
- address: string | null;
398
- userId: string;
399
- relationship: string;
400
- nationalId: string | null;
401
- occupation: string | null;
402
- }, {
403
- email: string | null;
404
- id: string;
405
- firstName: string;
406
- middleName: string | null;
407
- lastName: string;
408
- phone: string;
409
- address: string | null;
410
- userId: string;
411
- relationship: string;
412
- nationalId: string | null;
413
- occupation: string | null;
414
- }>;
415
- declare const sponsorTypeEnum: z.ZodEnum<["organisation", "individual"]>;
416
- declare const sponsorSchema: z.ZodObject<{
417
- id: z.ZodString;
418
- branchId: z.ZodString;
419
- type: z.ZodEnum<["organisation", "individual"]>;
420
- organisationName: z.ZodNullable<z.ZodString>;
421
- firstName: z.ZodNullable<z.ZodString>;
422
- middleName: z.ZodNullable<z.ZodString>;
423
- lastName: z.ZodNullable<z.ZodString>;
424
- contactUserId: z.ZodNullable<z.ZodString>;
425
- phone: z.ZodString;
426
- email: z.ZodNullable<z.ZodString>;
427
- address: z.ZodNullable<z.ZodString>;
428
- }, "strip", z.ZodTypeAny, {
429
- type: "organisation" | "individual";
430
- email: string | null;
431
- id: string;
432
- firstName: string | null;
433
- middleName: string | null;
434
- lastName: string | null;
435
- branchId: string;
436
- phone: string;
437
- address: string | null;
438
- organisationName: string | null;
439
- contactUserId: string | null;
440
- }, {
441
- type: "organisation" | "individual";
442
- email: string | null;
443
- id: string;
444
- firstName: string | null;
445
- middleName: string | null;
446
- lastName: string | null;
447
- branchId: string;
448
- phone: string;
449
- address: string | null;
450
- organisationName: string | null;
451
- contactUserId: string | null;
452
- }>;
453
- declare const gradeLevelEnum: z.ZodEnum<["PP1", "PP2", "G1", "G2", "G3", "G4", "G5", "G6", "G7", "G8", "G9"]>;
454
- declare const assessmentTypeEnum: z.ZodEnum<["formative", "summative", "knec_national", "informal"]>;
455
- declare const rubricBandEnum: z.ZodEnum<["EE", "ME", "AE", "BE"]>;
456
- declare const subjectSchema: z.ZodObject<{
457
- id: z.ZodString;
458
- branchId: z.ZodString;
459
- name: z.ZodString;
460
- code: z.ZodString;
461
- gradeLevel: z.ZodEnum<["PP1", "PP2", "G1", "G2", "G3", "G4", "G5", "G6", "G7", "G8", "G9"]>;
462
- departmentId: z.ZodNullable<z.ZodString>;
463
- }, "strip", z.ZodTypeAny, {
464
- code: string;
465
- id: string;
466
- name: string;
467
- branchId: string;
468
- gradeLevel: "PP1" | "PP2" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9";
469
- departmentId: string | null;
470
- }, {
471
- code: string;
472
- id: string;
473
- name: string;
474
- branchId: string;
475
- gradeLevel: "PP1" | "PP2" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9";
476
- departmentId: string | null;
477
- }>;
478
- declare const assessmentScoreInputSchema: z.ZodObject<{
479
- assessmentId: z.ZodString;
480
- studentId: z.ZodString;
481
- subStrandId: z.ZodString;
482
- numericScore: z.ZodNumber;
483
- comments: z.ZodOptional<z.ZodString>;
484
- }, "strip", z.ZodTypeAny, {
485
- assessmentId: string;
486
- studentId: string;
487
- subStrandId: string;
488
- numericScore: number;
489
- comments?: string | undefined;
490
- }, {
491
- assessmentId: string;
492
- studentId: string;
493
- subStrandId: string;
494
- numericScore: number;
495
- comments?: string | undefined;
496
- }>;
497
- declare const reportCardStatusEnum: z.ZodEnum<["draft", "hod_review", "principal_review", "released", "blocked"]>;
498
- declare const feeItemCategoryEnum: z.ZodEnum<["compulsory", "class_specific", "additive"]>;
499
- declare const paymentMethodEnum: z.ZodEnum<["mpesa", "bank", "card", "cash", "cheque"]>;
500
- declare const invoiceStatusEnum: z.ZodEnum<["draft", "sent", "partial", "paid", "overdue", "cancelled"]>;
501
- declare const feeItemSchema: z.ZodObject<{
502
- id: z.ZodString;
503
- branchId: z.ZodString;
504
- name: z.ZodString;
505
- category: z.ZodEnum<["compulsory", "class_specific", "additive"]>;
506
- defaultAmount: z.ZodNumber;
507
- applicableGrades: z.ZodArray<z.ZodEnum<["PP1", "PP2", "G1", "G2", "G3", "G4", "G5", "G6", "G7", "G8", "G9"]>, "many">;
508
- isActive: z.ZodBoolean;
509
- }, "strip", z.ZodTypeAny, {
510
- id: string;
511
- name: string;
512
- branchId: string;
513
- isActive: boolean;
514
- category: "compulsory" | "class_specific" | "additive";
515
- defaultAmount: number;
516
- applicableGrades: ("PP1" | "PP2" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9")[];
517
- }, {
518
- id: string;
519
- name: string;
520
- branchId: string;
521
- isActive: boolean;
522
- category: "compulsory" | "class_specific" | "additive";
523
- defaultAmount: number;
524
- applicableGrades: ("PP1" | "PP2" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9")[];
525
- }>;
526
- declare const recordPaymentInputSchema: z.ZodObject<{
527
- studentId: z.ZodString;
528
- invoiceId: z.ZodString;
529
- amount: z.ZodNumber;
530
- method: z.ZodEnum<["mpesa", "bank", "card", "cash", "cheque"]>;
531
- reference: z.ZodOptional<z.ZodString>;
532
- mpesaReceipt: z.ZodOptional<z.ZodString>;
533
- paymentDate: z.ZodString;
534
- }, "strip", z.ZodTypeAny, {
535
- studentId: string;
536
- invoiceId: string;
537
- amount: number;
538
- method: "mpesa" | "bank" | "card" | "cash" | "cheque";
539
- paymentDate: string;
540
- reference?: string | undefined;
541
- mpesaReceipt?: string | undefined;
542
- }, {
543
- studentId: string;
544
- invoiceId: string;
545
- amount: number;
546
- method: "mpesa" | "bank" | "card" | "cash" | "cheque";
547
- paymentDate: string;
548
- reference?: string | undefined;
549
- mpesaReceipt?: string | undefined;
550
- }>;
551
- declare const employmentTypeEnum: z.ZodEnum<["permanent", "contract", "temporary", "intern"]>;
552
- declare const staffSchema: z.ZodObject<{
553
- id: z.ZodString;
554
- branchId: z.ZodString;
555
- userId: z.ZodString;
556
- firstName: z.ZodString;
557
- middleName: z.ZodNullable<z.ZodString>;
558
- lastName: z.ZodString;
559
- tscNumber: z.ZodNullable<z.ZodString>;
560
- nationalId: z.ZodString;
561
- kraPin: z.ZodNullable<z.ZodString>;
562
- nhifNo: z.ZodNullable<z.ZodString>;
563
- nssfNo: z.ZodNullable<z.ZodString>;
564
- phone: z.ZodString;
565
- departmentId: z.ZodNullable<z.ZodString>;
566
- designation: z.ZodString;
567
- employmentType: z.ZodEnum<["permanent", "contract", "temporary", "intern"]>;
568
- contractStart: z.ZodString;
569
- contractEnd: z.ZodNullable<z.ZodString>;
570
- basicSalary: z.ZodNumber;
571
- houseAllowance: z.ZodDefault<z.ZodNumber>;
572
- transportAllowance: z.ZodDefault<z.ZodNumber>;
573
- bankName: z.ZodNullable<z.ZodString>;
574
- bankAccount: z.ZodNullable<z.ZodString>;
575
- status: z.ZodEnum<["active", "inactive", "suspended"]>;
576
- }, "strip", z.ZodTypeAny, {
577
- status: "active" | "inactive" | "suspended";
578
- id: string;
579
- firstName: string;
580
- middleName: string | null;
581
- lastName: string;
582
- branchId: string;
583
- phone: string;
584
- userId: string;
585
- nationalId: string;
586
- departmentId: string | null;
587
- tscNumber: string | null;
588
- kraPin: string | null;
589
- nhifNo: string | null;
590
- nssfNo: string | null;
591
- designation: string;
592
- employmentType: "permanent" | "contract" | "temporary" | "intern";
593
- contractStart: string;
594
- contractEnd: string | null;
595
- basicSalary: number;
596
- houseAllowance: number;
597
- transportAllowance: number;
598
- bankName: string | null;
599
- bankAccount: string | null;
600
- }, {
601
- status: "active" | "inactive" | "suspended";
602
- id: string;
603
- firstName: string;
604
- middleName: string | null;
605
- lastName: string;
606
- branchId: string;
607
- phone: string;
608
- userId: string;
609
- nationalId: string;
610
- departmentId: string | null;
611
- tscNumber: string | null;
612
- kraPin: string | null;
613
- nhifNo: string | null;
614
- nssfNo: string | null;
615
- designation: string;
616
- employmentType: "permanent" | "contract" | "temporary" | "intern";
617
- contractStart: string;
618
- contractEnd: string | null;
619
- basicSalary: number;
620
- bankName: string | null;
621
- bankAccount: string | null;
622
- houseAllowance?: number | undefined;
623
- transportAllowance?: number | undefined;
624
- }>;
625
- declare const leaveStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
626
- declare const leaveRequestInputSchema: z.ZodObject<{
627
- leaveTypeId: z.ZodString;
628
- startDate: z.ZodString;
629
- endDate: z.ZodString;
630
- reason: z.ZodString;
631
- }, "strip", z.ZodTypeAny, {
632
- leaveTypeId: string;
633
- startDate: string;
634
- endDate: string;
635
- reason: string;
636
- }, {
637
- leaveTypeId: string;
638
- startDate: string;
639
- endDate: string;
640
- reason: string;
641
- }>;
642
- declare const vehicleOwnershipEnum: z.ZodEnum<["owned", "contracted"]>;
643
- declare const vehicleTypeEnum: z.ZodEnum<["bus", "van", "pickup", "other"]>;
644
- declare const busRegisterStatusEnum: z.ZodEnum<["boarded", "alighted", "absent"]>;
645
- declare const tripLogInputSchema: z.ZodObject<{
646
- vehicleId: z.ZodString;
647
- routeId: z.ZodString;
648
- departureTime: z.ZodString;
649
- tripType: z.ZodEnum<["morning", "evening", "errand"]>;
650
- }, "strip", z.ZodTypeAny, {
651
- vehicleId: string;
652
- routeId: string;
653
- departureTime: string;
654
- tripType: "morning" | "evening" | "errand";
655
- }, {
656
- vehicleId: string;
657
- routeId: string;
658
- departureTime: string;
659
- tripType: "morning" | "evening" | "errand";
660
- }>;
661
- declare const busRegisterEntrySchema: z.ZodObject<{
662
- studentId: z.ZodString;
663
- status: z.ZodEnum<["boarded", "alighted", "absent"]>;
664
- }, "strip", z.ZodTypeAny, {
665
- status: "boarded" | "alighted" | "absent";
666
- studentId: string;
667
- }, {
668
- status: "boarded" | "alighted" | "absent";
669
- studentId: string;
670
- }>;
671
- declare const vehicleStatusEnum: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
672
- declare const tripCategoryEnum: z.ZodEnum<["regular", "special"]>;
673
- declare const tripStatusEnum: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
674
- declare const transportAppStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
675
- declare const maintenanceRequestStatusEnum: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
676
- declare const vehicleSchema: z.ZodObject<{
677
- id: z.ZodString;
678
- branchId: z.ZodString;
679
- plateNo: z.ZodString;
680
- make: z.ZodNullable<z.ZodString>;
681
- model: z.ZodNullable<z.ZodString>;
682
- capacity: z.ZodNullable<z.ZodNumber>;
683
- type: z.ZodString;
684
- ownershipType: z.ZodEnum<["owned", "contracted"]>;
685
- insuranceExpiry: z.ZodNullable<z.ZodString>;
686
- inspectionDate: z.ZodNullable<z.ZodString>;
687
- status: z.ZodEnum<["active", "in_maintenance", "decommissioned"]>;
688
- driverUserId: z.ZodNullable<z.ZodString>;
689
- notes: z.ZodNullable<z.ZodString>;
690
- createdAt: z.ZodString;
691
- }, "strip", z.ZodTypeAny, {
692
- type: string;
693
- status: "active" | "in_maintenance" | "decommissioned";
694
- id: string;
695
- branchId: string;
696
- createdAt: string;
697
- plateNo: string;
698
- make: string | null;
699
- model: string | null;
700
- capacity: number | null;
701
- ownershipType: "owned" | "contracted";
702
- insuranceExpiry: string | null;
703
- inspectionDate: string | null;
704
- driverUserId: string | null;
705
- notes: string | null;
706
- }, {
707
- type: string;
708
- status: "active" | "in_maintenance" | "decommissioned";
709
- id: string;
710
- branchId: string;
711
- createdAt: string;
712
- plateNo: string;
713
- make: string | null;
714
- model: string | null;
715
- capacity: number | null;
716
- ownershipType: "owned" | "contracted";
717
- insuranceExpiry: string | null;
718
- inspectionDate: string | null;
719
- driverUserId: string | null;
720
- notes: string | null;
721
- }>;
722
- declare const routeSchema: z.ZodObject<{
723
- id: z.ZodString;
724
- branchId: z.ZodString;
725
- name: z.ZodString;
726
- description: z.ZodNullable<z.ZodString>;
727
- isActive: z.ZodBoolean;
728
- vehicleId: z.ZodNullable<z.ZodString>;
729
- routeCategory: z.ZodString;
730
- departureTime: z.ZodNullable<z.ZodString>;
731
- returnTime: z.ZodNullable<z.ZodString>;
732
- fare: z.ZodNullable<z.ZodNumber>;
733
- vehicle: z.ZodOptional<z.ZodNullable<z.ZodObject<{
734
- plateNo: z.ZodString;
735
- type: z.ZodString;
736
- }, "strip", z.ZodTypeAny, {
737
- type: string;
738
- plateNo: string;
739
- }, {
740
- type: string;
741
- plateNo: string;
742
- }>>>;
743
- stops: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
- id: z.ZodString;
745
- stopName: z.ZodString;
746
- stopOrder: z.ZodNumber;
747
- estimatedTime: z.ZodNullable<z.ZodString>;
748
- }, "strip", z.ZodTypeAny, {
749
- id: string;
750
- stopName: string;
751
- stopOrder: number;
752
- estimatedTime: string | null;
753
- }, {
754
- id: string;
755
- stopName: string;
756
- stopOrder: number;
757
- estimatedTime: string | null;
758
- }>, "many">>;
759
- roster: z.ZodOptional<z.ZodArray<z.ZodObject<{
760
- studentId: z.ZodString;
761
- studentName: z.ZodString;
762
- admissionNo: z.ZodString;
763
- pickupStop: z.ZodNullable<z.ZodString>;
764
- dropoffStop: z.ZodNullable<z.ZodString>;
765
- }, "strip", z.ZodTypeAny, {
766
- admissionNo: string;
767
- studentId: string;
768
- studentName: string;
769
- pickupStop: string | null;
770
- dropoffStop: string | null;
771
- }, {
772
- admissionNo: string;
773
- studentId: string;
774
- studentName: string;
775
- pickupStop: string | null;
776
- dropoffStop: string | null;
777
- }>, "many">>;
778
- }, "strip", z.ZodTypeAny, {
779
- id: string;
780
- name: string;
781
- branchId: string;
782
- isActive: boolean;
783
- vehicleId: string | null;
784
- departureTime: string | null;
785
- description: string | null;
786
- routeCategory: string;
787
- returnTime: string | null;
788
- fare: number | null;
789
- vehicle?: {
790
- type: string;
791
- plateNo: string;
792
- } | null | undefined;
793
- stops?: {
794
- id: string;
795
- stopName: string;
796
- stopOrder: number;
797
- estimatedTime: string | null;
798
- }[] | undefined;
799
- roster?: {
800
- admissionNo: string;
801
- studentId: string;
802
- studentName: string;
803
- pickupStop: string | null;
804
- dropoffStop: string | null;
805
- }[] | undefined;
806
- }, {
807
- id: string;
808
- name: string;
809
- branchId: string;
810
- isActive: boolean;
811
- vehicleId: string | null;
812
- departureTime: string | null;
813
- description: string | null;
814
- routeCategory: string;
815
- returnTime: string | null;
816
- fare: number | null;
817
- vehicle?: {
818
- type: string;
819
- plateNo: string;
820
- } | null | undefined;
821
- stops?: {
822
- id: string;
823
- stopName: string;
824
- stopOrder: number;
825
- estimatedTime: string | null;
826
- }[] | undefined;
827
- roster?: {
828
- admissionNo: string;
829
- studentId: string;
830
- studentName: string;
831
- pickupStop: string | null;
832
- dropoffStop: string | null;
833
- }[] | undefined;
834
- }>;
835
- declare const tripLogSchema: z.ZodObject<{
836
- id: z.ZodString;
837
- branchId: z.ZodString;
838
- vehicleId: z.ZodString;
839
- routeId: z.ZodNullable<z.ZodString>;
840
- driverUserId: z.ZodString;
841
- departureTime: z.ZodString;
842
- arrivalTime: z.ZodNullable<z.ZodString>;
843
- returnTime: z.ZodNullable<z.ZodString>;
844
- tripType: z.ZodString;
845
- tripCategory: z.ZodEnum<["regular", "special"]>;
846
- status: z.ZodEnum<["scheduled", "in_progress", "completed", "cancelled"]>;
847
- title: z.ZodNullable<z.ZodString>;
848
- description: z.ZodNullable<z.ZodString>;
849
- destination: z.ZodNullable<z.ZodString>;
850
- expectedStudents: z.ZodNullable<z.ZodNumber>;
851
- notes: z.ZodNullable<z.ZodString>;
852
- createdAt: z.ZodString;
853
- vehicle: z.ZodOptional<z.ZodObject<{
854
- plateNo: z.ZodString;
855
- type: z.ZodString;
856
- }, "strip", z.ZodTypeAny, {
857
- type: string;
858
- plateNo: string;
859
- }, {
860
- type: string;
861
- plateNo: string;
862
- }>>;
863
- route: z.ZodOptional<z.ZodNullable<z.ZodObject<{
864
- name: z.ZodString;
865
- }, "strip", z.ZodTypeAny, {
866
- name: string;
867
- }, {
868
- name: string;
869
- }>>>;
870
- }, "strip", z.ZodTypeAny, {
871
- status: "cancelled" | "scheduled" | "in_progress" | "completed";
872
- id: string;
873
- branchId: string;
874
- createdAt: string;
875
- vehicleId: string;
876
- routeId: string | null;
877
- departureTime: string;
878
- tripType: string;
879
- driverUserId: string;
880
- notes: string | null;
881
- description: string | null;
882
- returnTime: string | null;
883
- arrivalTime: string | null;
884
- tripCategory: "regular" | "special";
885
- title: string | null;
886
- destination: string | null;
887
- expectedStudents: number | null;
888
- vehicle?: {
889
- type: string;
890
- plateNo: string;
891
- } | undefined;
892
- route?: {
893
- name: string;
894
- } | null | undefined;
895
- }, {
896
- status: "cancelled" | "scheduled" | "in_progress" | "completed";
897
- id: string;
898
- branchId: string;
899
- createdAt: string;
900
- vehicleId: string;
901
- routeId: string | null;
902
- departureTime: string;
903
- tripType: string;
904
- driverUserId: string;
905
- notes: string | null;
906
- description: string | null;
907
- returnTime: string | null;
908
- arrivalTime: string | null;
909
- tripCategory: "regular" | "special";
910
- title: string | null;
911
- destination: string | null;
912
- expectedStudents: number | null;
913
- vehicle?: {
914
- type: string;
915
- plateNo: string;
916
- } | undefined;
917
- route?: {
918
- name: string;
919
- } | null | undefined;
920
- }>;
921
- declare const maintenanceRequestSchema: z.ZodObject<{
922
- id: z.ZodString;
923
- vehicleId: z.ZodString;
924
- requestedBy: z.ZodString;
925
- issue: z.ZodString;
926
- severity: z.ZodString;
927
- status: z.ZodEnum<["pending", "approved", "rejected", "resolved"]>;
928
- reviewedBy: z.ZodNullable<z.ZodString>;
929
- reviewNotes: z.ZodNullable<z.ZodString>;
930
- reviewedAt: z.ZodNullable<z.ZodString>;
931
- createdAt: z.ZodString;
932
- vehiclePlate: z.ZodOptional<z.ZodString>;
933
- }, "strip", z.ZodTypeAny, {
934
- status: "pending" | "approved" | "rejected" | "resolved";
935
- id: string;
936
- createdAt: string;
937
- vehicleId: string;
938
- requestedBy: string;
939
- issue: string;
940
- severity: string;
941
- reviewedBy: string | null;
942
- reviewNotes: string | null;
943
- reviewedAt: string | null;
944
- vehiclePlate?: string | undefined;
945
- }, {
946
- status: "pending" | "approved" | "rejected" | "resolved";
947
- id: string;
948
- createdAt: string;
949
- vehicleId: string;
950
- requestedBy: string;
951
- issue: string;
952
- severity: string;
953
- reviewedBy: string | null;
954
- reviewNotes: string | null;
955
- reviewedAt: string | null;
956
- vehiclePlate?: string | undefined;
957
- }>;
958
- declare const transportApplicationSchema: z.ZodObject<{
959
- id: z.ZodString;
960
- branchId: z.ZodString;
961
- studentId: z.ZodString;
962
- applicationType: z.ZodEnum<["route", "trip"]>;
963
- routeId: z.ZodNullable<z.ZodString>;
964
- tripLogId: z.ZodNullable<z.ZodString>;
965
- status: z.ZodEnum<["pending", "approved", "rejected", "cancelled"]>;
966
- appliedBy: z.ZodString;
967
- reviewedBy: z.ZodNullable<z.ZodString>;
968
- reviewNotes: z.ZodNullable<z.ZodString>;
969
- feeItemId: z.ZodNullable<z.ZodString>;
970
- invoiceUpdated: z.ZodBoolean;
971
- createdAt: z.ZodString;
972
- studentName: z.ZodOptional<z.ZodString>;
973
- routeName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
974
- tripTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
975
- }, "strip", z.ZodTypeAny, {
976
- status: "cancelled" | "pending" | "approved" | "rejected";
977
- id: string;
978
- branchId: string;
979
- createdAt: string;
980
- studentId: string;
981
- routeId: string | null;
982
- reviewedBy: string | null;
983
- reviewNotes: string | null;
984
- applicationType: "route" | "trip";
985
- tripLogId: string | null;
986
- appliedBy: string;
987
- feeItemId: string | null;
988
- invoiceUpdated: boolean;
989
- studentName?: string | undefined;
990
- routeName?: string | null | undefined;
991
- tripTitle?: string | null | undefined;
992
- }, {
993
- status: "cancelled" | "pending" | "approved" | "rejected";
994
- id: string;
995
- branchId: string;
996
- createdAt: string;
997
- studentId: string;
998
- routeId: string | null;
999
- reviewedBy: string | null;
1000
- reviewNotes: string | null;
1001
- applicationType: "route" | "trip";
1002
- tripLogId: string | null;
1003
- appliedBy: string;
1004
- feeItemId: string | null;
1005
- invoiceUpdated: boolean;
1006
- studentName?: string | undefined;
1007
- routeName?: string | null | undefined;
1008
- tripTitle?: string | null | undefined;
1009
- }>;
1010
- declare const assetCategoryEnum: z.ZodEnum<["furniture", "lab_equipment", "ict_device", "vehicle", "sports_equipment", "kitchen_equipment", "musical_instrument", "classroom_supply", "library_book", "other"]>;
1011
- declare const assetConditionEnum: z.ZodEnum<["excellent", "good", "fair", "poor", "condemned"]>;
1012
- declare const maintenanceTicketStatusEnum: z.ZodEnum<["open", "in_progress", "resolved", "closed"]>;
1013
- declare const borrowingStatusEnum: z.ZodEnum<["active", "returned", "overdue", "lost"]>;
1014
- declare const incidentSeverityEnum: z.ZodEnum<["minor", "moderate", "serious", "critical"]>;
1015
- declare const incidentStatusEnum: z.ZodEnum<["open", "counsellor_review", "hod_review", "principal_ruling", "resolved"]>;
1016
- declare const disciplineRulingEnum: z.ZodEnum<["verbal_warning", "written_warning", "suspension", "expulsion", "dismissed"]>;
1017
- declare const payrollRunStatusEnum: z.ZodEnum<["draft", "approved", "paid"]>;
1018
- declare const notificationTypeEnum: z.ZodEnum<["report_card", "fee_invoice", "fee_reminder", "fee_block", "attendance_absent", "bus_departed", "bus_arrived", "discipline_incident", "assignment", "notice", "leave", "payslip"]>;
1019
- declare const sendBulkSmsInputSchema: z.ZodObject<{
124
+ confirmPassword: z.ZodString;
125
+ }, z.core.$strip>;
126
+ declare const RequestPasswordResetInputSchema: z.ZodObject<{
127
+ email: z.ZodEmail;
128
+ }, z.core.$strip>;
129
+ declare const ResetPasswordInputSchema: z.ZodObject<{
130
+ token: z.ZodString;
131
+ newPassword: z.ZodString;
132
+ confirmPassword: z.ZodString;
133
+ }, z.core.$strip>;
134
+ declare const SwitchBranchInputSchema: z.ZodObject<{
1020
135
  branchId: z.ZodString;
1021
- message: z.ZodString;
1022
- recipientType: z.ZodEnum<["class", "grade", "whole_school", "custom"]>;
1023
- recipientIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1024
- scheduleAt: z.ZodOptional<z.ZodString>;
1025
- }, "strip", z.ZodTypeAny, {
1026
- message: string;
1027
- branchId: string;
1028
- recipientType: "custom" | "class" | "grade" | "whole_school";
1029
- recipientIds?: string[] | undefined;
1030
- scheduleAt?: string | undefined;
1031
- }, {
1032
- message: string;
1033
- branchId: string;
1034
- recipientType: "custom" | "class" | "grade" | "whole_school";
1035
- recipientIds?: string[] | undefined;
1036
- scheduleAt?: string | undefined;
1037
- }>;
136
+ }, z.core.$strip>;
137
+ type LoginInput = z.infer<typeof LoginInputSchema>;
138
+ type LoginOutput = z.infer<typeof LoginOutputSchema>;
139
+ type SessionUserOutput = z.infer<typeof SessionUserOutputSchema>;
140
+ type RefreshTokenInput = z.infer<typeof RefreshTokenInputSchema>;
141
+ type RefreshTokenOutput = z.infer<typeof RefreshTokenOutputSchema>;
142
+ type ChangePasswordInput = z.infer<typeof ChangePasswordInputSchema>;
143
+ type SwitchBranchInput = z.infer<typeof SwitchBranchInputSchema>;
1038
144
 
1039
- export { type SystemRole, assessmentScoreInputSchema, assessmentTypeEnum, assetCategoryEnum, assetConditionEnum, borrowingStatusEnum, branchSchema, busRegisterEntrySchema, busRegisterStatusEnum, changePasswordInputSchema, createBranchInputSchema, createStudentInputSchema, dateRangeSchema, disciplineRulingEnum, employmentTypeEnum, feeItemCategoryEnum, feeItemSchema, genderEnum, gradeLevelEnum, guardianSchema, incidentSeverityEnum, incidentStatusEnum, invoiceStatusEnum, leaveRequestInputSchema, leaveStatusEnum, listStudentsInputSchema, loginInputSchema, loginOutputSchema, maintenanceRequestSchema, maintenanceRequestStatusEnum, maintenanceTicketStatusEnum, mfaVerifyInputSchema, notificationTypeEnum, paginationSchema, paymentMethodEnum, payrollRunStatusEnum, recordPaymentInputSchema, refreshInputSchema, refreshTokenOutputSchema, reportCardStatusEnum, routeSchema, rubricBandEnum, sendBulkSmsInputSchema, sponsorSchema, sponsorTypeEnum, staffSchema, studentSchema, studentStatusEnum, subjectSchema, systemRoleEnum, transportAppStatusEnum, transportApplicationSchema, tripCategoryEnum, tripLogInputSchema, tripLogSchema, tripStatusEnum, userSchema, userStatusEnum, uuidSchema, vehicleOwnershipEnum, vehicleSchema, vehicleStatusEnum, vehicleTypeEnum };
145
+ export { BranchRefSchema, type ChangePasswordInput, ChangePasswordInputSchema, CuidSchema, type LoginInput, LoginInputSchema, type LoginOutput, LoginOutputSchema, LogoutInputSchema, type PaginationInput, PaginationInputSchema, type RefreshTokenInput, RefreshTokenInputSchema, type RefreshTokenOutput, RefreshTokenOutputSchema, RequestPasswordResetInputSchema, ResetPasswordInputSchema, type SessionUserOutput, SessionUserOutputSchema, SessionUserRoleSchema, SessionUserSubRoleSchema, type SoftDelete, SoftDeleteSchema, type SwitchBranchInput, SwitchBranchInputSchema, type Timestamps, TimestampsSchema, UuidSchema, paginatedOutputSchema };