@deepintel-ltd/buildlink-api-contracts 0.2.33 → 0.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/README.md +1 -1
  2. package/contracts/budget.d.ts +824 -6481
  3. package/contracts/budget.d.ts.map +1 -1
  4. package/contracts/budget.js +1 -286
  5. package/contracts/budget.js.map +1 -1
  6. package/contracts/commercial.d.ts +1 -241
  7. package/contracts/commercial.d.ts.map +1 -1
  8. package/contracts/commercial.js +2 -13
  9. package/contracts/commercial.js.map +1 -1
  10. package/contracts/communication.d.ts +1014 -1890
  11. package/contracts/communication.d.ts.map +1 -1
  12. package/contracts/communication.js +1 -65
  13. package/contracts/communication.js.map +1 -1
  14. package/contracts/daily-logs.d.ts +560 -0
  15. package/contracts/daily-logs.d.ts.map +1 -1
  16. package/contracts/deficiencies.d.ts +0 -375
  17. package/contracts/deficiencies.d.ts.map +1 -1
  18. package/contracts/deficiencies.js +1 -14
  19. package/contracts/deficiencies.js.map +1 -1
  20. package/contracts/directory.d.ts +0 -327
  21. package/contracts/directory.d.ts.map +1 -1
  22. package/contracts/directory.js +1 -18
  23. package/contracts/directory.js.map +1 -1
  24. package/contracts/documents.d.ts +41 -3437
  25. package/contracts/documents.d.ts.map +1 -1
  26. package/contracts/documents.js +0 -144
  27. package/contracts/documents.js.map +1 -1
  28. package/contracts/drawings.d.ts +380 -2252
  29. package/contracts/drawings.d.ts.map +1 -1
  30. package/contracts/drawings.js +1 -98
  31. package/contracts/drawings.js.map +1 -1
  32. package/contracts/projects.d.ts +91 -1106
  33. package/contracts/projects.d.ts.map +1 -1
  34. package/contracts/projects.js +0 -101
  35. package/contracts/projects.js.map +1 -1
  36. package/contracts/proof.d.ts +322 -0
  37. package/contracts/proof.d.ts.map +1 -1
  38. package/contracts/proof.js +14 -1
  39. package/contracts/proof.js.map +1 -1
  40. package/contracts/qaqc.d.ts +874 -0
  41. package/contracts/qaqc.d.ts.map +1 -1
  42. package/contracts/qaqc.js +13 -1
  43. package/contracts/qaqc.js.map +1 -1
  44. package/contracts/resources.d.ts +1774 -5959
  45. package/contracts/resources.d.ts.map +1 -1
  46. package/contracts/resources.js +1 -245
  47. package/contracts/resources.js.map +1 -1
  48. package/contracts/safety.d.ts +174 -3683
  49. package/contracts/safety.d.ts.map +1 -1
  50. package/contracts/safety.js +1 -238
  51. package/contracts/safety.js.map +1 -1
  52. package/contracts/schedule.d.ts +0 -1371
  53. package/contracts/schedule.d.ts.map +1 -1
  54. package/contracts/schedule.js +1 -65
  55. package/contracts/schedule.js.map +1 -1
  56. package/contracts/specifications.d.ts +0 -704
  57. package/contracts/specifications.d.ts.map +1 -1
  58. package/contracts/specifications.js +3 -18
  59. package/contracts/specifications.js.map +1 -1
  60. package/contracts/tasks.d.ts +2030 -4095
  61. package/contracts/tasks.d.ts.map +1 -1
  62. package/contracts/tasks.js +1 -149
  63. package/contracts/tasks.js.map +1 -1
  64. package/contracts/user-admin.d.ts +358 -0
  65. package/contracts/user-admin.d.ts.map +1 -1
  66. package/contracts/user-admin.js +8 -0
  67. package/contracts/user-admin.js.map +1 -1
  68. package/package.json +1 -1
  69. package/schemas/budget.d.ts +149 -0
  70. package/schemas/budget.d.ts.map +1 -1
  71. package/schemas/budget.js +13 -0
  72. package/schemas/budget.js.map +1 -1
  73. package/schemas/communication.d.ts +94 -0
  74. package/schemas/communication.d.ts.map +1 -1
  75. package/schemas/communication.js +2 -0
  76. package/schemas/communication.js.map +1 -1
  77. package/schemas/daily-logs.d.ts +92 -0
  78. package/schemas/daily-logs.d.ts.map +1 -1
  79. package/schemas/daily-logs.js +1 -0
  80. package/schemas/daily-logs.js.map +1 -1
  81. package/schemas/documents.d.ts +11 -11
  82. package/schemas/drawings.d.ts +12 -12
  83. package/schemas/proof.d.ts +161 -0
  84. package/schemas/proof.d.ts.map +1 -1
  85. package/schemas/proof.js +17 -1
  86. package/schemas/proof.js.map +1 -1
  87. package/schemas/qaqc.d.ts +335 -0
  88. package/schemas/qaqc.d.ts.map +1 -1
  89. package/schemas/qaqc.js +16 -1
  90. package/schemas/qaqc.js.map +1 -1
  91. package/schemas/safety.d.ts +8 -8
  92. package/schemas/specifications.d.ts +0 -17
  93. package/schemas/specifications.d.ts.map +1 -1
  94. package/schemas/specifications.js +0 -6
  95. package/schemas/specifications.js.map +1 -1
  96. package/schemas/tasks.d.ts +4 -4
@@ -1276,1098 +1276,83 @@ export declare const projectsContract: {
1276
1276
  }>;
1277
1277
  };
1278
1278
  };
