@brite-future-schools-contracts/contracts 2.0.28 → 2.0.32

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.
@@ -1291,4 +1291,2085 @@ declare const gradesContract: {
1291
1291
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1292
1292
  };
1293
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 };
1294
+ declare const listCategoriesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
1295
+ id: z.ZodUUID;
1296
+ branchId: z.ZodUUID;
1297
+ name: z.ZodString;
1298
+ description: z.ZodNullable<z.ZodString>;
1299
+ isActive: z.ZodBoolean;
1300
+ createdBy: z.ZodNullable<z.ZodUUID>;
1301
+ createdAt: z.ZodString;
1302
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1303
+ declare const createCategoryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1304
+ name: z.ZodString;
1305
+ description: z.ZodOptional<z.ZodString>;
1306
+ }, z.core.$strip>, z.ZodObject<{
1307
+ id: z.ZodUUID;
1308
+ branchId: z.ZodUUID;
1309
+ name: z.ZodString;
1310
+ description: z.ZodNullable<z.ZodString>;
1311
+ isActive: z.ZodBoolean;
1312
+ createdBy: z.ZodNullable<z.ZodUUID>;
1313
+ createdAt: z.ZodString;
1314
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1315
+ declare const updateCategoryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1316
+ id: z.ZodUUID;
1317
+ name: z.ZodOptional<z.ZodString>;
1318
+ description: z.ZodOptional<z.ZodString>;
1319
+ isActive: z.ZodOptional<z.ZodBoolean>;
1320
+ }, z.core.$strip>, z.ZodObject<{
1321
+ id: z.ZodUUID;
1322
+ branchId: z.ZodUUID;
1323
+ name: z.ZodString;
1324
+ description: z.ZodNullable<z.ZodString>;
1325
+ isActive: z.ZodBoolean;
1326
+ createdBy: z.ZodNullable<z.ZodUUID>;
1327
+ createdAt: z.ZodString;
1328
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1329
+ declare const listEntriesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1330
+ classId: z.ZodOptional<z.ZodUUID>;
1331
+ studentId: z.ZodOptional<z.ZodUUID>;
1332
+ postedBy: z.ZodOptional<z.ZodUUID>;
1333
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1334
+ id: z.ZodUUID;
1335
+ branchId: z.ZodUUID;
1336
+ classId: z.ZodUUID;
1337
+ studentId: z.ZodNullable<z.ZodUUID>;
1338
+ postedBy: z.ZodUUID;
1339
+ categoryId: z.ZodUUID;
1340
+ title: z.ZodString;
1341
+ body: z.ZodString;
1342
+ severity: z.ZodEnum<{
1343
+ critical: "critical";
1344
+ info: "info";
1345
+ moderate: "moderate";
1346
+ serious: "serious";
1347
+ }>;
1348
+ requiresResponse: z.ZodBoolean;
1349
+ responseDeadlineDays: z.ZodNumber;
1350
+ isBlockingPortal: z.ZodBoolean;
1351
+ isBlockingReportCard: z.ZodBoolean;
1352
+ status: z.ZodEnum<{
1353
+ active: "active";
1354
+ resolved: "resolved";
1355
+ lifted: "lifted";
1356
+ }>;
1357
+ resolvedAt: z.ZodNullable<z.ZodString>;
1358
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1359
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1360
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1361
+ createdAt: z.ZodString;
1362
+ updatedAt: z.ZodString;
1363
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1364
+ declare const listForGuardianContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
1365
+ id: z.ZodUUID;
1366
+ branchId: z.ZodUUID;
1367
+ classId: z.ZodUUID;
1368
+ studentId: z.ZodNullable<z.ZodUUID>;
1369
+ postedBy: z.ZodUUID;
1370
+ categoryId: z.ZodUUID;
1371
+ title: z.ZodString;
1372
+ body: z.ZodString;
1373
+ severity: z.ZodEnum<{
1374
+ critical: "critical";
1375
+ info: "info";
1376
+ moderate: "moderate";
1377
+ serious: "serious";
1378
+ }>;
1379
+ requiresResponse: z.ZodBoolean;
1380
+ responseDeadlineDays: z.ZodNumber;
1381
+ isBlockingPortal: z.ZodBoolean;
1382
+ isBlockingReportCard: z.ZodBoolean;
1383
+ status: z.ZodEnum<{
1384
+ active: "active";
1385
+ resolved: "resolved";
1386
+ lifted: "lifted";
1387
+ }>;
1388
+ resolvedAt: z.ZodNullable<z.ZodString>;
1389
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1390
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1391
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1392
+ createdAt: z.ZodString;
1393
+ updatedAt: z.ZodString;
1394
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1395
+ isAcknowledged: z.ZodBoolean;
1396
+ response: z.ZodNullable<z.ZodString>;
1397
+ }, z.core.$strip>>;
1398
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1399
+ declare const getEntryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1400
+ id: z.ZodUUID;
1401
+ }, z.core.$strip>, z.ZodObject<{
1402
+ id: z.ZodUUID;
1403
+ branchId: z.ZodUUID;
1404
+ classId: z.ZodUUID;
1405
+ studentId: z.ZodNullable<z.ZodUUID>;
1406
+ postedBy: z.ZodUUID;
1407
+ categoryId: z.ZodUUID;
1408
+ title: z.ZodString;
1409
+ body: z.ZodString;
1410
+ severity: z.ZodEnum<{
1411
+ critical: "critical";
1412
+ info: "info";
1413
+ moderate: "moderate";
1414
+ serious: "serious";
1415
+ }>;
1416
+ requiresResponse: z.ZodBoolean;
1417
+ responseDeadlineDays: z.ZodNumber;
1418
+ isBlockingPortal: z.ZodBoolean;
1419
+ isBlockingReportCard: z.ZodBoolean;
1420
+ status: z.ZodEnum<{
1421
+ active: "active";
1422
+ resolved: "resolved";
1423
+ lifted: "lifted";
1424
+ }>;
1425
+ resolvedAt: z.ZodNullable<z.ZodString>;
1426
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1427
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1428
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1429
+ createdAt: z.ZodString;
1430
+ updatedAt: z.ZodString;
1431
+ acknowledgements: z.ZodArray<z.ZodObject<{
1432
+ id: z.ZodUUID;
1433
+ entryId: z.ZodUUID;
1434
+ guardianId: z.ZodUUID;
1435
+ studentId: z.ZodUUID;
1436
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1437
+ response: z.ZodNullable<z.ZodString>;
1438
+ isAcknowledged: z.ZodBoolean;
1439
+ createdAt: z.ZodString;
1440
+ }, z.core.$strip>>;
1441
+ blocks: z.ZodArray<z.ZodObject<{
1442
+ id: z.ZodUUID;
1443
+ entryId: z.ZodUUID;
1444
+ guardianId: z.ZodUUID;
1445
+ studentId: z.ZodUUID;
1446
+ blockedAt: z.ZodString;
1447
+ resolvedAt: z.ZodNullable<z.ZodString>;
1448
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1449
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1450
+ guardian_acknowledge: "guardian_acknowledge";
1451
+ staff_lift: "staff_lift";
1452
+ }>>;
1453
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1454
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1455
+ isActive: z.ZodBoolean;
1456
+ createdAt: z.ZodString;
1457
+ }, z.core.$strip>>;
1458
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1459
+ isAcknowledged: z.ZodBoolean;
1460
+ response: z.ZodNullable<z.ZodString>;
1461
+ }, z.core.$strip>>;
1462
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1463
+ declare const createEntryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1464
+ classId: z.ZodUUID;
1465
+ studentId: z.ZodOptional<z.ZodUUID>;
1466
+ categoryId: z.ZodUUID;
1467
+ title: z.ZodString;
1468
+ body: z.ZodString;
1469
+ severity: z.ZodEnum<{
1470
+ critical: "critical";
1471
+ info: "info";
1472
+ moderate: "moderate";
1473
+ serious: "serious";
1474
+ }>;
1475
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
1476
+ responseDeadlineDays: z.ZodOptional<z.ZodNumber>;
1477
+ isBlockingPortal: z.ZodOptional<z.ZodBoolean>;
1478
+ isBlockingReportCard: z.ZodOptional<z.ZodBoolean>;
1479
+ }, z.core.$strip>, z.ZodObject<{
1480
+ id: z.ZodUUID;
1481
+ branchId: z.ZodUUID;
1482
+ classId: z.ZodUUID;
1483
+ studentId: z.ZodNullable<z.ZodUUID>;
1484
+ postedBy: z.ZodUUID;
1485
+ categoryId: z.ZodUUID;
1486
+ title: z.ZodString;
1487
+ body: z.ZodString;
1488
+ severity: z.ZodEnum<{
1489
+ critical: "critical";
1490
+ info: "info";
1491
+ moderate: "moderate";
1492
+ serious: "serious";
1493
+ }>;
1494
+ requiresResponse: z.ZodBoolean;
1495
+ responseDeadlineDays: z.ZodNumber;
1496
+ isBlockingPortal: z.ZodBoolean;
1497
+ isBlockingReportCard: z.ZodBoolean;
1498
+ status: z.ZodEnum<{
1499
+ active: "active";
1500
+ resolved: "resolved";
1501
+ lifted: "lifted";
1502
+ }>;
1503
+ resolvedAt: z.ZodNullable<z.ZodString>;
1504
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1505
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1506
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1507
+ createdAt: z.ZodString;
1508
+ updatedAt: z.ZodString;
1509
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1510
+ declare const acknowledgeDiaryEntryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1511
+ entryId: z.ZodUUID;
1512
+ studentId: z.ZodUUID;
1513
+ }, z.core.$strip>, z.ZodObject<{
1514
+ id: z.ZodUUID;
1515
+ entryId: z.ZodUUID;
1516
+ guardianId: z.ZodUUID;
1517
+ studentId: z.ZodUUID;
1518
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1519
+ response: z.ZodNullable<z.ZodString>;
1520
+ isAcknowledged: z.ZodBoolean;
1521
+ createdAt: z.ZodString;
1522
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1523
+ declare const respondToDiaryEntryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1524
+ entryId: z.ZodUUID;
1525
+ studentId: z.ZodUUID;
1526
+ response: z.ZodString;
1527
+ }, z.core.$strip>, z.ZodObject<{
1528
+ id: z.ZodUUID;
1529
+ entryId: z.ZodUUID;
1530
+ guardianId: z.ZodUUID;
1531
+ studentId: z.ZodUUID;
1532
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1533
+ response: z.ZodNullable<z.ZodString>;
1534
+ isAcknowledged: z.ZodBoolean;
1535
+ createdAt: z.ZodString;
1536
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1537
+ declare const requestLiftContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1538
+ blockId: z.ZodUUID;
1539
+ }, z.core.$strip>, z.ZodObject<{
1540
+ id: z.ZodUUID;
1541
+ entryId: z.ZodUUID;
1542
+ guardianId: z.ZodUUID;
1543
+ studentId: z.ZodUUID;
1544
+ blockedAt: z.ZodString;
1545
+ resolvedAt: z.ZodNullable<z.ZodString>;
1546
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1547
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1548
+ guardian_acknowledge: "guardian_acknowledge";
1549
+ staff_lift: "staff_lift";
1550
+ }>>;
1551
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1552
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1553
+ isActive: z.ZodBoolean;
1554
+ createdAt: z.ZodString;
1555
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1556
+ declare const approveLiftContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1557
+ blockId: z.ZodUUID;
1558
+ }, z.core.$strip>, z.ZodObject<{
1559
+ id: z.ZodUUID;
1560
+ entryId: z.ZodUUID;
1561
+ guardianId: z.ZodUUID;
1562
+ studentId: z.ZodUUID;
1563
+ blockedAt: z.ZodString;
1564
+ resolvedAt: z.ZodNullable<z.ZodString>;
1565
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1566
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1567
+ guardian_acknowledge: "guardian_acknowledge";
1568
+ staff_lift: "staff_lift";
1569
+ }>>;
1570
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1571
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1572
+ isActive: z.ZodBoolean;
1573
+ createdAt: z.ZodString;
1574
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1575
+ declare const listAcknowledgementsContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1576
+ entryId: z.ZodUUID;
1577
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1578
+ id: z.ZodUUID;
1579
+ entryId: z.ZodUUID;
1580
+ guardianId: z.ZodUUID;
1581
+ studentId: z.ZodUUID;
1582
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1583
+ response: z.ZodNullable<z.ZodString>;
1584
+ isAcknowledged: z.ZodBoolean;
1585
+ createdAt: z.ZodString;
1586
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1587
+ declare const diaryContract: {
1588
+ listCategories: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
1589
+ id: z.ZodUUID;
1590
+ branchId: z.ZodUUID;
1591
+ name: z.ZodString;
1592
+ description: z.ZodNullable<z.ZodString>;
1593
+ isActive: z.ZodBoolean;
1594
+ createdBy: z.ZodNullable<z.ZodUUID>;
1595
+ createdAt: z.ZodString;
1596
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1597
+ createCategory: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1598
+ name: z.ZodString;
1599
+ description: z.ZodOptional<z.ZodString>;
1600
+ }, z.core.$strip>, z.ZodObject<{
1601
+ id: z.ZodUUID;
1602
+ branchId: z.ZodUUID;
1603
+ name: z.ZodString;
1604
+ description: z.ZodNullable<z.ZodString>;
1605
+ isActive: z.ZodBoolean;
1606
+ createdBy: z.ZodNullable<z.ZodUUID>;
1607
+ createdAt: z.ZodString;
1608
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1609
+ updateCategory: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1610
+ id: z.ZodUUID;
1611
+ name: z.ZodOptional<z.ZodString>;
1612
+ description: z.ZodOptional<z.ZodString>;
1613
+ isActive: z.ZodOptional<z.ZodBoolean>;
1614
+ }, z.core.$strip>, z.ZodObject<{
1615
+ id: z.ZodUUID;
1616
+ branchId: z.ZodUUID;
1617
+ name: z.ZodString;
1618
+ description: z.ZodNullable<z.ZodString>;
1619
+ isActive: z.ZodBoolean;
1620
+ createdBy: z.ZodNullable<z.ZodUUID>;
1621
+ createdAt: z.ZodString;
1622
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1623
+ listEntries: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1624
+ classId: z.ZodOptional<z.ZodUUID>;
1625
+ studentId: z.ZodOptional<z.ZodUUID>;
1626
+ postedBy: z.ZodOptional<z.ZodUUID>;
1627
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1628
+ id: z.ZodUUID;
1629
+ branchId: z.ZodUUID;
1630
+ classId: z.ZodUUID;
1631
+ studentId: z.ZodNullable<z.ZodUUID>;
1632
+ postedBy: z.ZodUUID;
1633
+ categoryId: z.ZodUUID;
1634
+ title: z.ZodString;
1635
+ body: z.ZodString;
1636
+ severity: z.ZodEnum<{
1637
+ critical: "critical";
1638
+ info: "info";
1639
+ moderate: "moderate";
1640
+ serious: "serious";
1641
+ }>;
1642
+ requiresResponse: z.ZodBoolean;
1643
+ responseDeadlineDays: z.ZodNumber;
1644
+ isBlockingPortal: z.ZodBoolean;
1645
+ isBlockingReportCard: z.ZodBoolean;
1646
+ status: z.ZodEnum<{
1647
+ active: "active";
1648
+ resolved: "resolved";
1649
+ lifted: "lifted";
1650
+ }>;
1651
+ resolvedAt: z.ZodNullable<z.ZodString>;
1652
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1653
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1654
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1655
+ createdAt: z.ZodString;
1656
+ updatedAt: z.ZodString;
1657
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1658
+ listForGuardian: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
1659
+ id: z.ZodUUID;
1660
+ branchId: z.ZodUUID;
1661
+ classId: z.ZodUUID;
1662
+ studentId: z.ZodNullable<z.ZodUUID>;
1663
+ postedBy: z.ZodUUID;
1664
+ categoryId: z.ZodUUID;
1665
+ title: z.ZodString;
1666
+ body: z.ZodString;
1667
+ severity: z.ZodEnum<{
1668
+ critical: "critical";
1669
+ info: "info";
1670
+ moderate: "moderate";
1671
+ serious: "serious";
1672
+ }>;
1673
+ requiresResponse: z.ZodBoolean;
1674
+ responseDeadlineDays: z.ZodNumber;
1675
+ isBlockingPortal: z.ZodBoolean;
1676
+ isBlockingReportCard: z.ZodBoolean;
1677
+ status: z.ZodEnum<{
1678
+ active: "active";
1679
+ resolved: "resolved";
1680
+ lifted: "lifted";
1681
+ }>;
1682
+ resolvedAt: z.ZodNullable<z.ZodString>;
1683
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1684
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1685
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1686
+ createdAt: z.ZodString;
1687
+ updatedAt: z.ZodString;
1688
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1689
+ isAcknowledged: z.ZodBoolean;
1690
+ response: z.ZodNullable<z.ZodString>;
1691
+ }, z.core.$strip>>;
1692
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1693
+ getEntry: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1694
+ id: z.ZodUUID;
1695
+ }, z.core.$strip>, z.ZodObject<{
1696
+ id: z.ZodUUID;
1697
+ branchId: z.ZodUUID;
1698
+ classId: z.ZodUUID;
1699
+ studentId: z.ZodNullable<z.ZodUUID>;
1700
+ postedBy: z.ZodUUID;
1701
+ categoryId: z.ZodUUID;
1702
+ title: z.ZodString;
1703
+ body: z.ZodString;
1704
+ severity: z.ZodEnum<{
1705
+ critical: "critical";
1706
+ info: "info";
1707
+ moderate: "moderate";
1708
+ serious: "serious";
1709
+ }>;
1710
+ requiresResponse: z.ZodBoolean;
1711
+ responseDeadlineDays: z.ZodNumber;
1712
+ isBlockingPortal: z.ZodBoolean;
1713
+ isBlockingReportCard: z.ZodBoolean;
1714
+ status: z.ZodEnum<{
1715
+ active: "active";
1716
+ resolved: "resolved";
1717
+ lifted: "lifted";
1718
+ }>;
1719
+ resolvedAt: z.ZodNullable<z.ZodString>;
1720
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1721
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1722
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1723
+ createdAt: z.ZodString;
1724
+ updatedAt: z.ZodString;
1725
+ acknowledgements: z.ZodArray<z.ZodObject<{
1726
+ id: z.ZodUUID;
1727
+ entryId: z.ZodUUID;
1728
+ guardianId: z.ZodUUID;
1729
+ studentId: z.ZodUUID;
1730
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1731
+ response: z.ZodNullable<z.ZodString>;
1732
+ isAcknowledged: z.ZodBoolean;
1733
+ createdAt: z.ZodString;
1734
+ }, z.core.$strip>>;
1735
+ blocks: z.ZodArray<z.ZodObject<{
1736
+ id: z.ZodUUID;
1737
+ entryId: z.ZodUUID;
1738
+ guardianId: z.ZodUUID;
1739
+ studentId: z.ZodUUID;
1740
+ blockedAt: z.ZodString;
1741
+ resolvedAt: z.ZodNullable<z.ZodString>;
1742
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1743
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1744
+ guardian_acknowledge: "guardian_acknowledge";
1745
+ staff_lift: "staff_lift";
1746
+ }>>;
1747
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1748
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1749
+ isActive: z.ZodBoolean;
1750
+ createdAt: z.ZodString;
1751
+ }, z.core.$strip>>;
1752
+ myAcknowledgement: z.ZodNullable<z.ZodObject<{
1753
+ isAcknowledged: z.ZodBoolean;
1754
+ response: z.ZodNullable<z.ZodString>;
1755
+ }, z.core.$strip>>;
1756
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1757
+ createEntry: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1758
+ classId: z.ZodUUID;
1759
+ studentId: z.ZodOptional<z.ZodUUID>;
1760
+ categoryId: z.ZodUUID;
1761
+ title: z.ZodString;
1762
+ body: z.ZodString;
1763
+ severity: z.ZodEnum<{
1764
+ critical: "critical";
1765
+ info: "info";
1766
+ moderate: "moderate";
1767
+ serious: "serious";
1768
+ }>;
1769
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
1770
+ responseDeadlineDays: z.ZodOptional<z.ZodNumber>;
1771
+ isBlockingPortal: z.ZodOptional<z.ZodBoolean>;
1772
+ isBlockingReportCard: z.ZodOptional<z.ZodBoolean>;
1773
+ }, z.core.$strip>, z.ZodObject<{
1774
+ id: z.ZodUUID;
1775
+ branchId: z.ZodUUID;
1776
+ classId: z.ZodUUID;
1777
+ studentId: z.ZodNullable<z.ZodUUID>;
1778
+ postedBy: z.ZodUUID;
1779
+ categoryId: z.ZodUUID;
1780
+ title: z.ZodString;
1781
+ body: z.ZodString;
1782
+ severity: z.ZodEnum<{
1783
+ critical: "critical";
1784
+ info: "info";
1785
+ moderate: "moderate";
1786
+ serious: "serious";
1787
+ }>;
1788
+ requiresResponse: z.ZodBoolean;
1789
+ responseDeadlineDays: z.ZodNumber;
1790
+ isBlockingPortal: z.ZodBoolean;
1791
+ isBlockingReportCard: z.ZodBoolean;
1792
+ status: z.ZodEnum<{
1793
+ active: "active";
1794
+ resolved: "resolved";
1795
+ lifted: "lifted";
1796
+ }>;
1797
+ resolvedAt: z.ZodNullable<z.ZodString>;
1798
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1799
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1800
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1801
+ createdAt: z.ZodString;
1802
+ updatedAt: z.ZodString;
1803
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1804
+ acknowledge: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1805
+ entryId: z.ZodUUID;
1806
+ studentId: z.ZodUUID;
1807
+ }, z.core.$strip>, z.ZodObject<{
1808
+ id: z.ZodUUID;
1809
+ entryId: z.ZodUUID;
1810
+ guardianId: z.ZodUUID;
1811
+ studentId: z.ZodUUID;
1812
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1813
+ response: z.ZodNullable<z.ZodString>;
1814
+ isAcknowledged: z.ZodBoolean;
1815
+ createdAt: z.ZodString;
1816
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1817
+ respond: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1818
+ entryId: z.ZodUUID;
1819
+ studentId: z.ZodUUID;
1820
+ response: z.ZodString;
1821
+ }, z.core.$strip>, z.ZodObject<{
1822
+ id: z.ZodUUID;
1823
+ entryId: z.ZodUUID;
1824
+ guardianId: z.ZodUUID;
1825
+ studentId: z.ZodUUID;
1826
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1827
+ response: z.ZodNullable<z.ZodString>;
1828
+ isAcknowledged: z.ZodBoolean;
1829
+ createdAt: z.ZodString;
1830
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1831
+ requestLift: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1832
+ blockId: z.ZodUUID;
1833
+ }, z.core.$strip>, z.ZodObject<{
1834
+ id: z.ZodUUID;
1835
+ entryId: z.ZodUUID;
1836
+ guardianId: z.ZodUUID;
1837
+ studentId: z.ZodUUID;
1838
+ blockedAt: z.ZodString;
1839
+ resolvedAt: z.ZodNullable<z.ZodString>;
1840
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1841
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1842
+ guardian_acknowledge: "guardian_acknowledge";
1843
+ staff_lift: "staff_lift";
1844
+ }>>;
1845
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1846
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1847
+ isActive: z.ZodBoolean;
1848
+ createdAt: z.ZodString;
1849
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1850
+ approveLift: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1851
+ blockId: z.ZodUUID;
1852
+ }, z.core.$strip>, z.ZodObject<{
1853
+ id: z.ZodUUID;
1854
+ entryId: z.ZodUUID;
1855
+ guardianId: z.ZodUUID;
1856
+ studentId: z.ZodUUID;
1857
+ blockedAt: z.ZodString;
1858
+ resolvedAt: z.ZodNullable<z.ZodString>;
1859
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
1860
+ resolvedVia: z.ZodNullable<z.ZodEnum<{
1861
+ guardian_acknowledge: "guardian_acknowledge";
1862
+ staff_lift: "staff_lift";
1863
+ }>>;
1864
+ liftApprovedBy: z.ZodNullable<z.ZodUUID>;
1865
+ liftApprovedAt: z.ZodNullable<z.ZodString>;
1866
+ isActive: z.ZodBoolean;
1867
+ createdAt: z.ZodString;
1868
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1869
+ listAcknowledgements: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1870
+ entryId: z.ZodUUID;
1871
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1872
+ id: z.ZodUUID;
1873
+ entryId: z.ZodUUID;
1874
+ guardianId: z.ZodUUID;
1875
+ studentId: z.ZodUUID;
1876
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
1877
+ response: z.ZodNullable<z.ZodString>;
1878
+ isAcknowledged: z.ZodBoolean;
1879
+ createdAt: z.ZodString;
1880
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1881
+ };
1882
+
1883
+ declare const listAccountsContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1884
+ branchId: z.ZodOptional<z.ZodUUID>;
1885
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
1886
+ id: z.ZodUUID;
1887
+ branchId: z.ZodUUID;
1888
+ bankName: z.ZodString;
1889
+ bankCode: z.ZodNullable<z.ZodString>;
1890
+ bankBranchName: z.ZodNullable<z.ZodString>;
1891
+ accountNumber: z.ZodString;
1892
+ accountName: z.ZodString;
1893
+ accountType: z.ZodEnum<{
1894
+ current: "current";
1895
+ savings: "savings";
1896
+ }>;
1897
+ currency: z.ZodString;
1898
+ isDefault: z.ZodBoolean;
1899
+ isActive: z.ZodBoolean;
1900
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
1901
+ notes: z.ZodNullable<z.ZodString>;
1902
+ createdAt: z.ZodString;
1903
+ updatedAt: z.ZodString;
1904
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
1905
+ declare const getByIdContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1906
+ id: z.ZodUUID;
1907
+ }, z.core.$strip>, z.ZodObject<{
1908
+ id: z.ZodUUID;
1909
+ branchId: z.ZodUUID;
1910
+ bankName: z.ZodString;
1911
+ bankCode: z.ZodNullable<z.ZodString>;
1912
+ bankBranchName: z.ZodNullable<z.ZodString>;
1913
+ accountNumber: z.ZodString;
1914
+ accountName: z.ZodString;
1915
+ accountType: z.ZodEnum<{
1916
+ current: "current";
1917
+ savings: "savings";
1918
+ }>;
1919
+ currency: z.ZodString;
1920
+ isDefault: z.ZodBoolean;
1921
+ isActive: z.ZodBoolean;
1922
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
1923
+ notes: z.ZodNullable<z.ZodString>;
1924
+ createdAt: z.ZodString;
1925
+ updatedAt: z.ZodString;
1926
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1927
+ declare const createBankAccountContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1928
+ branchId: z.ZodUUID;
1929
+ bankName: z.ZodString;
1930
+ bankCode: z.ZodOptional<z.ZodString>;
1931
+ bankBranchName: z.ZodOptional<z.ZodString>;
1932
+ accountNumber: z.ZodString;
1933
+ accountName: z.ZodString;
1934
+ accountType: z.ZodEnum<{
1935
+ current: "current";
1936
+ savings: "savings";
1937
+ }>;
1938
+ currency: z.ZodOptional<z.ZodString>;
1939
+ isDefault: z.ZodOptional<z.ZodBoolean>;
1940
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
1941
+ notes: z.ZodOptional<z.ZodString>;
1942
+ }, z.core.$strip>, z.ZodObject<{
1943
+ id: z.ZodUUID;
1944
+ branchId: z.ZodUUID;
1945
+ bankName: z.ZodString;
1946
+ bankCode: z.ZodNullable<z.ZodString>;
1947
+ bankBranchName: z.ZodNullable<z.ZodString>;
1948
+ accountNumber: z.ZodString;
1949
+ accountName: z.ZodString;
1950
+ accountType: z.ZodEnum<{
1951
+ current: "current";
1952
+ savings: "savings";
1953
+ }>;
1954
+ currency: z.ZodString;
1955
+ isDefault: z.ZodBoolean;
1956
+ isActive: z.ZodBoolean;
1957
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
1958
+ notes: z.ZodNullable<z.ZodString>;
1959
+ createdAt: z.ZodString;
1960
+ updatedAt: z.ZodString;
1961
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1962
+ declare const updateBankAccountContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1963
+ id: z.ZodUUID;
1964
+ bankName: z.ZodOptional<z.ZodString>;
1965
+ bankCode: z.ZodOptional<z.ZodString>;
1966
+ bankBranchName: z.ZodOptional<z.ZodString>;
1967
+ accountNumber: z.ZodOptional<z.ZodString>;
1968
+ accountName: z.ZodOptional<z.ZodString>;
1969
+ accountType: z.ZodOptional<z.ZodEnum<{
1970
+ current: "current";
1971
+ savings: "savings";
1972
+ }>>;
1973
+ currency: z.ZodOptional<z.ZodString>;
1974
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
1975
+ notes: z.ZodOptional<z.ZodString>;
1976
+ }, z.core.$strip>, z.ZodObject<{
1977
+ id: z.ZodUUID;
1978
+ branchId: z.ZodUUID;
1979
+ bankName: z.ZodString;
1980
+ bankCode: z.ZodNullable<z.ZodString>;
1981
+ bankBranchName: z.ZodNullable<z.ZodString>;
1982
+ accountNumber: z.ZodString;
1983
+ accountName: z.ZodString;
1984
+ accountType: z.ZodEnum<{
1985
+ current: "current";
1986
+ savings: "savings";
1987
+ }>;
1988
+ currency: z.ZodString;
1989
+ isDefault: z.ZodBoolean;
1990
+ isActive: z.ZodBoolean;
1991
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
1992
+ notes: z.ZodNullable<z.ZodString>;
1993
+ createdAt: z.ZodString;
1994
+ updatedAt: z.ZodString;
1995
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
1996
+ declare const setDefaultContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
1997
+ id: z.ZodUUID;
1998
+ }, z.core.$strip>, z.ZodObject<{
1999
+ id: z.ZodUUID;
2000
+ branchId: z.ZodUUID;
2001
+ bankName: z.ZodString;
2002
+ bankCode: z.ZodNullable<z.ZodString>;
2003
+ bankBranchName: z.ZodNullable<z.ZodString>;
2004
+ accountNumber: z.ZodString;
2005
+ accountName: z.ZodString;
2006
+ accountType: z.ZodEnum<{
2007
+ current: "current";
2008
+ savings: "savings";
2009
+ }>;
2010
+ currency: z.ZodString;
2011
+ isDefault: z.ZodBoolean;
2012
+ isActive: z.ZodBoolean;
2013
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2014
+ notes: z.ZodNullable<z.ZodString>;
2015
+ createdAt: z.ZodString;
2016
+ updatedAt: z.ZodString;
2017
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2018
+ declare const deactivateContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2019
+ id: z.ZodUUID;
2020
+ }, z.core.$strip>, z.ZodObject<{
2021
+ id: z.ZodUUID;
2022
+ branchId: z.ZodUUID;
2023
+ bankName: z.ZodString;
2024
+ bankCode: z.ZodNullable<z.ZodString>;
2025
+ bankBranchName: z.ZodNullable<z.ZodString>;
2026
+ accountNumber: z.ZodString;
2027
+ accountName: z.ZodString;
2028
+ accountType: z.ZodEnum<{
2029
+ current: "current";
2030
+ savings: "savings";
2031
+ }>;
2032
+ currency: z.ZodString;
2033
+ isDefault: z.ZodBoolean;
2034
+ isActive: z.ZodBoolean;
2035
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2036
+ notes: z.ZodNullable<z.ZodString>;
2037
+ createdAt: z.ZodString;
2038
+ updatedAt: z.ZodString;
2039
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2040
+ declare const listBanksContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
2041
+ id: z.ZodUUID;
2042
+ name: z.ZodString;
2043
+ code: z.ZodString;
2044
+ isActive: z.ZodBoolean;
2045
+ createdAt: z.ZodString;
2046
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2047
+ declare const bankingContract: {
2048
+ listAccounts: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2049
+ branchId: z.ZodOptional<z.ZodUUID>;
2050
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2051
+ id: z.ZodUUID;
2052
+ branchId: z.ZodUUID;
2053
+ bankName: z.ZodString;
2054
+ bankCode: z.ZodNullable<z.ZodString>;
2055
+ bankBranchName: z.ZodNullable<z.ZodString>;
2056
+ accountNumber: z.ZodString;
2057
+ accountName: z.ZodString;
2058
+ accountType: z.ZodEnum<{
2059
+ current: "current";
2060
+ savings: "savings";
2061
+ }>;
2062
+ currency: z.ZodString;
2063
+ isDefault: z.ZodBoolean;
2064
+ isActive: z.ZodBoolean;
2065
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2066
+ notes: z.ZodNullable<z.ZodString>;
2067
+ createdAt: z.ZodString;
2068
+ updatedAt: z.ZodString;
2069
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2070
+ getById: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2071
+ id: z.ZodUUID;
2072
+ }, z.core.$strip>, z.ZodObject<{
2073
+ id: z.ZodUUID;
2074
+ branchId: z.ZodUUID;
2075
+ bankName: z.ZodString;
2076
+ bankCode: z.ZodNullable<z.ZodString>;
2077
+ bankBranchName: z.ZodNullable<z.ZodString>;
2078
+ accountNumber: z.ZodString;
2079
+ accountName: z.ZodString;
2080
+ accountType: z.ZodEnum<{
2081
+ current: "current";
2082
+ savings: "savings";
2083
+ }>;
2084
+ currency: z.ZodString;
2085
+ isDefault: z.ZodBoolean;
2086
+ isActive: z.ZodBoolean;
2087
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2088
+ notes: z.ZodNullable<z.ZodString>;
2089
+ createdAt: z.ZodString;
2090
+ updatedAt: z.ZodString;
2091
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2092
+ create: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2093
+ branchId: z.ZodUUID;
2094
+ bankName: z.ZodString;
2095
+ bankCode: z.ZodOptional<z.ZodString>;
2096
+ bankBranchName: z.ZodOptional<z.ZodString>;
2097
+ accountNumber: z.ZodString;
2098
+ accountName: z.ZodString;
2099
+ accountType: z.ZodEnum<{
2100
+ current: "current";
2101
+ savings: "savings";
2102
+ }>;
2103
+ currency: z.ZodOptional<z.ZodString>;
2104
+ isDefault: z.ZodOptional<z.ZodBoolean>;
2105
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
2106
+ notes: z.ZodOptional<z.ZodString>;
2107
+ }, z.core.$strip>, z.ZodObject<{
2108
+ id: z.ZodUUID;
2109
+ branchId: z.ZodUUID;
2110
+ bankName: z.ZodString;
2111
+ bankCode: z.ZodNullable<z.ZodString>;
2112
+ bankBranchName: z.ZodNullable<z.ZodString>;
2113
+ accountNumber: z.ZodString;
2114
+ accountName: z.ZodString;
2115
+ accountType: z.ZodEnum<{
2116
+ current: "current";
2117
+ savings: "savings";
2118
+ }>;
2119
+ currency: z.ZodString;
2120
+ isDefault: z.ZodBoolean;
2121
+ isActive: z.ZodBoolean;
2122
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2123
+ notes: z.ZodNullable<z.ZodString>;
2124
+ createdAt: z.ZodString;
2125
+ updatedAt: z.ZodString;
2126
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2127
+ update: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2128
+ id: z.ZodUUID;
2129
+ bankName: z.ZodOptional<z.ZodString>;
2130
+ bankCode: z.ZodOptional<z.ZodString>;
2131
+ bankBranchName: z.ZodOptional<z.ZodString>;
2132
+ accountNumber: z.ZodOptional<z.ZodString>;
2133
+ accountName: z.ZodOptional<z.ZodString>;
2134
+ accountType: z.ZodOptional<z.ZodEnum<{
2135
+ current: "current";
2136
+ savings: "savings";
2137
+ }>>;
2138
+ currency: z.ZodOptional<z.ZodString>;
2139
+ reconciliationContactId: z.ZodOptional<z.ZodUUID>;
2140
+ notes: z.ZodOptional<z.ZodString>;
2141
+ }, z.core.$strip>, z.ZodObject<{
2142
+ id: z.ZodUUID;
2143
+ branchId: z.ZodUUID;
2144
+ bankName: z.ZodString;
2145
+ bankCode: z.ZodNullable<z.ZodString>;
2146
+ bankBranchName: z.ZodNullable<z.ZodString>;
2147
+ accountNumber: z.ZodString;
2148
+ accountName: z.ZodString;
2149
+ accountType: z.ZodEnum<{
2150
+ current: "current";
2151
+ savings: "savings";
2152
+ }>;
2153
+ currency: z.ZodString;
2154
+ isDefault: z.ZodBoolean;
2155
+ isActive: z.ZodBoolean;
2156
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2157
+ notes: z.ZodNullable<z.ZodString>;
2158
+ createdAt: z.ZodString;
2159
+ updatedAt: z.ZodString;
2160
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2161
+ setDefault: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2162
+ id: z.ZodUUID;
2163
+ }, z.core.$strip>, z.ZodObject<{
2164
+ id: z.ZodUUID;
2165
+ branchId: z.ZodUUID;
2166
+ bankName: z.ZodString;
2167
+ bankCode: z.ZodNullable<z.ZodString>;
2168
+ bankBranchName: z.ZodNullable<z.ZodString>;
2169
+ accountNumber: z.ZodString;
2170
+ accountName: z.ZodString;
2171
+ accountType: z.ZodEnum<{
2172
+ current: "current";
2173
+ savings: "savings";
2174
+ }>;
2175
+ currency: z.ZodString;
2176
+ isDefault: z.ZodBoolean;
2177
+ isActive: z.ZodBoolean;
2178
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2179
+ notes: z.ZodNullable<z.ZodString>;
2180
+ createdAt: z.ZodString;
2181
+ updatedAt: z.ZodString;
2182
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2183
+ deactivate: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2184
+ id: z.ZodUUID;
2185
+ }, z.core.$strip>, z.ZodObject<{
2186
+ id: z.ZodUUID;
2187
+ branchId: z.ZodUUID;
2188
+ bankName: z.ZodString;
2189
+ bankCode: z.ZodNullable<z.ZodString>;
2190
+ bankBranchName: z.ZodNullable<z.ZodString>;
2191
+ accountNumber: z.ZodString;
2192
+ accountName: z.ZodString;
2193
+ accountType: z.ZodEnum<{
2194
+ current: "current";
2195
+ savings: "savings";
2196
+ }>;
2197
+ currency: z.ZodString;
2198
+ isDefault: z.ZodBoolean;
2199
+ isActive: z.ZodBoolean;
2200
+ reconciliationContactId: z.ZodNullable<z.ZodUUID>;
2201
+ notes: z.ZodNullable<z.ZodString>;
2202
+ createdAt: z.ZodString;
2203
+ updatedAt: z.ZodString;
2204
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2205
+ listBanks: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
2206
+ id: z.ZodUUID;
2207
+ name: z.ZodString;
2208
+ code: z.ZodString;
2209
+ isActive: z.ZodBoolean;
2210
+ createdAt: z.ZodString;
2211
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2212
+ };
2213
+
2214
+ declare const listTemplatesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2215
+ status: z.ZodOptional<z.ZodString>;
2216
+ branchId: z.ZodOptional<z.ZodUUID>;
2217
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2218
+ id: z.ZodUUID;
2219
+ branchId: z.ZodNullable<z.ZodUUID>;
2220
+ title: z.ZodString;
2221
+ body: z.ZodString;
2222
+ urgency: z.ZodEnum<{
2223
+ critical: "critical";
2224
+ urgent: "urgent";
2225
+ important: "important";
2226
+ info: "info";
2227
+ }>;
2228
+ isBlocking: z.ZodBoolean;
2229
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2230
+ redirectPath: z.ZodNullable<z.ZodString>;
2231
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2232
+ requiresResponse: z.ZodBoolean;
2233
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2234
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2235
+ email: "email";
2236
+ in_app: "in_app";
2237
+ sms: "sms";
2238
+ push: "push";
2239
+ }>>;
2240
+ scheduledAt: z.ZodNullable<z.ZodString>;
2241
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2242
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2243
+ nextFireAt: z.ZodNullable<z.ZodString>;
2244
+ status: z.ZodEnum<{
2245
+ draft: "draft";
2246
+ pending_approval: "pending_approval";
2247
+ approved: "approved";
2248
+ scheduled: "scheduled";
2249
+ sent: "sent";
2250
+ cancelled: "cancelled";
2251
+ recurring_active: "recurring_active";
2252
+ }>;
2253
+ createdBy: z.ZodUUID;
2254
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2255
+ approvedAt: z.ZodNullable<z.ZodString>;
2256
+ sentAt: z.ZodNullable<z.ZodString>;
2257
+ createdAt: z.ZodString;
2258
+ updatedAt: z.ZodString;
2259
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2260
+ declare const getTemplateContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2261
+ id: z.ZodUUID;
2262
+ }, z.core.$strip>, z.ZodObject<{
2263
+ id: z.ZodUUID;
2264
+ branchId: z.ZodNullable<z.ZodUUID>;
2265
+ title: z.ZodString;
2266
+ body: z.ZodString;
2267
+ urgency: z.ZodEnum<{
2268
+ critical: "critical";
2269
+ urgent: "urgent";
2270
+ important: "important";
2271
+ info: "info";
2272
+ }>;
2273
+ isBlocking: z.ZodBoolean;
2274
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2275
+ redirectPath: z.ZodNullable<z.ZodString>;
2276
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2277
+ requiresResponse: z.ZodBoolean;
2278
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2279
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2280
+ email: "email";
2281
+ in_app: "in_app";
2282
+ sms: "sms";
2283
+ push: "push";
2284
+ }>>;
2285
+ scheduledAt: z.ZodNullable<z.ZodString>;
2286
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2287
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2288
+ nextFireAt: z.ZodNullable<z.ZodString>;
2289
+ status: z.ZodEnum<{
2290
+ draft: "draft";
2291
+ pending_approval: "pending_approval";
2292
+ approved: "approved";
2293
+ scheduled: "scheduled";
2294
+ sent: "sent";
2295
+ cancelled: "cancelled";
2296
+ recurring_active: "recurring_active";
2297
+ }>;
2298
+ createdBy: z.ZodUUID;
2299
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2300
+ approvedAt: z.ZodNullable<z.ZodString>;
2301
+ sentAt: z.ZodNullable<z.ZodString>;
2302
+ createdAt: z.ZodString;
2303
+ updatedAt: z.ZodString;
2304
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2305
+ declare const createNotificationContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2306
+ branchId: z.ZodOptional<z.ZodUUID>;
2307
+ title: z.ZodString;
2308
+ body: z.ZodString;
2309
+ urgency: z.ZodEnum<{
2310
+ critical: "critical";
2311
+ urgent: "urgent";
2312
+ important: "important";
2313
+ info: "info";
2314
+ }>;
2315
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
2316
+ deadlineHours: z.ZodOptional<z.ZodNumber>;
2317
+ redirectPath: z.ZodOptional<z.ZodString>;
2318
+ redirectParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2319
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
2320
+ responseOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2321
+ deliveryChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2322
+ email: "email";
2323
+ in_app: "in_app";
2324
+ sms: "sms";
2325
+ }>>>;
2326
+ scheduledAt: z.ZodOptional<z.ZodString>;
2327
+ recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2328
+ audience: z.ZodArray<z.ZodObject<{
2329
+ audienceType: z.ZodEnum<{
2330
+ all_branches: "all_branches";
2331
+ branch: "branch";
2332
+ grade: "grade";
2333
+ class: "class";
2334
+ role: "role";
2335
+ individual: "individual";
2336
+ }>;
2337
+ audienceId: z.ZodString;
2338
+ }, z.core.$strip>>;
2339
+ }, z.core.$strip>, z.ZodObject<{
2340
+ id: z.ZodUUID;
2341
+ branchId: z.ZodNullable<z.ZodUUID>;
2342
+ title: z.ZodString;
2343
+ body: z.ZodString;
2344
+ urgency: z.ZodEnum<{
2345
+ critical: "critical";
2346
+ urgent: "urgent";
2347
+ important: "important";
2348
+ info: "info";
2349
+ }>;
2350
+ isBlocking: z.ZodBoolean;
2351
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2352
+ redirectPath: z.ZodNullable<z.ZodString>;
2353
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2354
+ requiresResponse: z.ZodBoolean;
2355
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2356
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2357
+ email: "email";
2358
+ in_app: "in_app";
2359
+ sms: "sms";
2360
+ push: "push";
2361
+ }>>;
2362
+ scheduledAt: z.ZodNullable<z.ZodString>;
2363
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2364
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2365
+ nextFireAt: z.ZodNullable<z.ZodString>;
2366
+ status: z.ZodEnum<{
2367
+ draft: "draft";
2368
+ pending_approval: "pending_approval";
2369
+ approved: "approved";
2370
+ scheduled: "scheduled";
2371
+ sent: "sent";
2372
+ cancelled: "cancelled";
2373
+ recurring_active: "recurring_active";
2374
+ }>;
2375
+ createdBy: z.ZodUUID;
2376
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2377
+ approvedAt: z.ZodNullable<z.ZodString>;
2378
+ sentAt: z.ZodNullable<z.ZodString>;
2379
+ createdAt: z.ZodString;
2380
+ updatedAt: z.ZodString;
2381
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2382
+ declare const submitContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2383
+ id: z.ZodUUID;
2384
+ }, z.core.$strip>, z.ZodObject<{
2385
+ id: z.ZodUUID;
2386
+ branchId: z.ZodNullable<z.ZodUUID>;
2387
+ title: z.ZodString;
2388
+ body: z.ZodString;
2389
+ urgency: z.ZodEnum<{
2390
+ critical: "critical";
2391
+ urgent: "urgent";
2392
+ important: "important";
2393
+ info: "info";
2394
+ }>;
2395
+ isBlocking: z.ZodBoolean;
2396
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2397
+ redirectPath: z.ZodNullable<z.ZodString>;
2398
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2399
+ requiresResponse: z.ZodBoolean;
2400
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2401
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2402
+ email: "email";
2403
+ in_app: "in_app";
2404
+ sms: "sms";
2405
+ push: "push";
2406
+ }>>;
2407
+ scheduledAt: z.ZodNullable<z.ZodString>;
2408
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2409
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2410
+ nextFireAt: z.ZodNullable<z.ZodString>;
2411
+ status: z.ZodEnum<{
2412
+ draft: "draft";
2413
+ pending_approval: "pending_approval";
2414
+ approved: "approved";
2415
+ scheduled: "scheduled";
2416
+ sent: "sent";
2417
+ cancelled: "cancelled";
2418
+ recurring_active: "recurring_active";
2419
+ }>;
2420
+ createdBy: z.ZodUUID;
2421
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2422
+ approvedAt: z.ZodNullable<z.ZodString>;
2423
+ sentAt: z.ZodNullable<z.ZodString>;
2424
+ createdAt: z.ZodString;
2425
+ updatedAt: z.ZodString;
2426
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2427
+ declare const approveContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2428
+ id: z.ZodUUID;
2429
+ }, z.core.$strip>, z.ZodObject<{
2430
+ id: z.ZodUUID;
2431
+ branchId: z.ZodNullable<z.ZodUUID>;
2432
+ title: z.ZodString;
2433
+ body: z.ZodString;
2434
+ urgency: z.ZodEnum<{
2435
+ critical: "critical";
2436
+ urgent: "urgent";
2437
+ important: "important";
2438
+ info: "info";
2439
+ }>;
2440
+ isBlocking: z.ZodBoolean;
2441
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2442
+ redirectPath: z.ZodNullable<z.ZodString>;
2443
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2444
+ requiresResponse: z.ZodBoolean;
2445
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2446
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2447
+ email: "email";
2448
+ in_app: "in_app";
2449
+ sms: "sms";
2450
+ push: "push";
2451
+ }>>;
2452
+ scheduledAt: z.ZodNullable<z.ZodString>;
2453
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2454
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2455
+ nextFireAt: z.ZodNullable<z.ZodString>;
2456
+ status: z.ZodEnum<{
2457
+ draft: "draft";
2458
+ pending_approval: "pending_approval";
2459
+ approved: "approved";
2460
+ scheduled: "scheduled";
2461
+ sent: "sent";
2462
+ cancelled: "cancelled";
2463
+ recurring_active: "recurring_active";
2464
+ }>;
2465
+ createdBy: z.ZodUUID;
2466
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2467
+ approvedAt: z.ZodNullable<z.ZodString>;
2468
+ sentAt: z.ZodNullable<z.ZodString>;
2469
+ createdAt: z.ZodString;
2470
+ updatedAt: z.ZodString;
2471
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2472
+ declare const rejectContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2473
+ id: z.ZodUUID;
2474
+ reason: z.ZodOptional<z.ZodString>;
2475
+ }, z.core.$strip>, z.ZodObject<{
2476
+ id: z.ZodUUID;
2477
+ branchId: z.ZodNullable<z.ZodUUID>;
2478
+ title: z.ZodString;
2479
+ body: z.ZodString;
2480
+ urgency: z.ZodEnum<{
2481
+ critical: "critical";
2482
+ urgent: "urgent";
2483
+ important: "important";
2484
+ info: "info";
2485
+ }>;
2486
+ isBlocking: z.ZodBoolean;
2487
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2488
+ redirectPath: z.ZodNullable<z.ZodString>;
2489
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2490
+ requiresResponse: z.ZodBoolean;
2491
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2492
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2493
+ email: "email";
2494
+ in_app: "in_app";
2495
+ sms: "sms";
2496
+ push: "push";
2497
+ }>>;
2498
+ scheduledAt: z.ZodNullable<z.ZodString>;
2499
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2500
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2501
+ nextFireAt: z.ZodNullable<z.ZodString>;
2502
+ status: z.ZodEnum<{
2503
+ draft: "draft";
2504
+ pending_approval: "pending_approval";
2505
+ approved: "approved";
2506
+ scheduled: "scheduled";
2507
+ sent: "sent";
2508
+ cancelled: "cancelled";
2509
+ recurring_active: "recurring_active";
2510
+ }>;
2511
+ createdBy: z.ZodUUID;
2512
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2513
+ approvedAt: z.ZodNullable<z.ZodString>;
2514
+ sentAt: z.ZodNullable<z.ZodString>;
2515
+ createdAt: z.ZodString;
2516
+ updatedAt: z.ZodString;
2517
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2518
+ declare const cancelContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2519
+ id: z.ZodUUID;
2520
+ }, z.core.$strip>, z.ZodObject<{
2521
+ id: z.ZodUUID;
2522
+ branchId: z.ZodNullable<z.ZodUUID>;
2523
+ title: z.ZodString;
2524
+ body: z.ZodString;
2525
+ urgency: z.ZodEnum<{
2526
+ critical: "critical";
2527
+ urgent: "urgent";
2528
+ important: "important";
2529
+ info: "info";
2530
+ }>;
2531
+ isBlocking: z.ZodBoolean;
2532
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2533
+ redirectPath: z.ZodNullable<z.ZodString>;
2534
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2535
+ requiresResponse: z.ZodBoolean;
2536
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2537
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2538
+ email: "email";
2539
+ in_app: "in_app";
2540
+ sms: "sms";
2541
+ push: "push";
2542
+ }>>;
2543
+ scheduledAt: z.ZodNullable<z.ZodString>;
2544
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2545
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2546
+ nextFireAt: z.ZodNullable<z.ZodString>;
2547
+ status: z.ZodEnum<{
2548
+ draft: "draft";
2549
+ pending_approval: "pending_approval";
2550
+ approved: "approved";
2551
+ scheduled: "scheduled";
2552
+ sent: "sent";
2553
+ cancelled: "cancelled";
2554
+ recurring_active: "recurring_active";
2555
+ }>;
2556
+ createdBy: z.ZodUUID;
2557
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2558
+ approvedAt: z.ZodNullable<z.ZodString>;
2559
+ sentAt: z.ZodNullable<z.ZodString>;
2560
+ createdAt: z.ZodString;
2561
+ updatedAt: z.ZodString;
2562
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2563
+ declare const listDeliveriesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2564
+ isRead: z.ZodOptional<z.ZodBoolean>;
2565
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
2566
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2567
+ id: z.ZodUUID;
2568
+ notificationId: z.ZodUUID;
2569
+ userId: z.ZodUUID;
2570
+ channel: z.ZodEnum<{
2571
+ email: "email";
2572
+ in_app: "in_app";
2573
+ sms: "sms";
2574
+ push: "push";
2575
+ }>;
2576
+ deliveredAt: z.ZodNullable<z.ZodString>;
2577
+ readAt: z.ZodNullable<z.ZodString>;
2578
+ isRead: z.ZodBoolean;
2579
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2580
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2581
+ response: z.ZodNullable<z.ZodString>;
2582
+ isBlocking: z.ZodBoolean;
2583
+ isResolved: z.ZodBoolean;
2584
+ resolvedAt: z.ZodNullable<z.ZodString>;
2585
+ returnPath: z.ZodNullable<z.ZodString>;
2586
+ createdAt: z.ZodString;
2587
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2588
+ declare const markReadContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2589
+ deliveryId: z.ZodUUID;
2590
+ }, z.core.$strip>, z.ZodObject<{
2591
+ id: z.ZodUUID;
2592
+ notificationId: z.ZodUUID;
2593
+ userId: z.ZodUUID;
2594
+ channel: z.ZodEnum<{
2595
+ email: "email";
2596
+ in_app: "in_app";
2597
+ sms: "sms";
2598
+ push: "push";
2599
+ }>;
2600
+ deliveredAt: z.ZodNullable<z.ZodString>;
2601
+ readAt: z.ZodNullable<z.ZodString>;
2602
+ isRead: z.ZodBoolean;
2603
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2604
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2605
+ response: z.ZodNullable<z.ZodString>;
2606
+ isBlocking: z.ZodBoolean;
2607
+ isResolved: z.ZodBoolean;
2608
+ resolvedAt: z.ZodNullable<z.ZodString>;
2609
+ returnPath: z.ZodNullable<z.ZodString>;
2610
+ createdAt: z.ZodString;
2611
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2612
+ declare const markUnreadContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2613
+ deliveryId: z.ZodUUID;
2614
+ }, z.core.$strip>, z.ZodObject<{
2615
+ id: z.ZodUUID;
2616
+ notificationId: z.ZodUUID;
2617
+ userId: z.ZodUUID;
2618
+ channel: z.ZodEnum<{
2619
+ email: "email";
2620
+ in_app: "in_app";
2621
+ sms: "sms";
2622
+ push: "push";
2623
+ }>;
2624
+ deliveredAt: z.ZodNullable<z.ZodString>;
2625
+ readAt: z.ZodNullable<z.ZodString>;
2626
+ isRead: z.ZodBoolean;
2627
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2628
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2629
+ response: z.ZodNullable<z.ZodString>;
2630
+ isBlocking: z.ZodBoolean;
2631
+ isResolved: z.ZodBoolean;
2632
+ resolvedAt: z.ZodNullable<z.ZodString>;
2633
+ returnPath: z.ZodNullable<z.ZodString>;
2634
+ createdAt: z.ZodString;
2635
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2636
+ declare const acknowledgeContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2637
+ deliveryId: z.ZodUUID;
2638
+ response: z.ZodOptional<z.ZodString>;
2639
+ }, z.core.$strip>, z.ZodObject<{
2640
+ id: z.ZodUUID;
2641
+ notificationId: z.ZodUUID;
2642
+ userId: z.ZodUUID;
2643
+ channel: z.ZodEnum<{
2644
+ email: "email";
2645
+ in_app: "in_app";
2646
+ sms: "sms";
2647
+ push: "push";
2648
+ }>;
2649
+ deliveredAt: z.ZodNullable<z.ZodString>;
2650
+ readAt: z.ZodNullable<z.ZodString>;
2651
+ isRead: z.ZodBoolean;
2652
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2653
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2654
+ response: z.ZodNullable<z.ZodString>;
2655
+ isBlocking: z.ZodBoolean;
2656
+ isResolved: z.ZodBoolean;
2657
+ resolvedAt: z.ZodNullable<z.ZodString>;
2658
+ returnPath: z.ZodNullable<z.ZodString>;
2659
+ createdAt: z.ZodString;
2660
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2661
+ declare const respondContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2662
+ deliveryId: z.ZodUUID;
2663
+ response: z.ZodString;
2664
+ }, z.core.$strip>, z.ZodObject<{
2665
+ id: z.ZodUUID;
2666
+ notificationId: z.ZodUUID;
2667
+ userId: z.ZodUUID;
2668
+ channel: z.ZodEnum<{
2669
+ email: "email";
2670
+ in_app: "in_app";
2671
+ sms: "sms";
2672
+ push: "push";
2673
+ }>;
2674
+ deliveredAt: z.ZodNullable<z.ZodString>;
2675
+ readAt: z.ZodNullable<z.ZodString>;
2676
+ isRead: z.ZodBoolean;
2677
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2678
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2679
+ response: z.ZodNullable<z.ZodString>;
2680
+ isBlocking: z.ZodBoolean;
2681
+ isResolved: z.ZodBoolean;
2682
+ resolvedAt: z.ZodNullable<z.ZodString>;
2683
+ returnPath: z.ZodNullable<z.ZodString>;
2684
+ createdAt: z.ZodString;
2685
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2686
+ declare const getResponseSummaryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2687
+ id: z.ZodUUID;
2688
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodNumber>, Record<never, never>, Record<never, never>>;
2689
+ declare const listResponsesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2690
+ id: z.ZodUUID;
2691
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2692
+ deliveryId: z.ZodUUID;
2693
+ userId: z.ZodUUID;
2694
+ userName: z.ZodString;
2695
+ userEmail: z.ZodString;
2696
+ response: z.ZodNullable<z.ZodString>;
2697
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2698
+ isResolved: z.ZodBoolean;
2699
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2700
+ declare const resolveBlockContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2701
+ blockId: z.ZodUUID;
2702
+ }, z.core.$strip>, z.ZodObject<{
2703
+ id: z.ZodUUID;
2704
+ userId: z.ZodUUID;
2705
+ blockType: z.ZodEnum<{
2706
+ custom: "custom";
2707
+ diary: "diary";
2708
+ notification: "notification";
2709
+ fee: "fee";
2710
+ }>;
2711
+ sourceId: z.ZodUUID;
2712
+ redirectPath: z.ZodString;
2713
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2714
+ returnPath: z.ZodNullable<z.ZodString>;
2715
+ severity: z.ZodEnum<{
2716
+ critical: "critical";
2717
+ urgent: "urgent";
2718
+ important: "important";
2719
+ info: "info";
2720
+ }>;
2721
+ isActive: z.ZodBoolean;
2722
+ activatedAt: z.ZodString;
2723
+ resolvedAt: z.ZodNullable<z.ZodString>;
2724
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
2725
+ resolvedVia: z.ZodNullable<z.ZodString>;
2726
+ requiresResponse: z.ZodBoolean;
2727
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2728
+ createdAt: z.ZodString;
2729
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2730
+ declare const notificationsContract: {
2731
+ listTemplates: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2732
+ status: z.ZodOptional<z.ZodString>;
2733
+ branchId: z.ZodOptional<z.ZodUUID>;
2734
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2735
+ id: z.ZodUUID;
2736
+ branchId: z.ZodNullable<z.ZodUUID>;
2737
+ title: z.ZodString;
2738
+ body: z.ZodString;
2739
+ urgency: z.ZodEnum<{
2740
+ critical: "critical";
2741
+ urgent: "urgent";
2742
+ important: "important";
2743
+ info: "info";
2744
+ }>;
2745
+ isBlocking: z.ZodBoolean;
2746
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2747
+ redirectPath: z.ZodNullable<z.ZodString>;
2748
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2749
+ requiresResponse: z.ZodBoolean;
2750
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2751
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2752
+ email: "email";
2753
+ in_app: "in_app";
2754
+ sms: "sms";
2755
+ push: "push";
2756
+ }>>;
2757
+ scheduledAt: z.ZodNullable<z.ZodString>;
2758
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2759
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2760
+ nextFireAt: z.ZodNullable<z.ZodString>;
2761
+ status: z.ZodEnum<{
2762
+ draft: "draft";
2763
+ pending_approval: "pending_approval";
2764
+ approved: "approved";
2765
+ scheduled: "scheduled";
2766
+ sent: "sent";
2767
+ cancelled: "cancelled";
2768
+ recurring_active: "recurring_active";
2769
+ }>;
2770
+ createdBy: z.ZodUUID;
2771
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2772
+ approvedAt: z.ZodNullable<z.ZodString>;
2773
+ sentAt: z.ZodNullable<z.ZodString>;
2774
+ createdAt: z.ZodString;
2775
+ updatedAt: z.ZodString;
2776
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2777
+ getTemplate: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2778
+ id: z.ZodUUID;
2779
+ }, z.core.$strip>, z.ZodObject<{
2780
+ id: z.ZodUUID;
2781
+ branchId: z.ZodNullable<z.ZodUUID>;
2782
+ title: z.ZodString;
2783
+ body: z.ZodString;
2784
+ urgency: z.ZodEnum<{
2785
+ critical: "critical";
2786
+ urgent: "urgent";
2787
+ important: "important";
2788
+ info: "info";
2789
+ }>;
2790
+ isBlocking: z.ZodBoolean;
2791
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2792
+ redirectPath: z.ZodNullable<z.ZodString>;
2793
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2794
+ requiresResponse: z.ZodBoolean;
2795
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2796
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2797
+ email: "email";
2798
+ in_app: "in_app";
2799
+ sms: "sms";
2800
+ push: "push";
2801
+ }>>;
2802
+ scheduledAt: z.ZodNullable<z.ZodString>;
2803
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2804
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2805
+ nextFireAt: z.ZodNullable<z.ZodString>;
2806
+ status: z.ZodEnum<{
2807
+ draft: "draft";
2808
+ pending_approval: "pending_approval";
2809
+ approved: "approved";
2810
+ scheduled: "scheduled";
2811
+ sent: "sent";
2812
+ cancelled: "cancelled";
2813
+ recurring_active: "recurring_active";
2814
+ }>;
2815
+ createdBy: z.ZodUUID;
2816
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2817
+ approvedAt: z.ZodNullable<z.ZodString>;
2818
+ sentAt: z.ZodNullable<z.ZodString>;
2819
+ createdAt: z.ZodString;
2820
+ updatedAt: z.ZodString;
2821
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2822
+ create: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2823
+ branchId: z.ZodOptional<z.ZodUUID>;
2824
+ title: z.ZodString;
2825
+ body: z.ZodString;
2826
+ urgency: z.ZodEnum<{
2827
+ critical: "critical";
2828
+ urgent: "urgent";
2829
+ important: "important";
2830
+ info: "info";
2831
+ }>;
2832
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
2833
+ deadlineHours: z.ZodOptional<z.ZodNumber>;
2834
+ redirectPath: z.ZodOptional<z.ZodString>;
2835
+ redirectParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2836
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
2837
+ responseOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2838
+ deliveryChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2839
+ email: "email";
2840
+ in_app: "in_app";
2841
+ sms: "sms";
2842
+ }>>>;
2843
+ scheduledAt: z.ZodOptional<z.ZodString>;
2844
+ recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2845
+ audience: z.ZodArray<z.ZodObject<{
2846
+ audienceType: z.ZodEnum<{
2847
+ all_branches: "all_branches";
2848
+ branch: "branch";
2849
+ grade: "grade";
2850
+ class: "class";
2851
+ role: "role";
2852
+ individual: "individual";
2853
+ }>;
2854
+ audienceId: z.ZodString;
2855
+ }, z.core.$strip>>;
2856
+ }, z.core.$strip>, z.ZodObject<{
2857
+ id: z.ZodUUID;
2858
+ branchId: z.ZodNullable<z.ZodUUID>;
2859
+ title: z.ZodString;
2860
+ body: z.ZodString;
2861
+ urgency: z.ZodEnum<{
2862
+ critical: "critical";
2863
+ urgent: "urgent";
2864
+ important: "important";
2865
+ info: "info";
2866
+ }>;
2867
+ isBlocking: z.ZodBoolean;
2868
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2869
+ redirectPath: z.ZodNullable<z.ZodString>;
2870
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2871
+ requiresResponse: z.ZodBoolean;
2872
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2873
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2874
+ email: "email";
2875
+ in_app: "in_app";
2876
+ sms: "sms";
2877
+ push: "push";
2878
+ }>>;
2879
+ scheduledAt: z.ZodNullable<z.ZodString>;
2880
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2881
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2882
+ nextFireAt: z.ZodNullable<z.ZodString>;
2883
+ status: z.ZodEnum<{
2884
+ draft: "draft";
2885
+ pending_approval: "pending_approval";
2886
+ approved: "approved";
2887
+ scheduled: "scheduled";
2888
+ sent: "sent";
2889
+ cancelled: "cancelled";
2890
+ recurring_active: "recurring_active";
2891
+ }>;
2892
+ createdBy: z.ZodUUID;
2893
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2894
+ approvedAt: z.ZodNullable<z.ZodString>;
2895
+ sentAt: z.ZodNullable<z.ZodString>;
2896
+ createdAt: z.ZodString;
2897
+ updatedAt: z.ZodString;
2898
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2899
+ submit: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2900
+ id: z.ZodUUID;
2901
+ }, z.core.$strip>, z.ZodObject<{
2902
+ id: z.ZodUUID;
2903
+ branchId: z.ZodNullable<z.ZodUUID>;
2904
+ title: z.ZodString;
2905
+ body: z.ZodString;
2906
+ urgency: z.ZodEnum<{
2907
+ critical: "critical";
2908
+ urgent: "urgent";
2909
+ important: "important";
2910
+ info: "info";
2911
+ }>;
2912
+ isBlocking: z.ZodBoolean;
2913
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2914
+ redirectPath: z.ZodNullable<z.ZodString>;
2915
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2916
+ requiresResponse: z.ZodBoolean;
2917
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2918
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2919
+ email: "email";
2920
+ in_app: "in_app";
2921
+ sms: "sms";
2922
+ push: "push";
2923
+ }>>;
2924
+ scheduledAt: z.ZodNullable<z.ZodString>;
2925
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2926
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2927
+ nextFireAt: z.ZodNullable<z.ZodString>;
2928
+ status: z.ZodEnum<{
2929
+ draft: "draft";
2930
+ pending_approval: "pending_approval";
2931
+ approved: "approved";
2932
+ scheduled: "scheduled";
2933
+ sent: "sent";
2934
+ cancelled: "cancelled";
2935
+ recurring_active: "recurring_active";
2936
+ }>;
2937
+ createdBy: z.ZodUUID;
2938
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2939
+ approvedAt: z.ZodNullable<z.ZodString>;
2940
+ sentAt: z.ZodNullable<z.ZodString>;
2941
+ createdAt: z.ZodString;
2942
+ updatedAt: z.ZodString;
2943
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2944
+ approve: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2945
+ id: z.ZodUUID;
2946
+ }, z.core.$strip>, z.ZodObject<{
2947
+ id: z.ZodUUID;
2948
+ branchId: z.ZodNullable<z.ZodUUID>;
2949
+ title: z.ZodString;
2950
+ body: z.ZodString;
2951
+ urgency: z.ZodEnum<{
2952
+ critical: "critical";
2953
+ urgent: "urgent";
2954
+ important: "important";
2955
+ info: "info";
2956
+ }>;
2957
+ isBlocking: z.ZodBoolean;
2958
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2959
+ redirectPath: z.ZodNullable<z.ZodString>;
2960
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2961
+ requiresResponse: z.ZodBoolean;
2962
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2963
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2964
+ email: "email";
2965
+ in_app: "in_app";
2966
+ sms: "sms";
2967
+ push: "push";
2968
+ }>>;
2969
+ scheduledAt: z.ZodNullable<z.ZodString>;
2970
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2971
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2972
+ nextFireAt: z.ZodNullable<z.ZodString>;
2973
+ status: z.ZodEnum<{
2974
+ draft: "draft";
2975
+ pending_approval: "pending_approval";
2976
+ approved: "approved";
2977
+ scheduled: "scheduled";
2978
+ sent: "sent";
2979
+ cancelled: "cancelled";
2980
+ recurring_active: "recurring_active";
2981
+ }>;
2982
+ createdBy: z.ZodUUID;
2983
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2984
+ approvedAt: z.ZodNullable<z.ZodString>;
2985
+ sentAt: z.ZodNullable<z.ZodString>;
2986
+ createdAt: z.ZodString;
2987
+ updatedAt: z.ZodString;
2988
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2989
+ reject: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2990
+ id: z.ZodUUID;
2991
+ reason: z.ZodOptional<z.ZodString>;
2992
+ }, z.core.$strip>, z.ZodObject<{
2993
+ id: z.ZodUUID;
2994
+ branchId: z.ZodNullable<z.ZodUUID>;
2995
+ title: z.ZodString;
2996
+ body: z.ZodString;
2997
+ urgency: z.ZodEnum<{
2998
+ critical: "critical";
2999
+ urgent: "urgent";
3000
+ important: "important";
3001
+ info: "info";
3002
+ }>;
3003
+ isBlocking: z.ZodBoolean;
3004
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
3005
+ redirectPath: z.ZodNullable<z.ZodString>;
3006
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3007
+ requiresResponse: z.ZodBoolean;
3008
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3009
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
3010
+ email: "email";
3011
+ in_app: "in_app";
3012
+ sms: "sms";
3013
+ push: "push";
3014
+ }>>;
3015
+ scheduledAt: z.ZodNullable<z.ZodString>;
3016
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3017
+ lastFiredAt: z.ZodNullable<z.ZodString>;
3018
+ nextFireAt: z.ZodNullable<z.ZodString>;
3019
+ status: z.ZodEnum<{
3020
+ draft: "draft";
3021
+ pending_approval: "pending_approval";
3022
+ approved: "approved";
3023
+ scheduled: "scheduled";
3024
+ sent: "sent";
3025
+ cancelled: "cancelled";
3026
+ recurring_active: "recurring_active";
3027
+ }>;
3028
+ createdBy: z.ZodUUID;
3029
+ approvedBy: z.ZodNullable<z.ZodUUID>;
3030
+ approvedAt: z.ZodNullable<z.ZodString>;
3031
+ sentAt: z.ZodNullable<z.ZodString>;
3032
+ createdAt: z.ZodString;
3033
+ updatedAt: z.ZodString;
3034
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3035
+ cancel: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3036
+ id: z.ZodUUID;
3037
+ }, z.core.$strip>, z.ZodObject<{
3038
+ id: z.ZodUUID;
3039
+ branchId: z.ZodNullable<z.ZodUUID>;
3040
+ title: z.ZodString;
3041
+ body: z.ZodString;
3042
+ urgency: z.ZodEnum<{
3043
+ critical: "critical";
3044
+ urgent: "urgent";
3045
+ important: "important";
3046
+ info: "info";
3047
+ }>;
3048
+ isBlocking: z.ZodBoolean;
3049
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
3050
+ redirectPath: z.ZodNullable<z.ZodString>;
3051
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3052
+ requiresResponse: z.ZodBoolean;
3053
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3054
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
3055
+ email: "email";
3056
+ in_app: "in_app";
3057
+ sms: "sms";
3058
+ push: "push";
3059
+ }>>;
3060
+ scheduledAt: z.ZodNullable<z.ZodString>;
3061
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3062
+ lastFiredAt: z.ZodNullable<z.ZodString>;
3063
+ nextFireAt: z.ZodNullable<z.ZodString>;
3064
+ status: z.ZodEnum<{
3065
+ draft: "draft";
3066
+ pending_approval: "pending_approval";
3067
+ approved: "approved";
3068
+ scheduled: "scheduled";
3069
+ sent: "sent";
3070
+ cancelled: "cancelled";
3071
+ recurring_active: "recurring_active";
3072
+ }>;
3073
+ createdBy: z.ZodUUID;
3074
+ approvedBy: z.ZodNullable<z.ZodUUID>;
3075
+ approvedAt: z.ZodNullable<z.ZodString>;
3076
+ sentAt: z.ZodNullable<z.ZodString>;
3077
+ createdAt: z.ZodString;
3078
+ updatedAt: z.ZodString;
3079
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3080
+ listDeliveries: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3081
+ isRead: z.ZodOptional<z.ZodBoolean>;
3082
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
3083
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3084
+ id: z.ZodUUID;
3085
+ notificationId: z.ZodUUID;
3086
+ userId: z.ZodUUID;
3087
+ channel: z.ZodEnum<{
3088
+ email: "email";
3089
+ in_app: "in_app";
3090
+ sms: "sms";
3091
+ push: "push";
3092
+ }>;
3093
+ deliveredAt: z.ZodNullable<z.ZodString>;
3094
+ readAt: z.ZodNullable<z.ZodString>;
3095
+ isRead: z.ZodBoolean;
3096
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3097
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3098
+ response: z.ZodNullable<z.ZodString>;
3099
+ isBlocking: z.ZodBoolean;
3100
+ isResolved: z.ZodBoolean;
3101
+ resolvedAt: z.ZodNullable<z.ZodString>;
3102
+ returnPath: z.ZodNullable<z.ZodString>;
3103
+ createdAt: z.ZodString;
3104
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3105
+ markRead: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3106
+ deliveryId: z.ZodUUID;
3107
+ }, z.core.$strip>, z.ZodObject<{
3108
+ id: z.ZodUUID;
3109
+ notificationId: z.ZodUUID;
3110
+ userId: z.ZodUUID;
3111
+ channel: z.ZodEnum<{
3112
+ email: "email";
3113
+ in_app: "in_app";
3114
+ sms: "sms";
3115
+ push: "push";
3116
+ }>;
3117
+ deliveredAt: z.ZodNullable<z.ZodString>;
3118
+ readAt: z.ZodNullable<z.ZodString>;
3119
+ isRead: z.ZodBoolean;
3120
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3121
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3122
+ response: z.ZodNullable<z.ZodString>;
3123
+ isBlocking: z.ZodBoolean;
3124
+ isResolved: z.ZodBoolean;
3125
+ resolvedAt: z.ZodNullable<z.ZodString>;
3126
+ returnPath: z.ZodNullable<z.ZodString>;
3127
+ createdAt: z.ZodString;
3128
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3129
+ markUnread: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3130
+ deliveryId: z.ZodUUID;
3131
+ }, z.core.$strip>, z.ZodObject<{
3132
+ id: z.ZodUUID;
3133
+ notificationId: z.ZodUUID;
3134
+ userId: z.ZodUUID;
3135
+ channel: z.ZodEnum<{
3136
+ email: "email";
3137
+ in_app: "in_app";
3138
+ sms: "sms";
3139
+ push: "push";
3140
+ }>;
3141
+ deliveredAt: z.ZodNullable<z.ZodString>;
3142
+ readAt: z.ZodNullable<z.ZodString>;
3143
+ isRead: z.ZodBoolean;
3144
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3145
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3146
+ response: z.ZodNullable<z.ZodString>;
3147
+ isBlocking: z.ZodBoolean;
3148
+ isResolved: z.ZodBoolean;
3149
+ resolvedAt: z.ZodNullable<z.ZodString>;
3150
+ returnPath: z.ZodNullable<z.ZodString>;
3151
+ createdAt: z.ZodString;
3152
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3153
+ acknowledge: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3154
+ deliveryId: z.ZodUUID;
3155
+ response: z.ZodOptional<z.ZodString>;
3156
+ }, z.core.$strip>, z.ZodObject<{
3157
+ id: z.ZodUUID;
3158
+ notificationId: z.ZodUUID;
3159
+ userId: z.ZodUUID;
3160
+ channel: z.ZodEnum<{
3161
+ email: "email";
3162
+ in_app: "in_app";
3163
+ sms: "sms";
3164
+ push: "push";
3165
+ }>;
3166
+ deliveredAt: z.ZodNullable<z.ZodString>;
3167
+ readAt: z.ZodNullable<z.ZodString>;
3168
+ isRead: z.ZodBoolean;
3169
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3170
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3171
+ response: z.ZodNullable<z.ZodString>;
3172
+ isBlocking: z.ZodBoolean;
3173
+ isResolved: z.ZodBoolean;
3174
+ resolvedAt: z.ZodNullable<z.ZodString>;
3175
+ returnPath: z.ZodNullable<z.ZodString>;
3176
+ createdAt: z.ZodString;
3177
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3178
+ respond: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3179
+ deliveryId: z.ZodUUID;
3180
+ response: z.ZodString;
3181
+ }, z.core.$strip>, z.ZodObject<{
3182
+ id: z.ZodUUID;
3183
+ notificationId: z.ZodUUID;
3184
+ userId: z.ZodUUID;
3185
+ channel: z.ZodEnum<{
3186
+ email: "email";
3187
+ in_app: "in_app";
3188
+ sms: "sms";
3189
+ push: "push";
3190
+ }>;
3191
+ deliveredAt: z.ZodNullable<z.ZodString>;
3192
+ readAt: z.ZodNullable<z.ZodString>;
3193
+ isRead: z.ZodBoolean;
3194
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3195
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3196
+ response: z.ZodNullable<z.ZodString>;
3197
+ isBlocking: z.ZodBoolean;
3198
+ isResolved: z.ZodBoolean;
3199
+ resolvedAt: z.ZodNullable<z.ZodString>;
3200
+ returnPath: z.ZodNullable<z.ZodString>;
3201
+ createdAt: z.ZodString;
3202
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3203
+ getResponseSummary: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3204
+ id: z.ZodUUID;
3205
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodNumber>, Record<never, never>, Record<never, never>>;
3206
+ listResponses: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3207
+ id: z.ZodUUID;
3208
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3209
+ deliveryId: z.ZodUUID;
3210
+ userId: z.ZodUUID;
3211
+ userName: z.ZodString;
3212
+ userEmail: z.ZodString;
3213
+ response: z.ZodNullable<z.ZodString>;
3214
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3215
+ isResolved: z.ZodBoolean;
3216
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3217
+ resolveBlock: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3218
+ blockId: z.ZodUUID;
3219
+ }, z.core.$strip>, z.ZodObject<{
3220
+ id: z.ZodUUID;
3221
+ userId: z.ZodUUID;
3222
+ blockType: z.ZodEnum<{
3223
+ custom: "custom";
3224
+ diary: "diary";
3225
+ notification: "notification";
3226
+ fee: "fee";
3227
+ }>;
3228
+ sourceId: z.ZodUUID;
3229
+ redirectPath: z.ZodString;
3230
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3231
+ returnPath: z.ZodNullable<z.ZodString>;
3232
+ severity: z.ZodEnum<{
3233
+ critical: "critical";
3234
+ urgent: "urgent";
3235
+ important: "important";
3236
+ info: "info";
3237
+ }>;
3238
+ isActive: z.ZodBoolean;
3239
+ activatedAt: z.ZodString;
3240
+ resolvedAt: z.ZodNullable<z.ZodString>;
3241
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3242
+ resolvedVia: z.ZodNullable<z.ZodString>;
3243
+ requiresResponse: z.ZodBoolean;
3244
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3245
+ createdAt: z.ZodString;
3246
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3247
+ };
3248
+ declare const listActiveBlocksContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
3249
+ id: z.ZodUUID;
3250
+ userId: z.ZodUUID;
3251
+ blockType: z.ZodEnum<{
3252
+ custom: "custom";
3253
+ diary: "diary";
3254
+ notification: "notification";
3255
+ fee: "fee";
3256
+ }>;
3257
+ sourceId: z.ZodUUID;
3258
+ redirectPath: z.ZodString;
3259
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3260
+ returnPath: z.ZodNullable<z.ZodString>;
3261
+ severity: z.ZodEnum<{
3262
+ critical: "critical";
3263
+ urgent: "urgent";
3264
+ important: "important";
3265
+ info: "info";
3266
+ }>;
3267
+ isActive: z.ZodBoolean;
3268
+ activatedAt: z.ZodString;
3269
+ resolvedAt: z.ZodNullable<z.ZodString>;
3270
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3271
+ resolvedVia: z.ZodNullable<z.ZodString>;
3272
+ requiresResponse: z.ZodBoolean;
3273
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3274
+ createdAt: z.ZodString;
3275
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3276
+ declare const resolveBlockAltContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3277
+ blockId: z.ZodUUID;
3278
+ }, z.core.$strip>, z.ZodObject<{
3279
+ id: z.ZodUUID;
3280
+ userId: z.ZodUUID;
3281
+ blockType: z.ZodEnum<{
3282
+ custom: "custom";
3283
+ diary: "diary";
3284
+ notification: "notification";
3285
+ fee: "fee";
3286
+ }>;
3287
+ sourceId: z.ZodUUID;
3288
+ redirectPath: z.ZodString;
3289
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3290
+ returnPath: z.ZodNullable<z.ZodString>;
3291
+ severity: z.ZodEnum<{
3292
+ critical: "critical";
3293
+ urgent: "urgent";
3294
+ important: "important";
3295
+ info: "info";
3296
+ }>;
3297
+ isActive: z.ZodBoolean;
3298
+ activatedAt: z.ZodString;
3299
+ resolvedAt: z.ZodNullable<z.ZodString>;
3300
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3301
+ resolvedVia: z.ZodNullable<z.ZodString>;
3302
+ requiresResponse: z.ZodBoolean;
3303
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3304
+ createdAt: z.ZodString;
3305
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3306
+ declare const respondToBlockContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3307
+ blockId: z.ZodUUID;
3308
+ response: z.ZodString;
3309
+ }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3310
+ declare const blocksContract: {
3311
+ listActive: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
3312
+ id: z.ZodUUID;
3313
+ userId: z.ZodUUID;
3314
+ blockType: z.ZodEnum<{
3315
+ custom: "custom";
3316
+ diary: "diary";
3317
+ notification: "notification";
3318
+ fee: "fee";
3319
+ }>;
3320
+ sourceId: z.ZodUUID;
3321
+ redirectPath: z.ZodString;
3322
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3323
+ returnPath: z.ZodNullable<z.ZodString>;
3324
+ severity: z.ZodEnum<{
3325
+ critical: "critical";
3326
+ urgent: "urgent";
3327
+ important: "important";
3328
+ info: "info";
3329
+ }>;
3330
+ isActive: z.ZodBoolean;
3331
+ activatedAt: z.ZodString;
3332
+ resolvedAt: z.ZodNullable<z.ZodString>;
3333
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3334
+ resolvedVia: z.ZodNullable<z.ZodString>;
3335
+ requiresResponse: z.ZodBoolean;
3336
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3337
+ createdAt: z.ZodString;
3338
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3339
+ resolve: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3340
+ blockId: z.ZodUUID;
3341
+ }, z.core.$strip>, z.ZodObject<{
3342
+ id: z.ZodUUID;
3343
+ userId: z.ZodUUID;
3344
+ blockType: z.ZodEnum<{
3345
+ custom: "custom";
3346
+ diary: "diary";
3347
+ notification: "notification";
3348
+ fee: "fee";
3349
+ }>;
3350
+ sourceId: z.ZodUUID;
3351
+ redirectPath: z.ZodString;
3352
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3353
+ returnPath: z.ZodNullable<z.ZodString>;
3354
+ severity: z.ZodEnum<{
3355
+ critical: "critical";
3356
+ urgent: "urgent";
3357
+ important: "important";
3358
+ info: "info";
3359
+ }>;
3360
+ isActive: z.ZodBoolean;
3361
+ activatedAt: z.ZodString;
3362
+ resolvedAt: z.ZodNullable<z.ZodString>;
3363
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3364
+ resolvedVia: z.ZodNullable<z.ZodString>;
3365
+ requiresResponse: z.ZodBoolean;
3366
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3367
+ createdAt: z.ZodString;
3368
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3369
+ respond: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3370
+ blockId: z.ZodUUID;
3371
+ response: z.ZodString;
3372
+ }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3373
+ };
3374
+
3375
+ export { acknowledgeContract, acknowledgeDiaryEntryContract, approveContract, approveLiftContract, attendanceContract, authContract, bankingContract, blocksContract, bulkUploadStudentsContract, calendarContract, calendarListTermsContract, cancelContract, changePasswordContract, createBankAccountContract, createCategoryContract, createDepartmentContract, createEntryContract, createGradeContract, createNotificationContract, createStaffContract, createStudentContract, createTermContract, createYearContract, deactivateContract, diaryContract, getByClassContract, getByIdContract, getByStudentContract, getEntryContract, getMeContract, getResponseSummaryContract, getStaffByIdContract, getStudentByIdContract, getTemplateContract, gradesContract, hrContract, linkGuardianContract, listAccountsContract, listAcknowledgementsContract, listActiveBlocksContract, listBanksContract, listCategoriesContract, listClassesContract, listDeliveriesContract, listDepartmentsContract, listEntriesContract, listForGuardianContract, listGradesContract, listResponsesContract, listStaffContract, listStudentsContract, listTemplatesContract, listTermsContract, listYearsContract, loginContract, logoutContract, markAttendanceContract, markReadContract, markUnreadContract, notificationsContract, refreshTokenContract, rejectContract, requestLiftContract, requestPasswordResetContract, resetPasswordContract, resolveBlockAltContract, resolveBlockContract, respondContract, respondToBlockContract, respondToDiaryEntryContract, setCurrentTermContract, setCurrentYearContract, setDefaultContract, studentsContract, submitContract, switchBranchContract, updateBankAccountContract, updateCategoryContract, updateStaffStatusContract };