@brite-future-schools-contracts/contracts 2.0.26 → 2.0.30

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,2087 @@ 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
+ push: "push";
2326
+ }>>>;
2327
+ scheduledAt: z.ZodOptional<z.ZodString>;
2328
+ recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2329
+ audience: z.ZodArray<z.ZodObject<{
2330
+ audienceType: z.ZodEnum<{
2331
+ all_branches: "all_branches";
2332
+ branch: "branch";
2333
+ grade: "grade";
2334
+ class: "class";
2335
+ role: "role";
2336
+ individual: "individual";
2337
+ }>;
2338
+ audienceId: z.ZodString;
2339
+ }, z.core.$strip>>;
2340
+ }, z.core.$strip>, z.ZodObject<{
2341
+ id: z.ZodUUID;
2342
+ branchId: z.ZodNullable<z.ZodUUID>;
2343
+ title: z.ZodString;
2344
+ body: z.ZodString;
2345
+ urgency: z.ZodEnum<{
2346
+ critical: "critical";
2347
+ urgent: "urgent";
2348
+ important: "important";
2349
+ info: "info";
2350
+ }>;
2351
+ isBlocking: z.ZodBoolean;
2352
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2353
+ redirectPath: z.ZodNullable<z.ZodString>;
2354
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2355
+ requiresResponse: z.ZodBoolean;
2356
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2357
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2358
+ email: "email";
2359
+ in_app: "in_app";
2360
+ sms: "sms";
2361
+ push: "push";
2362
+ }>>;
2363
+ scheduledAt: z.ZodNullable<z.ZodString>;
2364
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2365
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2366
+ nextFireAt: z.ZodNullable<z.ZodString>;
2367
+ status: z.ZodEnum<{
2368
+ draft: "draft";
2369
+ pending_approval: "pending_approval";
2370
+ approved: "approved";
2371
+ scheduled: "scheduled";
2372
+ sent: "sent";
2373
+ cancelled: "cancelled";
2374
+ recurring_active: "recurring_active";
2375
+ }>;
2376
+ createdBy: z.ZodUUID;
2377
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2378
+ approvedAt: z.ZodNullable<z.ZodString>;
2379
+ sentAt: z.ZodNullable<z.ZodString>;
2380
+ createdAt: z.ZodString;
2381
+ updatedAt: z.ZodString;
2382
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2383
+ declare const submitContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2384
+ id: z.ZodUUID;
2385
+ }, z.core.$strip>, z.ZodObject<{
2386
+ id: z.ZodUUID;
2387
+ branchId: z.ZodNullable<z.ZodUUID>;
2388
+ title: z.ZodString;
2389
+ body: z.ZodString;
2390
+ urgency: z.ZodEnum<{
2391
+ critical: "critical";
2392
+ urgent: "urgent";
2393
+ important: "important";
2394
+ info: "info";
2395
+ }>;
2396
+ isBlocking: z.ZodBoolean;
2397
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2398
+ redirectPath: z.ZodNullable<z.ZodString>;
2399
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2400
+ requiresResponse: z.ZodBoolean;
2401
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2402
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2403
+ email: "email";
2404
+ in_app: "in_app";
2405
+ sms: "sms";
2406
+ push: "push";
2407
+ }>>;
2408
+ scheduledAt: z.ZodNullable<z.ZodString>;
2409
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2410
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2411
+ nextFireAt: z.ZodNullable<z.ZodString>;
2412
+ status: z.ZodEnum<{
2413
+ draft: "draft";
2414
+ pending_approval: "pending_approval";
2415
+ approved: "approved";
2416
+ scheduled: "scheduled";
2417
+ sent: "sent";
2418
+ cancelled: "cancelled";
2419
+ recurring_active: "recurring_active";
2420
+ }>;
2421
+ createdBy: z.ZodUUID;
2422
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2423
+ approvedAt: z.ZodNullable<z.ZodString>;
2424
+ sentAt: z.ZodNullable<z.ZodString>;
2425
+ createdAt: z.ZodString;
2426
+ updatedAt: z.ZodString;
2427
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2428
+ declare const approveContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2429
+ id: z.ZodUUID;
2430
+ }, z.core.$strip>, z.ZodObject<{
2431
+ id: z.ZodUUID;
2432
+ branchId: z.ZodNullable<z.ZodUUID>;
2433
+ title: z.ZodString;
2434
+ body: z.ZodString;
2435
+ urgency: z.ZodEnum<{
2436
+ critical: "critical";
2437
+ urgent: "urgent";
2438
+ important: "important";
2439
+ info: "info";
2440
+ }>;
2441
+ isBlocking: z.ZodBoolean;
2442
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2443
+ redirectPath: z.ZodNullable<z.ZodString>;
2444
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2445
+ requiresResponse: z.ZodBoolean;
2446
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2447
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2448
+ email: "email";
2449
+ in_app: "in_app";
2450
+ sms: "sms";
2451
+ push: "push";
2452
+ }>>;
2453
+ scheduledAt: z.ZodNullable<z.ZodString>;
2454
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2455
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2456
+ nextFireAt: z.ZodNullable<z.ZodString>;
2457
+ status: z.ZodEnum<{
2458
+ draft: "draft";
2459
+ pending_approval: "pending_approval";
2460
+ approved: "approved";
2461
+ scheduled: "scheduled";
2462
+ sent: "sent";
2463
+ cancelled: "cancelled";
2464
+ recurring_active: "recurring_active";
2465
+ }>;
2466
+ createdBy: z.ZodUUID;
2467
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2468
+ approvedAt: z.ZodNullable<z.ZodString>;
2469
+ sentAt: z.ZodNullable<z.ZodString>;
2470
+ createdAt: z.ZodString;
2471
+ updatedAt: z.ZodString;
2472
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2473
+ declare const rejectContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2474
+ id: z.ZodUUID;
2475
+ reason: z.ZodOptional<z.ZodString>;
2476
+ }, z.core.$strip>, z.ZodObject<{
2477
+ id: z.ZodUUID;
2478
+ branchId: z.ZodNullable<z.ZodUUID>;
2479
+ title: z.ZodString;
2480
+ body: z.ZodString;
2481
+ urgency: z.ZodEnum<{
2482
+ critical: "critical";
2483
+ urgent: "urgent";
2484
+ important: "important";
2485
+ info: "info";
2486
+ }>;
2487
+ isBlocking: z.ZodBoolean;
2488
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2489
+ redirectPath: z.ZodNullable<z.ZodString>;
2490
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2491
+ requiresResponse: z.ZodBoolean;
2492
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2493
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2494
+ email: "email";
2495
+ in_app: "in_app";
2496
+ sms: "sms";
2497
+ push: "push";
2498
+ }>>;
2499
+ scheduledAt: z.ZodNullable<z.ZodString>;
2500
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2501
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2502
+ nextFireAt: z.ZodNullable<z.ZodString>;
2503
+ status: z.ZodEnum<{
2504
+ draft: "draft";
2505
+ pending_approval: "pending_approval";
2506
+ approved: "approved";
2507
+ scheduled: "scheduled";
2508
+ sent: "sent";
2509
+ cancelled: "cancelled";
2510
+ recurring_active: "recurring_active";
2511
+ }>;
2512
+ createdBy: z.ZodUUID;
2513
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2514
+ approvedAt: z.ZodNullable<z.ZodString>;
2515
+ sentAt: z.ZodNullable<z.ZodString>;
2516
+ createdAt: z.ZodString;
2517
+ updatedAt: z.ZodString;
2518
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2519
+ declare const cancelContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2520
+ id: z.ZodUUID;
2521
+ }, z.core.$strip>, z.ZodObject<{
2522
+ id: z.ZodUUID;
2523
+ branchId: z.ZodNullable<z.ZodUUID>;
2524
+ title: z.ZodString;
2525
+ body: z.ZodString;
2526
+ urgency: z.ZodEnum<{
2527
+ critical: "critical";
2528
+ urgent: "urgent";
2529
+ important: "important";
2530
+ info: "info";
2531
+ }>;
2532
+ isBlocking: z.ZodBoolean;
2533
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2534
+ redirectPath: z.ZodNullable<z.ZodString>;
2535
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2536
+ requiresResponse: z.ZodBoolean;
2537
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2538
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2539
+ email: "email";
2540
+ in_app: "in_app";
2541
+ sms: "sms";
2542
+ push: "push";
2543
+ }>>;
2544
+ scheduledAt: z.ZodNullable<z.ZodString>;
2545
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2546
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2547
+ nextFireAt: z.ZodNullable<z.ZodString>;
2548
+ status: z.ZodEnum<{
2549
+ draft: "draft";
2550
+ pending_approval: "pending_approval";
2551
+ approved: "approved";
2552
+ scheduled: "scheduled";
2553
+ sent: "sent";
2554
+ cancelled: "cancelled";
2555
+ recurring_active: "recurring_active";
2556
+ }>;
2557
+ createdBy: z.ZodUUID;
2558
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2559
+ approvedAt: z.ZodNullable<z.ZodString>;
2560
+ sentAt: z.ZodNullable<z.ZodString>;
2561
+ createdAt: z.ZodString;
2562
+ updatedAt: z.ZodString;
2563
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2564
+ declare const listDeliveriesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2565
+ isRead: z.ZodOptional<z.ZodBoolean>;
2566
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
2567
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2568
+ id: z.ZodUUID;
2569
+ notificationId: z.ZodUUID;
2570
+ userId: z.ZodUUID;
2571
+ channel: z.ZodEnum<{
2572
+ email: "email";
2573
+ in_app: "in_app";
2574
+ sms: "sms";
2575
+ push: "push";
2576
+ }>;
2577
+ deliveredAt: z.ZodNullable<z.ZodString>;
2578
+ readAt: z.ZodNullable<z.ZodString>;
2579
+ isRead: z.ZodBoolean;
2580
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2581
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2582
+ response: z.ZodNullable<z.ZodString>;
2583
+ isBlocking: z.ZodBoolean;
2584
+ isResolved: z.ZodBoolean;
2585
+ resolvedAt: z.ZodNullable<z.ZodString>;
2586
+ returnPath: z.ZodNullable<z.ZodString>;
2587
+ createdAt: z.ZodString;
2588
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2589
+ declare const markReadContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2590
+ deliveryId: z.ZodUUID;
2591
+ }, z.core.$strip>, z.ZodObject<{
2592
+ id: z.ZodUUID;
2593
+ notificationId: z.ZodUUID;
2594
+ userId: z.ZodUUID;
2595
+ channel: z.ZodEnum<{
2596
+ email: "email";
2597
+ in_app: "in_app";
2598
+ sms: "sms";
2599
+ push: "push";
2600
+ }>;
2601
+ deliveredAt: z.ZodNullable<z.ZodString>;
2602
+ readAt: z.ZodNullable<z.ZodString>;
2603
+ isRead: z.ZodBoolean;
2604
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2605
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2606
+ response: z.ZodNullable<z.ZodString>;
2607
+ isBlocking: z.ZodBoolean;
2608
+ isResolved: z.ZodBoolean;
2609
+ resolvedAt: z.ZodNullable<z.ZodString>;
2610
+ returnPath: z.ZodNullable<z.ZodString>;
2611
+ createdAt: z.ZodString;
2612
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2613
+ declare const markUnreadContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2614
+ deliveryId: z.ZodUUID;
2615
+ }, z.core.$strip>, z.ZodObject<{
2616
+ id: z.ZodUUID;
2617
+ notificationId: z.ZodUUID;
2618
+ userId: z.ZodUUID;
2619
+ channel: z.ZodEnum<{
2620
+ email: "email";
2621
+ in_app: "in_app";
2622
+ sms: "sms";
2623
+ push: "push";
2624
+ }>;
2625
+ deliveredAt: z.ZodNullable<z.ZodString>;
2626
+ readAt: z.ZodNullable<z.ZodString>;
2627
+ isRead: z.ZodBoolean;
2628
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2629
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2630
+ response: z.ZodNullable<z.ZodString>;
2631
+ isBlocking: z.ZodBoolean;
2632
+ isResolved: z.ZodBoolean;
2633
+ resolvedAt: z.ZodNullable<z.ZodString>;
2634
+ returnPath: z.ZodNullable<z.ZodString>;
2635
+ createdAt: z.ZodString;
2636
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2637
+ declare const acknowledgeContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2638
+ deliveryId: z.ZodUUID;
2639
+ response: z.ZodOptional<z.ZodString>;
2640
+ }, z.core.$strip>, z.ZodObject<{
2641
+ id: z.ZodUUID;
2642
+ notificationId: z.ZodUUID;
2643
+ userId: z.ZodUUID;
2644
+ channel: z.ZodEnum<{
2645
+ email: "email";
2646
+ in_app: "in_app";
2647
+ sms: "sms";
2648
+ push: "push";
2649
+ }>;
2650
+ deliveredAt: z.ZodNullable<z.ZodString>;
2651
+ readAt: z.ZodNullable<z.ZodString>;
2652
+ isRead: z.ZodBoolean;
2653
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2654
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2655
+ response: z.ZodNullable<z.ZodString>;
2656
+ isBlocking: z.ZodBoolean;
2657
+ isResolved: z.ZodBoolean;
2658
+ resolvedAt: z.ZodNullable<z.ZodString>;
2659
+ returnPath: z.ZodNullable<z.ZodString>;
2660
+ createdAt: z.ZodString;
2661
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2662
+ declare const respondContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2663
+ deliveryId: z.ZodUUID;
2664
+ response: z.ZodString;
2665
+ }, z.core.$strip>, z.ZodObject<{
2666
+ id: z.ZodUUID;
2667
+ notificationId: z.ZodUUID;
2668
+ userId: z.ZodUUID;
2669
+ channel: z.ZodEnum<{
2670
+ email: "email";
2671
+ in_app: "in_app";
2672
+ sms: "sms";
2673
+ push: "push";
2674
+ }>;
2675
+ deliveredAt: z.ZodNullable<z.ZodString>;
2676
+ readAt: z.ZodNullable<z.ZodString>;
2677
+ isRead: z.ZodBoolean;
2678
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
2679
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2680
+ response: z.ZodNullable<z.ZodString>;
2681
+ isBlocking: z.ZodBoolean;
2682
+ isResolved: z.ZodBoolean;
2683
+ resolvedAt: z.ZodNullable<z.ZodString>;
2684
+ returnPath: z.ZodNullable<z.ZodString>;
2685
+ createdAt: z.ZodString;
2686
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2687
+ declare const getResponseSummaryContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2688
+ id: z.ZodUUID;
2689
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodNumber>, Record<never, never>, Record<never, never>>;
2690
+ declare const listResponsesContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2691
+ id: z.ZodUUID;
2692
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2693
+ deliveryId: z.ZodUUID;
2694
+ userId: z.ZodUUID;
2695
+ userName: z.ZodString;
2696
+ userEmail: z.ZodString;
2697
+ response: z.ZodNullable<z.ZodString>;
2698
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
2699
+ isResolved: z.ZodBoolean;
2700
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2701
+ declare const resolveBlockContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2702
+ blockId: z.ZodUUID;
2703
+ }, z.core.$strip>, z.ZodObject<{
2704
+ id: z.ZodUUID;
2705
+ userId: z.ZodUUID;
2706
+ blockType: z.ZodEnum<{
2707
+ custom: "custom";
2708
+ diary: "diary";
2709
+ notification: "notification";
2710
+ fee: "fee";
2711
+ }>;
2712
+ sourceId: z.ZodUUID;
2713
+ redirectPath: z.ZodString;
2714
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2715
+ returnPath: z.ZodNullable<z.ZodString>;
2716
+ severity: z.ZodEnum<{
2717
+ critical: "critical";
2718
+ urgent: "urgent";
2719
+ important: "important";
2720
+ info: "info";
2721
+ }>;
2722
+ isActive: z.ZodBoolean;
2723
+ activatedAt: z.ZodString;
2724
+ resolvedAt: z.ZodNullable<z.ZodString>;
2725
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
2726
+ resolvedVia: z.ZodNullable<z.ZodString>;
2727
+ requiresResponse: z.ZodBoolean;
2728
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2729
+ createdAt: z.ZodString;
2730
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2731
+ declare const notificationsContract: {
2732
+ listTemplates: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2733
+ status: z.ZodOptional<z.ZodString>;
2734
+ branchId: z.ZodOptional<z.ZodUUID>;
2735
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
2736
+ id: z.ZodUUID;
2737
+ branchId: z.ZodNullable<z.ZodUUID>;
2738
+ title: z.ZodString;
2739
+ body: z.ZodString;
2740
+ urgency: z.ZodEnum<{
2741
+ critical: "critical";
2742
+ urgent: "urgent";
2743
+ important: "important";
2744
+ info: "info";
2745
+ }>;
2746
+ isBlocking: z.ZodBoolean;
2747
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2748
+ redirectPath: z.ZodNullable<z.ZodString>;
2749
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2750
+ requiresResponse: z.ZodBoolean;
2751
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2752
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2753
+ email: "email";
2754
+ in_app: "in_app";
2755
+ sms: "sms";
2756
+ push: "push";
2757
+ }>>;
2758
+ scheduledAt: z.ZodNullable<z.ZodString>;
2759
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2760
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2761
+ nextFireAt: z.ZodNullable<z.ZodString>;
2762
+ status: z.ZodEnum<{
2763
+ draft: "draft";
2764
+ pending_approval: "pending_approval";
2765
+ approved: "approved";
2766
+ scheduled: "scheduled";
2767
+ sent: "sent";
2768
+ cancelled: "cancelled";
2769
+ recurring_active: "recurring_active";
2770
+ }>;
2771
+ createdBy: z.ZodUUID;
2772
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2773
+ approvedAt: z.ZodNullable<z.ZodString>;
2774
+ sentAt: z.ZodNullable<z.ZodString>;
2775
+ createdAt: z.ZodString;
2776
+ updatedAt: z.ZodString;
2777
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
2778
+ getTemplate: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2779
+ id: z.ZodUUID;
2780
+ }, z.core.$strip>, z.ZodObject<{
2781
+ id: z.ZodUUID;
2782
+ branchId: z.ZodNullable<z.ZodUUID>;
2783
+ title: z.ZodString;
2784
+ body: z.ZodString;
2785
+ urgency: z.ZodEnum<{
2786
+ critical: "critical";
2787
+ urgent: "urgent";
2788
+ important: "important";
2789
+ info: "info";
2790
+ }>;
2791
+ isBlocking: z.ZodBoolean;
2792
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2793
+ redirectPath: z.ZodNullable<z.ZodString>;
2794
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2795
+ requiresResponse: z.ZodBoolean;
2796
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2797
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2798
+ email: "email";
2799
+ in_app: "in_app";
2800
+ sms: "sms";
2801
+ push: "push";
2802
+ }>>;
2803
+ scheduledAt: z.ZodNullable<z.ZodString>;
2804
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2805
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2806
+ nextFireAt: z.ZodNullable<z.ZodString>;
2807
+ status: z.ZodEnum<{
2808
+ draft: "draft";
2809
+ pending_approval: "pending_approval";
2810
+ approved: "approved";
2811
+ scheduled: "scheduled";
2812
+ sent: "sent";
2813
+ cancelled: "cancelled";
2814
+ recurring_active: "recurring_active";
2815
+ }>;
2816
+ createdBy: z.ZodUUID;
2817
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2818
+ approvedAt: z.ZodNullable<z.ZodString>;
2819
+ sentAt: z.ZodNullable<z.ZodString>;
2820
+ createdAt: z.ZodString;
2821
+ updatedAt: z.ZodString;
2822
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2823
+ create: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2824
+ branchId: z.ZodOptional<z.ZodUUID>;
2825
+ title: z.ZodString;
2826
+ body: z.ZodString;
2827
+ urgency: z.ZodEnum<{
2828
+ critical: "critical";
2829
+ urgent: "urgent";
2830
+ important: "important";
2831
+ info: "info";
2832
+ }>;
2833
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
2834
+ deadlineHours: z.ZodOptional<z.ZodNumber>;
2835
+ redirectPath: z.ZodOptional<z.ZodString>;
2836
+ redirectParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2837
+ requiresResponse: z.ZodOptional<z.ZodBoolean>;
2838
+ responseOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
2839
+ deliveryChannels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2840
+ email: "email";
2841
+ in_app: "in_app";
2842
+ sms: "sms";
2843
+ push: "push";
2844
+ }>>>;
2845
+ scheduledAt: z.ZodOptional<z.ZodString>;
2846
+ recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2847
+ audience: z.ZodArray<z.ZodObject<{
2848
+ audienceType: z.ZodEnum<{
2849
+ all_branches: "all_branches";
2850
+ branch: "branch";
2851
+ grade: "grade";
2852
+ class: "class";
2853
+ role: "role";
2854
+ individual: "individual";
2855
+ }>;
2856
+ audienceId: z.ZodString;
2857
+ }, z.core.$strip>>;
2858
+ }, z.core.$strip>, z.ZodObject<{
2859
+ id: z.ZodUUID;
2860
+ branchId: z.ZodNullable<z.ZodUUID>;
2861
+ title: z.ZodString;
2862
+ body: z.ZodString;
2863
+ urgency: z.ZodEnum<{
2864
+ critical: "critical";
2865
+ urgent: "urgent";
2866
+ important: "important";
2867
+ info: "info";
2868
+ }>;
2869
+ isBlocking: z.ZodBoolean;
2870
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2871
+ redirectPath: z.ZodNullable<z.ZodString>;
2872
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2873
+ requiresResponse: z.ZodBoolean;
2874
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2875
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2876
+ email: "email";
2877
+ in_app: "in_app";
2878
+ sms: "sms";
2879
+ push: "push";
2880
+ }>>;
2881
+ scheduledAt: z.ZodNullable<z.ZodString>;
2882
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2883
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2884
+ nextFireAt: z.ZodNullable<z.ZodString>;
2885
+ status: z.ZodEnum<{
2886
+ draft: "draft";
2887
+ pending_approval: "pending_approval";
2888
+ approved: "approved";
2889
+ scheduled: "scheduled";
2890
+ sent: "sent";
2891
+ cancelled: "cancelled";
2892
+ recurring_active: "recurring_active";
2893
+ }>;
2894
+ createdBy: z.ZodUUID;
2895
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2896
+ approvedAt: z.ZodNullable<z.ZodString>;
2897
+ sentAt: z.ZodNullable<z.ZodString>;
2898
+ createdAt: z.ZodString;
2899
+ updatedAt: z.ZodString;
2900
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2901
+ submit: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2902
+ id: z.ZodUUID;
2903
+ }, z.core.$strip>, z.ZodObject<{
2904
+ id: z.ZodUUID;
2905
+ branchId: z.ZodNullable<z.ZodUUID>;
2906
+ title: z.ZodString;
2907
+ body: z.ZodString;
2908
+ urgency: z.ZodEnum<{
2909
+ critical: "critical";
2910
+ urgent: "urgent";
2911
+ important: "important";
2912
+ info: "info";
2913
+ }>;
2914
+ isBlocking: z.ZodBoolean;
2915
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2916
+ redirectPath: z.ZodNullable<z.ZodString>;
2917
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2918
+ requiresResponse: z.ZodBoolean;
2919
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2920
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2921
+ email: "email";
2922
+ in_app: "in_app";
2923
+ sms: "sms";
2924
+ push: "push";
2925
+ }>>;
2926
+ scheduledAt: z.ZodNullable<z.ZodString>;
2927
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2928
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2929
+ nextFireAt: z.ZodNullable<z.ZodString>;
2930
+ status: z.ZodEnum<{
2931
+ draft: "draft";
2932
+ pending_approval: "pending_approval";
2933
+ approved: "approved";
2934
+ scheduled: "scheduled";
2935
+ sent: "sent";
2936
+ cancelled: "cancelled";
2937
+ recurring_active: "recurring_active";
2938
+ }>;
2939
+ createdBy: z.ZodUUID;
2940
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2941
+ approvedAt: z.ZodNullable<z.ZodString>;
2942
+ sentAt: z.ZodNullable<z.ZodString>;
2943
+ createdAt: z.ZodString;
2944
+ updatedAt: z.ZodString;
2945
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2946
+ approve: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2947
+ id: z.ZodUUID;
2948
+ }, z.core.$strip>, z.ZodObject<{
2949
+ id: z.ZodUUID;
2950
+ branchId: z.ZodNullable<z.ZodUUID>;
2951
+ title: z.ZodString;
2952
+ body: z.ZodString;
2953
+ urgency: z.ZodEnum<{
2954
+ critical: "critical";
2955
+ urgent: "urgent";
2956
+ important: "important";
2957
+ info: "info";
2958
+ }>;
2959
+ isBlocking: z.ZodBoolean;
2960
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
2961
+ redirectPath: z.ZodNullable<z.ZodString>;
2962
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2963
+ requiresResponse: z.ZodBoolean;
2964
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
2965
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
2966
+ email: "email";
2967
+ in_app: "in_app";
2968
+ sms: "sms";
2969
+ push: "push";
2970
+ }>>;
2971
+ scheduledAt: z.ZodNullable<z.ZodString>;
2972
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2973
+ lastFiredAt: z.ZodNullable<z.ZodString>;
2974
+ nextFireAt: z.ZodNullable<z.ZodString>;
2975
+ status: z.ZodEnum<{
2976
+ draft: "draft";
2977
+ pending_approval: "pending_approval";
2978
+ approved: "approved";
2979
+ scheduled: "scheduled";
2980
+ sent: "sent";
2981
+ cancelled: "cancelled";
2982
+ recurring_active: "recurring_active";
2983
+ }>;
2984
+ createdBy: z.ZodUUID;
2985
+ approvedBy: z.ZodNullable<z.ZodUUID>;
2986
+ approvedAt: z.ZodNullable<z.ZodString>;
2987
+ sentAt: z.ZodNullable<z.ZodString>;
2988
+ createdAt: z.ZodString;
2989
+ updatedAt: z.ZodString;
2990
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
2991
+ reject: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
2992
+ id: z.ZodUUID;
2993
+ reason: z.ZodOptional<z.ZodString>;
2994
+ }, z.core.$strip>, z.ZodObject<{
2995
+ id: z.ZodUUID;
2996
+ branchId: z.ZodNullable<z.ZodUUID>;
2997
+ title: z.ZodString;
2998
+ body: z.ZodString;
2999
+ urgency: z.ZodEnum<{
3000
+ critical: "critical";
3001
+ urgent: "urgent";
3002
+ important: "important";
3003
+ info: "info";
3004
+ }>;
3005
+ isBlocking: z.ZodBoolean;
3006
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
3007
+ redirectPath: z.ZodNullable<z.ZodString>;
3008
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3009
+ requiresResponse: z.ZodBoolean;
3010
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3011
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
3012
+ email: "email";
3013
+ in_app: "in_app";
3014
+ sms: "sms";
3015
+ push: "push";
3016
+ }>>;
3017
+ scheduledAt: z.ZodNullable<z.ZodString>;
3018
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3019
+ lastFiredAt: z.ZodNullable<z.ZodString>;
3020
+ nextFireAt: z.ZodNullable<z.ZodString>;
3021
+ status: z.ZodEnum<{
3022
+ draft: "draft";
3023
+ pending_approval: "pending_approval";
3024
+ approved: "approved";
3025
+ scheduled: "scheduled";
3026
+ sent: "sent";
3027
+ cancelled: "cancelled";
3028
+ recurring_active: "recurring_active";
3029
+ }>;
3030
+ createdBy: z.ZodUUID;
3031
+ approvedBy: z.ZodNullable<z.ZodUUID>;
3032
+ approvedAt: z.ZodNullable<z.ZodString>;
3033
+ sentAt: z.ZodNullable<z.ZodString>;
3034
+ createdAt: z.ZodString;
3035
+ updatedAt: z.ZodString;
3036
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3037
+ cancel: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3038
+ id: z.ZodUUID;
3039
+ }, z.core.$strip>, z.ZodObject<{
3040
+ id: z.ZodUUID;
3041
+ branchId: z.ZodNullable<z.ZodUUID>;
3042
+ title: z.ZodString;
3043
+ body: z.ZodString;
3044
+ urgency: z.ZodEnum<{
3045
+ critical: "critical";
3046
+ urgent: "urgent";
3047
+ important: "important";
3048
+ info: "info";
3049
+ }>;
3050
+ isBlocking: z.ZodBoolean;
3051
+ deadlineHours: z.ZodNullable<z.ZodNumber>;
3052
+ redirectPath: z.ZodNullable<z.ZodString>;
3053
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3054
+ requiresResponse: z.ZodBoolean;
3055
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3056
+ deliveryChannels: z.ZodArray<z.ZodEnum<{
3057
+ email: "email";
3058
+ in_app: "in_app";
3059
+ sms: "sms";
3060
+ push: "push";
3061
+ }>>;
3062
+ scheduledAt: z.ZodNullable<z.ZodString>;
3063
+ recurrence: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3064
+ lastFiredAt: z.ZodNullable<z.ZodString>;
3065
+ nextFireAt: z.ZodNullable<z.ZodString>;
3066
+ status: z.ZodEnum<{
3067
+ draft: "draft";
3068
+ pending_approval: "pending_approval";
3069
+ approved: "approved";
3070
+ scheduled: "scheduled";
3071
+ sent: "sent";
3072
+ cancelled: "cancelled";
3073
+ recurring_active: "recurring_active";
3074
+ }>;
3075
+ createdBy: z.ZodUUID;
3076
+ approvedBy: z.ZodNullable<z.ZodUUID>;
3077
+ approvedAt: z.ZodNullable<z.ZodString>;
3078
+ sentAt: z.ZodNullable<z.ZodString>;
3079
+ createdAt: z.ZodString;
3080
+ updatedAt: z.ZodString;
3081
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3082
+ listDeliveries: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3083
+ isRead: z.ZodOptional<z.ZodBoolean>;
3084
+ isBlocking: z.ZodOptional<z.ZodBoolean>;
3085
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3086
+ id: z.ZodUUID;
3087
+ notificationId: z.ZodUUID;
3088
+ userId: z.ZodUUID;
3089
+ channel: z.ZodEnum<{
3090
+ email: "email";
3091
+ in_app: "in_app";
3092
+ sms: "sms";
3093
+ push: "push";
3094
+ }>;
3095
+ deliveredAt: z.ZodNullable<z.ZodString>;
3096
+ readAt: z.ZodNullable<z.ZodString>;
3097
+ isRead: z.ZodBoolean;
3098
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3099
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3100
+ response: z.ZodNullable<z.ZodString>;
3101
+ isBlocking: z.ZodBoolean;
3102
+ isResolved: z.ZodBoolean;
3103
+ resolvedAt: z.ZodNullable<z.ZodString>;
3104
+ returnPath: z.ZodNullable<z.ZodString>;
3105
+ createdAt: z.ZodString;
3106
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3107
+ markRead: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3108
+ deliveryId: z.ZodUUID;
3109
+ }, z.core.$strip>, z.ZodObject<{
3110
+ id: z.ZodUUID;
3111
+ notificationId: z.ZodUUID;
3112
+ userId: z.ZodUUID;
3113
+ channel: z.ZodEnum<{
3114
+ email: "email";
3115
+ in_app: "in_app";
3116
+ sms: "sms";
3117
+ push: "push";
3118
+ }>;
3119
+ deliveredAt: z.ZodNullable<z.ZodString>;
3120
+ readAt: z.ZodNullable<z.ZodString>;
3121
+ isRead: z.ZodBoolean;
3122
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3123
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3124
+ response: z.ZodNullable<z.ZodString>;
3125
+ isBlocking: z.ZodBoolean;
3126
+ isResolved: z.ZodBoolean;
3127
+ resolvedAt: z.ZodNullable<z.ZodString>;
3128
+ returnPath: z.ZodNullable<z.ZodString>;
3129
+ createdAt: z.ZodString;
3130
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3131
+ markUnread: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3132
+ deliveryId: z.ZodUUID;
3133
+ }, z.core.$strip>, z.ZodObject<{
3134
+ id: z.ZodUUID;
3135
+ notificationId: z.ZodUUID;
3136
+ userId: z.ZodUUID;
3137
+ channel: z.ZodEnum<{
3138
+ email: "email";
3139
+ in_app: "in_app";
3140
+ sms: "sms";
3141
+ push: "push";
3142
+ }>;
3143
+ deliveredAt: z.ZodNullable<z.ZodString>;
3144
+ readAt: z.ZodNullable<z.ZodString>;
3145
+ isRead: z.ZodBoolean;
3146
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3147
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3148
+ response: z.ZodNullable<z.ZodString>;
3149
+ isBlocking: z.ZodBoolean;
3150
+ isResolved: z.ZodBoolean;
3151
+ resolvedAt: z.ZodNullable<z.ZodString>;
3152
+ returnPath: z.ZodNullable<z.ZodString>;
3153
+ createdAt: z.ZodString;
3154
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3155
+ acknowledge: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3156
+ deliveryId: z.ZodUUID;
3157
+ response: z.ZodOptional<z.ZodString>;
3158
+ }, z.core.$strip>, z.ZodObject<{
3159
+ id: z.ZodUUID;
3160
+ notificationId: z.ZodUUID;
3161
+ userId: z.ZodUUID;
3162
+ channel: z.ZodEnum<{
3163
+ email: "email";
3164
+ in_app: "in_app";
3165
+ sms: "sms";
3166
+ push: "push";
3167
+ }>;
3168
+ deliveredAt: z.ZodNullable<z.ZodString>;
3169
+ readAt: z.ZodNullable<z.ZodString>;
3170
+ isRead: z.ZodBoolean;
3171
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3172
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3173
+ response: z.ZodNullable<z.ZodString>;
3174
+ isBlocking: z.ZodBoolean;
3175
+ isResolved: z.ZodBoolean;
3176
+ resolvedAt: z.ZodNullable<z.ZodString>;
3177
+ returnPath: z.ZodNullable<z.ZodString>;
3178
+ createdAt: z.ZodString;
3179
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3180
+ respond: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3181
+ deliveryId: z.ZodUUID;
3182
+ response: z.ZodString;
3183
+ }, z.core.$strip>, z.ZodObject<{
3184
+ id: z.ZodUUID;
3185
+ notificationId: z.ZodUUID;
3186
+ userId: z.ZodUUID;
3187
+ channel: z.ZodEnum<{
3188
+ email: "email";
3189
+ in_app: "in_app";
3190
+ sms: "sms";
3191
+ push: "push";
3192
+ }>;
3193
+ deliveredAt: z.ZodNullable<z.ZodString>;
3194
+ readAt: z.ZodNullable<z.ZodString>;
3195
+ isRead: z.ZodBoolean;
3196
+ markedUnreadAt: z.ZodNullable<z.ZodString>;
3197
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3198
+ response: z.ZodNullable<z.ZodString>;
3199
+ isBlocking: z.ZodBoolean;
3200
+ isResolved: z.ZodBoolean;
3201
+ resolvedAt: z.ZodNullable<z.ZodString>;
3202
+ returnPath: z.ZodNullable<z.ZodString>;
3203
+ createdAt: z.ZodString;
3204
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3205
+ getResponseSummary: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3206
+ id: z.ZodUUID;
3207
+ }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodNumber>, Record<never, never>, Record<never, never>>;
3208
+ listResponses: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3209
+ id: z.ZodUUID;
3210
+ }, z.core.$strip>, z.ZodArray<z.ZodObject<{
3211
+ deliveryId: z.ZodUUID;
3212
+ userId: z.ZodUUID;
3213
+ userName: z.ZodString;
3214
+ userEmail: z.ZodString;
3215
+ response: z.ZodNullable<z.ZodString>;
3216
+ acknowledgedAt: z.ZodNullable<z.ZodString>;
3217
+ isResolved: z.ZodBoolean;
3218
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3219
+ resolveBlock: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3220
+ blockId: z.ZodUUID;
3221
+ }, z.core.$strip>, z.ZodObject<{
3222
+ id: z.ZodUUID;
3223
+ userId: z.ZodUUID;
3224
+ blockType: z.ZodEnum<{
3225
+ custom: "custom";
3226
+ diary: "diary";
3227
+ notification: "notification";
3228
+ fee: "fee";
3229
+ }>;
3230
+ sourceId: z.ZodUUID;
3231
+ redirectPath: z.ZodString;
3232
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3233
+ returnPath: z.ZodNullable<z.ZodString>;
3234
+ severity: z.ZodEnum<{
3235
+ critical: "critical";
3236
+ urgent: "urgent";
3237
+ important: "important";
3238
+ info: "info";
3239
+ }>;
3240
+ isActive: z.ZodBoolean;
3241
+ activatedAt: z.ZodString;
3242
+ resolvedAt: z.ZodNullable<z.ZodString>;
3243
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3244
+ resolvedVia: z.ZodNullable<z.ZodString>;
3245
+ requiresResponse: z.ZodBoolean;
3246
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3247
+ createdAt: z.ZodString;
3248
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3249
+ };
3250
+ declare const listActiveBlocksContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
3251
+ id: z.ZodUUID;
3252
+ userId: z.ZodUUID;
3253
+ blockType: z.ZodEnum<{
3254
+ custom: "custom";
3255
+ diary: "diary";
3256
+ notification: "notification";
3257
+ fee: "fee";
3258
+ }>;
3259
+ sourceId: z.ZodUUID;
3260
+ redirectPath: z.ZodString;
3261
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3262
+ returnPath: z.ZodNullable<z.ZodString>;
3263
+ severity: z.ZodEnum<{
3264
+ critical: "critical";
3265
+ urgent: "urgent";
3266
+ important: "important";
3267
+ info: "info";
3268
+ }>;
3269
+ isActive: z.ZodBoolean;
3270
+ activatedAt: z.ZodString;
3271
+ resolvedAt: z.ZodNullable<z.ZodString>;
3272
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3273
+ resolvedVia: z.ZodNullable<z.ZodString>;
3274
+ requiresResponse: z.ZodBoolean;
3275
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3276
+ createdAt: z.ZodString;
3277
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3278
+ declare const resolveBlockAltContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3279
+ blockId: z.ZodUUID;
3280
+ }, z.core.$strip>, z.ZodObject<{
3281
+ id: z.ZodUUID;
3282
+ userId: z.ZodUUID;
3283
+ blockType: z.ZodEnum<{
3284
+ custom: "custom";
3285
+ diary: "diary";
3286
+ notification: "notification";
3287
+ fee: "fee";
3288
+ }>;
3289
+ sourceId: z.ZodUUID;
3290
+ redirectPath: z.ZodString;
3291
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3292
+ returnPath: z.ZodNullable<z.ZodString>;
3293
+ severity: z.ZodEnum<{
3294
+ critical: "critical";
3295
+ urgent: "urgent";
3296
+ important: "important";
3297
+ info: "info";
3298
+ }>;
3299
+ isActive: z.ZodBoolean;
3300
+ activatedAt: z.ZodString;
3301
+ resolvedAt: z.ZodNullable<z.ZodString>;
3302
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3303
+ resolvedVia: z.ZodNullable<z.ZodString>;
3304
+ requiresResponse: z.ZodBoolean;
3305
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3306
+ createdAt: z.ZodString;
3307
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3308
+ declare const respondToBlockContract: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3309
+ blockId: z.ZodUUID;
3310
+ response: z.ZodString;
3311
+ }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3312
+ declare const blocksContract: {
3313
+ listActive: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{}, z.core.$strip>, z.ZodArray<z.ZodObject<{
3314
+ id: z.ZodUUID;
3315
+ userId: z.ZodUUID;
3316
+ blockType: z.ZodEnum<{
3317
+ custom: "custom";
3318
+ diary: "diary";
3319
+ notification: "notification";
3320
+ fee: "fee";
3321
+ }>;
3322
+ sourceId: z.ZodUUID;
3323
+ redirectPath: z.ZodString;
3324
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3325
+ returnPath: z.ZodNullable<z.ZodString>;
3326
+ severity: z.ZodEnum<{
3327
+ critical: "critical";
3328
+ urgent: "urgent";
3329
+ important: "important";
3330
+ info: "info";
3331
+ }>;
3332
+ isActive: z.ZodBoolean;
3333
+ activatedAt: z.ZodString;
3334
+ resolvedAt: z.ZodNullable<z.ZodString>;
3335
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3336
+ resolvedVia: z.ZodNullable<z.ZodString>;
3337
+ requiresResponse: z.ZodBoolean;
3338
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3339
+ createdAt: z.ZodString;
3340
+ }, z.core.$strip>>, Record<never, never>, Record<never, never>>;
3341
+ resolve: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3342
+ blockId: z.ZodUUID;
3343
+ }, z.core.$strip>, z.ZodObject<{
3344
+ id: z.ZodUUID;
3345
+ userId: z.ZodUUID;
3346
+ blockType: z.ZodEnum<{
3347
+ custom: "custom";
3348
+ diary: "diary";
3349
+ notification: "notification";
3350
+ fee: "fee";
3351
+ }>;
3352
+ sourceId: z.ZodUUID;
3353
+ redirectPath: z.ZodString;
3354
+ redirectParams: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
3355
+ returnPath: z.ZodNullable<z.ZodString>;
3356
+ severity: z.ZodEnum<{
3357
+ critical: "critical";
3358
+ urgent: "urgent";
3359
+ important: "important";
3360
+ info: "info";
3361
+ }>;
3362
+ isActive: z.ZodBoolean;
3363
+ activatedAt: z.ZodString;
3364
+ resolvedAt: z.ZodNullable<z.ZodString>;
3365
+ resolvedBy: z.ZodNullable<z.ZodUUID>;
3366
+ resolvedVia: z.ZodNullable<z.ZodString>;
3367
+ requiresResponse: z.ZodBoolean;
3368
+ responseOptions: z.ZodNullable<z.ZodArray<z.ZodString>>;
3369
+ createdAt: z.ZodString;
3370
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
3371
+ respond: _orpc_contract.ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3372
+ blockId: z.ZodUUID;
3373
+ response: z.ZodString;
3374
+ }, z.core.$strip>, z.ZodUnknown, Record<never, never>, Record<never, never>>;
3375
+ };
3376
+
3377
+ 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 };