1279
- duplicateProject: {
1280
- pathParams: z.ZodObject<{
1281
- projectId: z.ZodString;
1282
- }, "strip", z.ZodTypeAny, {
1283
- projectId: string;
1284
- }, {
1285
- projectId: string;
1286
- }>;
1287
- summary: "Duplicate an existing project";
1288
- method: "POST";
1289
- body: z.ZodObject<{
1290
- name: z.ZodString;
1291
- startDate: z.ZodString;
1292
- copyTasks: z.ZodDefault<z.ZodBoolean>;
1293
- copyTeam: z.ZodDefault<z.ZodBoolean>;
1294
- copyDocuments: z.ZodDefault<z.ZodBoolean>;
1295
- }, "strip", z.ZodTypeAny, {
1296
- name: string;
1297
- startDate: string;
1298
- copyTasks: boolean;
1299
- copyTeam: boolean;
1300
- copyDocuments: boolean;
1301
- }, {
1302
- name: string;
1303
- startDate: string;
1304
- copyTasks?: boolean | undefined;
1305
- copyTeam?: boolean | undefined;
1306
- copyDocuments?: boolean | undefined;
1307
- }>;
1308
- path: "/projects/:projectId/duplicate";
1309
- responses: {
1310
- 201: z.ZodObject<{
1311
- data: z.ZodObject<{
1312
- type: z.ZodLiteral<"projects">;
1313
- id: z.ZodString;
1314
- attributes: z.ZodObject<{
1315
- id: z.ZodString;
1316
- name: z.ZodString;
1317
- description: z.ZodNullable<z.ZodString>;
1318
- status: z.ZodEffects<z.ZodEnum<["PLANNED", "IN_PROGRESS", "ON_HOLD", "COMPLETED", "CANCELLED", "ARCHIVED"]>, "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED", unknown>;
1319
- priority: z.ZodEnum<["LOW", "MEDIUM", "HIGH", "CRITICAL"]>;
1320
- startDate: z.ZodNullable<z.ZodString>;
1321
- endDate: z.ZodNullable<z.ZodString>;
1322
- budget: z.ZodNullable<z.ZodNumber>;
1323
- currency: z.ZodString;
1324
- clientId: z.ZodNullable<z.ZodString>;
1325
- companyId: z.ZodString;
1326
- isActive: z.ZodBoolean;
1327
- createdAt: z.ZodString;
1328
- updatedAt: z.ZodString;
1329
- }, "strip", z.ZodTypeAny, {
1330
- id: string;
1331
- createdAt: string;
1332
- updatedAt: string;
1333
- companyId: string;
1334
- isActive: boolean;
1335
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1336
- name: string;
1337
- description: string | null;
1338
- currency: string;
1339
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1340
- startDate: string | null;
1341
- endDate: string | null;
1342
- budget: number | null;
1343
- clientId: string | null;
1344
- }, {
1345
- id: string;
1346
- createdAt: string;
1347
- updatedAt: string;
1348
- companyId: string;
1349
- isActive: boolean;
1350
- name: string;
1351
- description: string | null;
1352
- currency: string;
1353
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1354
- startDate: string | null;
1355
- endDate: string | null;
1356
- budget: number | null;
1357
- clientId: string | null;
1358
- status?: unknown;
1359
- }>;
1360
- }, "strip", z.ZodTypeAny, {
1361
- id: string;
1362
- type: "projects";
1363
- attributes: {
1364
- id: string;
1365
- createdAt: string;
1366
- updatedAt: string;
1367
- companyId: string;
1368
- isActive: boolean;
1369
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1370
- name: string;
1371
- description: string | null;
1372
- currency: string;
1373
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1374
- startDate: string | null;
1375
- endDate: string | null;
1376
- budget: number | null;
1377
- clientId: string | null;
1378
- };
1379
- }, {
1380
- id: string;
1381
- type: "projects";
1382
- attributes: {
1383
- id: string;
1384
- createdAt: string;
1385
- updatedAt: string;
1386
- companyId: string;
1387
- isActive: boolean;
1388
- name: string;
1389
- description: string | null;
1390
- currency: string;
1391
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1392
- startDate: string | null;
1393
- endDate: string | null;
1394
- budget: number | null;
1395
- clientId: string | null;
1396
- status?: unknown;
1397
- };
1398
- }>;
1399
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1400
- links: z.ZodOptional<z.ZodObject<{
1401
- self: z.ZodString;
1402
- first: z.ZodOptional<z.ZodString>;
1403
- last: z.ZodOptional<z.ZodString>;
1404
- prev: z.ZodOptional<z.ZodString>;
1405
- next: z.ZodOptional<z.ZodString>;
1406
- }, "strip", z.ZodTypeAny, {
1407
- self: string;
1408
- first?: string | undefined;
1409
- last?: string | undefined;
1410
- prev?: string | undefined;
1411
- next?: string | undefined;
1412
- }, {
1413
- self: string;
1414
- first?: string | undefined;
1415
- last?: string | undefined;
1416
- prev?: string | undefined;
1417
- next?: string | undefined;
1418
- }>>;
1419
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1420
- status: z.ZodString;
1421
- title: z.ZodString;
1422
- detail: z.ZodOptional<z.ZodString>;
1423
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1424
- }, "strip", z.ZodTypeAny, {
1425
- status: string;
1426
- title: string;
1427
- detail?: string | undefined;
1428
- meta?: Record<string, unknown> | undefined;
1429
- }, {
1430
- status: string;
1431
- title: string;
1432
- detail?: string | undefined;
1433
- meta?: Record<string, unknown> | undefined;
1434
- }>, "many">>;
1435
- }, "strip", z.ZodTypeAny, {
1436
- data: {
1437
- id: string;
1438
- type: "projects";
1439
- attributes: {
1440
- id: string;
1441
- createdAt: string;
1442
- updatedAt: string;
1443
- companyId: string;
1444
- isActive: boolean;
1445
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1446
- name: string;
1447
- description: string | null;
1448
- currency: string;
1449
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1450
- startDate: string | null;
1451
- endDate: string | null;
1452
- budget: number | null;
1453
- clientId: string | null;
1454
- };
1455
- };
1456
- meta?: Record<string, unknown> | undefined;
1457
- links?: {
1458
- self: string;
1459
- first?: string | undefined;
1460
- last?: string | undefined;
1461
- prev?: string | undefined;
1462
- next?: string | undefined;
1463
- } | undefined;
1464
- errors?: {
1465
- status: string;
1466
- title: string;
1467
- detail?: string | undefined;
1468
- meta?: Record<string, unknown> | undefined;
1469
- }[] | undefined;
1470
- }, {
1471
- data: {
1472
- id: string;
1473
- type: "projects";
1474
- attributes: {
1475
- id: string;
1476
- createdAt: string;
1477
- updatedAt: string;
1478
- companyId: string;
1479
- isActive: boolean;
1480
- name: string;
1481
- description: string | null;
1482
- currency: string;
1483
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1484
- startDate: string | null;
1485
- endDate: string | null;
1486
- budget: number | null;
1487
- clientId: string | null;
1488
- status?: unknown;
1489
- };
1490
- };
1491
- meta?: Record<string, unknown> | undefined;
1492
- links?: {
1493
- self: string;
1494
- first?: string | undefined;
1495
- last?: string | undefined;
1496
- prev?: string | undefined;
1497
- next?: string | undefined;
1498
- } | undefined;
1499
- errors?: {
1500
- status: string;
1501
- title: string;
1502
- detail?: string | undefined;
1503
- meta?: Record<string, unknown> | undefined;
1504
- }[] | undefined;
1505
- }>;
1506
- 400: z.ZodObject<{
1507
- errors: z.ZodArray<z.ZodObject<{
1508
- status: z.ZodString;
1509
- title: z.ZodString;
1510
- detail: z.ZodOptional<z.ZodString>;
1511
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1512
- }, "strip", z.ZodTypeAny, {
1513
- status: string;
1514
- title: string;
1515
- detail?: string | undefined;
1516
- meta?: Record<string, unknown> | undefined;
1517
- }, {
1518
- status: string;
1519
- title: string;
1520
- detail?: string | undefined;
1521
- meta?: Record<string, unknown> | undefined;
1522
- }>, "many">;
1523
- }, "strip", z.ZodTypeAny, {
1524
- errors: {
1525
- status: string;
1526
- title: string;
1527
- detail?: string | undefined;
1528
- meta?: Record<string, unknown> | undefined;
1529
- }[];
1530
- }, {
1531
- errors: {
1532
- status: string;
1533
- title: string;
1534
- detail?: string | undefined;
1535
- meta?: Record<string, unknown> | undefined;
1536
- }[];
1537
- }>;
1538
- 403: z.ZodObject<{
1539
- errors: z.ZodArray<z.ZodObject<{
1540
- status: z.ZodString;
1541
- title: z.ZodString;
1542
- detail: z.ZodOptional<z.ZodString>;
1543
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1544
- }, "strip", z.ZodTypeAny, {
1545
- status: string;
1546
- title: string;
1547
- detail?: string | undefined;
1548
- meta?: Record<string, unknown> | undefined;
1549
- }, {
1550
- status: string;
1551
- title: string;
1552
- detail?: string | undefined;
1553
- meta?: Record<string, unknown> | undefined;
1554
- }>, "many">;
1555
- }, "strip", z.ZodTypeAny, {
1556
- errors: {
1557
- status: string;
1558
- title: string;
1559
- detail?: string | undefined;
1560
- meta?: Record<string, unknown> | undefined;
1561
- }[];
1562
- }, {
1563
- errors: {
1564
- status: string;
1565
- title: string;
1566
- detail?: string | undefined;
1567
- meta?: Record<string, unknown> | undefined;
1568
- }[];
1569
- }>;
1570
- 404: z.ZodObject<{
1571
- errors: z.ZodArray<z.ZodObject<{
1572
- status: z.ZodString;
1573
- title: z.ZodString;
1574
- detail: z.ZodOptional<z.ZodString>;
1575
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1576
- }, "strip", z.ZodTypeAny, {
1577
- status: string;
1578
- title: string;
1579
- detail?: string | undefined;
1580
- meta?: Record<string, unknown> | undefined;
1581
- }, {
1582
- status: string;
1583
- title: string;
1584
- detail?: string | undefined;
1585
- meta?: Record<string, unknown> | undefined;
1586
- }>, "many">;
1587
- }, "strip", z.ZodTypeAny, {
1588
- errors: {
1589
- status: string;
1590
- title: string;
1591
- detail?: string | undefined;
1592
- meta?: Record<string, unknown> | undefined;
1593
- }[];
1594
- }, {
1595
- errors: {
1596
- status: string;
1597
- title: string;
1598
- detail?: string | undefined;
1599
- meta?: Record<string, unknown> | undefined;
1600
- }[];
1601
- }>;
1602
- };
1603
- };
1604
- archiveProject: {
1605
- pathParams: z.ZodObject<{
1606
- projectId: z.ZodString;
1607
- }, "strip", z.ZodTypeAny, {
1608
- projectId: string;
1609
- }, {
1610
- projectId: string;
1611
- }>;
1612
- summary: "Archive a project";
1613
- method: "POST";
1614
- body: z.ZodObject<{
1615
- reason: z.ZodString;
1616
- }, "strip", z.ZodTypeAny, {
1617
- reason: string;
1618
- }, {
1619
- reason: string;
1620
- }>;
1621
- path: "/projects/:projectId/archive";
1622
- responses: {
1623
- 200: z.ZodObject<{
1624
- data: z.ZodObject<{
1625
- type: z.ZodLiteral<"projects">;
1626
- id: z.ZodString;
1627
- attributes: z.ZodObject<{
1628
- id: z.ZodString;
1629
- name: z.ZodString;
1630
- description: z.ZodNullable<z.ZodString>;
1631
- status: z.ZodEffects<z.ZodEnum<["PLANNED", "IN_PROGRESS", "ON_HOLD", "COMPLETED", "CANCELLED", "ARCHIVED"]>, "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED", unknown>;
1632
- priority: z.ZodEnum<["LOW", "MEDIUM", "HIGH", "CRITICAL"]>;
1633
- startDate: z.ZodNullable<z.ZodString>;
1634
- endDate: z.ZodNullable<z.ZodString>;
1635
- budget: z.ZodNullable<z.ZodNumber>;
1636
- currency: z.ZodString;
1637
- clientId: z.ZodNullable<z.ZodString>;
1638
- companyId: z.ZodString;
1639
- isActive: z.ZodBoolean;
1640
- createdAt: z.ZodString;
1641
- updatedAt: z.ZodString;
1642
- }, "strip", z.ZodTypeAny, {
1643
- id: string;
1644
- createdAt: string;
1645
- updatedAt: string;
1646
- companyId: string;
1647
- isActive: boolean;
1648
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1649
- name: string;
1650
- description: string | null;
1651
- currency: string;
1652
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1653
- startDate: string | null;
1654
- endDate: string | null;
1655
- budget: number | null;
1656
- clientId: string | null;
1657
- }, {
1658
- id: string;
1659
- createdAt: string;
1660
- updatedAt: string;
1661
- companyId: string;
1662
- isActive: boolean;
1663
- name: string;
1664
- description: string | null;
1665
- currency: string;
1666
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1667
- startDate: string | null;
1668
- endDate: string | null;
1669
- budget: number | null;
1670
- clientId: string | null;
1671
- status?: unknown;
1672
- }>;
1673
- }, "strip", z.ZodTypeAny, {
1674
- id: string;
1675
- type: "projects";
1676
- attributes: {
1677
- id: string;
1678
- createdAt: string;
1679
- updatedAt: string;
1680
- companyId: string;
1681
- isActive: boolean;
1682
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1683
- name: string;
1684
- description: string | null;
1685
- currency: string;
1686
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1687
- startDate: string | null;
1688
- endDate: string | null;
1689
- budget: number | null;
1690
- clientId: string | null;
1691
- };
1692
- }, {
1693
- id: string;
1694
- type: "projects";
1695
- attributes: {
1696
- id: string;
1697
- createdAt: string;
1698
- updatedAt: string;
1699
- companyId: string;
1700
- isActive: boolean;
1701
- name: string;
1702
- description: string | null;
1703
- currency: string;
1704
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1705
- startDate: string | null;
1706
- endDate: string | null;
1707
- budget: number | null;
1708
- clientId: string | null;
1709
- status?: unknown;
1710
- };
1711
- }>;
1712
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1713
- links: z.ZodOptional<z.ZodObject<{
1714
- self: z.ZodString;
1715
- first: z.ZodOptional<z.ZodString>;
1716
- last: z.ZodOptional<z.ZodString>;
1717
- prev: z.ZodOptional<z.ZodString>;
1718
- next: z.ZodOptional<z.ZodString>;
1719
- }, "strip", z.ZodTypeAny, {
1720
- self: string;
1721
- first?: string | undefined;
1722
- last?: string | undefined;
1723
- prev?: string | undefined;
1724
- next?: string | undefined;
1725
- }, {
1726
- self: string;
1727
- first?: string | undefined;
1728
- last?: string | undefined;
1729
- prev?: string | undefined;
1730
- next?: string | undefined;
1731
- }>>;
1732
- errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1733
- status: z.ZodString;
1734
- title: z.ZodString;
1735
- detail: z.ZodOptional<z.ZodString>;
1736
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1737
- }, "strip", z.ZodTypeAny, {
1738
- status: string;
1739
- title: string;
1740
- detail?: string | undefined;
1741
- meta?: Record<string, unknown> | undefined;
1742
- }, {
1743
- status: string;
1744
- title: string;
1745
- detail?: string | undefined;
1746
- meta?: Record<string, unknown> | undefined;
1747
- }>, "many">>;
1748
- }, "strip", z.ZodTypeAny, {
1749
- data: {
1750
- id: string;
1751
- type: "projects";
1752
- attributes: {
1753
- id: string;
1754
- createdAt: string;
1755
- updatedAt: string;
1756
- companyId: string;
1757
- isActive: boolean;
1758
- status: "IN_PROGRESS" | "PLANNED" | "ON_HOLD" | "COMPLETED" | "CANCELLED" | "ARCHIVED";
1759
- name: string;
1760
- description: string | null;
1761
- currency: string;
1762
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1763
- startDate: string | null;
1764
- endDate: string | null;
1765
- budget: number | null;
1766
- clientId: string | null;
1767
- };
1768
- };
1769
- meta?: Record<string, unknown> | undefined;
1770
- links?: {
1771
- self: string;
1772
- first?: string | undefined;
1773
- last?: string | undefined;
1774
- prev?: string | undefined;
1775
- next?: string | undefined;
1776
- } | undefined;
1777
- errors?: {
1778
- status: string;
1779
- title: string;
1780
- detail?: string | undefined;
1781
- meta?: Record<string, unknown> | undefined;
1782
- }[] | undefined;
1783
- }, {
1784
- data: {
1785
- id: string;
1786
- type: "projects";
1787
- attributes: {
1788
- id: string;
1789
- createdAt: string;
1790
- updatedAt: string;
1791
- companyId: string;
1792
- isActive: boolean;
1793
- name: string;
1794
- description: string | null;
1795
- currency: string;
1796
- priority: "LOW" | "MEDIUM" | "HIGH" | "CRITICAL";
1797
- startDate: string | null;
1798
- endDate: string | null;
1799
- budget: number | null;
1800
- clientId: string | null;
1801
- status?: unknown;
1802
- };
1803
- };
1804
- meta?: Record<string, unknown> | undefined;
1805
- links?: {
1806
- self: string;
1807
- first?: string | undefined;
1808
- last?: string | undefined;
1809
- prev?: string | undefined;
1810
- next?: string | undefined;
1811
- } | undefined;
1812
- errors?: {
1813
- status: string;
1814
- title: string;
1815
- detail?: string | undefined;
1816
- meta?: Record<string, unknown> | undefined;
1817
- }[] | undefined;
1818
- }>;
1819
- 400: z.ZodObject<{
1820
- errors: z.ZodArray<z.ZodObject<{
1821
- status: z.ZodString;
1822
- title: z.ZodString;
1823
- detail: z.ZodOptional<z.ZodString>;
1824
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1825
- }, "strip", z.ZodTypeAny, {
1826
- status: string;
1827
- title: string;
1828
- detail?: string | undefined;
1829
- meta?: Record<string, unknown> | undefined;
1830
- }, {
1831
- status: string;
1832
- title: string;
1833
- detail?: string | undefined;
1834
- meta?: Record<string, unknown> | undefined;
1835
- }>, "many">;
1836
- }, "strip", z.ZodTypeAny, {
1837
- errors: {
1838
- status: string;
1839
- title: string;
1840
- detail?: string | undefined;
1841
- meta?: Record<string, unknown> | undefined;
1842
- }[];
1843
- }, {
1844
- errors: {
1845
- status: string;
1846
- title: string;
1847
- detail?: string | undefined;
1848
- meta?: Record<string, unknown> | undefined;
1849
- }[];
1850
- }>;
1851
- 403: z.ZodObject<{
1852
- errors: z.ZodArray<z.ZodObject<{
1853
- status: z.ZodString;
1854
- title: z.ZodString;
1855
- detail: z.ZodOptional<z.ZodString>;
1856
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1857
- }, "strip", z.ZodTypeAny, {
1858
- status: string;
1859
- title: string;
1860
- detail?: string | undefined;
1861
- meta?: Record<string, unknown> | undefined;
1862
- }, {
1863
- status: string;
1864
- title: string;
1865
- detail?: string | undefined;
1866
- meta?: Record<string, unknown> | undefined;
1867
- }>, "many">;
1868
- }, "strip", z.ZodTypeAny, {
1869
- errors: {
1870
- status: string;
1871
- title: string;
1872
- detail?: string | undefined;
1873
- meta?: Record<string, unknown> | undefined;
1874
- }[];
1875
- }, {
1876
- errors: {
1877
- status: string;
1878
- title: string;
1879
- detail?: string | undefined;
1880
- meta?: Record<string, unknown> | undefined;
1881
- }[];
1882
- }>;
1883
- 404: z.ZodObject<{
1884
- errors: z.ZodArray<z.ZodObject<{
1885
- status: z.ZodString;
1886
- title: z.ZodString;
1887
- detail: z.ZodOptional<z.ZodString>;
1888
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1889
- }, "strip", z.ZodTypeAny, {
1890
- status: string;
1891
- title: string;
1892
- detail?: string | undefined;
1893
- meta?: Record<string, unknown> | undefined;
1894
- }, {
1895
- status: string;
1896
- title: string;
1897
- detail?: string | undefined;
1898
- meta?: Record<string, unknown> | undefined;
1899
- }>, "many">;
1900
- }, "strip", z.ZodTypeAny, {
1901
- errors: {
1902
- status: string;
1903
- title: string;
1904
- detail?: string | undefined;
1905
- meta?: Record<string, unknown> | undefined;
1906
- }[];
1907
- }, {
1908
- errors: {
1909
- status: string;
1910
- title: string;
1911
- detail?: string | undefined;
1912
- meta?: Record<string, unknown> | undefined;
1913
- }[];
1914
- }>;
1915
- };
1916
- };
1917
- getProjectTeam: {
1918
- pathParams: z.ZodObject<{
1919
- projectId: z.ZodString;
1920
- }, "strip", z.ZodTypeAny, {
1921
- projectId: string;
1922
- }, {
1923
- projectId: string;
1924
- }>;
1925
- query: z.ZodObject<{
1926
- role: z.ZodOptional<z.ZodString>;
1927
- active: z.ZodOptional<z.ZodBoolean>;
1928
- }, "strip", z.ZodTypeAny, {
1929
- role?: string | undefined;
1930
- active?: boolean | undefined;
1931
- }, {
1932
- role?: string | undefined;
1933
- active?: boolean | undefined;
1934
- }>;
1935
- summary: "Get project team members";
1936
- method: "GET";
1937
- path: "/projects/:projectId/team";
1938
- responses: {
1939
- 200: z.ZodObject<{
1940
- data: z.ZodArray<z.ZodObject<{
1941
- id: z.ZodString;
1942
- name: z.ZodString;
1943
- email: z.ZodString;
1944
- role: z.ZodString;
1945
- permissions: z.ZodArray<z.ZodString, "many">;
1946
- joinedAt: z.ZodString;
1947
- hoursWorked: z.ZodNumber;
1948
- tasksAssigned: z.ZodNumber;
1949
- tasksCompleted: z.ZodNumber;
1950
- }, "strip", z.ZodTypeAny, {
1951
- id: string;
1952
- permissions: string[];
1953
- email: string;
1954
- name: string;
1955
- role: string;
1956
- hoursWorked: number;
1957
- joinedAt: string;
1958
- tasksAssigned: number;
1959
- tasksCompleted: number;
1960
- }, {
1961
- id: string;
1962
- permissions: string[];
1963
- email: string;
1964
- name: string;
1965
- role: string;
1966
- hoursWorked: number;
1967
- joinedAt: string;
1968
- tasksAssigned: number;
1969
- tasksCompleted: number;
1970
- }>, "many">;
1971
- }, "strip", z.ZodTypeAny, {
1972
- data: {
1973
- id: string;
1974
- permissions: string[];
1975
- email: string;
1976
- name: string;
1977
- role: string;
1978
- hoursWorked: number;
1979
- joinedAt: string;
1980
- tasksAssigned: number;
1981
- tasksCompleted: number;
1982
- }[];
1983
- }, {
1984
- data: {
1985
- id: string;
1986
- permissions: string[];
1987
- email: string;
1988
- name: string;
1989
- role: string;
1990
- hoursWorked: number;
1991
- joinedAt: string;
1992
- tasksAssigned: number;
1993
- tasksCompleted: number;
1994
- }[];
1995
- }>;
1996
- 403: z.ZodObject<{
1997
- errors: z.ZodArray<z.ZodObject<{
1998
- status: z.ZodString;
1999
- title: z.ZodString;
2000
- detail: z.ZodOptional<z.ZodString>;
2001
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2002
- }, "strip", z.ZodTypeAny, {
2003
- status: string;
2004
- title: string;
2005
- detail?: string | undefined;
2006
- meta?: Record<string, unknown> | undefined;
2007
- }, {
2008
- status: string;
2009
- title: string;
2010
- detail?: string | undefined;
2011
- meta?: Record<string, unknown> | undefined;
2012
- }>, "many">;
2013
- }, "strip", z.ZodTypeAny, {
2014
- errors: {
2015
- status: string;
2016
- title: string;
2017
- detail?: string | undefined;
2018
- meta?: Record<string, unknown> | undefined;
2019
- }[];
2020
- }, {
2021
- errors: {
2022
- status: string;
2023
- title: string;
2024
- detail?: string | undefined;
2025
- meta?: Record<string, unknown> | undefined;
2026
- }[];
2027
- }>;
2028
- 404: z.ZodObject<{
2029
- errors: z.ZodArray<z.ZodObject<{
2030
- status: z.ZodString;
2031
- title: z.ZodString;
2032
- detail: z.ZodOptional<z.ZodString>;
2033
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2034
- }, "strip", z.ZodTypeAny, {
2035
- status: string;
2036
- title: string;
2037
- detail?: string | undefined;
2038
- meta?: Record<string, unknown> | undefined;
2039
- }, {
2040
- status: string;
2041
- title: string;
2042
- detail?: string | undefined;
2043
- meta?: Record<string, unknown> | undefined;
2044
- }>, "many">;
2045
- }, "strip", z.ZodTypeAny, {
2046
- errors: {
2047
- status: string;
2048
- title: string;
2049
- detail?: string | undefined;
2050
- meta?: Record<string, unknown> | undefined;
2051
- }[];
2052
- }, {
2053
- errors: {
2054
- status: string;
2055
- title: string;
2056
- detail?: string | undefined;
2057
- meta?: Record<string, unknown> | undefined;
2058
- }[];
2059
- }>;
2060
- };
2061
- };
2062
- addProjectTeamMember: {
2063
- pathParams: z.ZodObject<{
2064
- projectId: z.ZodString;
2065
- }, "strip", z.ZodTypeAny, {
2066
- projectId: string;
2067
- }, {
2068
- projectId: string;
2069
- }>;
2070
- summary: "Add team member to project";
2071
- method: "POST";
2072
- body: z.ZodObject<{
2073
- userId: z.ZodString;
2074
- role: z.ZodString;
2075
- permissions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2076
- }, "strip", z.ZodTypeAny, {
2077
- permissions: string[];
2078
- userId: string;
2079
- role: string;
2080
- }, {
2081
- userId: string;
2082
- role: string;
2083
- permissions?: string[] | undefined;
2084
- }>;
2085
- path: "/projects/:projectId/team";
2086
- responses: {
2087
- 201: z.ZodObject<{
2088
- data: z.ZodObject<{
2089
- message: z.ZodString;
2090
- userId: z.ZodString;
2091
- }, "strip", z.ZodTypeAny, {
2092
- message: string;
2093
- userId: string;
2094
- }, {
2095
- message: string;
2096
- userId: string;
2097
- }>;
2098
- }, "strip", z.ZodTypeAny, {
2099
- data: {
2100
- message: string;
2101
- userId: string;
2102
- };
2103
- }, {
2104
- data: {
2105
- message: string;
2106
- userId: string;
2107
- };
2108
- }>;
2109
- 400: z.ZodObject<{
2110
- errors: z.ZodArray<z.ZodObject<{
2111
- status: z.ZodString;
2112
- title: z.ZodString;
2113
- detail: z.ZodOptional<z.ZodString>;
2114
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2115
- }, "strip", z.ZodTypeAny, {
2116
- status: string;
2117
- title: string;
2118
- detail?: string | undefined;
2119
- meta?: Record<string, unknown> | undefined;
2120
- }, {
2121
- status: string;
2122
- title: string;
2123
- detail?: string | undefined;
2124
- meta?: Record<string, unknown> | undefined;
2125
- }>, "many">;
2126
- }, "strip", z.ZodTypeAny, {
2127
- errors: {
2128
- status: string;
2129
- title: string;
2130
- detail?: string | undefined;
2131
- meta?: Record<string, unknown> | undefined;
2132
- }[];
2133
- }, {
2134
- errors: {
2135
- status: string;
2136
- title: string;
2137
- detail?: string | undefined;
2138
- meta?: Record<string, unknown> | undefined;
2139
- }[];
2140
- }>;
2141
- 403: z.ZodObject<{
2142
- errors: z.ZodArray<z.ZodObject<{
2143
- status: z.ZodString;
2144
- title: z.ZodString;
2145
- detail: z.ZodOptional<z.ZodString>;
2146
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2147
- }, "strip", z.ZodTypeAny, {
2148
- status: string;
2149
- title: string;
2150
- detail?: string | undefined;
2151
- meta?: Record<string, unknown> | undefined;
2152
- }, {
2153
- status: string;
2154
- title: string;
2155
- detail?: string | undefined;
2156
- meta?: Record<string, unknown> | undefined;
2157
- }>, "many">;
2158
- }, "strip", z.ZodTypeAny, {
2159
- errors: {
2160
- status: string;
2161
- title: string;
2162
- detail?: string | undefined;
2163
- meta?: Record<string, unknown> | undefined;
2164
- }[];
2165
- }, {
2166
- errors: {
2167
- status: string;
2168
- title: string;
2169
- detail?: string | undefined;
2170
- meta?: Record<string, unknown> | undefined;
2171
- }[];
2172
- }>;
2173
- 404: z.ZodObject<{
2174
- errors: z.ZodArray<z.ZodObject<{
2175
- status: z.ZodString;
2176
- title: z.ZodString;
2177
- detail: z.ZodOptional<z.ZodString>;
2178
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2179
- }, "strip", z.ZodTypeAny, {
2180
- status: string;
2181
- title: string;
2182
- detail?: string | undefined;
2183
- meta?: Record<string, unknown> | undefined;
2184
- }, {
2185
- status: string;
2186
- title: string;
2187
- detail?: string | undefined;
2188
- meta?: Record<string, unknown> | undefined;
2189
- }>, "many">;
2190
- }, "strip", z.ZodTypeAny, {
2191
- errors: {
2192
- status: string;
2193
- title: string;
2194
- detail?: string | undefined;
2195
- meta?: Record<string, unknown> | undefined;
2196
- }[];
2197
- }, {
2198
- errors: {
2199
- status: string;
2200
- title: string;
2201
- detail?: string | undefined;
2202
- meta?: Record<string, unknown> | undefined;
2203
- }[];
2204
- }>;
2205
- };
2206
- };
2207
- removeProjectTeamMember: {
2208
- pathParams: z.ZodObject<{
2209
- projectId: z.ZodString;
2210
- userId: z.ZodString;
2211
- }, "strip", z.ZodTypeAny, {
2212
- userId: string;
2213
- projectId: string;
2214
- }, {
2215
- userId: string;
2216
- projectId: string;
2217
- }>;
2218
- summary: "Remove team member from project";
2219
- method: "DELETE";
2220
- path: "/projects/:projectId/team/:userId";
2221
- responses: {
2222
- 204: z.ZodVoid;
2223
- 403: z.ZodObject<{
2224
- errors: z.ZodArray<z.ZodObject<{
2225
- status: z.ZodString;
2226
- title: z.ZodString;
2227
- detail: z.ZodOptional<z.ZodString>;
2228
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2229
- }, "strip", z.ZodTypeAny, {
2230
- status: string;
2231
- title: string;
2232
- detail?: string | undefined;
2233
- meta?: Record<string, unknown> | undefined;
2234
- }, {
2235
- status: string;
2236
- title: string;
2237
- detail?: string | undefined;
2238
- meta?: Record<string, unknown> | undefined;
2239
- }>, "many">;
2240
- }, "strip", z.ZodTypeAny, {
2241
- errors: {
2242
- status: string;
2243
- title: string;
2244
- detail?: string | undefined;
2245
- meta?: Record<string, unknown> | undefined;
2246
- }[];
2247
- }, {
2248
- errors: {
2249
- status: string;
2250
- title: string;
2251
- detail?: string | undefined;
2252
- meta?: Record<string, unknown> | undefined;
2253
- }[];
2254
- }>;
2255
- 404: z.ZodObject<{
2256
- errors: z.ZodArray<z.ZodObject<{
2257
- status: z.ZodString;
2258
- title: z.ZodString;
2259
- detail: z.ZodOptional<z.ZodString>;
2260
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2261
- }, "strip", z.ZodTypeAny, {
2262
- status: string;
2263
- title: string;
2264
- detail?: string | undefined;
2265
- meta?: Record<string, unknown> | undefined;
2266
- }, {
2267
- status: string;
2268
- title: string;
2269
- detail?: string | undefined;
2270
- meta?: Record<string, unknown> | undefined;
2271
- }>, "many">;
2272
- }, "strip", z.ZodTypeAny, {
2273
- errors: {
2274
- status: string;
2275
- title: string;
2276
- detail?: string | undefined;
2277
- meta?: Record<string, unknown> | undefined;
2278
- }[];
2279
- }, {
2280
- errors: {
2281
- status: string;
2282
- title: string;
2283
- detail?: string | undefined;
2284
- meta?: Record<string, unknown> | undefined;
2285
- }[];
2286
- }>;
2287
- };
2288
- };
2289
- updateProjectTeamMemberRole: {
1279
+ getProjectTeam: {
2290
1280
  pathParams: z.ZodObject<{
2291
1281
  projectId: z.ZodString;
2292
- userId: z.ZodString;
2293
1282
  }, "strip", z.ZodTypeAny, {
2294
- userId: string;
2295
1283
  projectId: string;
2296
1284
  }, {
2297
- userId: string;
2298
1285
  projectId: string;
2299
1286
  }>;
2300
- summary: "Update team member role and permissions";
2301
- method: "PUT";
2302
- body: z.ZodObject<{
2303
- role: z.ZodString;
2304
- permissions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1287
+ query: z.ZodObject<{
1288
+ role: z.ZodOptional<z.ZodString>;
1289
+ active: z.ZodOptional<z.ZodBoolean>;
2305
1290
  }, "strip", z.ZodTypeAny, {
2306
- role: string;
2307
- permissions?: string[] | undefined;
1291
+ role?: string | undefined;
1292
+ active?: boolean | undefined;
2308
1293
  }, {
2309
- role: string;
2310
- permissions?: string[] | undefined;
1294
+ role?: string | undefined;
1295
+ active?: boolean | undefined;
2311
1296
  }>;
2312
- path: "/projects/:projectId/team/:userId";
1297
+ summary: "Get project team members";
1298
+ method: "GET";
1299
+ path: "/projects/:projectId/team";
2313
1300
  responses: {
2314
1301
  200: z.ZodObject<{
2315
- data: z.ZodObject<{
2316
- message: z.ZodString;
2317
- userId: z.ZodString;
2318
- newRole: z.ZodString;
2319
- }, "strip", z.ZodTypeAny, {
2320
- message: string;
2321
- userId: string;
2322
- newRole: string;
2323
- }, {
2324
- message: string;
2325
- userId: string;
2326
- newRole: string;
2327
- }>;
2328
- }, "strip", z.ZodTypeAny, {
2329
- data: {
2330
- message: string;
2331
- userId: string;
2332
- newRole: string;
2333
- };
2334
- }, {
2335
- data: {
2336
- message: string;
2337
- userId: string;
2338
- newRole: string;
2339
- };
2340
- }>;
2341
- 400: z.ZodObject<{
2342
- errors: z.ZodArray<z.ZodObject<{
2343
- status: z.ZodString;
2344
- title: z.ZodString;
2345
- detail: z.ZodOptional<z.ZodString>;
2346
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1302
+ data: z.ZodArray<z.ZodObject<{
1303
+ id: z.ZodString;
1304
+ name: z.ZodString;
1305
+ email: z.ZodString;
1306
+ role: z.ZodString;
1307
+ permissions: z.ZodArray<z.ZodString, "many">;
1308
+ joinedAt: z.ZodString;
1309
+ hoursWorked: z.ZodNumber;
1310
+ tasksAssigned: z.ZodNumber;
1311
+ tasksCompleted: z.ZodNumber;
2347
1312
  }, "strip", z.ZodTypeAny, {
2348
- status: string;
2349
- title: string;
2350
- detail?: string | undefined;
2351
- meta?: Record<string, unknown> | undefined;
1313
+ id: string;
1314
+ permissions: string[];
1315
+ email: string;
1316
+ name: string;
1317
+ role: string;
1318
+ hoursWorked: number;
1319
+ joinedAt: string;
1320
+ tasksAssigned: number;
1321
+ tasksCompleted: number;
2352
1322
  }, {
2353
- status: string;
2354
- title: string;
2355
- detail?: string | undefined;
2356
- meta?: Record<string, unknown> | undefined;
1323
+ id: string;
1324
+ permissions: string[];
1325
+ email: string;
1326
+ name: string;
1327
+ role: string;
1328
+ hoursWorked: number;
1329
+ joinedAt: string;
1330
+ tasksAssigned: number;
1331
+ tasksCompleted: number;
2357
1332
  }>, "many">;
2358
1333
  }, "strip", z.ZodTypeAny, {
2359
- errors: {
2360
- status: string;
2361
- title: string;
2362
- detail?: string | undefined;
2363
- meta?: Record<string, unknown> | undefined;
1334
+ data: {
1335
+ id: string;
1336
+ permissions: string[];
1337
+ email: string;
1338
+ name: string;
1339
+ role: string;
1340
+ hoursWorked: number;
1341
+ joinedAt: string;
1342
+ tasksAssigned: number;
1343
+ tasksCompleted: number;
2364
1344
  }[];
2365
1345
  }, {
2366
- errors: {
2367
- status: string;
2368
- title: string;
2369
- detail?: string | undefined;
2370
- meta?: Record<string, unknown> | undefined;
1346
+ data: {
1347
+ id: string;
1348
+ permissions: string[];
1349
+ email: string;
1350
+ name: string;
1351
+ role: string;
1352
+ hoursWorked: number;
1353
+ joinedAt: string;
1354
+ tasksAssigned: number;
1355
+ tasksCompleted: number;
2371
1356
  }[];
2372
1357
  }>;
2373
1358
  403: z.ZodObject<{
@@ -2590,10 +1575,10 @@ export declare const projectsContract: {
2590
1575
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2591
1576
  title: string;
2592
1577
  projectId: string;
1578
+ fileName: string;
2593
1579
  fileUrl: string;
2594
1580
  tags: string[];
2595
1581
  version: string;
2596
- fileName: string;
2597
1582
  isConfidential: boolean;
2598
1583
  uploadedById: string;
2599
1584
  uploadedAt: string;
@@ -2619,8 +1604,8 @@ export declare const projectsContract: {
2619
1604
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2620
1605
  title: string;
2621
1606
  projectId: string;
2622
- fileUrl: string;
2623
1607
  fileName: string;
1608
+ fileUrl: string;
2624
1609
  uploadedById: string;
2625
1610
  uploadedAt: string;
2626
1611
  description?: string | null | undefined;
@@ -2658,10 +1643,10 @@ export declare const projectsContract: {
2658
1643
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2659
1644
  title: string;
2660
1645
  projectId: string;
1646
+ fileName: string;
2661
1647
  fileUrl: string;
2662
1648
  tags: string[];
2663
1649
  version: string;
2664
- fileName: string;
2665
1650
  isConfidential: boolean;
2666
1651
  uploadedById: string;
2667
1652
  uploadedAt: string;
@@ -2730,8 +1715,8 @@ export declare const projectsContract: {
2730
1715
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2731
1716
  title: string;
2732
1717
  projectId: string;
2733
- fileUrl: string;
2734
1718
  fileName: string;
1719
+ fileUrl: string;
2735
1720
  uploadedById: string;
2736
1721
  uploadedAt: string;
2737
1722
  description?: string | null | undefined;
@@ -2798,10 +1783,10 @@ export declare const projectsContract: {
2798
1783
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2799
1784
  title: string;
2800
1785
  projectId: string;
1786
+ fileName: string;
2801
1787
  fileUrl: string;
2802
1788
  tags: string[];
2803
1789
  version: string;
2804
- fileName: string;
2805
1790
  isConfidential: boolean;
2806
1791
  uploadedById: string;
2807
1792
  uploadedAt: string;
@@ -2874,8 +1859,8 @@ export declare const projectsContract: {
2874
1859
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2875
1860
  title: string;
2876
1861
  projectId: string;
2877
- fileUrl: string;
2878
1862
  fileName: string;
1863
+ fileUrl: string;
2879
1864
  uploadedById: string;
2880
1865
  uploadedAt: string;
2881
1866
  description?: string | null | undefined;
@@ -2985,10 +1970,10 @@ export declare const projectsContract: {
2985
1970
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2986
1971
  title: string;
2987
1972
  projectId: string;
1973
+ fileName: string;
2988
1974
  fileUrl: string;
2989
1975
  tags: string[];
2990
1976
  version: string;
2991
- fileName: string;
2992
1977
  isConfidential: boolean;
2993
1978
  uploadedById: string;
2994
1979
  uploadedAt: string;
@@ -3078,8 +2063,8 @@ export declare const projectsContract: {
3078
2063
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3079
2064
  title: string;
3080
2065
  projectId: string;
3081
- fileUrl: string;
3082
2066
  fileName: string;
2067
+ fileUrl: string;
3083
2068
  uploadedById: string;
3084
2069
  uploadedAt: string;
3085
2070
  description?: string | null | undefined;
@@ -3371,10 +2356,10 @@ export declare const projectsContract: {
3371
2356
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3372
2357
  title: string;
3373
2358
  projectId: string;
2359
+ fileName: string;
3374
2360
  fileUrl: string;
3375
2361
  tags: string[];
3376
2362
  version: string;
3377
- fileName: string;
3378
2363
  isConfidential: boolean;
3379
2364
  uploadedById: string;
3380
2365
  uploadedAt: string;
@@ -3400,8 +2385,8 @@ export declare const projectsContract: {
3400
2385
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3401
2386
  title: string;
3402
2387
  projectId: string;
3403
- fileUrl: string;
3404
2388
  fileName: string;
2389
+ fileUrl: string;
3405
2390
  uploadedById: string;
3406
2391
  uploadedAt: string;
3407
2392
  description?: string | null | undefined;
@@ -3439,10 +2424,10 @@ export declare const projectsContract: {
3439
2424
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3440
2425
  title: string;
3441
2426
  projectId: string;
2427
+ fileName: string;
3442
2428
  fileUrl: string;
3443
2429
  tags: string[];
3444
2430
  version: string;
3445
- fileName: string;
3446
2431
  isConfidential: boolean;
3447
2432
  uploadedById: string;
3448
2433
  uploadedAt: string;
@@ -3511,8 +2496,8 @@ export declare const projectsContract: {
3511
2496
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3512
2497
  title: string;
3513
2498
  projectId: string;
3514
- fileUrl: string;
3515
2499
  fileName: string;
2500
+ fileUrl: string;
3516
2501
  uploadedById: string;
3517
2502
  uploadedAt: string;
3518
2503
  description?: string | null | undefined;
@@ -3579,10 +2564,10 @@ export declare const projectsContract: {
3579
2564
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3580
2565
  title: string;
3581
2566
  projectId: string;
2567
+ fileName: string;
3582
2568
  fileUrl: string;
3583
2569
  tags: string[];
3584
2570
  version: string;
3585
- fileName: string;
3586
2571
  isConfidential: boolean;
3587
2572
  uploadedById: string;
3588
2573
  uploadedAt: string;
@@ -3655,8 +2640,8 @@ export declare const projectsContract: {
3655
2640
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3656
2641
  title: string;
3657
2642
  projectId: string;
3658
- fileUrl: string;
3659
2643
  fileName: string;
2644
+ fileUrl: string;
3660
2645
  uploadedById: string;
3661
2646
  uploadedAt: string;
3662
2647
  description?: string | null | undefined;
@@ -3761,10 +2746,10 @@ export declare const projectsContract: {
3761
2746
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3762
2747
  title: string;
3763
2748
  projectId: string;
2749
+ fileName: string;
3764
2750
  fileUrl: string;
3765
2751
  tags: string[];
3766
2752
  version: string;
3767
- fileName: string;
3768
2753
  isConfidential: boolean;
3769
2754
  uploadedById: string;
3770
2755
  uploadedAt: string;
@@ -3853,8 +2838,8 @@ export declare const projectsContract: {
3853
2838
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
3854
2839
  title: string;
3855
2840
  projectId: string;
3856
- fileUrl: string;
3857
2841
  fileName: string;
2842
+ fileUrl: string;
3858
2843
  uploadedById: string;
3859
2844
  uploadedAt: string;
3860
2845
  description?: string | null | undefined;
@@ -4152,10 +3137,10 @@ export declare const projectsContract: {
4152
3137
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4153
3138
  title: string;
4154
3139
  projectId: string;
3140
+ fileName: string;
4155
3141
  fileUrl: string;
4156
3142
  tags: string[];
4157
3143
  version: string;
4158
- fileName: string;
4159
3144
  isConfidential: boolean;
4160
3145
  uploadedById: string;
4161
3146
  uploadedAt: string;
@@ -4181,8 +3166,8 @@ export declare const projectsContract: {
4181
3166
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4182
3167
  title: string;
4183
3168
  projectId: string;
4184
- fileUrl: string;
4185
3169
  fileName: string;
3170
+ fileUrl: string;
4186
3171
  uploadedById: string;
4187
3172
  uploadedAt: string;
4188
3173
  description?: string | null | undefined;
@@ -4220,10 +3205,10 @@ export declare const projectsContract: {
4220
3205
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4221
3206
  title: string;
4222
3207
  projectId: string;
3208
+ fileName: string;
4223
3209
  fileUrl: string;
4224
3210
  tags: string[];
4225
3211
  version: string;
4226
- fileName: string;
4227
3212
  isConfidential: boolean;
4228
3213
  uploadedById: string;
4229
3214
  uploadedAt: string;
@@ -4292,8 +3277,8 @@ export declare const projectsContract: {
4292
3277
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4293
3278
  title: string;
4294
3279
  projectId: string;
4295
- fileUrl: string;
4296
3280
  fileName: string;
3281
+ fileUrl: string;
4297
3282
  uploadedById: string;
4298
3283
  uploadedAt: string;
4299
3284
  description?: string | null | undefined;
@@ -4360,10 +3345,10 @@ export declare const projectsContract: {
4360
3345
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4361
3346
  title: string;
4362
3347
  projectId: string;
3348
+ fileName: string;
4363
3349
  fileUrl: string;
4364
3350
  tags: string[];
4365
3351
  version: string;
4366
- fileName: string;
4367
3352
  isConfidential: boolean;
4368
3353
  uploadedById: string;
4369
3354
  uploadedAt: string;
@@ -4436,8 +3421,8 @@ export declare const projectsContract: {
4436
3421
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4437
3422
  title: string;
4438
3423
  projectId: string;
4439
- fileUrl: string;
4440
3424
  fileName: string;
3425
+ fileUrl: string;
4441
3426
  uploadedById: string;
4442
3427
  uploadedAt: string;
4443
3428
  description?: string | null | undefined;
@@ -4542,10 +3527,10 @@ export declare const projectsContract: {
4542
3527
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4543
3528
  title: string;
4544
3529
  projectId: string;
3530
+ fileName: string;
4545
3531
  fileUrl: string;
4546
3532
  tags: string[];
4547
3533
  version: string;
4548
- fileName: string;
4549
3534
  isConfidential: boolean;
4550
3535
  uploadedById: string;
4551
3536
  uploadedAt: string;
@@ -4634,8 +3619,8 @@ export declare const projectsContract: {
4634
3619
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4635
3620
  title: string;
4636
3621
  projectId: string;
4637
- fileUrl: string;
4638
3622
  fileName: string;
3623
+ fileUrl: string;
4639
3624
  uploadedById: string;
4640
3625
  uploadedAt: string;
4641
3626
  description?: string | null | undefined;
@@ -4938,10 +3923,10 @@ export declare const projectsContract: {
4938
3923
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4939
3924
  title: string;
4940
3925
  projectId: string;
3926
+ fileName: string;
4941
3927
  fileUrl: string;
4942
3928
  tags: string[];
4943
3929
  version: string;
4944
- fileName: string;
4945
3930
  isConfidential: boolean;
4946
3931
  uploadedById: string;
4947
3932
  uploadedAt: string;
@@ -4967,8 +3952,8 @@ export declare const projectsContract: {
4967
3952
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
4968
3953
  title: string;
4969
3954
  projectId: string;
4970
- fileUrl: string;
4971
3955
  fileName: string;
3956
+ fileUrl: string;
4972
3957
  uploadedById: string;
4973
3958
  uploadedAt: string;
4974
3959
  description?: string | null | undefined;
@@ -5006,10 +3991,10 @@ export declare const projectsContract: {
5006
3991
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5007
3992
  title: string;
5008
3993
  projectId: string;
3994
+ fileName: string;
5009
3995
  fileUrl: string;
5010
3996
  tags: string[];
5011
3997
  version: string;
5012
- fileName: string;
5013
3998
  isConfidential: boolean;
5014
3999
  uploadedById: string;
5015
4000
  uploadedAt: string;
@@ -5078,8 +4063,8 @@ export declare const projectsContract: {
5078
4063
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5079
4064
  title: string;
5080
4065
  projectId: string;
5081
- fileUrl: string;
5082
4066
  fileName: string;
4067
+ fileUrl: string;
5083
4068
  uploadedById: string;
5084
4069
  uploadedAt: string;
5085
4070
  description?: string | null | undefined;
@@ -5146,10 +4131,10 @@ export declare const projectsContract: {
5146
4131
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5147
4132
  title: string;
5148
4133
  projectId: string;
4134
+ fileName: string;
5149
4135
  fileUrl: string;
5150
4136
  tags: string[];
5151
4137
  version: string;
5152
- fileName: string;
5153
4138
  isConfidential: boolean;
5154
4139
  uploadedById: string;
5155
4140
  uploadedAt: string;
@@ -5222,8 +4207,8 @@ export declare const projectsContract: {
5222
4207
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5223
4208
  title: string;
5224
4209
  projectId: string;
5225
- fileUrl: string;
5226
4210
  fileName: string;
4211
+ fileUrl: string;
5227
4212
  uploadedById: string;
5228
4213
  uploadedAt: string;
5229
4214
  description?: string | null | undefined;
@@ -5328,10 +4313,10 @@ export declare const projectsContract: {
5328
4313
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5329
4314
  title: string;
5330
4315
  projectId: string;
4316
+ fileName: string;
5331
4317
  fileUrl: string;
5332
4318
  tags: string[];
5333
4319
  version: string;
5334
- fileName: string;
5335
4320
  isConfidential: boolean;
5336
4321
  uploadedById: string;
5337
4322
  uploadedAt: string;
@@ -5420,8 +4405,8 @@ export declare const projectsContract: {
5420
4405
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5421
4406
  title: string;
5422
4407
  projectId: string;
5423
- fileUrl: string;
5424
4408
  fileName: string;
4409
+ fileUrl: string;
5425
4410
  uploadedById: string;
5426
4411
  uploadedAt: string;
5427
4412
  description?: string | null | undefined;