@brite-future-schools-contracts/contracts 2.0.12 → 2.0.16
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/chunk-NCAGCDZV.js +1 -0
- package/dist/{chunk-TTAZOH4Y.js → chunk-TBCAMVHG.js} +99 -60
- package/dist/chunk-TBCAMVHG.js.map +1 -0
- package/dist/{chunk-YQELK62C.js → chunk-ZHUFBLV5.js} +50 -3
- package/dist/chunk-ZHUFBLV5.js.map +1 -0
- package/dist/contracts/index.cjs +125 -56
- package/dist/contracts/index.cjs.map +1 -1
- package/dist/contracts/index.d.cts +275 -253
- package/dist/contracts/index.d.ts +275 -253
- package/dist/contracts/index.js +22 -2
- package/dist/index.cjs +180 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -18
- package/dist/index.d.ts +26 -18
- package/dist/index.js +43 -5
- package/dist/index.js.map +1 -1
- package/dist/schemas/index.cjs +107 -59
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +122 -158
- package/dist/schemas/index.d.ts +122 -158
- package/dist/schemas/index.js +22 -4
- package/package.json +5 -3
- package/dist/chunk-PDCM3NIB.js +0 -1
- package/dist/chunk-TTAZOH4Y.js.map +0 -1
- package/dist/chunk-YQELK62C.js.map +0 -1
- /package/dist/{chunk-PDCM3NIB.js.map → chunk-NCAGCDZV.js.map} +0 -0
|
@@ -205,35 +205,7 @@ declare const createStaffContract: _orpc_contract.ContractProcedureBuilderWithIn
|
|
|
205
205
|
email: z.ZodEmail;
|
|
206
206
|
phone: z.ZodString;
|
|
207
207
|
nationalId: z.ZodString;
|
|
208
|
-
roleName: z.
|
|
209
|
-
PROPRIETOR: "PROPRIETOR";
|
|
210
|
-
DIRECTOR: "DIRECTOR";
|
|
211
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
212
|
-
PRINCIPAL: "PRINCIPAL";
|
|
213
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
214
|
-
HOD: "HOD";
|
|
215
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
216
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
217
|
-
BURSAR: "BURSAR";
|
|
218
|
-
HR_ADMIN: "HR_ADMIN";
|
|
219
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
220
|
-
LIBRARIAN: "LIBRARIAN";
|
|
221
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
222
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
223
|
-
COUNSELLOR: "COUNSELLOR";
|
|
224
|
-
CARETAKER: "CARETAKER";
|
|
225
|
-
SECURITY: "SECURITY";
|
|
226
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
227
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
228
|
-
DRIVER: "DRIVER";
|
|
229
|
-
IT_ADMIN: "IT_ADMIN";
|
|
230
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
231
|
-
PREFECT: "PREFECT";
|
|
232
|
-
STUDENT: "STUDENT";
|
|
233
|
-
PARENT: "PARENT";
|
|
234
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
235
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
236
|
-
}>;
|
|
208
|
+
roleName: z.ZodString;
|
|
237
209
|
isPrimaryRole: z.ZodDefault<z.ZodBoolean>;
|
|
238
210
|
departmentId: z.ZodOptional<z.ZodUUID>;
|
|
239
211
|
designation: z.ZodString;
|
|
@@ -245,11 +217,6 @@ declare const createStaffContract: _orpc_contract.ContractProcedureBuilderWithIn
|
|
|
245
217
|
}>;
|
|
246
218
|
contractStart: z.ZodISODate;
|
|
247
219
|
contractEnd: z.ZodOptional<z.ZodISODate>;
|
|
248
|
-
basicSalary: z.ZodNumber;
|
|
249
|
-
houseAllowance: z.ZodDefault<z.ZodNumber>;
|
|
250
|
-
transportAllowance: z.ZodDefault<z.ZodNumber>;
|
|
251
|
-
helbDeduction: z.ZodDefault<z.ZodNumber>;
|
|
252
|
-
saccoDeduction: z.ZodDefault<z.ZodNumber>;
|
|
253
220
|
bankName: z.ZodOptional<z.ZodString>;
|
|
254
221
|
bankAccount: z.ZodOptional<z.ZodString>;
|
|
255
222
|
bankBranch: z.ZodOptional<z.ZodString>;
|
|
@@ -257,6 +224,8 @@ declare const createStaffContract: _orpc_contract.ContractProcedureBuilderWithIn
|
|
|
257
224
|
kraPin: z.ZodOptional<z.ZodString>;
|
|
258
225
|
nhifNo: z.ZodOptional<z.ZodString>;
|
|
259
226
|
nssfNo: z.ZodOptional<z.ZodString>;
|
|
227
|
+
helbNo: z.ZodOptional<z.ZodString>;
|
|
228
|
+
saccoNo: z.ZodOptional<z.ZodString>;
|
|
260
229
|
}, z.core.$strip>, z.ZodObject<{
|
|
261
230
|
staffId: z.ZodUUID;
|
|
262
231
|
userId: z.ZodUUID;
|
|
@@ -268,35 +237,7 @@ declare const listStaffContract: _orpc_contract.ContractProcedureBuilderWithInpu
|
|
|
268
237
|
limit: z.ZodDefault<z.ZodInt>;
|
|
269
238
|
search: z.ZodOptional<z.ZodString>;
|
|
270
239
|
departmentId: z.ZodOptional<z.ZodUUID>;
|
|
271
|
-
roleName: z.ZodOptional<z.
|
|
272
|
-
PROPRIETOR: "PROPRIETOR";
|
|
273
|
-
DIRECTOR: "DIRECTOR";
|
|
274
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
275
|
-
PRINCIPAL: "PRINCIPAL";
|
|
276
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
277
|
-
HOD: "HOD";
|
|
278
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
279
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
280
|
-
BURSAR: "BURSAR";
|
|
281
|
-
HR_ADMIN: "HR_ADMIN";
|
|
282
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
283
|
-
LIBRARIAN: "LIBRARIAN";
|
|
284
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
285
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
286
|
-
COUNSELLOR: "COUNSELLOR";
|
|
287
|
-
CARETAKER: "CARETAKER";
|
|
288
|
-
SECURITY: "SECURITY";
|
|
289
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
290
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
291
|
-
DRIVER: "DRIVER";
|
|
292
|
-
IT_ADMIN: "IT_ADMIN";
|
|
293
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
294
|
-
PREFECT: "PREFECT";
|
|
295
|
-
STUDENT: "STUDENT";
|
|
296
|
-
PARENT: "PARENT";
|
|
297
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
298
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
299
|
-
}>>;
|
|
240
|
+
roleName: z.ZodOptional<z.ZodString>;
|
|
300
241
|
status: z.ZodOptional<z.ZodEnum<{
|
|
301
242
|
active: "active";
|
|
302
243
|
inactive: "inactive";
|
|
@@ -319,35 +260,7 @@ declare const listStaffContract: _orpc_contract.ContractProcedureBuilderWithInpu
|
|
|
319
260
|
}>;
|
|
320
261
|
status: z.ZodString;
|
|
321
262
|
departmentName: z.ZodNullable<z.ZodString>;
|
|
322
|
-
roleName: z.ZodNullable<z.
|
|
323
|
-
PROPRIETOR: "PROPRIETOR";
|
|
324
|
-
DIRECTOR: "DIRECTOR";
|
|
325
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
326
|
-
PRINCIPAL: "PRINCIPAL";
|
|
327
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
328
|
-
HOD: "HOD";
|
|
329
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
330
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
331
|
-
BURSAR: "BURSAR";
|
|
332
|
-
HR_ADMIN: "HR_ADMIN";
|
|
333
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
334
|
-
LIBRARIAN: "LIBRARIAN";
|
|
335
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
336
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
337
|
-
COUNSELLOR: "COUNSELLOR";
|
|
338
|
-
CARETAKER: "CARETAKER";
|
|
339
|
-
SECURITY: "SECURITY";
|
|
340
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
341
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
342
|
-
DRIVER: "DRIVER";
|
|
343
|
-
IT_ADMIN: "IT_ADMIN";
|
|
344
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
345
|
-
PREFECT: "PREFECT";
|
|
346
|
-
STUDENT: "STUDENT";
|
|
347
|
-
PARENT: "PARENT";
|
|
348
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
349
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
350
|
-
}>>;
|
|
263
|
+
roleName: z.ZodNullable<z.ZodString>;
|
|
351
264
|
createdAt: z.ZodString;
|
|
352
265
|
}, z.core.$strip>>;
|
|
353
266
|
total: z.ZodNumber;
|
|
@@ -368,6 +281,8 @@ declare const getStaffByIdContract: _orpc_contract.ContractProcedureBuilderWithI
|
|
|
368
281
|
kraPin: z.ZodNullable<z.ZodString>;
|
|
369
282
|
nhifNo: z.ZodNullable<z.ZodString>;
|
|
370
283
|
nssfNo: z.ZodNullable<z.ZodString>;
|
|
284
|
+
helbNo: z.ZodNullable<z.ZodString>;
|
|
285
|
+
saccoNo: z.ZodNullable<z.ZodString>;
|
|
371
286
|
designation: z.ZodString;
|
|
372
287
|
employmentType: z.ZodEnum<{
|
|
373
288
|
permanent: "permanent";
|
|
@@ -377,11 +292,6 @@ declare const getStaffByIdContract: _orpc_contract.ContractProcedureBuilderWithI
|
|
|
377
292
|
}>;
|
|
378
293
|
contractStart: z.ZodString;
|
|
379
294
|
contractEnd: z.ZodNullable<z.ZodString>;
|
|
380
|
-
basicSalary: z.ZodString;
|
|
381
|
-
houseAllowance: z.ZodString;
|
|
382
|
-
transportAllowance: z.ZodString;
|
|
383
|
-
helbDeduction: z.ZodNullable<z.ZodString>;
|
|
384
|
-
saccoDeduction: z.ZodNullable<z.ZodString>;
|
|
385
295
|
bankName: z.ZodNullable<z.ZodString>;
|
|
386
296
|
bankAccount: z.ZodNullable<z.ZodString>;
|
|
387
297
|
bankBranch: z.ZodNullable<z.ZodString>;
|
|
@@ -391,35 +301,7 @@ declare const getStaffByIdContract: _orpc_contract.ContractProcedureBuilderWithI
|
|
|
391
301
|
mustChangePassword: z.ZodBoolean;
|
|
392
302
|
departmentId: z.ZodNullable<z.ZodUUID>;
|
|
393
303
|
departmentName: z.ZodNullable<z.ZodString>;
|
|
394
|
-
roleName: z.ZodNullable<z.
|
|
395
|
-
PROPRIETOR: "PROPRIETOR";
|
|
396
|
-
DIRECTOR: "DIRECTOR";
|
|
397
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
398
|
-
PRINCIPAL: "PRINCIPAL";
|
|
399
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
400
|
-
HOD: "HOD";
|
|
401
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
402
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
403
|
-
BURSAR: "BURSAR";
|
|
404
|
-
HR_ADMIN: "HR_ADMIN";
|
|
405
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
406
|
-
LIBRARIAN: "LIBRARIAN";
|
|
407
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
408
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
409
|
-
COUNSELLOR: "COUNSELLOR";
|
|
410
|
-
CARETAKER: "CARETAKER";
|
|
411
|
-
SECURITY: "SECURITY";
|
|
412
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
413
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
414
|
-
DRIVER: "DRIVER";
|
|
415
|
-
IT_ADMIN: "IT_ADMIN";
|
|
416
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
417
|
-
PREFECT: "PREFECT";
|
|
418
|
-
STUDENT: "STUDENT";
|
|
419
|
-
PARENT: "PARENT";
|
|
420
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
421
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
422
|
-
}>>;
|
|
304
|
+
roleName: z.ZodNullable<z.ZodString>;
|
|
423
305
|
roleId: z.ZodNullable<z.ZodUUID>;
|
|
424
306
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
425
307
|
declare const updateStaffStatusContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -455,35 +337,7 @@ declare const hrContract: {
|
|
|
455
337
|
email: z.ZodEmail;
|
|
456
338
|
phone: z.ZodString;
|
|
457
339
|
nationalId: z.ZodString;
|
|
458
|
-
roleName: z.
|
|
459
|
-
PROPRIETOR: "PROPRIETOR";
|
|
460
|
-
DIRECTOR: "DIRECTOR";
|
|
461
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
462
|
-
PRINCIPAL: "PRINCIPAL";
|
|
463
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
464
|
-
HOD: "HOD";
|
|
465
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
466
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
467
|
-
BURSAR: "BURSAR";
|
|
468
|
-
HR_ADMIN: "HR_ADMIN";
|
|
469
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
470
|
-
LIBRARIAN: "LIBRARIAN";
|
|
471
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
472
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
473
|
-
COUNSELLOR: "COUNSELLOR";
|
|
474
|
-
CARETAKER: "CARETAKER";
|
|
475
|
-
SECURITY: "SECURITY";
|
|
476
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
477
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
478
|
-
DRIVER: "DRIVER";
|
|
479
|
-
IT_ADMIN: "IT_ADMIN";
|
|
480
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
481
|
-
PREFECT: "PREFECT";
|
|
482
|
-
STUDENT: "STUDENT";
|
|
483
|
-
PARENT: "PARENT";
|
|
484
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
485
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
486
|
-
}>;
|
|
340
|
+
roleName: z.ZodString;
|
|
487
341
|
isPrimaryRole: z.ZodDefault<z.ZodBoolean>;
|
|
488
342
|
departmentId: z.ZodOptional<z.ZodUUID>;
|
|
489
343
|
designation: z.ZodString;
|
|
@@ -495,11 +349,6 @@ declare const hrContract: {
|
|
|
495
349
|
}>;
|
|
496
350
|
contractStart: z.ZodISODate;
|
|
497
351
|
contractEnd: z.ZodOptional<z.ZodISODate>;
|
|
498
|
-
basicSalary: z.ZodNumber;
|
|
499
|
-
houseAllowance: z.ZodDefault<z.ZodNumber>;
|
|
500
|
-
transportAllowance: z.ZodDefault<z.ZodNumber>;
|
|
501
|
-
helbDeduction: z.ZodDefault<z.ZodNumber>;
|
|
502
|
-
saccoDeduction: z.ZodDefault<z.ZodNumber>;
|
|
503
352
|
bankName: z.ZodOptional<z.ZodString>;
|
|
504
353
|
bankAccount: z.ZodOptional<z.ZodString>;
|
|
505
354
|
bankBranch: z.ZodOptional<z.ZodString>;
|
|
@@ -507,6 +356,8 @@ declare const hrContract: {
|
|
|
507
356
|
kraPin: z.ZodOptional<z.ZodString>;
|
|
508
357
|
nhifNo: z.ZodOptional<z.ZodString>;
|
|
509
358
|
nssfNo: z.ZodOptional<z.ZodString>;
|
|
359
|
+
helbNo: z.ZodOptional<z.ZodString>;
|
|
360
|
+
saccoNo: z.ZodOptional<z.ZodString>;
|
|
510
361
|
}, z.core.$strip>, z.ZodObject<{
|
|
511
362
|
staffId: z.ZodUUID;
|
|
512
363
|
userId: z.ZodUUID;
|
|
@@ -518,35 +369,7 @@ declare const hrContract: {
|
|
|
518
369
|
limit: z.ZodDefault<z.ZodInt>;
|
|
519
370
|
search: z.ZodOptional<z.ZodString>;
|
|
520
371
|
departmentId: z.ZodOptional<z.ZodUUID>;
|
|
521
|
-
roleName: z.ZodOptional<z.
|
|
522
|
-
PROPRIETOR: "PROPRIETOR";
|
|
523
|
-
DIRECTOR: "DIRECTOR";
|
|
524
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
525
|
-
PRINCIPAL: "PRINCIPAL";
|
|
526
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
527
|
-
HOD: "HOD";
|
|
528
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
529
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
530
|
-
BURSAR: "BURSAR";
|
|
531
|
-
HR_ADMIN: "HR_ADMIN";
|
|
532
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
533
|
-
LIBRARIAN: "LIBRARIAN";
|
|
534
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
535
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
536
|
-
COUNSELLOR: "COUNSELLOR";
|
|
537
|
-
CARETAKER: "CARETAKER";
|
|
538
|
-
SECURITY: "SECURITY";
|
|
539
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
540
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
541
|
-
DRIVER: "DRIVER";
|
|
542
|
-
IT_ADMIN: "IT_ADMIN";
|
|
543
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
544
|
-
PREFECT: "PREFECT";
|
|
545
|
-
STUDENT: "STUDENT";
|
|
546
|
-
PARENT: "PARENT";
|
|
547
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
548
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
549
|
-
}>>;
|
|
372
|
+
roleName: z.ZodOptional<z.ZodString>;
|
|
550
373
|
status: z.ZodOptional<z.ZodEnum<{
|
|
551
374
|
active: "active";
|
|
552
375
|
inactive: "inactive";
|
|
@@ -569,35 +392,7 @@ declare const hrContract: {
|
|
|
569
392
|
}>;
|
|
570
393
|
status: z.ZodString;
|
|
571
394
|
departmentName: z.ZodNullable<z.ZodString>;
|
|
572
|
-
roleName: z.ZodNullable<z.
|
|
573
|
-
PROPRIETOR: "PROPRIETOR";
|
|
574
|
-
DIRECTOR: "DIRECTOR";
|
|
575
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
576
|
-
PRINCIPAL: "PRINCIPAL";
|
|
577
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
578
|
-
HOD: "HOD";
|
|
579
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
580
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
581
|
-
BURSAR: "BURSAR";
|
|
582
|
-
HR_ADMIN: "HR_ADMIN";
|
|
583
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
584
|
-
LIBRARIAN: "LIBRARIAN";
|
|
585
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
586
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
587
|
-
COUNSELLOR: "COUNSELLOR";
|
|
588
|
-
CARETAKER: "CARETAKER";
|
|
589
|
-
SECURITY: "SECURITY";
|
|
590
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
591
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
592
|
-
DRIVER: "DRIVER";
|
|
593
|
-
IT_ADMIN: "IT_ADMIN";
|
|
594
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
595
|
-
PREFECT: "PREFECT";
|
|
596
|
-
STUDENT: "STUDENT";
|
|
597
|
-
PARENT: "PARENT";
|
|
598
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
599
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
600
|
-
}>>;
|
|
395
|
+
roleName: z.ZodNullable<z.ZodString>;
|
|
601
396
|
createdAt: z.ZodString;
|
|
602
397
|
}, z.core.$strip>>;
|
|
603
398
|
total: z.ZodNumber;
|
|
@@ -618,6 +413,8 @@ declare const hrContract: {
|
|
|
618
413
|
kraPin: z.ZodNullable<z.ZodString>;
|
|
619
414
|
nhifNo: z.ZodNullable<z.ZodString>;
|
|
620
415
|
nssfNo: z.ZodNullable<z.ZodString>;
|
|
416
|
+
helbNo: z.ZodNullable<z.ZodString>;
|
|
417
|
+
saccoNo: z.ZodNullable<z.ZodString>;
|
|
621
418
|
designation: z.ZodString;
|
|
622
419
|
employmentType: z.ZodEnum<{
|
|
623
420
|
permanent: "permanent";
|
|
@@ -627,11 +424,6 @@ declare const hrContract: {
|
|
|
627
424
|
}>;
|
|
628
425
|
contractStart: z.ZodString;
|
|
629
426
|
contractEnd: z.ZodNullable<z.ZodString>;
|
|
630
|
-
basicSalary: z.ZodString;
|
|
631
|
-
houseAllowance: z.ZodString;
|
|
632
|
-
transportAllowance: z.ZodString;
|
|
633
|
-
helbDeduction: z.ZodNullable<z.ZodString>;
|
|
634
|
-
saccoDeduction: z.ZodNullable<z.ZodString>;
|
|
635
427
|
bankName: z.ZodNullable<z.ZodString>;
|
|
636
428
|
bankAccount: z.ZodNullable<z.ZodString>;
|
|
637
429
|
bankBranch: z.ZodNullable<z.ZodString>;
|
|
@@ -641,35 +433,7 @@ declare const hrContract: {
|
|
|
641
433
|
mustChangePassword: z.ZodBoolean;
|
|
642
434
|
departmentId: z.ZodNullable<z.ZodUUID>;
|
|
643
435
|
departmentName: z.ZodNullable<z.ZodString>;
|
|
644
|
-
roleName: z.ZodNullable<z.
|
|
645
|
-
PROPRIETOR: "PROPRIETOR";
|
|
646
|
-
DIRECTOR: "DIRECTOR";
|
|
647
|
-
SYSTEM_ADMIN: "SYSTEM_ADMIN";
|
|
648
|
-
PRINCIPAL: "PRINCIPAL";
|
|
649
|
-
DEPUTY_PRINCIPAL: "DEPUTY_PRINCIPAL";
|
|
650
|
-
HOD: "HOD";
|
|
651
|
-
CLASS_TEACHER: "CLASS_TEACHER";
|
|
652
|
-
SUBJECT_TEACHER: "SUBJECT_TEACHER";
|
|
653
|
-
BURSAR: "BURSAR";
|
|
654
|
-
HR_ADMIN: "HR_ADMIN";
|
|
655
|
-
SCHOOL_NURSE: "SCHOOL_NURSE";
|
|
656
|
-
LIBRARIAN: "LIBRARIAN";
|
|
657
|
-
LAB_TECHNICIAN: "LAB_TECHNICIAN";
|
|
658
|
-
SPORTS_COACH: "SPORTS_COACH";
|
|
659
|
-
COUNSELLOR: "COUNSELLOR";
|
|
660
|
-
CARETAKER: "CARETAKER";
|
|
661
|
-
SECURITY: "SECURITY";
|
|
662
|
-
KITCHEN_STAFF: "KITCHEN_STAFF";
|
|
663
|
-
KITCHEN_MANAGER: "KITCHEN_MANAGER";
|
|
664
|
-
DRIVER: "DRIVER";
|
|
665
|
-
IT_ADMIN: "IT_ADMIN";
|
|
666
|
-
BOARDING_MASTER: "BOARDING_MASTER";
|
|
667
|
-
PREFECT: "PREFECT";
|
|
668
|
-
STUDENT: "STUDENT";
|
|
669
|
-
PARENT: "PARENT";
|
|
670
|
-
ORG_SPONSOR: "ORG_SPONSOR";
|
|
671
|
-
INDIVIDUAL_SPONSOR: "INDIVIDUAL_SPONSOR";
|
|
672
|
-
}>>;
|
|
436
|
+
roleName: z.ZodNullable<z.ZodString>;
|
|
673
437
|
roleId: z.ZodNullable<z.ZodUUID>;
|
|
674
438
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
675
439
|
updateStaffStatus: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
@@ -1269,4 +1033,262 @@ declare const attendanceContract: {
|
|
|
1269
1033
|
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1270
1034
|
};
|
|
1271
1035
|
|
|
1272
|
-
|
|
1036
|
+
declare const listYearsContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1037
|
+
id: z.ZodString;
|
|
1038
|
+
branchId: z.ZodString;
|
|
1039
|
+
name: z.ZodString;
|
|
1040
|
+
startDate: z.ZodString;
|
|
1041
|
+
endDate: z.ZodString;
|
|
1042
|
+
isCurrent: z.ZodBoolean;
|
|
1043
|
+
createdAt: z.ZodString;
|
|
1044
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1045
|
+
declare const createYearContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1046
|
+
name: z.ZodString;
|
|
1047
|
+
startDate: z.ZodString;
|
|
1048
|
+
endDate: z.ZodString;
|
|
1049
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1050
|
+
id: z.ZodString;
|
|
1051
|
+
branchId: z.ZodString;
|
|
1052
|
+
name: z.ZodString;
|
|
1053
|
+
startDate: z.ZodString;
|
|
1054
|
+
endDate: z.ZodString;
|
|
1055
|
+
isCurrent: z.ZodBoolean;
|
|
1056
|
+
createdAt: z.ZodString;
|
|
1057
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1058
|
+
declare const setCurrentYearContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1059
|
+
yearId: z.ZodString;
|
|
1060
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1061
|
+
id: z.ZodString;
|
|
1062
|
+
branchId: z.ZodString;
|
|
1063
|
+
name: z.ZodString;
|
|
1064
|
+
startDate: z.ZodString;
|
|
1065
|
+
endDate: z.ZodString;
|
|
1066
|
+
isCurrent: z.ZodBoolean;
|
|
1067
|
+
createdAt: z.ZodString;
|
|
1068
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1069
|
+
declare const calendarListTermsContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1070
|
+
yearId: z.ZodOptional<z.ZodString>;
|
|
1071
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1072
|
+
id: z.ZodString;
|
|
1073
|
+
branchId: z.ZodString;
|
|
1074
|
+
academicYearId: z.ZodString;
|
|
1075
|
+
name: z.ZodString;
|
|
1076
|
+
startDate: z.ZodString;
|
|
1077
|
+
endDate: z.ZodString;
|
|
1078
|
+
isCurrent: z.ZodBoolean;
|
|
1079
|
+
createdAt: z.ZodString;
|
|
1080
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1081
|
+
declare const createTermContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1082
|
+
academicYearId: z.ZodString;
|
|
1083
|
+
name: z.ZodString;
|
|
1084
|
+
startDate: z.ZodString;
|
|
1085
|
+
endDate: z.ZodString;
|
|
1086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1087
|
+
id: z.ZodString;
|
|
1088
|
+
branchId: z.ZodString;
|
|
1089
|
+
academicYearId: z.ZodString;
|
|
1090
|
+
name: z.ZodString;
|
|
1091
|
+
startDate: z.ZodString;
|
|
1092
|
+
endDate: z.ZodString;
|
|
1093
|
+
isCurrent: z.ZodBoolean;
|
|
1094
|
+
createdAt: z.ZodString;
|
|
1095
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1096
|
+
declare const setCurrentTermContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1097
|
+
termId: z.ZodString;
|
|
1098
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1099
|
+
id: z.ZodString;
|
|
1100
|
+
branchId: z.ZodString;
|
|
1101
|
+
academicYearId: z.ZodString;
|
|
1102
|
+
name: z.ZodString;
|
|
1103
|
+
startDate: z.ZodString;
|
|
1104
|
+
endDate: z.ZodString;
|
|
1105
|
+
isCurrent: z.ZodBoolean;
|
|
1106
|
+
createdAt: z.ZodString;
|
|
1107
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1108
|
+
declare const calendarContract: {
|
|
1109
|
+
listYears: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1110
|
+
id: z.ZodString;
|
|
1111
|
+
branchId: z.ZodString;
|
|
1112
|
+
name: z.ZodString;
|
|
1113
|
+
startDate: z.ZodString;
|
|
1114
|
+
endDate: z.ZodString;
|
|
1115
|
+
isCurrent: z.ZodBoolean;
|
|
1116
|
+
createdAt: z.ZodString;
|
|
1117
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1118
|
+
createYear: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1119
|
+
name: z.ZodString;
|
|
1120
|
+
startDate: z.ZodString;
|
|
1121
|
+
endDate: z.ZodString;
|
|
1122
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1123
|
+
id: z.ZodString;
|
|
1124
|
+
branchId: z.ZodString;
|
|
1125
|
+
name: z.ZodString;
|
|
1126
|
+
startDate: z.ZodString;
|
|
1127
|
+
endDate: z.ZodString;
|
|
1128
|
+
isCurrent: z.ZodBoolean;
|
|
1129
|
+
createdAt: z.ZodString;
|
|
1130
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1131
|
+
setCurrentYear: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1132
|
+
yearId: z.ZodString;
|
|
1133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1134
|
+
id: z.ZodString;
|
|
1135
|
+
branchId: z.ZodString;
|
|
1136
|
+
name: z.ZodString;
|
|
1137
|
+
startDate: z.ZodString;
|
|
1138
|
+
endDate: z.ZodString;
|
|
1139
|
+
isCurrent: z.ZodBoolean;
|
|
1140
|
+
createdAt: z.ZodString;
|
|
1141
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1142
|
+
listTerms: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1143
|
+
yearId: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1145
|
+
id: z.ZodString;
|
|
1146
|
+
branchId: z.ZodString;
|
|
1147
|
+
academicYearId: z.ZodString;
|
|
1148
|
+
name: z.ZodString;
|
|
1149
|
+
startDate: z.ZodString;
|
|
1150
|
+
endDate: z.ZodString;
|
|
1151
|
+
isCurrent: z.ZodBoolean;
|
|
1152
|
+
createdAt: z.ZodString;
|
|
1153
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1154
|
+
createTerm: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1155
|
+
academicYearId: z.ZodString;
|
|
1156
|
+
name: z.ZodString;
|
|
1157
|
+
startDate: z.ZodString;
|
|
1158
|
+
endDate: z.ZodString;
|
|
1159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1160
|
+
id: z.ZodString;
|
|
1161
|
+
branchId: z.ZodString;
|
|
1162
|
+
academicYearId: z.ZodString;
|
|
1163
|
+
name: z.ZodString;
|
|
1164
|
+
startDate: z.ZodString;
|
|
1165
|
+
endDate: z.ZodString;
|
|
1166
|
+
isCurrent: z.ZodBoolean;
|
|
1167
|
+
createdAt: z.ZodString;
|
|
1168
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1169
|
+
setCurrentTerm: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1170
|
+
termId: z.ZodString;
|
|
1171
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1172
|
+
id: z.ZodString;
|
|
1173
|
+
branchId: z.ZodString;
|
|
1174
|
+
academicYearId: z.ZodString;
|
|
1175
|
+
name: z.ZodString;
|
|
1176
|
+
startDate: z.ZodString;
|
|
1177
|
+
endDate: z.ZodString;
|
|
1178
|
+
isCurrent: z.ZodBoolean;
|
|
1179
|
+
createdAt: z.ZodString;
|
|
1180
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1181
|
+
};
|
|
1182
|
+
|
|
1183
|
+
declare const listGradesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1184
|
+
id: z.ZodString;
|
|
1185
|
+
branchId: z.ZodString;
|
|
1186
|
+
name: z.ZodString;
|
|
1187
|
+
level: z.ZodEnum<{
|
|
1188
|
+
PP1: "PP1";
|
|
1189
|
+
PP2: "PP2";
|
|
1190
|
+
G1: "G1";
|
|
1191
|
+
G2: "G2";
|
|
1192
|
+
G3: "G3";
|
|
1193
|
+
G4: "G4";
|
|
1194
|
+
G5: "G5";
|
|
1195
|
+
G6: "G6";
|
|
1196
|
+
G7: "G7";
|
|
1197
|
+
G8: "G8";
|
|
1198
|
+
G9: "G9";
|
|
1199
|
+
}>;
|
|
1200
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1201
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1202
|
+
declare const createGradeContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1203
|
+
name: z.ZodString;
|
|
1204
|
+
level: z.ZodEnum<{
|
|
1205
|
+
PP1: "PP1";
|
|
1206
|
+
PP2: "PP2";
|
|
1207
|
+
G1: "G1";
|
|
1208
|
+
G2: "G2";
|
|
1209
|
+
G3: "G3";
|
|
1210
|
+
G4: "G4";
|
|
1211
|
+
G5: "G5";
|
|
1212
|
+
G6: "G6";
|
|
1213
|
+
G7: "G7";
|
|
1214
|
+
G8: "G8";
|
|
1215
|
+
G9: "G9";
|
|
1216
|
+
}>;
|
|
1217
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1219
|
+
id: z.ZodString;
|
|
1220
|
+
branchId: z.ZodString;
|
|
1221
|
+
name: z.ZodString;
|
|
1222
|
+
level: z.ZodEnum<{
|
|
1223
|
+
PP1: "PP1";
|
|
1224
|
+
PP2: "PP2";
|
|
1225
|
+
G1: "G1";
|
|
1226
|
+
G2: "G2";
|
|
1227
|
+
G3: "G3";
|
|
1228
|
+
G4: "G4";
|
|
1229
|
+
G5: "G5";
|
|
1230
|
+
G6: "G6";
|
|
1231
|
+
G7: "G7";
|
|
1232
|
+
G8: "G8";
|
|
1233
|
+
G9: "G9";
|
|
1234
|
+
}>;
|
|
1235
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1236
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1237
|
+
declare const gradesContract: {
|
|
1238
|
+
list: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
|
|
1239
|
+
id: z.ZodString;
|
|
1240
|
+
branchId: z.ZodString;
|
|
1241
|
+
name: z.ZodString;
|
|
1242
|
+
level: z.ZodEnum<{
|
|
1243
|
+
PP1: "PP1";
|
|
1244
|
+
PP2: "PP2";
|
|
1245
|
+
G1: "G1";
|
|
1246
|
+
G2: "G2";
|
|
1247
|
+
G3: "G3";
|
|
1248
|
+
G4: "G4";
|
|
1249
|
+
G5: "G5";
|
|
1250
|
+
G6: "G6";
|
|
1251
|
+
G7: "G7";
|
|
1252
|
+
G8: "G8";
|
|
1253
|
+
G9: "G9";
|
|
1254
|
+
}>;
|
|
1255
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1256
|
+
}, z.core.$strip>>, Record<never, never>, Record<never, never>>;
|
|
1257
|
+
create: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
1258
|
+
name: z.ZodString;
|
|
1259
|
+
level: z.ZodEnum<{
|
|
1260
|
+
PP1: "PP1";
|
|
1261
|
+
PP2: "PP2";
|
|
1262
|
+
G1: "G1";
|
|
1263
|
+
G2: "G2";
|
|
1264
|
+
G3: "G3";
|
|
1265
|
+
G4: "G4";
|
|
1266
|
+
G5: "G5";
|
|
1267
|
+
G6: "G6";
|
|
1268
|
+
G7: "G7";
|
|
1269
|
+
G8: "G8";
|
|
1270
|
+
G9: "G9";
|
|
1271
|
+
}>;
|
|
1272
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1273
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1274
|
+
id: z.ZodString;
|
|
1275
|
+
branchId: z.ZodString;
|
|
1276
|
+
name: z.ZodString;
|
|
1277
|
+
level: z.ZodEnum<{
|
|
1278
|
+
PP1: "PP1";
|
|
1279
|
+
PP2: "PP2";
|
|
1280
|
+
G1: "G1";
|
|
1281
|
+
G2: "G2";
|
|
1282
|
+
G3: "G3";
|
|
1283
|
+
G4: "G4";
|
|
1284
|
+
G5: "G5";
|
|
1285
|
+
G6: "G6";
|
|
1286
|
+
G7: "G7";
|
|
1287
|
+
G8: "G8";
|
|
1288
|
+
G9: "G9";
|
|
1289
|
+
}>;
|
|
1290
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1291
|
+
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
1292
|
+
};
|
|
1293
|
+
|
|
1294
|
+
export { attendanceContract, authContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, changePasswordContract, createDepartmentContract, createGradeContract, createStaffContract, createStudentContract, createTermContract, createYearContract, getByClassContract, getByStudentContract, getMeContract, getStaffByIdContract, getStudentByIdContract, gradesContract, hrContract, linkGuardianContract, listClassesContract, listDepartmentsContract, listGradesContract, listStaffContract, listStudentsContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, refreshTokenContract, requestPasswordResetContract, resetPasswordContract, setCurrentTermContract, setCurrentYearContract, studentsContract, switchBranchContract, updateStaffStatusContract };
|