@deepintel-ltd/buildlink-api-contracts 0.2.29 → 0.2.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.
Files changed (115) hide show
  1. package/README.md +1 -1
  2. package/contracts/auth.d.ts +68 -68
  3. package/contracts/boq.d.ts +18 -18
  4. package/contracts/budget.d.ts +1969 -173
  5. package/contracts/budget.d.ts.map +1 -1
  6. package/contracts/budget.js +36 -1
  7. package/contracts/budget.js.map +1 -1
  8. package/contracts/communication.d.ts +560 -0
  9. package/contracts/communication.d.ts.map +1 -1
  10. package/contracts/contractor-ledger.d.ts +508 -12
  11. package/contracts/contractor-ledger.d.ts.map +1 -1
  12. package/contracts/contractor-ledger.js +29 -1
  13. package/contracts/contractor-ledger.js.map +1 -1
  14. package/contracts/daily-logs.d.ts +1362 -74
  15. package/contracts/daily-logs.d.ts.map +1 -1
  16. package/contracts/deficiencies.d.ts +4516 -436
  17. package/contracts/deficiencies.d.ts.map +1 -1
  18. package/contracts/deficiencies.js +99 -1
  19. package/contracts/deficiencies.js.map +1 -1
  20. package/contracts/directory.d.ts +48 -48
  21. package/contracts/documents.d.ts +149 -149
  22. package/contracts/drawings.d.ts +246 -246
  23. package/contracts/hub.d.ts +18 -18
  24. package/contracts/index.d.ts +3 -2
  25. package/contracts/index.d.ts.map +1 -1
  26. package/contracts/index.js +2 -2
  27. package/contracts/index.js.map +1 -1
  28. package/contracts/maps.d.ts +42 -42
  29. package/contracts/packages.d.ts +24 -24
  30. package/contracts/projects.d.ts +610 -50
  31. package/contracts/projects.d.ts.map +1 -1
  32. package/contracts/proof.d.ts +694 -0
  33. package/contracts/proof.d.ts.map +1 -1
  34. package/contracts/proof.js +41 -1
  35. package/contracts/proof.js.map +1 -1
  36. package/contracts/qaqc.d.ts +546 -0
  37. package/contracts/qaqc.d.ts.map +1 -1
  38. package/contracts/qaqc.js +15 -1
  39. package/contracts/qaqc.js.map +1 -1
  40. package/contracts/rbac.d.ts +6 -6
  41. package/contracts/resources.d.ts +60 -60
  42. package/contracts/rfi-submittal.d.ts +128 -128
  43. package/contracts/safety.d.ts +2156 -162
  44. package/contracts/safety.d.ts.map +1 -1
  45. package/contracts/safety.js +44 -1
  46. package/contracts/safety.js.map +1 -1
  47. package/contracts/schedule.d.ts +84 -84
  48. package/contracts/specifications.d.ts +156 -156
  49. package/contracts/tasks.d.ts +2312 -229
  50. package/contracts/tasks.d.ts.map +1 -1
  51. package/contracts/tasks.js +55 -1
  52. package/contracts/tasks.js.map +1 -1
  53. package/contracts/timecards.d.ts +32 -32
  54. package/contracts/valuations.d.ts +64 -64
  55. package/package.json +1 -1
  56. package/schemas/auth.d.ts +36 -36
  57. package/schemas/boq.d.ts +6 -6
  58. package/schemas/budget.d.ts +168 -4
  59. package/schemas/budget.d.ts.map +1 -1
  60. package/schemas/budget.js +31 -1
  61. package/schemas/budget.js.map +1 -1
  62. package/schemas/common.d.ts +37 -0
  63. package/schemas/common.d.ts.map +1 -1
  64. package/schemas/common.js +34 -0
  65. package/schemas/common.js.map +1 -1
  66. package/schemas/common.person-summary.spec.d.ts +2 -0
  67. package/schemas/common.person-summary.spec.d.ts.map +1 -0
  68. package/schemas/common.person-summary.spec.js +33 -0
  69. package/schemas/common.person-summary.spec.js.map +1 -0
  70. package/schemas/communication.d.ts +94 -0
  71. package/schemas/communication.d.ts.map +1 -1
  72. package/schemas/communication.js +3 -1
  73. package/schemas/communication.js.map +1 -1
  74. package/schemas/contractor-ledger.d.ts +77 -6
  75. package/schemas/contractor-ledger.d.ts.map +1 -1
  76. package/schemas/contractor-ledger.js +13 -0
  77. package/schemas/contractor-ledger.js.map +1 -1
  78. package/schemas/daily-logs.d.ts +232 -22
  79. package/schemas/daily-logs.d.ts.map +1 -1
  80. package/schemas/daily-logs.js +7 -1
  81. package/schemas/daily-logs.js.map +1 -1
  82. package/schemas/deficiencies.d.ts +793 -100
  83. package/schemas/deficiencies.d.ts.map +1 -1
  84. package/schemas/deficiencies.js +79 -6
  85. package/schemas/deficiencies.js.map +1 -1
  86. package/schemas/directory.d.ts +20 -20
  87. package/schemas/documents.d.ts +3 -3
  88. package/schemas/drawings.d.ts +74 -74
  89. package/schemas/hub.d.ts +6 -6
  90. package/schemas/maps.d.ts +6 -6
  91. package/schemas/packages.d.ts +6 -6
  92. package/schemas/projects.d.ts +8 -8
  93. package/schemas/proof.d.ts +20 -0
  94. package/schemas/proof.d.ts.map +1 -1
  95. package/schemas/proof.js +7 -0
  96. package/schemas/proof.js.map +1 -1
  97. package/schemas/qaqc.d.ts +74 -0
  98. package/schemas/qaqc.d.ts.map +1 -1
  99. package/schemas/qaqc.js +26 -1
  100. package/schemas/qaqc.js.map +1 -1
  101. package/schemas/resources.d.ts +18 -18
  102. package/schemas/rfi.d.ts +52 -52
  103. package/schemas/safety.d.ts +491 -0
  104. package/schemas/safety.d.ts.map +1 -1
  105. package/schemas/safety.js +54 -1
  106. package/schemas/safety.js.map +1 -1
  107. package/schemas/schedule.d.ts +68 -68
  108. package/schemas/specifications.d.ts +134 -134
  109. package/schemas/submittal.d.ts +52 -52
  110. package/schemas/tasks.d.ts +111 -23
  111. package/schemas/tasks.d.ts.map +1 -1
  112. package/schemas/tasks.js +11 -2
  113. package/schemas/tasks.js.map +1 -1
  114. package/schemas/timecards.d.ts +6 -6
  115. package/schemas/valuations.d.ts +12 -12
@@ -235,8 +235,52 @@ export declare const tasksContract: {
235
235
  actualHours: z.ZodOptional<z.ZodNumber>;
236
236
  progress: z.ZodDefault<z.ZodNumber>;
237
237
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
238
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
239
+ id: z.ZodString;
240
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
+ email: z.ZodOptional<z.ZodString>;
243
+ name: z.ZodOptional<z.ZodString>;
244
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ id: string;
247
+ firstName?: string | null | undefined;
248
+ lastName?: string | null | undefined;
249
+ email?: string | undefined;
250
+ name?: string | undefined;
251
+ avatar?: string | null | undefined;
252
+ }, {
253
+ id: string;
254
+ firstName?: string | null | undefined;
255
+ lastName?: string | null | undefined;
256
+ email?: string | undefined;
257
+ name?: string | undefined;
258
+ avatar?: string | null | undefined;
259
+ }>, "many">>;
238
260
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
239
261
  createdBy: z.ZodString;
262
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
263
+ id: z.ZodString;
264
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
266
+ email: z.ZodOptional<z.ZodString>;
267
+ name: z.ZodOptional<z.ZodString>;
268
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ id: string;
271
+ firstName?: string | null | undefined;
272
+ lastName?: string | null | undefined;
273
+ email?: string | undefined;
274
+ name?: string | undefined;
275
+ avatar?: string | null | undefined;
276
+ }, {
277
+ id: string;
278
+ firstName?: string | null | undefined;
279
+ lastName?: string | null | undefined;
280
+ email?: string | undefined;
281
+ name?: string | undefined;
282
+ avatar?: string | null | undefined;
283
+ }>>>;
240
284
  completedAt: z.ZodOptional<z.ZodString>;
241
285
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
242
286
  id: z.ZodString;
@@ -265,9 +309,9 @@ export declare const tasksContract: {
265
309
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
266
310
  title: string;
267
311
  projectId: string;
312
+ fileUrl: string;
268
313
  tags: string[];
269
314
  version: string;
270
- fileUrl: string;
271
315
  fileName: string;
272
316
  isConfidential: boolean;
273
317
  uploadedById: string;
@@ -317,9 +361,9 @@ export declare const tasksContract: {
317
361
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
318
362
  title: string;
319
363
  projectId: string;
364
+ fileUrl: string;
320
365
  tags: string[];
321
366
  version: string;
322
- fileUrl: string;
323
367
  fileName: string;
324
368
  isConfidential: boolean;
325
369
  uploadedById: string;
@@ -346,6 +390,22 @@ export declare const tasksContract: {
346
390
  estimatedHours?: number | undefined;
347
391
  actualHours?: number | undefined;
348
392
  completedAt?: string | undefined;
393
+ assignees?: {
394
+ id: string;
395
+ firstName?: string | null | undefined;
396
+ lastName?: string | null | undefined;
397
+ email?: string | undefined;
398
+ name?: string | undefined;
399
+ avatar?: string | null | undefined;
400
+ }[] | undefined;
401
+ creator?: {
402
+ id: string;
403
+ firstName?: string | null | undefined;
404
+ lastName?: string | null | undefined;
405
+ email?: string | undefined;
406
+ name?: string | undefined;
407
+ avatar?: string | null | undefined;
408
+ } | null | undefined;
349
409
  }, {
350
410
  id: string;
351
411
  createdAt: string;
@@ -389,7 +449,23 @@ export declare const tasksContract: {
389
449
  assignedTo?: string[] | undefined;
390
450
  progress?: number | undefined;
391
451
  completedAt?: string | undefined;
452
+ assignees?: {
453
+ id: string;
454
+ firstName?: string | null | undefined;
455
+ lastName?: string | null | undefined;
456
+ email?: string | undefined;
457
+ name?: string | undefined;
458
+ avatar?: string | null | undefined;
459
+ }[] | undefined;
392
460
  dependencies?: string[] | undefined;
461
+ creator?: {
462
+ id: string;
463
+ firstName?: string | null | undefined;
464
+ lastName?: string | null | undefined;
465
+ email?: string | undefined;
466
+ name?: string | undefined;
467
+ avatar?: string | null | undefined;
468
+ } | null | undefined;
393
469
  }>;
394
470
  }, "strip", z.ZodTypeAny, {
395
471
  id: string;
@@ -409,9 +485,9 @@ export declare const tasksContract: {
409
485
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
410
486
  title: string;
411
487
  projectId: string;
488
+ fileUrl: string;
412
489
  tags: string[];
413
490
  version: string;
414
- fileUrl: string;
415
491
  fileName: string;
416
492
  isConfidential: boolean;
417
493
  uploadedById: string;
@@ -438,6 +514,22 @@ export declare const tasksContract: {
438
514
  estimatedHours?: number | undefined;
439
515
  actualHours?: number | undefined;
440
516
  completedAt?: string | undefined;
517
+ assignees?: {
518
+ id: string;
519
+ firstName?: string | null | undefined;
520
+ lastName?: string | null | undefined;
521
+ email?: string | undefined;
522
+ name?: string | undefined;
523
+ avatar?: string | null | undefined;
524
+ }[] | undefined;
525
+ creator?: {
526
+ id: string;
527
+ firstName?: string | null | undefined;
528
+ lastName?: string | null | undefined;
529
+ email?: string | undefined;
530
+ name?: string | undefined;
531
+ avatar?: string | null | undefined;
532
+ } | null | undefined;
441
533
  };
442
534
  }, {
443
535
  id: string;
@@ -485,7 +577,23 @@ export declare const tasksContract: {
485
577
  assignedTo?: string[] | undefined;
486
578
  progress?: number | undefined;
487
579
  completedAt?: string | undefined;
580
+ assignees?: {
581
+ id: string;
582
+ firstName?: string | null | undefined;
583
+ lastName?: string | null | undefined;
584
+ email?: string | undefined;
585
+ name?: string | undefined;
586
+ avatar?: string | null | undefined;
587
+ }[] | undefined;
488
588
  dependencies?: string[] | undefined;
589
+ creator?: {
590
+ id: string;
591
+ firstName?: string | null | undefined;
592
+ lastName?: string | null | undefined;
593
+ email?: string | undefined;
594
+ name?: string | undefined;
595
+ avatar?: string | null | undefined;
596
+ } | null | undefined;
489
597
  };
490
598
  }>, "many">;
491
599
  meta: z.ZodOptional<z.ZodObject<{
@@ -548,9 +656,9 @@ export declare const tasksContract: {
548
656
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
549
657
  title: string;
550
658
  projectId: string;
659
+ fileUrl: string;
551
660
  tags: string[];
552
661
  version: string;
553
- fileUrl: string;
554
662
  fileName: string;
555
663
  isConfidential: boolean;
556
664
  uploadedById: string;
@@ -577,6 +685,22 @@ export declare const tasksContract: {
577
685
  estimatedHours?: number | undefined;
578
686
  actualHours?: number | undefined;
579
687
  completedAt?: string | undefined;
688
+ assignees?: {
689
+ id: string;
690
+ firstName?: string | null | undefined;
691
+ lastName?: string | null | undefined;
692
+ email?: string | undefined;
693
+ name?: string | undefined;
694
+ avatar?: string | null | undefined;
695
+ }[] | undefined;
696
+ creator?: {
697
+ id: string;
698
+ firstName?: string | null | undefined;
699
+ lastName?: string | null | undefined;
700
+ email?: string | undefined;
701
+ name?: string | undefined;
702
+ avatar?: string | null | undefined;
703
+ } | null | undefined;
580
704
  };
581
705
  }[];
582
706
  meta?: {
@@ -641,7 +765,23 @@ export declare const tasksContract: {
641
765
  assignedTo?: string[] | undefined;
642
766
  progress?: number | undefined;
643
767
  completedAt?: string | undefined;
768
+ assignees?: {
769
+ id: string;
770
+ firstName?: string | null | undefined;
771
+ lastName?: string | null | undefined;
772
+ email?: string | undefined;
773
+ name?: string | undefined;
774
+ avatar?: string | null | undefined;
775
+ }[] | undefined;
644
776
  dependencies?: string[] | undefined;
777
+ creator?: {
778
+ id: string;
779
+ firstName?: string | null | undefined;
780
+ lastName?: string | null | undefined;
781
+ email?: string | undefined;
782
+ name?: string | undefined;
783
+ avatar?: string | null | undefined;
784
+ } | null | undefined;
645
785
  };
646
786
  }[];
647
787
  meta?: {
@@ -829,8 +969,52 @@ export declare const tasksContract: {
829
969
  actualHours: z.ZodOptional<z.ZodNumber>;
830
970
  progress: z.ZodDefault<z.ZodNumber>;
831
971
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
972
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
973
+ id: z.ZodString;
974
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
975
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
976
+ email: z.ZodOptional<z.ZodString>;
977
+ name: z.ZodOptional<z.ZodString>;
978
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
979
+ }, "strip", z.ZodTypeAny, {
980
+ id: string;
981
+ firstName?: string | null | undefined;
982
+ lastName?: string | null | undefined;
983
+ email?: string | undefined;
984
+ name?: string | undefined;
985
+ avatar?: string | null | undefined;
986
+ }, {
987
+ id: string;
988
+ firstName?: string | null | undefined;
989
+ lastName?: string | null | undefined;
990
+ email?: string | undefined;
991
+ name?: string | undefined;
992
+ avatar?: string | null | undefined;
993
+ }>, "many">>;
832
994
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
833
995
  createdBy: z.ZodString;
996
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
997
+ id: z.ZodString;
998
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
+ email: z.ZodOptional<z.ZodString>;
1001
+ name: z.ZodOptional<z.ZodString>;
1002
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ id: string;
1005
+ firstName?: string | null | undefined;
1006
+ lastName?: string | null | undefined;
1007
+ email?: string | undefined;
1008
+ name?: string | undefined;
1009
+ avatar?: string | null | undefined;
1010
+ }, {
1011
+ id: string;
1012
+ firstName?: string | null | undefined;
1013
+ lastName?: string | null | undefined;
1014
+ email?: string | undefined;
1015
+ name?: string | undefined;
1016
+ avatar?: string | null | undefined;
1017
+ }>>>;
834
1018
  completedAt: z.ZodOptional<z.ZodString>;
835
1019
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
836
1020
  id: z.ZodString;
@@ -859,9 +1043,9 @@ export declare const tasksContract: {
859
1043
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
860
1044
  title: string;
861
1045
  projectId: string;
1046
+ fileUrl: string;
862
1047
  tags: string[];
863
1048
  version: string;
864
- fileUrl: string;
865
1049
  fileName: string;
866
1050
  isConfidential: boolean;
867
1051
  uploadedById: string;
@@ -911,9 +1095,9 @@ export declare const tasksContract: {
911
1095
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
912
1096
  title: string;
913
1097
  projectId: string;
1098
+ fileUrl: string;
914
1099
  tags: string[];
915
1100
  version: string;
916
- fileUrl: string;
917
1101
  fileName: string;
918
1102
  isConfidential: boolean;
919
1103
  uploadedById: string;
@@ -940,6 +1124,22 @@ export declare const tasksContract: {
940
1124
  estimatedHours?: number | undefined;
941
1125
  actualHours?: number | undefined;
942
1126
  completedAt?: string | undefined;
1127
+ assignees?: {
1128
+ id: string;
1129
+ firstName?: string | null | undefined;
1130
+ lastName?: string | null | undefined;
1131
+ email?: string | undefined;
1132
+ name?: string | undefined;
1133
+ avatar?: string | null | undefined;
1134
+ }[] | undefined;
1135
+ creator?: {
1136
+ id: string;
1137
+ firstName?: string | null | undefined;
1138
+ lastName?: string | null | undefined;
1139
+ email?: string | undefined;
1140
+ name?: string | undefined;
1141
+ avatar?: string | null | undefined;
1142
+ } | null | undefined;
943
1143
  }, {
944
1144
  id: string;
945
1145
  createdAt: string;
@@ -983,7 +1183,23 @@ export declare const tasksContract: {
983
1183
  assignedTo?: string[] | undefined;
984
1184
  progress?: number | undefined;
985
1185
  completedAt?: string | undefined;
1186
+ assignees?: {
1187
+ id: string;
1188
+ firstName?: string | null | undefined;
1189
+ lastName?: string | null | undefined;
1190
+ email?: string | undefined;
1191
+ name?: string | undefined;
1192
+ avatar?: string | null | undefined;
1193
+ }[] | undefined;
986
1194
  dependencies?: string[] | undefined;
1195
+ creator?: {
1196
+ id: string;
1197
+ firstName?: string | null | undefined;
1198
+ lastName?: string | null | undefined;
1199
+ email?: string | undefined;
1200
+ name?: string | undefined;
1201
+ avatar?: string | null | undefined;
1202
+ } | null | undefined;
987
1203
  }>;
988
1204
  }, "strip", z.ZodTypeAny, {
989
1205
  id: string;
@@ -1003,9 +1219,9 @@ export declare const tasksContract: {
1003
1219
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1004
1220
  title: string;
1005
1221
  projectId: string;
1222
+ fileUrl: string;
1006
1223
  tags: string[];
1007
1224
  version: string;
1008
- fileUrl: string;
1009
1225
  fileName: string;
1010
1226
  isConfidential: boolean;
1011
1227
  uploadedById: string;
@@ -1032,6 +1248,22 @@ export declare const tasksContract: {
1032
1248
  estimatedHours?: number | undefined;
1033
1249
  actualHours?: number | undefined;
1034
1250
  completedAt?: string | undefined;
1251
+ assignees?: {
1252
+ id: string;
1253
+ firstName?: string | null | undefined;
1254
+ lastName?: string | null | undefined;
1255
+ email?: string | undefined;
1256
+ name?: string | undefined;
1257
+ avatar?: string | null | undefined;
1258
+ }[] | undefined;
1259
+ creator?: {
1260
+ id: string;
1261
+ firstName?: string | null | undefined;
1262
+ lastName?: string | null | undefined;
1263
+ email?: string | undefined;
1264
+ name?: string | undefined;
1265
+ avatar?: string | null | undefined;
1266
+ } | null | undefined;
1035
1267
  };
1036
1268
  }, {
1037
1269
  id: string;
@@ -1079,7 +1311,23 @@ export declare const tasksContract: {
1079
1311
  assignedTo?: string[] | undefined;
1080
1312
  progress?: number | undefined;
1081
1313
  completedAt?: string | undefined;
1314
+ assignees?: {
1315
+ id: string;
1316
+ firstName?: string | null | undefined;
1317
+ lastName?: string | null | undefined;
1318
+ email?: string | undefined;
1319
+ name?: string | undefined;
1320
+ avatar?: string | null | undefined;
1321
+ }[] | undefined;
1082
1322
  dependencies?: string[] | undefined;
1323
+ creator?: {
1324
+ id: string;
1325
+ firstName?: string | null | undefined;
1326
+ lastName?: string | null | undefined;
1327
+ email?: string | undefined;
1328
+ name?: string | undefined;
1329
+ avatar?: string | null | undefined;
1330
+ } | null | undefined;
1083
1331
  };
1084
1332
  }>;
1085
1333
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1137,9 +1385,9 @@ export declare const tasksContract: {
1137
1385
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1138
1386
  title: string;
1139
1387
  projectId: string;
1388
+ fileUrl: string;
1140
1389
  tags: string[];
1141
1390
  version: string;
1142
- fileUrl: string;
1143
1391
  fileName: string;
1144
1392
  isConfidential: boolean;
1145
1393
  uploadedById: string;
@@ -1166,6 +1414,22 @@ export declare const tasksContract: {
1166
1414
  estimatedHours?: number | undefined;
1167
1415
  actualHours?: number | undefined;
1168
1416
  completedAt?: string | undefined;
1417
+ assignees?: {
1418
+ id: string;
1419
+ firstName?: string | null | undefined;
1420
+ lastName?: string | null | undefined;
1421
+ email?: string | undefined;
1422
+ name?: string | undefined;
1423
+ avatar?: string | null | undefined;
1424
+ }[] | undefined;
1425
+ creator?: {
1426
+ id: string;
1427
+ firstName?: string | null | undefined;
1428
+ lastName?: string | null | undefined;
1429
+ email?: string | undefined;
1430
+ name?: string | undefined;
1431
+ avatar?: string | null | undefined;
1432
+ } | null | undefined;
1169
1433
  };
1170
1434
  };
1171
1435
  meta?: Record<string, unknown> | undefined;
@@ -1229,7 +1493,23 @@ export declare const tasksContract: {
1229
1493
  assignedTo?: string[] | undefined;
1230
1494
  progress?: number | undefined;
1231
1495
  completedAt?: string | undefined;
1496
+ assignees?: {
1497
+ id: string;
1498
+ firstName?: string | null | undefined;
1499
+ lastName?: string | null | undefined;
1500
+ email?: string | undefined;
1501
+ name?: string | undefined;
1502
+ avatar?: string | null | undefined;
1503
+ }[] | undefined;
1232
1504
  dependencies?: string[] | undefined;
1505
+ creator?: {
1506
+ id: string;
1507
+ firstName?: string | null | undefined;
1508
+ lastName?: string | null | undefined;
1509
+ email?: string | undefined;
1510
+ name?: string | undefined;
1511
+ avatar?: string | null | undefined;
1512
+ } | null | undefined;
1233
1513
  };
1234
1514
  };
1235
1515
  meta?: Record<string, unknown> | undefined;
@@ -1420,8 +1700,52 @@ export declare const tasksContract: {
1420
1700
  actualHours: z.ZodOptional<z.ZodNumber>;
1421
1701
  progress: z.ZodDefault<z.ZodNumber>;
1422
1702
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1703
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
1704
+ id: z.ZodString;
1705
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1706
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1707
+ email: z.ZodOptional<z.ZodString>;
1708
+ name: z.ZodOptional<z.ZodString>;
1709
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ id: string;
1712
+ firstName?: string | null | undefined;
1713
+ lastName?: string | null | undefined;
1714
+ email?: string | undefined;
1715
+ name?: string | undefined;
1716
+ avatar?: string | null | undefined;
1717
+ }, {
1718
+ id: string;
1719
+ firstName?: string | null | undefined;
1720
+ lastName?: string | null | undefined;
1721
+ email?: string | undefined;
1722
+ name?: string | undefined;
1723
+ avatar?: string | null | undefined;
1724
+ }>, "many">>;
1423
1725
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1424
1726
  createdBy: z.ZodString;
1727
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1728
+ id: z.ZodString;
1729
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1730
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1731
+ email: z.ZodOptional<z.ZodString>;
1732
+ name: z.ZodOptional<z.ZodString>;
1733
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1734
+ }, "strip", z.ZodTypeAny, {
1735
+ id: string;
1736
+ firstName?: string | null | undefined;
1737
+ lastName?: string | null | undefined;
1738
+ email?: string | undefined;
1739
+ name?: string | undefined;
1740
+ avatar?: string | null | undefined;
1741
+ }, {
1742
+ id: string;
1743
+ firstName?: string | null | undefined;
1744
+ lastName?: string | null | undefined;
1745
+ email?: string | undefined;
1746
+ name?: string | undefined;
1747
+ avatar?: string | null | undefined;
1748
+ }>>>;
1425
1749
  completedAt: z.ZodOptional<z.ZodString>;
1426
1750
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
1427
1751
  id: z.ZodString;
@@ -1450,9 +1774,9 @@ export declare const tasksContract: {
1450
1774
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1451
1775
  title: string;
1452
1776
  projectId: string;
1777
+ fileUrl: string;
1453
1778
  tags: string[];
1454
1779
  version: string;
1455
- fileUrl: string;
1456
1780
  fileName: string;
1457
1781
  isConfidential: boolean;
1458
1782
  uploadedById: string;
@@ -1502,9 +1826,9 @@ export declare const tasksContract: {
1502
1826
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1503
1827
  title: string;
1504
1828
  projectId: string;
1829
+ fileUrl: string;
1505
1830
  tags: string[];
1506
1831
  version: string;
1507
- fileUrl: string;
1508
1832
  fileName: string;
1509
1833
  isConfidential: boolean;
1510
1834
  uploadedById: string;
@@ -1531,6 +1855,22 @@ export declare const tasksContract: {
1531
1855
  estimatedHours?: number | undefined;
1532
1856
  actualHours?: number | undefined;
1533
1857
  completedAt?: string | undefined;
1858
+ assignees?: {
1859
+ id: string;
1860
+ firstName?: string | null | undefined;
1861
+ lastName?: string | null | undefined;
1862
+ email?: string | undefined;
1863
+ name?: string | undefined;
1864
+ avatar?: string | null | undefined;
1865
+ }[] | undefined;
1866
+ creator?: {
1867
+ id: string;
1868
+ firstName?: string | null | undefined;
1869
+ lastName?: string | null | undefined;
1870
+ email?: string | undefined;
1871
+ name?: string | undefined;
1872
+ avatar?: string | null | undefined;
1873
+ } | null | undefined;
1534
1874
  }, {
1535
1875
  id: string;
1536
1876
  createdAt: string;
@@ -1574,7 +1914,23 @@ export declare const tasksContract: {
1574
1914
  assignedTo?: string[] | undefined;
1575
1915
  progress?: number | undefined;
1576
1916
  completedAt?: string | undefined;
1917
+ assignees?: {
1918
+ id: string;
1919
+ firstName?: string | null | undefined;
1920
+ lastName?: string | null | undefined;
1921
+ email?: string | undefined;
1922
+ name?: string | undefined;
1923
+ avatar?: string | null | undefined;
1924
+ }[] | undefined;
1577
1925
  dependencies?: string[] | undefined;
1926
+ creator?: {
1927
+ id: string;
1928
+ firstName?: string | null | undefined;
1929
+ lastName?: string | null | undefined;
1930
+ email?: string | undefined;
1931
+ name?: string | undefined;
1932
+ avatar?: string | null | undefined;
1933
+ } | null | undefined;
1578
1934
  }>;
1579
1935
  }, "strip", z.ZodTypeAny, {
1580
1936
  id: string;
@@ -1594,9 +1950,9 @@ export declare const tasksContract: {
1594
1950
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1595
1951
  title: string;
1596
1952
  projectId: string;
1953
+ fileUrl: string;
1597
1954
  tags: string[];
1598
1955
  version: string;
1599
- fileUrl: string;
1600
1956
  fileName: string;
1601
1957
  isConfidential: boolean;
1602
1958
  uploadedById: string;
@@ -1623,6 +1979,22 @@ export declare const tasksContract: {
1623
1979
  estimatedHours?: number | undefined;
1624
1980
  actualHours?: number | undefined;
1625
1981
  completedAt?: string | undefined;
1982
+ assignees?: {
1983
+ id: string;
1984
+ firstName?: string | null | undefined;
1985
+ lastName?: string | null | undefined;
1986
+ email?: string | undefined;
1987
+ name?: string | undefined;
1988
+ avatar?: string | null | undefined;
1989
+ }[] | undefined;
1990
+ creator?: {
1991
+ id: string;
1992
+ firstName?: string | null | undefined;
1993
+ lastName?: string | null | undefined;
1994
+ email?: string | undefined;
1995
+ name?: string | undefined;
1996
+ avatar?: string | null | undefined;
1997
+ } | null | undefined;
1626
1998
  };
1627
1999
  }, {
1628
2000
  id: string;
@@ -1670,7 +2042,23 @@ export declare const tasksContract: {
1670
2042
  assignedTo?: string[] | undefined;
1671
2043
  progress?: number | undefined;
1672
2044
  completedAt?: string | undefined;
2045
+ assignees?: {
2046
+ id: string;
2047
+ firstName?: string | null | undefined;
2048
+ lastName?: string | null | undefined;
2049
+ email?: string | undefined;
2050
+ name?: string | undefined;
2051
+ avatar?: string | null | undefined;
2052
+ }[] | undefined;
1673
2053
  dependencies?: string[] | undefined;
2054
+ creator?: {
2055
+ id: string;
2056
+ firstName?: string | null | undefined;
2057
+ lastName?: string | null | undefined;
2058
+ email?: string | undefined;
2059
+ name?: string | undefined;
2060
+ avatar?: string | null | undefined;
2061
+ } | null | undefined;
1674
2062
  };
1675
2063
  }>;
1676
2064
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -1728,9 +2116,9 @@ export declare const tasksContract: {
1728
2116
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
1729
2117
  title: string;
1730
2118
  projectId: string;
2119
+ fileUrl: string;
1731
2120
  tags: string[];
1732
2121
  version: string;
1733
- fileUrl: string;
1734
2122
  fileName: string;
1735
2123
  isConfidential: boolean;
1736
2124
  uploadedById: string;
@@ -1757,6 +2145,22 @@ export declare const tasksContract: {
1757
2145
  estimatedHours?: number | undefined;
1758
2146
  actualHours?: number | undefined;
1759
2147
  completedAt?: string | undefined;
2148
+ assignees?: {
2149
+ id: string;
2150
+ firstName?: string | null | undefined;
2151
+ lastName?: string | null | undefined;
2152
+ email?: string | undefined;
2153
+ name?: string | undefined;
2154
+ avatar?: string | null | undefined;
2155
+ }[] | undefined;
2156
+ creator?: {
2157
+ id: string;
2158
+ firstName?: string | null | undefined;
2159
+ lastName?: string | null | undefined;
2160
+ email?: string | undefined;
2161
+ name?: string | undefined;
2162
+ avatar?: string | null | undefined;
2163
+ } | null | undefined;
1760
2164
  };
1761
2165
  };
1762
2166
  meta?: Record<string, unknown> | undefined;
@@ -1820,7 +2224,23 @@ export declare const tasksContract: {
1820
2224
  assignedTo?: string[] | undefined;
1821
2225
  progress?: number | undefined;
1822
2226
  completedAt?: string | undefined;
2227
+ assignees?: {
2228
+ id: string;
2229
+ firstName?: string | null | undefined;
2230
+ lastName?: string | null | undefined;
2231
+ email?: string | undefined;
2232
+ name?: string | undefined;
2233
+ avatar?: string | null | undefined;
2234
+ }[] | undefined;
1823
2235
  dependencies?: string[] | undefined;
2236
+ creator?: {
2237
+ id: string;
2238
+ firstName?: string | null | undefined;
2239
+ lastName?: string | null | undefined;
2240
+ email?: string | undefined;
2241
+ name?: string | undefined;
2242
+ avatar?: string | null | undefined;
2243
+ } | null | undefined;
1824
2244
  };
1825
2245
  };
1826
2246
  meta?: Record<string, unknown> | undefined;
@@ -2016,8 +2436,52 @@ export declare const tasksContract: {
2016
2436
  actualHours: z.ZodOptional<z.ZodNumber>;
2017
2437
  progress: z.ZodDefault<z.ZodNumber>;
2018
2438
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2439
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
2440
+ id: z.ZodString;
2441
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2442
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2443
+ email: z.ZodOptional<z.ZodString>;
2444
+ name: z.ZodOptional<z.ZodString>;
2445
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2446
+ }, "strip", z.ZodTypeAny, {
2447
+ id: string;
2448
+ firstName?: string | null | undefined;
2449
+ lastName?: string | null | undefined;
2450
+ email?: string | undefined;
2451
+ name?: string | undefined;
2452
+ avatar?: string | null | undefined;
2453
+ }, {
2454
+ id: string;
2455
+ firstName?: string | null | undefined;
2456
+ lastName?: string | null | undefined;
2457
+ email?: string | undefined;
2458
+ name?: string | undefined;
2459
+ avatar?: string | null | undefined;
2460
+ }>, "many">>;
2019
2461
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2020
2462
  createdBy: z.ZodString;
2463
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2464
+ id: z.ZodString;
2465
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2466
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2467
+ email: z.ZodOptional<z.ZodString>;
2468
+ name: z.ZodOptional<z.ZodString>;
2469
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2470
+ }, "strip", z.ZodTypeAny, {
2471
+ id: string;
2472
+ firstName?: string | null | undefined;
2473
+ lastName?: string | null | undefined;
2474
+ email?: string | undefined;
2475
+ name?: string | undefined;
2476
+ avatar?: string | null | undefined;
2477
+ }, {
2478
+ id: string;
2479
+ firstName?: string | null | undefined;
2480
+ lastName?: string | null | undefined;
2481
+ email?: string | undefined;
2482
+ name?: string | undefined;
2483
+ avatar?: string | null | undefined;
2484
+ }>>>;
2021
2485
  completedAt: z.ZodOptional<z.ZodString>;
2022
2486
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
2023
2487
  id: z.ZodString;
@@ -2046,9 +2510,9 @@ export declare const tasksContract: {
2046
2510
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2047
2511
  title: string;
2048
2512
  projectId: string;
2513
+ fileUrl: string;
2049
2514
  tags: string[];
2050
2515
  version: string;
2051
- fileUrl: string;
2052
2516
  fileName: string;
2053
2517
  isConfidential: boolean;
2054
2518
  uploadedById: string;
@@ -2098,9 +2562,9 @@ export declare const tasksContract: {
2098
2562
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2099
2563
  title: string;
2100
2564
  projectId: string;
2565
+ fileUrl: string;
2101
2566
  tags: string[];
2102
2567
  version: string;
2103
- fileUrl: string;
2104
2568
  fileName: string;
2105
2569
  isConfidential: boolean;
2106
2570
  uploadedById: string;
@@ -2127,6 +2591,22 @@ export declare const tasksContract: {
2127
2591
  estimatedHours?: number | undefined;
2128
2592
  actualHours?: number | undefined;
2129
2593
  completedAt?: string | undefined;
2594
+ assignees?: {
2595
+ id: string;
2596
+ firstName?: string | null | undefined;
2597
+ lastName?: string | null | undefined;
2598
+ email?: string | undefined;
2599
+ name?: string | undefined;
2600
+ avatar?: string | null | undefined;
2601
+ }[] | undefined;
2602
+ creator?: {
2603
+ id: string;
2604
+ firstName?: string | null | undefined;
2605
+ lastName?: string | null | undefined;
2606
+ email?: string | undefined;
2607
+ name?: string | undefined;
2608
+ avatar?: string | null | undefined;
2609
+ } | null | undefined;
2130
2610
  }, {
2131
2611
  id: string;
2132
2612
  createdAt: string;
@@ -2170,7 +2650,23 @@ export declare const tasksContract: {
2170
2650
  assignedTo?: string[] | undefined;
2171
2651
  progress?: number | undefined;
2172
2652
  completedAt?: string | undefined;
2653
+ assignees?: {
2654
+ id: string;
2655
+ firstName?: string | null | undefined;
2656
+ lastName?: string | null | undefined;
2657
+ email?: string | undefined;
2658
+ name?: string | undefined;
2659
+ avatar?: string | null | undefined;
2660
+ }[] | undefined;
2173
2661
  dependencies?: string[] | undefined;
2662
+ creator?: {
2663
+ id: string;
2664
+ firstName?: string | null | undefined;
2665
+ lastName?: string | null | undefined;
2666
+ email?: string | undefined;
2667
+ name?: string | undefined;
2668
+ avatar?: string | null | undefined;
2669
+ } | null | undefined;
2174
2670
  }>;
2175
2671
  }, "strip", z.ZodTypeAny, {
2176
2672
  id: string;
@@ -2190,9 +2686,9 @@ export declare const tasksContract: {
2190
2686
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2191
2687
  title: string;
2192
2688
  projectId: string;
2689
+ fileUrl: string;
2193
2690
  tags: string[];
2194
2691
  version: string;
2195
- fileUrl: string;
2196
2692
  fileName: string;
2197
2693
  isConfidential: boolean;
2198
2694
  uploadedById: string;
@@ -2219,6 +2715,22 @@ export declare const tasksContract: {
2219
2715
  estimatedHours?: number | undefined;
2220
2716
  actualHours?: number | undefined;
2221
2717
  completedAt?: string | undefined;
2718
+ assignees?: {
2719
+ id: string;
2720
+ firstName?: string | null | undefined;
2721
+ lastName?: string | null | undefined;
2722
+ email?: string | undefined;
2723
+ name?: string | undefined;
2724
+ avatar?: string | null | undefined;
2725
+ }[] | undefined;
2726
+ creator?: {
2727
+ id: string;
2728
+ firstName?: string | null | undefined;
2729
+ lastName?: string | null | undefined;
2730
+ email?: string | undefined;
2731
+ name?: string | undefined;
2732
+ avatar?: string | null | undefined;
2733
+ } | null | undefined;
2222
2734
  };
2223
2735
  }, {
2224
2736
  id: string;
@@ -2266,7 +2778,23 @@ export declare const tasksContract: {
2266
2778
  assignedTo?: string[] | undefined;
2267
2779
  progress?: number | undefined;
2268
2780
  completedAt?: string | undefined;
2781
+ assignees?: {
2782
+ id: string;
2783
+ firstName?: string | null | undefined;
2784
+ lastName?: string | null | undefined;
2785
+ email?: string | undefined;
2786
+ name?: string | undefined;
2787
+ avatar?: string | null | undefined;
2788
+ }[] | undefined;
2269
2789
  dependencies?: string[] | undefined;
2790
+ creator?: {
2791
+ id: string;
2792
+ firstName?: string | null | undefined;
2793
+ lastName?: string | null | undefined;
2794
+ email?: string | undefined;
2795
+ name?: string | undefined;
2796
+ avatar?: string | null | undefined;
2797
+ } | null | undefined;
2270
2798
  };
2271
2799
  }>;
2272
2800
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -2324,9 +2852,9 @@ export declare const tasksContract: {
2324
2852
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
2325
2853
  title: string;
2326
2854
  projectId: string;
2855
+ fileUrl: string;
2327
2856
  tags: string[];
2328
2857
  version: string;
2329
- fileUrl: string;
2330
2858
  fileName: string;
2331
2859
  isConfidential: boolean;
2332
2860
  uploadedById: string;
@@ -2353,6 +2881,22 @@ export declare const tasksContract: {
2353
2881
  estimatedHours?: number | undefined;
2354
2882
  actualHours?: number | undefined;
2355
2883
  completedAt?: string | undefined;
2884
+ assignees?: {
2885
+ id: string;
2886
+ firstName?: string | null | undefined;
2887
+ lastName?: string | null | undefined;
2888
+ email?: string | undefined;
2889
+ name?: string | undefined;
2890
+ avatar?: string | null | undefined;
2891
+ }[] | undefined;
2892
+ creator?: {
2893
+ id: string;
2894
+ firstName?: string | null | undefined;
2895
+ lastName?: string | null | undefined;
2896
+ email?: string | undefined;
2897
+ name?: string | undefined;
2898
+ avatar?: string | null | undefined;
2899
+ } | null | undefined;
2356
2900
  };
2357
2901
  };
2358
2902
  meta?: Record<string, unknown> | undefined;
@@ -2416,7 +2960,23 @@ export declare const tasksContract: {
2416
2960
  assignedTo?: string[] | undefined;
2417
2961
  progress?: number | undefined;
2418
2962
  completedAt?: string | undefined;
2963
+ assignees?: {
2964
+ id: string;
2965
+ firstName?: string | null | undefined;
2966
+ lastName?: string | null | undefined;
2967
+ email?: string | undefined;
2968
+ name?: string | undefined;
2969
+ avatar?: string | null | undefined;
2970
+ }[] | undefined;
2419
2971
  dependencies?: string[] | undefined;
2972
+ creator?: {
2973
+ id: string;
2974
+ firstName?: string | null | undefined;
2975
+ lastName?: string | null | undefined;
2976
+ email?: string | undefined;
2977
+ name?: string | undefined;
2978
+ avatar?: string | null | undefined;
2979
+ } | null | undefined;
2420
2980
  };
2421
2981
  };
2422
2982
  meta?: Record<string, unknown> | undefined;
@@ -2743,8 +3303,8 @@ export declare const tasksContract: {
2743
3303
  isActive: boolean;
2744
3304
  isDeleted: boolean;
2745
3305
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2746
- projectId: string;
2747
3306
  name: string;
3307
+ projectId: string;
2748
3308
  targetDate: string;
2749
3309
  updatedBy?: string | undefined;
2750
3310
  description?: string | undefined;
@@ -2756,8 +3316,8 @@ export declare const tasksContract: {
2756
3316
  createdBy: string;
2757
3317
  companyId: string;
2758
3318
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2759
- projectId: string;
2760
3319
  name: string;
3320
+ projectId: string;
2761
3321
  targetDate: string;
2762
3322
  updatedBy?: string | undefined;
2763
3323
  isActive?: boolean | undefined;
@@ -2777,8 +3337,8 @@ export declare const tasksContract: {
2777
3337
  isActive: boolean;
2778
3338
  isDeleted: boolean;
2779
3339
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2780
- projectId: string;
2781
3340
  name: string;
3341
+ projectId: string;
2782
3342
  targetDate: string;
2783
3343
  updatedBy?: string | undefined;
2784
3344
  description?: string | undefined;
@@ -2794,8 +3354,8 @@ export declare const tasksContract: {
2794
3354
  createdBy: string;
2795
3355
  companyId: string;
2796
3356
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2797
- projectId: string;
2798
3357
  name: string;
3358
+ projectId: string;
2799
3359
  targetDate: string;
2800
3360
  updatedBy?: string | undefined;
2801
3361
  isActive?: boolean | undefined;
@@ -2858,8 +3418,8 @@ export declare const tasksContract: {
2858
3418
  isActive: boolean;
2859
3419
  isDeleted: boolean;
2860
3420
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2861
- projectId: string;
2862
3421
  name: string;
3422
+ projectId: string;
2863
3423
  targetDate: string;
2864
3424
  updatedBy?: string | undefined;
2865
3425
  description?: string | undefined;
@@ -2892,8 +3452,8 @@ export declare const tasksContract: {
2892
3452
  createdBy: string;
2893
3453
  companyId: string;
2894
3454
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
2895
- projectId: string;
2896
3455
  name: string;
3456
+ projectId: string;
2897
3457
  targetDate: string;
2898
3458
  updatedBy?: string | undefined;
2899
3459
  isActive?: boolean | undefined;
@@ -3077,8 +3637,8 @@ export declare const tasksContract: {
3077
3637
  isActive: boolean;
3078
3638
  isDeleted: boolean;
3079
3639
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3080
- projectId: string;
3081
3640
  name: string;
3641
+ projectId: string;
3082
3642
  targetDate: string;
3083
3643
  updatedBy?: string | undefined;
3084
3644
  description?: string | undefined;
@@ -3090,8 +3650,8 @@ export declare const tasksContract: {
3090
3650
  createdBy: string;
3091
3651
  companyId: string;
3092
3652
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3093
- projectId: string;
3094
3653
  name: string;
3654
+ projectId: string;
3095
3655
  targetDate: string;
3096
3656
  updatedBy?: string | undefined;
3097
3657
  isActive?: boolean | undefined;
@@ -3111,8 +3671,8 @@ export declare const tasksContract: {
3111
3671
  isActive: boolean;
3112
3672
  isDeleted: boolean;
3113
3673
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3114
- projectId: string;
3115
3674
  name: string;
3675
+ projectId: string;
3116
3676
  targetDate: string;
3117
3677
  updatedBy?: string | undefined;
3118
3678
  description?: string | undefined;
@@ -3128,8 +3688,8 @@ export declare const tasksContract: {
3128
3688
  createdBy: string;
3129
3689
  companyId: string;
3130
3690
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3131
- projectId: string;
3132
3691
  name: string;
3692
+ projectId: string;
3133
3693
  targetDate: string;
3134
3694
  updatedBy?: string | undefined;
3135
3695
  isActive?: boolean | undefined;
@@ -3187,8 +3747,8 @@ export declare const tasksContract: {
3187
3747
  isActive: boolean;
3188
3748
  isDeleted: boolean;
3189
3749
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3190
- projectId: string;
3191
3750
  name: string;
3751
+ projectId: string;
3192
3752
  targetDate: string;
3193
3753
  updatedBy?: string | undefined;
3194
3754
  description?: string | undefined;
@@ -3220,8 +3780,8 @@ export declare const tasksContract: {
3220
3780
  createdBy: string;
3221
3781
  companyId: string;
3222
3782
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3223
- projectId: string;
3224
3783
  name: string;
3784
+ projectId: string;
3225
3785
  targetDate: string;
3226
3786
  updatedBy?: string | undefined;
3227
3787
  isActive?: boolean | undefined;
@@ -3423,8 +3983,8 @@ export declare const tasksContract: {
3423
3983
  isActive: boolean;
3424
3984
  isDeleted: boolean;
3425
3985
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3426
- projectId: string;
3427
3986
  name: string;
3987
+ projectId: string;
3428
3988
  targetDate: string;
3429
3989
  updatedBy?: string | undefined;
3430
3990
  description?: string | undefined;
@@ -3436,8 +3996,8 @@ export declare const tasksContract: {
3436
3996
  createdBy: string;
3437
3997
  companyId: string;
3438
3998
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3439
- projectId: string;
3440
3999
  name: string;
4000
+ projectId: string;
3441
4001
  targetDate: string;
3442
4002
  updatedBy?: string | undefined;
3443
4003
  isActive?: boolean | undefined;
@@ -3457,8 +4017,8 @@ export declare const tasksContract: {
3457
4017
  isActive: boolean;
3458
4018
  isDeleted: boolean;
3459
4019
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3460
- projectId: string;
3461
4020
  name: string;
4021
+ projectId: string;
3462
4022
  targetDate: string;
3463
4023
  updatedBy?: string | undefined;
3464
4024
  description?: string | undefined;
@@ -3474,8 +4034,8 @@ export declare const tasksContract: {
3474
4034
  createdBy: string;
3475
4035
  companyId: string;
3476
4036
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3477
- projectId: string;
3478
4037
  name: string;
4038
+ projectId: string;
3479
4039
  targetDate: string;
3480
4040
  updatedBy?: string | undefined;
3481
4041
  isActive?: boolean | undefined;
@@ -3533,8 +4093,8 @@ export declare const tasksContract: {
3533
4093
  isActive: boolean;
3534
4094
  isDeleted: boolean;
3535
4095
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3536
- projectId: string;
3537
4096
  name: string;
4097
+ projectId: string;
3538
4098
  targetDate: string;
3539
4099
  updatedBy?: string | undefined;
3540
4100
  description?: string | undefined;
@@ -3566,8 +4126,8 @@ export declare const tasksContract: {
3566
4126
  createdBy: string;
3567
4127
  companyId: string;
3568
4128
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3569
- projectId: string;
3570
4129
  name: string;
4130
+ projectId: string;
3571
4131
  targetDate: string;
3572
4132
  updatedBy?: string | undefined;
3573
4133
  isActive?: boolean | undefined;
@@ -3756,8 +4316,8 @@ export declare const tasksContract: {
3756
4316
  isActive: boolean;
3757
4317
  isDeleted: boolean;
3758
4318
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3759
- projectId: string;
3760
4319
  name: string;
4320
+ projectId: string;
3761
4321
  targetDate: string;
3762
4322
  updatedBy?: string | undefined;
3763
4323
  description?: string | undefined;
@@ -3769,8 +4329,8 @@ export declare const tasksContract: {
3769
4329
  createdBy: string;
3770
4330
  companyId: string;
3771
4331
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3772
- projectId: string;
3773
4332
  name: string;
4333
+ projectId: string;
3774
4334
  targetDate: string;
3775
4335
  updatedBy?: string | undefined;
3776
4336
  isActive?: boolean | undefined;
@@ -3790,8 +4350,8 @@ export declare const tasksContract: {
3790
4350
  isActive: boolean;
3791
4351
  isDeleted: boolean;
3792
4352
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3793
- projectId: string;
3794
4353
  name: string;
4354
+ projectId: string;
3795
4355
  targetDate: string;
3796
4356
  updatedBy?: string | undefined;
3797
4357
  description?: string | undefined;
@@ -3807,8 +4367,8 @@ export declare const tasksContract: {
3807
4367
  createdBy: string;
3808
4368
  companyId: string;
3809
4369
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3810
- projectId: string;
3811
4370
  name: string;
4371
+ projectId: string;
3812
4372
  targetDate: string;
3813
4373
  updatedBy?: string | undefined;
3814
4374
  isActive?: boolean | undefined;
@@ -3866,8 +4426,8 @@ export declare const tasksContract: {
3866
4426
  isActive: boolean;
3867
4427
  isDeleted: boolean;
3868
4428
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3869
- projectId: string;
3870
4429
  name: string;
4430
+ projectId: string;
3871
4431
  targetDate: string;
3872
4432
  updatedBy?: string | undefined;
3873
4433
  description?: string | undefined;
@@ -3899,8 +4459,8 @@ export declare const tasksContract: {
3899
4459
  createdBy: string;
3900
4460
  companyId: string;
3901
4461
  status: "IN_PROGRESS" | "PLANNED" | "COMPLETED" | "DELAYED";
3902
- projectId: string;
3903
4462
  name: string;
4463
+ projectId: string;
3904
4464
  targetDate: string;
3905
4465
  updatedBy?: string | undefined;
3906
4466
  isActive?: boolean | undefined;
@@ -4225,12 +4785,12 @@ export declare const tasksContract: {
4225
4785
  email: z.ZodString;
4226
4786
  }, "strip", z.ZodTypeAny, {
4227
4787
  id: string;
4228
- name: string;
4229
4788
  email: string;
4789
+ name: string;
4230
4790
  }, {
4231
4791
  id: string;
4232
- name: string;
4233
4792
  email: string;
4793
+ name: string;
4234
4794
  }>, "many">;
4235
4795
  status: z.ZodString;
4236
4796
  priority: z.ZodOptional<z.ZodString>;
@@ -4240,12 +4800,12 @@ export declare const tasksContract: {
4240
4800
  status: string;
4241
4801
  title: string;
4242
4802
  progress: number;
4243
- dependencies: string[];
4244
4803
  assignees: {
4245
4804
  id: string;
4246
- name: string;
4247
4805
  email: string;
4806
+ name: string;
4248
4807
  }[];
4808
+ dependencies: string[];
4249
4809
  priority?: string | undefined;
4250
4810
  startDate?: string | undefined;
4251
4811
  endDate?: string | undefined;
@@ -4255,12 +4815,12 @@ export declare const tasksContract: {
4255
4815
  status: string;
4256
4816
  title: string;
4257
4817
  progress: number;
4258
- dependencies: string[];
4259
4818
  assignees: {
4260
4819
  id: string;
4261
- name: string;
4262
4820
  email: string;
4821
+ name: string;
4263
4822
  }[];
4823
+ dependencies: string[];
4264
4824
  priority?: string | undefined;
4265
4825
  startDate?: string | undefined;
4266
4826
  endDate?: string | undefined;
@@ -4277,12 +4837,12 @@ export declare const tasksContract: {
4277
4837
  status: string;
4278
4838
  title: string;
4279
4839
  progress: number;
4280
- dependencies: string[];
4281
4840
  assignees: {
4282
4841
  id: string;
4283
- name: string;
4284
4842
  email: string;
4843
+ name: string;
4285
4844
  }[];
4845
+ dependencies: string[];
4286
4846
  priority?: string | undefined;
4287
4847
  startDate?: string | undefined;
4288
4848
  endDate?: string | undefined;
@@ -4299,12 +4859,12 @@ export declare const tasksContract: {
4299
4859
  status: string;
4300
4860
  title: string;
4301
4861
  progress: number;
4302
- dependencies: string[];
4303
4862
  assignees: {
4304
4863
  id: string;
4305
- name: string;
4306
4864
  email: string;
4865
+ name: string;
4307
4866
  }[];
4867
+ dependencies: string[];
4308
4868
  priority?: string | undefined;
4309
4869
  startDate?: string | undefined;
4310
4870
  endDate?: string | undefined;
@@ -4325,12 +4885,12 @@ export declare const tasksContract: {
4325
4885
  status: string;
4326
4886
  title: string;
4327
4887
  progress: number;
4328
- dependencies: string[];
4329
4888
  assignees: {
4330
4889
  id: string;
4331
- name: string;
4332
4890
  email: string;
4891
+ name: string;
4333
4892
  }[];
4893
+ dependencies: string[];
4334
4894
  priority?: string | undefined;
4335
4895
  startDate?: string | undefined;
4336
4896
  endDate?: string | undefined;
@@ -4351,12 +4911,12 @@ export declare const tasksContract: {
4351
4911
  status: string;
4352
4912
  title: string;
4353
4913
  progress: number;
4354
- dependencies: string[];
4355
4914
  assignees: {
4356
4915
  id: string;
4357
- name: string;
4358
4916
  email: string;
4917
+ name: string;
4359
4918
  }[];
4919
+ dependencies: string[];
4360
4920
  priority?: string | undefined;
4361
4921
  startDate?: string | undefined;
4362
4922
  endDate?: string | undefined;
@@ -4415,12 +4975,12 @@ export declare const tasksContract: {
4415
4975
  status: string;
4416
4976
  title: string;
4417
4977
  progress: number;
4418
- dependencies: string[];
4419
4978
  assignees: {
4420
4979
  id: string;
4421
- name: string;
4422
4980
  email: string;
4981
+ name: string;
4423
4982
  }[];
4983
+ dependencies: string[];
4424
4984
  priority?: string | undefined;
4425
4985
  startDate?: string | undefined;
4426
4986
  endDate?: string | undefined;
@@ -4457,12 +5017,12 @@ export declare const tasksContract: {
4457
5017
  status: string;
4458
5018
  title: string;
4459
5019
  progress: number;
4460
- dependencies: string[];
4461
5020
  assignees: {
4462
5021
  id: string;
4463
- name: string;
4464
5022
  email: string;
5023
+ name: string;
4465
5024
  }[];
5025
+ dependencies: string[];
4466
5026
  priority?: string | undefined;
4467
5027
  startDate?: string | undefined;
4468
5028
  endDate?: string | undefined;
@@ -4662,12 +5222,12 @@ export declare const tasksContract: {
4662
5222
  email: z.ZodString;
4663
5223
  }, "strip", z.ZodTypeAny, {
4664
5224
  id: string;
4665
- name: string;
4666
5225
  email: string;
5226
+ name: string;
4667
5227
  }, {
4668
5228
  id: string;
4669
- name: string;
4670
5229
  email: string;
5230
+ name: string;
4671
5231
  }>, "many">;
4672
5232
  status: z.ZodString;
4673
5233
  priority: z.ZodOptional<z.ZodString>;
@@ -4677,12 +5237,12 @@ export declare const tasksContract: {
4677
5237
  status: string;
4678
5238
  title: string;
4679
5239
  progress: number;
4680
- dependencies: string[];
4681
5240
  assignees: {
4682
5241
  id: string;
4683
- name: string;
4684
5242
  email: string;
5243
+ name: string;
4685
5244
  }[];
5245
+ dependencies: string[];
4686
5246
  priority?: string | undefined;
4687
5247
  startDate?: string | undefined;
4688
5248
  endDate?: string | undefined;
@@ -4692,12 +5252,12 @@ export declare const tasksContract: {
4692
5252
  status: string;
4693
5253
  title: string;
4694
5254
  progress: number;
4695
- dependencies: string[];
4696
5255
  assignees: {
4697
5256
  id: string;
4698
- name: string;
4699
5257
  email: string;
5258
+ name: string;
4700
5259
  }[];
5260
+ dependencies: string[];
4701
5261
  priority?: string | undefined;
4702
5262
  startDate?: string | undefined;
4703
5263
  endDate?: string | undefined;
@@ -4714,12 +5274,12 @@ export declare const tasksContract: {
4714
5274
  status: string;
4715
5275
  title: string;
4716
5276
  progress: number;
4717
- dependencies: string[];
4718
5277
  assignees: {
4719
5278
  id: string;
4720
- name: string;
4721
5279
  email: string;
5280
+ name: string;
4722
5281
  }[];
5282
+ dependencies: string[];
4723
5283
  priority?: string | undefined;
4724
5284
  startDate?: string | undefined;
4725
5285
  endDate?: string | undefined;
@@ -4736,12 +5296,12 @@ export declare const tasksContract: {
4736
5296
  status: string;
4737
5297
  title: string;
4738
5298
  progress: number;
4739
- dependencies: string[];
4740
5299
  assignees: {
4741
5300
  id: string;
4742
- name: string;
4743
5301
  email: string;
5302
+ name: string;
4744
5303
  }[];
5304
+ dependencies: string[];
4745
5305
  priority?: string | undefined;
4746
5306
  startDate?: string | undefined;
4747
5307
  endDate?: string | undefined;
@@ -4762,12 +5322,12 @@ export declare const tasksContract: {
4762
5322
  status: string;
4763
5323
  title: string;
4764
5324
  progress: number;
4765
- dependencies: string[];
4766
5325
  assignees: {
4767
5326
  id: string;
4768
- name: string;
4769
5327
  email: string;
5328
+ name: string;
4770
5329
  }[];
5330
+ dependencies: string[];
4771
5331
  priority?: string | undefined;
4772
5332
  startDate?: string | undefined;
4773
5333
  endDate?: string | undefined;
@@ -4788,12 +5348,12 @@ export declare const tasksContract: {
4788
5348
  status: string;
4789
5349
  title: string;
4790
5350
  progress: number;
4791
- dependencies: string[];
4792
5351
  assignees: {
4793
5352
  id: string;
4794
- name: string;
4795
5353
  email: string;
5354
+ name: string;
4796
5355
  }[];
5356
+ dependencies: string[];
4797
5357
  priority?: string | undefined;
4798
5358
  startDate?: string | undefined;
4799
5359
  endDate?: string | undefined;
@@ -4852,12 +5412,12 @@ export declare const tasksContract: {
4852
5412
  status: string;
4853
5413
  title: string;
4854
5414
  progress: number;
4855
- dependencies: string[];
4856
5415
  assignees: {
4857
5416
  id: string;
4858
- name: string;
4859
5417
  email: string;
5418
+ name: string;
4860
5419
  }[];
5420
+ dependencies: string[];
4861
5421
  priority?: string | undefined;
4862
5422
  startDate?: string | undefined;
4863
5423
  endDate?: string | undefined;
@@ -4894,12 +5454,12 @@ export declare const tasksContract: {
4894
5454
  status: string;
4895
5455
  title: string;
4896
5456
  progress: number;
4897
- dependencies: string[];
4898
5457
  assignees: {
4899
5458
  id: string;
4900
- name: string;
4901
5459
  email: string;
5460
+ name: string;
4902
5461
  }[];
5462
+ dependencies: string[];
4903
5463
  priority?: string | undefined;
4904
5464
  startDate?: string | undefined;
4905
5465
  endDate?: string | undefined;
@@ -5107,8 +5667,52 @@ export declare const tasksContract: {
5107
5667
  actualHours: z.ZodOptional<z.ZodNumber>;
5108
5668
  progress: z.ZodDefault<z.ZodNumber>;
5109
5669
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5670
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
5671
+ id: z.ZodString;
5672
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5673
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5674
+ email: z.ZodOptional<z.ZodString>;
5675
+ name: z.ZodOptional<z.ZodString>;
5676
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5677
+ }, "strip", z.ZodTypeAny, {
5678
+ id: string;
5679
+ firstName?: string | null | undefined;
5680
+ lastName?: string | null | undefined;
5681
+ email?: string | undefined;
5682
+ name?: string | undefined;
5683
+ avatar?: string | null | undefined;
5684
+ }, {
5685
+ id: string;
5686
+ firstName?: string | null | undefined;
5687
+ lastName?: string | null | undefined;
5688
+ email?: string | undefined;
5689
+ name?: string | undefined;
5690
+ avatar?: string | null | undefined;
5691
+ }>, "many">>;
5110
5692
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5111
5693
  createdBy: z.ZodString;
5694
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5695
+ id: z.ZodString;
5696
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5697
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5698
+ email: z.ZodOptional<z.ZodString>;
5699
+ name: z.ZodOptional<z.ZodString>;
5700
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5701
+ }, "strip", z.ZodTypeAny, {
5702
+ id: string;
5703
+ firstName?: string | null | undefined;
5704
+ lastName?: string | null | undefined;
5705
+ email?: string | undefined;
5706
+ name?: string | undefined;
5707
+ avatar?: string | null | undefined;
5708
+ }, {
5709
+ id: string;
5710
+ firstName?: string | null | undefined;
5711
+ lastName?: string | null | undefined;
5712
+ email?: string | undefined;
5713
+ name?: string | undefined;
5714
+ avatar?: string | null | undefined;
5715
+ }>>>;
5112
5716
  completedAt: z.ZodOptional<z.ZodString>;
5113
5717
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
5114
5718
  id: z.ZodString;
@@ -5137,9 +5741,9 @@ export declare const tasksContract: {
5137
5741
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5138
5742
  title: string;
5139
5743
  projectId: string;
5744
+ fileUrl: string;
5140
5745
  tags: string[];
5141
5746
  version: string;
5142
- fileUrl: string;
5143
5747
  fileName: string;
5144
5748
  isConfidential: boolean;
5145
5749
  uploadedById: string;
@@ -5189,9 +5793,9 @@ export declare const tasksContract: {
5189
5793
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5190
5794
  title: string;
5191
5795
  projectId: string;
5796
+ fileUrl: string;
5192
5797
  tags: string[];
5193
5798
  version: string;
5194
- fileUrl: string;
5195
5799
  fileName: string;
5196
5800
  isConfidential: boolean;
5197
5801
  uploadedById: string;
@@ -5218,6 +5822,22 @@ export declare const tasksContract: {
5218
5822
  estimatedHours?: number | undefined;
5219
5823
  actualHours?: number | undefined;
5220
5824
  completedAt?: string | undefined;
5825
+ assignees?: {
5826
+ id: string;
5827
+ firstName?: string | null | undefined;
5828
+ lastName?: string | null | undefined;
5829
+ email?: string | undefined;
5830
+ name?: string | undefined;
5831
+ avatar?: string | null | undefined;
5832
+ }[] | undefined;
5833
+ creator?: {
5834
+ id: string;
5835
+ firstName?: string | null | undefined;
5836
+ lastName?: string | null | undefined;
5837
+ email?: string | undefined;
5838
+ name?: string | undefined;
5839
+ avatar?: string | null | undefined;
5840
+ } | null | undefined;
5221
5841
  }, {
5222
5842
  id: string;
5223
5843
  createdAt: string;
@@ -5261,7 +5881,23 @@ export declare const tasksContract: {
5261
5881
  assignedTo?: string[] | undefined;
5262
5882
  progress?: number | undefined;
5263
5883
  completedAt?: string | undefined;
5884
+ assignees?: {
5885
+ id: string;
5886
+ firstName?: string | null | undefined;
5887
+ lastName?: string | null | undefined;
5888
+ email?: string | undefined;
5889
+ name?: string | undefined;
5890
+ avatar?: string | null | undefined;
5891
+ }[] | undefined;
5264
5892
  dependencies?: string[] | undefined;
5893
+ creator?: {
5894
+ id: string;
5895
+ firstName?: string | null | undefined;
5896
+ lastName?: string | null | undefined;
5897
+ email?: string | undefined;
5898
+ name?: string | undefined;
5899
+ avatar?: string | null | undefined;
5900
+ } | null | undefined;
5265
5901
  }>;
5266
5902
  }, "strip", z.ZodTypeAny, {
5267
5903
  id: string;
@@ -5281,9 +5917,9 @@ export declare const tasksContract: {
5281
5917
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5282
5918
  title: string;
5283
5919
  projectId: string;
5920
+ fileUrl: string;
5284
5921
  tags: string[];
5285
5922
  version: string;
5286
- fileUrl: string;
5287
5923
  fileName: string;
5288
5924
  isConfidential: boolean;
5289
5925
  uploadedById: string;
@@ -5310,6 +5946,22 @@ export declare const tasksContract: {
5310
5946
  estimatedHours?: number | undefined;
5311
5947
  actualHours?: number | undefined;
5312
5948
  completedAt?: string | undefined;
5949
+ assignees?: {
5950
+ id: string;
5951
+ firstName?: string | null | undefined;
5952
+ lastName?: string | null | undefined;
5953
+ email?: string | undefined;
5954
+ name?: string | undefined;
5955
+ avatar?: string | null | undefined;
5956
+ }[] | undefined;
5957
+ creator?: {
5958
+ id: string;
5959
+ firstName?: string | null | undefined;
5960
+ lastName?: string | null | undefined;
5961
+ email?: string | undefined;
5962
+ name?: string | undefined;
5963
+ avatar?: string | null | undefined;
5964
+ } | null | undefined;
5313
5965
  };
5314
5966
  }, {
5315
5967
  id: string;
@@ -5357,7 +6009,23 @@ export declare const tasksContract: {
5357
6009
  assignedTo?: string[] | undefined;
5358
6010
  progress?: number | undefined;
5359
6011
  completedAt?: string | undefined;
6012
+ assignees?: {
6013
+ id: string;
6014
+ firstName?: string | null | undefined;
6015
+ lastName?: string | null | undefined;
6016
+ email?: string | undefined;
6017
+ name?: string | undefined;
6018
+ avatar?: string | null | undefined;
6019
+ }[] | undefined;
5360
6020
  dependencies?: string[] | undefined;
6021
+ creator?: {
6022
+ id: string;
6023
+ firstName?: string | null | undefined;
6024
+ lastName?: string | null | undefined;
6025
+ email?: string | undefined;
6026
+ name?: string | undefined;
6027
+ avatar?: string | null | undefined;
6028
+ } | null | undefined;
5361
6029
  };
5362
6030
  }>;
5363
6031
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -5415,9 +6083,9 @@ export declare const tasksContract: {
5415
6083
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5416
6084
  title: string;
5417
6085
  projectId: string;
6086
+ fileUrl: string;
5418
6087
  tags: string[];
5419
6088
  version: string;
5420
- fileUrl: string;
5421
6089
  fileName: string;
5422
6090
  isConfidential: boolean;
5423
6091
  uploadedById: string;
@@ -5444,6 +6112,22 @@ export declare const tasksContract: {
5444
6112
  estimatedHours?: number | undefined;
5445
6113
  actualHours?: number | undefined;
5446
6114
  completedAt?: string | undefined;
6115
+ assignees?: {
6116
+ id: string;
6117
+ firstName?: string | null | undefined;
6118
+ lastName?: string | null | undefined;
6119
+ email?: string | undefined;
6120
+ name?: string | undefined;
6121
+ avatar?: string | null | undefined;
6122
+ }[] | undefined;
6123
+ creator?: {
6124
+ id: string;
6125
+ firstName?: string | null | undefined;
6126
+ lastName?: string | null | undefined;
6127
+ email?: string | undefined;
6128
+ name?: string | undefined;
6129
+ avatar?: string | null | undefined;
6130
+ } | null | undefined;
5447
6131
  };
5448
6132
  };
5449
6133
  meta?: Record<string, unknown> | undefined;
@@ -5507,7 +6191,23 @@ export declare const tasksContract: {
5507
6191
  assignedTo?: string[] | undefined;
5508
6192
  progress?: number | undefined;
5509
6193
  completedAt?: string | undefined;
6194
+ assignees?: {
6195
+ id: string;
6196
+ firstName?: string | null | undefined;
6197
+ lastName?: string | null | undefined;
6198
+ email?: string | undefined;
6199
+ name?: string | undefined;
6200
+ avatar?: string | null | undefined;
6201
+ }[] | undefined;
5510
6202
  dependencies?: string[] | undefined;
6203
+ creator?: {
6204
+ id: string;
6205
+ firstName?: string | null | undefined;
6206
+ lastName?: string | null | undefined;
6207
+ email?: string | undefined;
6208
+ name?: string | undefined;
6209
+ avatar?: string | null | undefined;
6210
+ } | null | undefined;
5511
6211
  };
5512
6212
  };
5513
6213
  meta?: Record<string, unknown> | undefined;
@@ -5708,8 +6408,52 @@ export declare const tasksContract: {
5708
6408
  actualHours: z.ZodOptional<z.ZodNumber>;
5709
6409
  progress: z.ZodDefault<z.ZodNumber>;
5710
6410
  assignedTo: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
6411
+ assignees: z.ZodOptional<z.ZodArray<z.ZodObject<{
6412
+ id: z.ZodString;
6413
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6414
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6415
+ email: z.ZodOptional<z.ZodString>;
6416
+ name: z.ZodOptional<z.ZodString>;
6417
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6418
+ }, "strip", z.ZodTypeAny, {
6419
+ id: string;
6420
+ firstName?: string | null | undefined;
6421
+ lastName?: string | null | undefined;
6422
+ email?: string | undefined;
6423
+ name?: string | undefined;
6424
+ avatar?: string | null | undefined;
6425
+ }, {
6426
+ id: string;
6427
+ firstName?: string | null | undefined;
6428
+ lastName?: string | null | undefined;
6429
+ email?: string | undefined;
6430
+ name?: string | undefined;
6431
+ avatar?: string | null | undefined;
6432
+ }>, "many">>;
5711
6433
  dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
5712
6434
  createdBy: z.ZodString;
6435
+ creator: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6436
+ id: z.ZodString;
6437
+ firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6438
+ lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6439
+ email: z.ZodOptional<z.ZodString>;
6440
+ name: z.ZodOptional<z.ZodString>;
6441
+ avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6442
+ }, "strip", z.ZodTypeAny, {
6443
+ id: string;
6444
+ firstName?: string | null | undefined;
6445
+ lastName?: string | null | undefined;
6446
+ email?: string | undefined;
6447
+ name?: string | undefined;
6448
+ avatar?: string | null | undefined;
6449
+ }, {
6450
+ id: string;
6451
+ firstName?: string | null | undefined;
6452
+ lastName?: string | null | undefined;
6453
+ email?: string | undefined;
6454
+ name?: string | undefined;
6455
+ avatar?: string | null | undefined;
6456
+ }>>>;
5713
6457
  completedAt: z.ZodOptional<z.ZodString>;
5714
6458
  documents: z.ZodDefault<z.ZodArray<z.ZodObject<{
5715
6459
  id: z.ZodString;
@@ -5738,9 +6482,9 @@ export declare const tasksContract: {
5738
6482
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5739
6483
  title: string;
5740
6484
  projectId: string;
6485
+ fileUrl: string;
5741
6486
  tags: string[];
5742
6487
  version: string;
5743
- fileUrl: string;
5744
6488
  fileName: string;
5745
6489
  isConfidential: boolean;
5746
6490
  uploadedById: string;
@@ -5790,9 +6534,9 @@ export declare const tasksContract: {
5790
6534
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5791
6535
  title: string;
5792
6536
  projectId: string;
6537
+ fileUrl: string;
5793
6538
  tags: string[];
5794
6539
  version: string;
5795
- fileUrl: string;
5796
6540
  fileName: string;
5797
6541
  isConfidential: boolean;
5798
6542
  uploadedById: string;
@@ -5819,6 +6563,22 @@ export declare const tasksContract: {
5819
6563
  estimatedHours?: number | undefined;
5820
6564
  actualHours?: number | undefined;
5821
6565
  completedAt?: string | undefined;
6566
+ assignees?: {
6567
+ id: string;
6568
+ firstName?: string | null | undefined;
6569
+ lastName?: string | null | undefined;
6570
+ email?: string | undefined;
6571
+ name?: string | undefined;
6572
+ avatar?: string | null | undefined;
6573
+ }[] | undefined;
6574
+ creator?: {
6575
+ id: string;
6576
+ firstName?: string | null | undefined;
6577
+ lastName?: string | null | undefined;
6578
+ email?: string | undefined;
6579
+ name?: string | undefined;
6580
+ avatar?: string | null | undefined;
6581
+ } | null | undefined;
5822
6582
  }, {
5823
6583
  id: string;
5824
6584
  createdAt: string;
@@ -5862,7 +6622,23 @@ export declare const tasksContract: {
5862
6622
  assignedTo?: string[] | undefined;
5863
6623
  progress?: number | undefined;
5864
6624
  completedAt?: string | undefined;
6625
+ assignees?: {
6626
+ id: string;
6627
+ firstName?: string | null | undefined;
6628
+ lastName?: string | null | undefined;
6629
+ email?: string | undefined;
6630
+ name?: string | undefined;
6631
+ avatar?: string | null | undefined;
6632
+ }[] | undefined;
5865
6633
  dependencies?: string[] | undefined;
6634
+ creator?: {
6635
+ id: string;
6636
+ firstName?: string | null | undefined;
6637
+ lastName?: string | null | undefined;
6638
+ email?: string | undefined;
6639
+ name?: string | undefined;
6640
+ avatar?: string | null | undefined;
6641
+ } | null | undefined;
5866
6642
  }>;
5867
6643
  }, "strip", z.ZodTypeAny, {
5868
6644
  id: string;
@@ -5882,9 +6658,9 @@ export declare const tasksContract: {
5882
6658
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
5883
6659
  title: string;
5884
6660
  projectId: string;
6661
+ fileUrl: string;
5885
6662
  tags: string[];
5886
6663
  version: string;
5887
- fileUrl: string;
5888
6664
  fileName: string;
5889
6665
  isConfidential: boolean;
5890
6666
  uploadedById: string;
@@ -5911,6 +6687,22 @@ export declare const tasksContract: {
5911
6687
  estimatedHours?: number | undefined;
5912
6688
  actualHours?: number | undefined;
5913
6689
  completedAt?: string | undefined;
6690
+ assignees?: {
6691
+ id: string;
6692
+ firstName?: string | null | undefined;
6693
+ lastName?: string | null | undefined;
6694
+ email?: string | undefined;
6695
+ name?: string | undefined;
6696
+ avatar?: string | null | undefined;
6697
+ }[] | undefined;
6698
+ creator?: {
6699
+ id: string;
6700
+ firstName?: string | null | undefined;
6701
+ lastName?: string | null | undefined;
6702
+ email?: string | undefined;
6703
+ name?: string | undefined;
6704
+ avatar?: string | null | undefined;
6705
+ } | null | undefined;
5914
6706
  };
5915
6707
  }, {
5916
6708
  id: string;
@@ -5958,7 +6750,23 @@ export declare const tasksContract: {
5958
6750
  assignedTo?: string[] | undefined;
5959
6751
  progress?: number | undefined;
5960
6752
  completedAt?: string | undefined;
6753
+ assignees?: {
6754
+ id: string;
6755
+ firstName?: string | null | undefined;
6756
+ lastName?: string | null | undefined;
6757
+ email?: string | undefined;
6758
+ name?: string | undefined;
6759
+ avatar?: string | null | undefined;
6760
+ }[] | undefined;
5961
6761
  dependencies?: string[] | undefined;
6762
+ creator?: {
6763
+ id: string;
6764
+ firstName?: string | null | undefined;
6765
+ lastName?: string | null | undefined;
6766
+ email?: string | undefined;
6767
+ name?: string | undefined;
6768
+ avatar?: string | null | undefined;
6769
+ } | null | undefined;
5962
6770
  };
5963
6771
  }>;
5964
6772
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
@@ -6016,9 +6824,9 @@ export declare const tasksContract: {
6016
6824
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
6017
6825
  title: string;
6018
6826
  projectId: string;
6827
+ fileUrl: string;
6019
6828
  tags: string[];
6020
6829
  version: string;
6021
- fileUrl: string;
6022
6830
  fileName: string;
6023
6831
  isConfidential: boolean;
6024
6832
  uploadedById: string;
@@ -6045,6 +6853,22 @@ export declare const tasksContract: {
6045
6853
  estimatedHours?: number | undefined;
6046
6854
  actualHours?: number | undefined;
6047
6855
  completedAt?: string | undefined;
6856
+ assignees?: {
6857
+ id: string;
6858
+ firstName?: string | null | undefined;
6859
+ lastName?: string | null | undefined;
6860
+ email?: string | undefined;
6861
+ name?: string | undefined;
6862
+ avatar?: string | null | undefined;
6863
+ }[] | undefined;
6864
+ creator?: {
6865
+ id: string;
6866
+ firstName?: string | null | undefined;
6867
+ lastName?: string | null | undefined;
6868
+ email?: string | undefined;
6869
+ name?: string | undefined;
6870
+ avatar?: string | null | undefined;
6871
+ } | null | undefined;
6048
6872
  };
6049
6873
  };
6050
6874
  meta?: Record<string, unknown> | undefined;
@@ -6108,7 +6932,23 @@ export declare const tasksContract: {
6108
6932
  assignedTo?: string[] | undefined;
6109
6933
  progress?: number | undefined;
6110
6934
  completedAt?: string | undefined;
6935
+ assignees?: {
6936
+ id: string;
6937
+ firstName?: string | null | undefined;
6938
+ lastName?: string | null | undefined;
6939
+ email?: string | undefined;
6940
+ name?: string | undefined;
6941
+ avatar?: string | null | undefined;
6942
+ }[] | undefined;
6111
6943
  dependencies?: string[] | undefined;
6944
+ creator?: {
6945
+ id: string;
6946
+ firstName?: string | null | undefined;
6947
+ lastName?: string | null | undefined;
6948
+ email?: string | undefined;
6949
+ name?: string | undefined;
6950
+ avatar?: string | null | undefined;
6951
+ } | null | undefined;
6112
6952
  };
6113
6953
  };
6114
6954
  meta?: Record<string, unknown> | undefined;
@@ -7088,9 +7928,12 @@ export declare const tasksContract: {
7088
7928
  taskId: z.ZodString;
7089
7929
  userId: z.ZodString;
7090
7930
  date: z.ZodString;
7091
- hours: z.ZodNumber;
7931
+ hours: z.ZodNullable<z.ZodNumber>;
7092
7932
  description: z.ZodOptional<z.ZodString>;
7093
7933
  billable: z.ZodDefault<z.ZodBoolean>;
7934
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
7935
+ startTime: z.ZodOptional<z.ZodString>;
7936
+ endTime: z.ZodOptional<z.ZodString>;
7094
7937
  }, "strip", z.ZodTypeAny, {
7095
7938
  id: string;
7096
7939
  createdAt: string;
@@ -7099,13 +7942,16 @@ export declare const tasksContract: {
7099
7942
  companyId: string;
7100
7943
  isActive: boolean;
7101
7944
  isDeleted: boolean;
7945
+ status: "COMPLETED" | "RUNNING";
7102
7946
  date: string;
7103
7947
  userId: string;
7104
7948
  taskId: string;
7105
- hours: number;
7949
+ hours: number | null;
7106
7950
  billable: boolean;
7107
7951
  updatedBy?: string | undefined;
7108
7952
  description?: string | undefined;
7953
+ startTime?: string | undefined;
7954
+ endTime?: string | undefined;
7109
7955
  }, {
7110
7956
  id: string;
7111
7957
  createdAt: string;
@@ -7115,11 +7961,14 @@ export declare const tasksContract: {
7115
7961
  date: string;
7116
7962
  userId: string;
7117
7963
  taskId: string;
7118
- hours: number;
7964
+ hours: number | null;
7119
7965
  updatedBy?: string | undefined;
7120
7966
  isActive?: boolean | undefined;
7121
7967
  isDeleted?: boolean | undefined;
7968
+ status?: "COMPLETED" | "RUNNING" | undefined;
7122
7969
  description?: string | undefined;
7970
+ startTime?: string | undefined;
7971
+ endTime?: string | undefined;
7123
7972
  billable?: boolean | undefined;
7124
7973
  }>;
7125
7974
  }, "strip", z.ZodTypeAny, {
@@ -7133,13 +7982,16 @@ export declare const tasksContract: {
7133
7982
  companyId: string;
7134
7983
  isActive: boolean;
7135
7984
  isDeleted: boolean;
7985
+ status: "COMPLETED" | "RUNNING";
7136
7986
  date: string;
7137
7987
  userId: string;
7138
7988
  taskId: string;
7139
- hours: number;
7989
+ hours: number | null;
7140
7990
  billable: boolean;
7141
7991
  updatedBy?: string | undefined;
7142
7992
  description?: string | undefined;
7993
+ startTime?: string | undefined;
7994
+ endTime?: string | undefined;
7143
7995
  };
7144
7996
  }, {
7145
7997
  id: string;
@@ -7153,11 +8005,14 @@ export declare const tasksContract: {
7153
8005
  date: string;
7154
8006
  userId: string;
7155
8007
  taskId: string;
7156
- hours: number;
8008
+ hours: number | null;
7157
8009
  updatedBy?: string | undefined;
7158
8010
  isActive?: boolean | undefined;
7159
8011
  isDeleted?: boolean | undefined;
8012
+ status?: "COMPLETED" | "RUNNING" | undefined;
7160
8013
  description?: string | undefined;
8014
+ startTime?: string | undefined;
8015
+ endTime?: string | undefined;
7161
8016
  billable?: boolean | undefined;
7162
8017
  };
7163
8018
  }>;
@@ -7209,13 +8064,16 @@ export declare const tasksContract: {
7209
8064
  companyId: string;
7210
8065
  isActive: boolean;
7211
8066
  isDeleted: boolean;
8067
+ status: "COMPLETED" | "RUNNING";
7212
8068
  date: string;
7213
8069
  userId: string;
7214
8070
  taskId: string;
7215
- hours: number;
8071
+ hours: number | null;
7216
8072
  billable: boolean;
7217
8073
  updatedBy?: string | undefined;
7218
8074
  description?: string | undefined;
8075
+ startTime?: string | undefined;
8076
+ endTime?: string | undefined;
7219
8077
  };
7220
8078
  };
7221
8079
  meta?: Record<string, unknown> | undefined;
@@ -7245,11 +8103,14 @@ export declare const tasksContract: {
7245
8103
  date: string;
7246
8104
  userId: string;
7247
8105
  taskId: string;
7248
- hours: number;
8106
+ hours: number | null;
7249
8107
  updatedBy?: string | undefined;
7250
8108
  isActive?: boolean | undefined;
7251
8109
  isDeleted?: boolean | undefined;
8110
+ status?: "COMPLETED" | "RUNNING" | undefined;
7252
8111
  description?: string | undefined;
8112
+ startTime?: string | undefined;
8113
+ endTime?: string | undefined;
7253
8114
  billable?: boolean | undefined;
7254
8115
  };
7255
8116
  };
@@ -7453,9 +8314,12 @@ export declare const tasksContract: {
7453
8314
  taskId: z.ZodString;
7454
8315
  userId: z.ZodString;
7455
8316
  date: z.ZodString;
7456
- hours: z.ZodNumber;
8317
+ hours: z.ZodNullable<z.ZodNumber>;
7457
8318
  description: z.ZodOptional<z.ZodString>;
7458
8319
  billable: z.ZodDefault<z.ZodBoolean>;
8320
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
8321
+ startTime: z.ZodOptional<z.ZodString>;
8322
+ endTime: z.ZodOptional<z.ZodString>;
7459
8323
  }, "strip", z.ZodTypeAny, {
7460
8324
  id: string;
7461
8325
  createdAt: string;
@@ -7464,13 +8328,16 @@ export declare const tasksContract: {
7464
8328
  companyId: string;
7465
8329
  isActive: boolean;
7466
8330
  isDeleted: boolean;
8331
+ status: "COMPLETED" | "RUNNING";
7467
8332
  date: string;
7468
8333
  userId: string;
7469
8334
  taskId: string;
7470
- hours: number;
8335
+ hours: number | null;
7471
8336
  billable: boolean;
7472
8337
  updatedBy?: string | undefined;
7473
8338
  description?: string | undefined;
8339
+ startTime?: string | undefined;
8340
+ endTime?: string | undefined;
7474
8341
  }, {
7475
8342
  id: string;
7476
8343
  createdAt: string;
@@ -7480,11 +8347,14 @@ export declare const tasksContract: {
7480
8347
  date: string;
7481
8348
  userId: string;
7482
8349
  taskId: string;
7483
- hours: number;
8350
+ hours: number | null;
7484
8351
  updatedBy?: string | undefined;
7485
8352
  isActive?: boolean | undefined;
7486
8353
  isDeleted?: boolean | undefined;
8354
+ status?: "COMPLETED" | "RUNNING" | undefined;
7487
8355
  description?: string | undefined;
8356
+ startTime?: string | undefined;
8357
+ endTime?: string | undefined;
7488
8358
  billable?: boolean | undefined;
7489
8359
  }>;
7490
8360
  }, "strip", z.ZodTypeAny, {
@@ -7498,13 +8368,16 @@ export declare const tasksContract: {
7498
8368
  companyId: string;
7499
8369
  isActive: boolean;
7500
8370
  isDeleted: boolean;
8371
+ status: "COMPLETED" | "RUNNING";
7501
8372
  date: string;
7502
8373
  userId: string;
7503
8374
  taskId: string;
7504
- hours: number;
8375
+ hours: number | null;
7505
8376
  billable: boolean;
7506
8377
  updatedBy?: string | undefined;
7507
8378
  description?: string | undefined;
8379
+ startTime?: string | undefined;
8380
+ endTime?: string | undefined;
7508
8381
  };
7509
8382
  }, {
7510
8383
  id: string;
@@ -7518,11 +8391,14 @@ export declare const tasksContract: {
7518
8391
  date: string;
7519
8392
  userId: string;
7520
8393
  taskId: string;
7521
- hours: number;
8394
+ hours: number | null;
7522
8395
  updatedBy?: string | undefined;
7523
8396
  isActive?: boolean | undefined;
7524
8397
  isDeleted?: boolean | undefined;
8398
+ status?: "COMPLETED" | "RUNNING" | undefined;
7525
8399
  description?: string | undefined;
8400
+ startTime?: string | undefined;
8401
+ endTime?: string | undefined;
7526
8402
  billable?: boolean | undefined;
7527
8403
  };
7528
8404
  }>, "many">;
@@ -7579,13 +8455,16 @@ export declare const tasksContract: {
7579
8455
  companyId: string;
7580
8456
  isActive: boolean;
7581
8457
  isDeleted: boolean;
8458
+ status: "COMPLETED" | "RUNNING";
7582
8459
  date: string;
7583
8460
  userId: string;
7584
8461
  taskId: string;
7585
- hours: number;
8462
+ hours: number | null;
7586
8463
  billable: boolean;
7587
8464
  updatedBy?: string | undefined;
7588
8465
  description?: string | undefined;
8466
+ startTime?: string | undefined;
8467
+ endTime?: string | undefined;
7589
8468
  };
7590
8469
  }[];
7591
8470
  meta?: {
@@ -7616,11 +8495,14 @@ export declare const tasksContract: {
7616
8495
  date: string;
7617
8496
  userId: string;
7618
8497
  taskId: string;
7619
- hours: number;
8498
+ hours: number | null;
7620
8499
  updatedBy?: string | undefined;
7621
8500
  isActive?: boolean | undefined;
7622
8501
  isDeleted?: boolean | undefined;
8502
+ status?: "COMPLETED" | "RUNNING" | undefined;
7623
8503
  description?: string | undefined;
8504
+ startTime?: string | undefined;
8505
+ endTime?: string | undefined;
7624
8506
  billable?: boolean | undefined;
7625
8507
  };
7626
8508
  }[];
@@ -7790,9 +8672,12 @@ export declare const tasksContract: {
7790
8672
  taskId: z.ZodString;
7791
8673
  userId: z.ZodString;
7792
8674
  date: z.ZodString;
7793
- hours: z.ZodNumber;
8675
+ hours: z.ZodNullable<z.ZodNumber>;
7794
8676
  description: z.ZodOptional<z.ZodString>;
7795
8677
  billable: z.ZodDefault<z.ZodBoolean>;
8678
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
8679
+ startTime: z.ZodOptional<z.ZodString>;
8680
+ endTime: z.ZodOptional<z.ZodString>;
7796
8681
  }, "strip", z.ZodTypeAny, {
7797
8682
  id: string;
7798
8683
  createdAt: string;
@@ -7801,13 +8686,16 @@ export declare const tasksContract: {
7801
8686
  companyId: string;
7802
8687
  isActive: boolean;
7803
8688
  isDeleted: boolean;
8689
+ status: "COMPLETED" | "RUNNING";
7804
8690
  date: string;
7805
8691
  userId: string;
7806
8692
  taskId: string;
7807
- hours: number;
8693
+ hours: number | null;
7808
8694
  billable: boolean;
7809
8695
  updatedBy?: string | undefined;
7810
8696
  description?: string | undefined;
8697
+ startTime?: string | undefined;
8698
+ endTime?: string | undefined;
7811
8699
  }, {
7812
8700
  id: string;
7813
8701
  createdAt: string;
@@ -7817,11 +8705,14 @@ export declare const tasksContract: {
7817
8705
  date: string;
7818
8706
  userId: string;
7819
8707
  taskId: string;
7820
- hours: number;
8708
+ hours: number | null;
7821
8709
  updatedBy?: string | undefined;
7822
8710
  isActive?: boolean | undefined;
7823
8711
  isDeleted?: boolean | undefined;
8712
+ status?: "COMPLETED" | "RUNNING" | undefined;
7824
8713
  description?: string | undefined;
8714
+ startTime?: string | undefined;
8715
+ endTime?: string | undefined;
7825
8716
  billable?: boolean | undefined;
7826
8717
  }>;
7827
8718
  }, "strip", z.ZodTypeAny, {
@@ -7835,13 +8726,16 @@ export declare const tasksContract: {
7835
8726
  companyId: string;
7836
8727
  isActive: boolean;
7837
8728
  isDeleted: boolean;
8729
+ status: "COMPLETED" | "RUNNING";
7838
8730
  date: string;
7839
8731
  userId: string;
7840
8732
  taskId: string;
7841
- hours: number;
8733
+ hours: number | null;
7842
8734
  billable: boolean;
7843
8735
  updatedBy?: string | undefined;
7844
8736
  description?: string | undefined;
8737
+ startTime?: string | undefined;
8738
+ endTime?: string | undefined;
7845
8739
  };
7846
8740
  }, {
7847
8741
  id: string;
@@ -7855,11 +8749,14 @@ export declare const tasksContract: {
7855
8749
  date: string;
7856
8750
  userId: string;
7857
8751
  taskId: string;
7858
- hours: number;
8752
+ hours: number | null;
7859
8753
  updatedBy?: string | undefined;
7860
8754
  isActive?: boolean | undefined;
7861
8755
  isDeleted?: boolean | undefined;
8756
+ status?: "COMPLETED" | "RUNNING" | undefined;
7862
8757
  description?: string | undefined;
8758
+ startTime?: string | undefined;
8759
+ endTime?: string | undefined;
7863
8760
  billable?: boolean | undefined;
7864
8761
  };
7865
8762
  }>;
@@ -7911,13 +8808,16 @@ export declare const tasksContract: {
7911
8808
  companyId: string;
7912
8809
  isActive: boolean;
7913
8810
  isDeleted: boolean;
8811
+ status: "COMPLETED" | "RUNNING";
7914
8812
  date: string;
7915
8813
  userId: string;
7916
8814
  taskId: string;
7917
- hours: number;
8815
+ hours: number | null;
7918
8816
  billable: boolean;
7919
8817
  updatedBy?: string | undefined;
7920
8818
  description?: string | undefined;
8819
+ startTime?: string | undefined;
8820
+ endTime?: string | undefined;
7921
8821
  };
7922
8822
  };
7923
8823
  meta?: Record<string, unknown> | undefined;
@@ -7947,11 +8847,14 @@ export declare const tasksContract: {
7947
8847
  date: string;
7948
8848
  userId: string;
7949
8849
  taskId: string;
7950
- hours: number;
8850
+ hours: number | null;
7951
8851
  updatedBy?: string | undefined;
7952
8852
  isActive?: boolean | undefined;
7953
8853
  isDeleted?: boolean | undefined;
8854
+ status?: "COMPLETED" | "RUNNING" | undefined;
7954
8855
  description?: string | undefined;
8856
+ startTime?: string | undefined;
8857
+ endTime?: string | undefined;
7955
8858
  billable?: boolean | undefined;
7956
8859
  };
7957
8860
  };
@@ -8136,9 +9039,12 @@ export declare const tasksContract: {
8136
9039
  taskId: z.ZodString;
8137
9040
  userId: z.ZodString;
8138
9041
  date: z.ZodString;
8139
- hours: z.ZodNumber;
9042
+ hours: z.ZodNullable<z.ZodNumber>;
8140
9043
  description: z.ZodOptional<z.ZodString>;
8141
9044
  billable: z.ZodDefault<z.ZodBoolean>;
9045
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
9046
+ startTime: z.ZodOptional<z.ZodString>;
9047
+ endTime: z.ZodOptional<z.ZodString>;
8142
9048
  }, "strip", z.ZodTypeAny, {
8143
9049
  id: string;
8144
9050
  createdAt: string;
@@ -8147,13 +9053,16 @@ export declare const tasksContract: {
8147
9053
  companyId: string;
8148
9054
  isActive: boolean;
8149
9055
  isDeleted: boolean;
9056
+ status: "COMPLETED" | "RUNNING";
8150
9057
  date: string;
8151
9058
  userId: string;
8152
9059
  taskId: string;
8153
- hours: number;
9060
+ hours: number | null;
8154
9061
  billable: boolean;
8155
9062
  updatedBy?: string | undefined;
8156
9063
  description?: string | undefined;
9064
+ startTime?: string | undefined;
9065
+ endTime?: string | undefined;
8157
9066
  }, {
8158
9067
  id: string;
8159
9068
  createdAt: string;
@@ -8163,11 +9072,14 @@ export declare const tasksContract: {
8163
9072
  date: string;
8164
9073
  userId: string;
8165
9074
  taskId: string;
8166
- hours: number;
9075
+ hours: number | null;
8167
9076
  updatedBy?: string | undefined;
8168
9077
  isActive?: boolean | undefined;
8169
9078
  isDeleted?: boolean | undefined;
9079
+ status?: "COMPLETED" | "RUNNING" | undefined;
8170
9080
  description?: string | undefined;
9081
+ startTime?: string | undefined;
9082
+ endTime?: string | undefined;
8171
9083
  billable?: boolean | undefined;
8172
9084
  }>;
8173
9085
  }, "strip", z.ZodTypeAny, {
@@ -8181,13 +9093,16 @@ export declare const tasksContract: {
8181
9093
  companyId: string;
8182
9094
  isActive: boolean;
8183
9095
  isDeleted: boolean;
9096
+ status: "COMPLETED" | "RUNNING";
8184
9097
  date: string;
8185
9098
  userId: string;
8186
9099
  taskId: string;
8187
- hours: number;
9100
+ hours: number | null;
8188
9101
  billable: boolean;
8189
9102
  updatedBy?: string | undefined;
8190
9103
  description?: string | undefined;
9104
+ startTime?: string | undefined;
9105
+ endTime?: string | undefined;
8191
9106
  };
8192
9107
  }, {
8193
9108
  id: string;
@@ -8201,11 +9116,14 @@ export declare const tasksContract: {
8201
9116
  date: string;
8202
9117
  userId: string;
8203
9118
  taskId: string;
8204
- hours: number;
9119
+ hours: number | null;
8205
9120
  updatedBy?: string | undefined;
8206
9121
  isActive?: boolean | undefined;
8207
9122
  isDeleted?: boolean | undefined;
9123
+ status?: "COMPLETED" | "RUNNING" | undefined;
8208
9124
  description?: string | undefined;
9125
+ startTime?: string | undefined;
9126
+ endTime?: string | undefined;
8209
9127
  billable?: boolean | undefined;
8210
9128
  };
8211
9129
  }>;
@@ -8257,13 +9175,16 @@ export declare const tasksContract: {
8257
9175
  companyId: string;
8258
9176
  isActive: boolean;
8259
9177
  isDeleted: boolean;
9178
+ status: "COMPLETED" | "RUNNING";
8260
9179
  date: string;
8261
9180
  userId: string;
8262
9181
  taskId: string;
8263
- hours: number;
9182
+ hours: number | null;
8264
9183
  billable: boolean;
8265
9184
  updatedBy?: string | undefined;
8266
9185
  description?: string | undefined;
9186
+ startTime?: string | undefined;
9187
+ endTime?: string | undefined;
8267
9188
  };
8268
9189
  };
8269
9190
  meta?: Record<string, unknown> | undefined;
@@ -8293,11 +9214,14 @@ export declare const tasksContract: {
8293
9214
  date: string;
8294
9215
  userId: string;
8295
9216
  taskId: string;
8296
- hours: number;
9217
+ hours: number | null;
8297
9218
  updatedBy?: string | undefined;
8298
9219
  isActive?: boolean | undefined;
8299
9220
  isDeleted?: boolean | undefined;
9221
+ status?: "COMPLETED" | "RUNNING" | undefined;
8300
9222
  description?: string | undefined;
9223
+ startTime?: string | undefined;
9224
+ endTime?: string | undefined;
8301
9225
  billable?: boolean | undefined;
8302
9226
  };
8303
9227
  };
@@ -8532,46 +9456,28 @@ export declare const tasksContract: {
8532
9456
  }>;
8533
9457
  };
8534
9458
  };
8535
- getProjectTimeEntries: {
9459
+ startTimer: {
8536
9460
  pathParams: z.ZodObject<{
8537
- projectId: z.ZodString;
9461
+ taskId: z.ZodString;
8538
9462
  }, "strip", z.ZodTypeAny, {
8539
- projectId: string;
9463
+ taskId: string;
8540
9464
  }, {
8541
- projectId: string;
9465
+ taskId: string;
8542
9466
  }>;
8543
9467
  query: z.ZodObject<{
8544
- page: z.ZodDefault<z.ZodNumber>;
8545
- limit: z.ZodDefault<z.ZodNumber>;
8546
9468
  companyId: z.ZodOptional<z.ZodString>;
8547
- } & {
8548
- userId: z.ZodOptional<z.ZodString>;
8549
- startDate: z.ZodOptional<z.ZodString>;
8550
- endDate: z.ZodOptional<z.ZodString>;
8551
- taskId: z.ZodOptional<z.ZodString>;
8552
9469
  }, "strip", z.ZodTypeAny, {
8553
- page: number;
8554
- limit: number;
8555
9470
  companyId?: string | undefined;
8556
- userId?: string | undefined;
8557
- startDate?: string | undefined;
8558
- endDate?: string | undefined;
8559
- taskId?: string | undefined;
8560
9471
  }, {
8561
9472
  companyId?: string | undefined;
8562
- page?: number | undefined;
8563
- limit?: number | undefined;
8564
- userId?: string | undefined;
8565
- startDate?: string | undefined;
8566
- endDate?: string | undefined;
8567
- taskId?: string | undefined;
8568
9473
  }>;
8569
- summary: "Get all time entries for a project";
8570
- method: "GET";
8571
- path: "/projects/:projectId/time-entries";
9474
+ summary: "Start a running timer for a task (one RUNNING timer per user)";
9475
+ method: "POST";
9476
+ body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
9477
+ path: "/tasks/:taskId/timer/start";
8572
9478
  responses: {
8573
- 200: z.ZodObject<{
8574
- data: z.ZodArray<z.ZodObject<{
9479
+ 201: z.ZodObject<{
9480
+ data: z.ZodObject<{
8575
9481
  type: z.ZodLiteral<"time-entries">;
8576
9482
  id: z.ZodString;
8577
9483
  attributes: z.ZodObject<{
@@ -8587,9 +9493,12 @@ export declare const tasksContract: {
8587
9493
  taskId: z.ZodString;
8588
9494
  userId: z.ZodString;
8589
9495
  date: z.ZodString;
8590
- hours: z.ZodNumber;
9496
+ hours: z.ZodNullable<z.ZodNumber>;
8591
9497
  description: z.ZodOptional<z.ZodString>;
8592
9498
  billable: z.ZodDefault<z.ZodBoolean>;
9499
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
9500
+ startTime: z.ZodOptional<z.ZodString>;
9501
+ endTime: z.ZodOptional<z.ZodString>;
8593
9502
  }, "strip", z.ZodTypeAny, {
8594
9503
  id: string;
8595
9504
  createdAt: string;
@@ -8598,13 +9507,16 @@ export declare const tasksContract: {
8598
9507
  companyId: string;
8599
9508
  isActive: boolean;
8600
9509
  isDeleted: boolean;
9510
+ status: "COMPLETED" | "RUNNING";
8601
9511
  date: string;
8602
9512
  userId: string;
8603
9513
  taskId: string;
8604
- hours: number;
9514
+ hours: number | null;
8605
9515
  billable: boolean;
8606
9516
  updatedBy?: string | undefined;
8607
9517
  description?: string | undefined;
9518
+ startTime?: string | undefined;
9519
+ endTime?: string | undefined;
8608
9520
  }, {
8609
9521
  id: string;
8610
9522
  createdAt: string;
@@ -8614,11 +9526,14 @@ export declare const tasksContract: {
8614
9526
  date: string;
8615
9527
  userId: string;
8616
9528
  taskId: string;
8617
- hours: number;
9529
+ hours: number | null;
8618
9530
  updatedBy?: string | undefined;
8619
9531
  isActive?: boolean | undefined;
8620
9532
  isDeleted?: boolean | undefined;
9533
+ status?: "COMPLETED" | "RUNNING" | undefined;
8621
9534
  description?: string | undefined;
9535
+ startTime?: string | undefined;
9536
+ endTime?: string | undefined;
8622
9537
  billable?: boolean | undefined;
8623
9538
  }>;
8624
9539
  }, "strip", z.ZodTypeAny, {
@@ -8632,13 +9547,16 @@ export declare const tasksContract: {
8632
9547
  companyId: string;
8633
9548
  isActive: boolean;
8634
9549
  isDeleted: boolean;
9550
+ status: "COMPLETED" | "RUNNING";
8635
9551
  date: string;
8636
9552
  userId: string;
8637
9553
  taskId: string;
8638
- hours: number;
9554
+ hours: number | null;
8639
9555
  billable: boolean;
8640
9556
  updatedBy?: string | undefined;
8641
9557
  description?: string | undefined;
9558
+ startTime?: string | undefined;
9559
+ endTime?: string | undefined;
8642
9560
  };
8643
9561
  }, {
8644
9562
  id: string;
@@ -8652,36 +9570,18 @@ export declare const tasksContract: {
8652
9570
  date: string;
8653
9571
  userId: string;
8654
9572
  taskId: string;
8655
- hours: number;
9573
+ hours: number | null;
8656
9574
  updatedBy?: string | undefined;
8657
9575
  isActive?: boolean | undefined;
8658
9576
  isDeleted?: boolean | undefined;
9577
+ status?: "COMPLETED" | "RUNNING" | undefined;
8659
9578
  description?: string | undefined;
9579
+ startTime?: string | undefined;
9580
+ endTime?: string | undefined;
8660
9581
  billable?: boolean | undefined;
8661
9582
  };
8662
- }>, "many">;
8663
- meta: z.ZodOptional<z.ZodObject<{
8664
- total: z.ZodOptional<z.ZodNumber>;
8665
- page: z.ZodOptional<z.ZodNumber>;
8666
- size: z.ZodOptional<z.ZodNumber>;
8667
- pages: z.ZodOptional<z.ZodNumber>;
8668
- hasNextPage: z.ZodOptional<z.ZodBoolean>;
8669
- hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
8670
- }, "strip", z.ZodTypeAny, {
8671
- page?: number | undefined;
8672
- total?: number | undefined;
8673
- size?: number | undefined;
8674
- pages?: number | undefined;
8675
- hasNextPage?: boolean | undefined;
8676
- hasPreviousPage?: boolean | undefined;
8677
- }, {
8678
- page?: number | undefined;
8679
- total?: number | undefined;
8680
- size?: number | undefined;
8681
- pages?: number | undefined;
8682
- hasNextPage?: boolean | undefined;
8683
- hasPreviousPage?: boolean | undefined;
8684
- }>>;
9583
+ }>;
9584
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8685
9585
  links: z.ZodOptional<z.ZodObject<{
8686
9586
  self: z.ZodString;
8687
9587
  first: z.ZodOptional<z.ZodString>;
@@ -8701,6 +9601,22 @@ export declare const tasksContract: {
8701
9601
  prev?: string | undefined;
8702
9602
  next?: string | undefined;
8703
9603
  }>>;
9604
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
9605
+ status: z.ZodString;
9606
+ title: z.ZodString;
9607
+ detail: z.ZodOptional<z.ZodString>;
9608
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9609
+ }, "strip", z.ZodTypeAny, {
9610
+ status: string;
9611
+ title: string;
9612
+ detail?: string | undefined;
9613
+ meta?: Record<string, unknown> | undefined;
9614
+ }, {
9615
+ status: string;
9616
+ title: string;
9617
+ detail?: string | undefined;
9618
+ meta?: Record<string, unknown> | undefined;
9619
+ }>, "many">>;
8704
9620
  }, "strip", z.ZodTypeAny, {
8705
9621
  data: {
8706
9622
  id: string;
@@ -8713,23 +9629,19 @@ export declare const tasksContract: {
8713
9629
  companyId: string;
8714
9630
  isActive: boolean;
8715
9631
  isDeleted: boolean;
9632
+ status: "COMPLETED" | "RUNNING";
8716
9633
  date: string;
8717
9634
  userId: string;
8718
9635
  taskId: string;
8719
- hours: number;
9636
+ hours: number | null;
8720
9637
  billable: boolean;
8721
9638
  updatedBy?: string | undefined;
8722
9639
  description?: string | undefined;
9640
+ startTime?: string | undefined;
9641
+ endTime?: string | undefined;
8723
9642
  };
8724
- }[];
8725
- meta?: {
8726
- page?: number | undefined;
8727
- total?: number | undefined;
8728
- size?: number | undefined;
8729
- pages?: number | undefined;
8730
- hasNextPage?: boolean | undefined;
8731
- hasPreviousPage?: boolean | undefined;
8732
- } | undefined;
9643
+ };
9644
+ meta?: Record<string, unknown> | undefined;
8733
9645
  links?: {
8734
9646
  self: string;
8735
9647
  first?: string | undefined;
@@ -8737,6 +9649,12 @@ export declare const tasksContract: {
8737
9649
  prev?: string | undefined;
8738
9650
  next?: string | undefined;
8739
9651
  } | undefined;
9652
+ errors?: {
9653
+ status: string;
9654
+ title: string;
9655
+ detail?: string | undefined;
9656
+ meta?: Record<string, unknown> | undefined;
9657
+ }[] | undefined;
8740
9658
  }, {
8741
9659
  data: {
8742
9660
  id: string;
@@ -8750,22 +9668,18 @@ export declare const tasksContract: {
8750
9668
  date: string;
8751
9669
  userId: string;
8752
9670
  taskId: string;
8753
- hours: number;
9671
+ hours: number | null;
8754
9672
  updatedBy?: string | undefined;
8755
9673
  isActive?: boolean | undefined;
8756
9674
  isDeleted?: boolean | undefined;
9675
+ status?: "COMPLETED" | "RUNNING" | undefined;
8757
9676
  description?: string | undefined;
9677
+ startTime?: string | undefined;
9678
+ endTime?: string | undefined;
8758
9679
  billable?: boolean | undefined;
8759
9680
  };
8760
- }[];
8761
- meta?: {
8762
- page?: number | undefined;
8763
- total?: number | undefined;
8764
- size?: number | undefined;
8765
- pages?: number | undefined;
8766
- hasNextPage?: boolean | undefined;
8767
- hasPreviousPage?: boolean | undefined;
8768
- } | undefined;
9681
+ };
9682
+ meta?: Record<string, unknown> | undefined;
8769
9683
  links?: {
8770
9684
  self: string;
8771
9685
  first?: string | undefined;
@@ -8773,6 +9687,44 @@ export declare const tasksContract: {
8773
9687
  prev?: string | undefined;
8774
9688
  next?: string | undefined;
8775
9689
  } | undefined;
9690
+ errors?: {
9691
+ status: string;
9692
+ title: string;
9693
+ detail?: string | undefined;
9694
+ meta?: Record<string, unknown> | undefined;
9695
+ }[] | undefined;
9696
+ }>;
9697
+ 400: z.ZodObject<{
9698
+ errors: z.ZodArray<z.ZodObject<{
9699
+ status: z.ZodString;
9700
+ title: z.ZodString;
9701
+ detail: z.ZodOptional<z.ZodString>;
9702
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9703
+ }, "strip", z.ZodTypeAny, {
9704
+ status: string;
9705
+ title: string;
9706
+ detail?: string | undefined;
9707
+ meta?: Record<string, unknown> | undefined;
9708
+ }, {
9709
+ status: string;
9710
+ title: string;
9711
+ detail?: string | undefined;
9712
+ meta?: Record<string, unknown> | undefined;
9713
+ }>, "many">;
9714
+ }, "strip", z.ZodTypeAny, {
9715
+ errors: {
9716
+ status: string;
9717
+ title: string;
9718
+ detail?: string | undefined;
9719
+ meta?: Record<string, unknown> | undefined;
9720
+ }[];
9721
+ }, {
9722
+ errors: {
9723
+ status: string;
9724
+ title: string;
9725
+ detail?: string | undefined;
9726
+ meta?: Record<string, unknown> | undefined;
9727
+ }[];
8776
9728
  }>;
8777
9729
  401: z.ZodObject<{
8778
9730
  errors: z.ZodArray<z.ZodObject<{
@@ -8870,35 +9822,1166 @@ export declare const tasksContract: {
8870
9822
  meta?: Record<string, unknown> | undefined;
8871
9823
  }[];
8872
9824
  }>;
8873
- };
8874
- };
8875
- getTaskDocuments: {
8876
- description: "Retrieve all documents associated with a task with optional filtering and pagination";
8877
- pathParams: z.ZodObject<{
8878
- taskId: z.ZodString;
8879
- }, "strip", z.ZodTypeAny, {
8880
- taskId: string;
8881
- }, {
8882
- taskId: string;
8883
- }>;
8884
- query: z.ZodObject<{
8885
- page: z.ZodDefault<z.ZodNumber>;
8886
- limit: z.ZodDefault<z.ZodNumber>;
8887
- type: z.ZodOptional<z.ZodEnum<["DRAWING", "SPECIFICATION", "CONTRACT", "RFI", "SUBMITTAL", "TRANSMITTAL", "PHOTO", "REPORT", "INVOICE", "PURCHASE_ORDER", "PERMIT", "INSPECTION_REPORT", "CHANGE_ORDER", "MEETING_MINUTES", "OTHER"]>>;
8888
- category: z.ZodOptional<z.ZodEnum<["PROGRESS", "ISSUE", "COMPLETION", "GENERAL"]>>;
8889
- search: z.ZodOptional<z.ZodString>;
8890
- tags: z.ZodOptional<z.ZodString>;
8891
- }, "strip", z.ZodTypeAny, {
8892
- page: number;
8893
- limit: number;
8894
- type?: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER" | undefined;
8895
- search?: string | undefined;
8896
- category?: "GENERAL" | "PROGRESS" | "ISSUE" | "COMPLETION" | undefined;
8897
- tags?: string | undefined;
8898
- }, {
8899
- type?: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER" | undefined;
8900
- page?: number | undefined;
8901
- limit?: number | undefined;
9825
+ 409: z.ZodObject<{
9826
+ errors: z.ZodArray<z.ZodObject<{
9827
+ status: z.ZodString;
9828
+ title: z.ZodString;
9829
+ detail: z.ZodOptional<z.ZodString>;
9830
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9831
+ }, "strip", z.ZodTypeAny, {
9832
+ status: string;
9833
+ title: string;
9834
+ detail?: string | undefined;
9835
+ meta?: Record<string, unknown> | undefined;
9836
+ }, {
9837
+ status: string;
9838
+ title: string;
9839
+ detail?: string | undefined;
9840
+ meta?: Record<string, unknown> | undefined;
9841
+ }>, "many">;
9842
+ }, "strip", z.ZodTypeAny, {
9843
+ errors: {
9844
+ status: string;
9845
+ title: string;
9846
+ detail?: string | undefined;
9847
+ meta?: Record<string, unknown> | undefined;
9848
+ }[];
9849
+ }, {
9850
+ errors: {
9851
+ status: string;
9852
+ title: string;
9853
+ detail?: string | undefined;
9854
+ meta?: Record<string, unknown> | undefined;
9855
+ }[];
9856
+ }>;
9857
+ };
9858
+ };
9859
+ stopTimer: {
9860
+ pathParams: z.ZodObject<{
9861
+ taskId: z.ZodString;
9862
+ }, "strip", z.ZodTypeAny, {
9863
+ taskId: string;
9864
+ }, {
9865
+ taskId: string;
9866
+ }>;
9867
+ query: z.ZodObject<{
9868
+ companyId: z.ZodOptional<z.ZodString>;
9869
+ }, "strip", z.ZodTypeAny, {
9870
+ companyId?: string | undefined;
9871
+ }, {
9872
+ companyId?: string | undefined;
9873
+ }>;
9874
+ summary: "Stop the running timer for a task and compute hours";
9875
+ method: "POST";
9876
+ body: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
9877
+ path: "/tasks/:taskId/timer/stop";
9878
+ responses: {
9879
+ 200: z.ZodObject<{
9880
+ data: z.ZodObject<{
9881
+ type: z.ZodLiteral<"time-entries">;
9882
+ id: z.ZodString;
9883
+ attributes: z.ZodObject<{
9884
+ id: z.ZodString;
9885
+ createdAt: z.ZodString;
9886
+ updatedAt: z.ZodString;
9887
+ createdBy: z.ZodString;
9888
+ updatedBy: z.ZodOptional<z.ZodString>;
9889
+ companyId: z.ZodString;
9890
+ isActive: z.ZodDefault<z.ZodBoolean>;
9891
+ isDeleted: z.ZodDefault<z.ZodBoolean>;
9892
+ } & {
9893
+ taskId: z.ZodString;
9894
+ userId: z.ZodString;
9895
+ date: z.ZodString;
9896
+ hours: z.ZodNullable<z.ZodNumber>;
9897
+ description: z.ZodOptional<z.ZodString>;
9898
+ billable: z.ZodDefault<z.ZodBoolean>;
9899
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
9900
+ startTime: z.ZodOptional<z.ZodString>;
9901
+ endTime: z.ZodOptional<z.ZodString>;
9902
+ }, "strip", z.ZodTypeAny, {
9903
+ id: string;
9904
+ createdAt: string;
9905
+ updatedAt: string;
9906
+ createdBy: string;
9907
+ companyId: string;
9908
+ isActive: boolean;
9909
+ isDeleted: boolean;
9910
+ status: "COMPLETED" | "RUNNING";
9911
+ date: string;
9912
+ userId: string;
9913
+ taskId: string;
9914
+ hours: number | null;
9915
+ billable: boolean;
9916
+ updatedBy?: string | undefined;
9917
+ description?: string | undefined;
9918
+ startTime?: string | undefined;
9919
+ endTime?: string | undefined;
9920
+ }, {
9921
+ id: string;
9922
+ createdAt: string;
9923
+ updatedAt: string;
9924
+ createdBy: string;
9925
+ companyId: string;
9926
+ date: string;
9927
+ userId: string;
9928
+ taskId: string;
9929
+ hours: number | null;
9930
+ updatedBy?: string | undefined;
9931
+ isActive?: boolean | undefined;
9932
+ isDeleted?: boolean | undefined;
9933
+ status?: "COMPLETED" | "RUNNING" | undefined;
9934
+ description?: string | undefined;
9935
+ startTime?: string | undefined;
9936
+ endTime?: string | undefined;
9937
+ billable?: boolean | undefined;
9938
+ }>;
9939
+ }, "strip", z.ZodTypeAny, {
9940
+ id: string;
9941
+ type: "time-entries";
9942
+ attributes: {
9943
+ id: string;
9944
+ createdAt: string;
9945
+ updatedAt: string;
9946
+ createdBy: string;
9947
+ companyId: string;
9948
+ isActive: boolean;
9949
+ isDeleted: boolean;
9950
+ status: "COMPLETED" | "RUNNING";
9951
+ date: string;
9952
+ userId: string;
9953
+ taskId: string;
9954
+ hours: number | null;
9955
+ billable: boolean;
9956
+ updatedBy?: string | undefined;
9957
+ description?: string | undefined;
9958
+ startTime?: string | undefined;
9959
+ endTime?: string | undefined;
9960
+ };
9961
+ }, {
9962
+ id: string;
9963
+ type: "time-entries";
9964
+ attributes: {
9965
+ id: string;
9966
+ createdAt: string;
9967
+ updatedAt: string;
9968
+ createdBy: string;
9969
+ companyId: string;
9970
+ date: string;
9971
+ userId: string;
9972
+ taskId: string;
9973
+ hours: number | null;
9974
+ updatedBy?: string | undefined;
9975
+ isActive?: boolean | undefined;
9976
+ isDeleted?: boolean | undefined;
9977
+ status?: "COMPLETED" | "RUNNING" | undefined;
9978
+ description?: string | undefined;
9979
+ startTime?: string | undefined;
9980
+ endTime?: string | undefined;
9981
+ billable?: boolean | undefined;
9982
+ };
9983
+ }>;
9984
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9985
+ links: z.ZodOptional<z.ZodObject<{
9986
+ self: z.ZodString;
9987
+ first: z.ZodOptional<z.ZodString>;
9988
+ last: z.ZodOptional<z.ZodString>;
9989
+ prev: z.ZodOptional<z.ZodString>;
9990
+ next: z.ZodOptional<z.ZodString>;
9991
+ }, "strip", z.ZodTypeAny, {
9992
+ self: string;
9993
+ first?: string | undefined;
9994
+ last?: string | undefined;
9995
+ prev?: string | undefined;
9996
+ next?: string | undefined;
9997
+ }, {
9998
+ self: string;
9999
+ first?: string | undefined;
10000
+ last?: string | undefined;
10001
+ prev?: string | undefined;
10002
+ next?: string | undefined;
10003
+ }>>;
10004
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
10005
+ status: z.ZodString;
10006
+ title: z.ZodString;
10007
+ detail: z.ZodOptional<z.ZodString>;
10008
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10009
+ }, "strip", z.ZodTypeAny, {
10010
+ status: string;
10011
+ title: string;
10012
+ detail?: string | undefined;
10013
+ meta?: Record<string, unknown> | undefined;
10014
+ }, {
10015
+ status: string;
10016
+ title: string;
10017
+ detail?: string | undefined;
10018
+ meta?: Record<string, unknown> | undefined;
10019
+ }>, "many">>;
10020
+ }, "strip", z.ZodTypeAny, {
10021
+ data: {
10022
+ id: string;
10023
+ type: "time-entries";
10024
+ attributes: {
10025
+ id: string;
10026
+ createdAt: string;
10027
+ updatedAt: string;
10028
+ createdBy: string;
10029
+ companyId: string;
10030
+ isActive: boolean;
10031
+ isDeleted: boolean;
10032
+ status: "COMPLETED" | "RUNNING";
10033
+ date: string;
10034
+ userId: string;
10035
+ taskId: string;
10036
+ hours: number | null;
10037
+ billable: boolean;
10038
+ updatedBy?: string | undefined;
10039
+ description?: string | undefined;
10040
+ startTime?: string | undefined;
10041
+ endTime?: string | undefined;
10042
+ };
10043
+ };
10044
+ meta?: Record<string, unknown> | undefined;
10045
+ links?: {
10046
+ self: string;
10047
+ first?: string | undefined;
10048
+ last?: string | undefined;
10049
+ prev?: string | undefined;
10050
+ next?: string | undefined;
10051
+ } | undefined;
10052
+ errors?: {
10053
+ status: string;
10054
+ title: string;
10055
+ detail?: string | undefined;
10056
+ meta?: Record<string, unknown> | undefined;
10057
+ }[] | undefined;
10058
+ }, {
10059
+ data: {
10060
+ id: string;
10061
+ type: "time-entries";
10062
+ attributes: {
10063
+ id: string;
10064
+ createdAt: string;
10065
+ updatedAt: string;
10066
+ createdBy: string;
10067
+ companyId: string;
10068
+ date: string;
10069
+ userId: string;
10070
+ taskId: string;
10071
+ hours: number | null;
10072
+ updatedBy?: string | undefined;
10073
+ isActive?: boolean | undefined;
10074
+ isDeleted?: boolean | undefined;
10075
+ status?: "COMPLETED" | "RUNNING" | undefined;
10076
+ description?: string | undefined;
10077
+ startTime?: string | undefined;
10078
+ endTime?: string | undefined;
10079
+ billable?: boolean | undefined;
10080
+ };
10081
+ };
10082
+ meta?: Record<string, unknown> | undefined;
10083
+ links?: {
10084
+ self: string;
10085
+ first?: string | undefined;
10086
+ last?: string | undefined;
10087
+ prev?: string | undefined;
10088
+ next?: string | undefined;
10089
+ } | undefined;
10090
+ errors?: {
10091
+ status: string;
10092
+ title: string;
10093
+ detail?: string | undefined;
10094
+ meta?: Record<string, unknown> | undefined;
10095
+ }[] | undefined;
10096
+ }>;
10097
+ 400: z.ZodObject<{
10098
+ errors: z.ZodArray<z.ZodObject<{
10099
+ status: z.ZodString;
10100
+ title: z.ZodString;
10101
+ detail: z.ZodOptional<z.ZodString>;
10102
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10103
+ }, "strip", z.ZodTypeAny, {
10104
+ status: string;
10105
+ title: string;
10106
+ detail?: string | undefined;
10107
+ meta?: Record<string, unknown> | undefined;
10108
+ }, {
10109
+ status: string;
10110
+ title: string;
10111
+ detail?: string | undefined;
10112
+ meta?: Record<string, unknown> | undefined;
10113
+ }>, "many">;
10114
+ }, "strip", z.ZodTypeAny, {
10115
+ errors: {
10116
+ status: string;
10117
+ title: string;
10118
+ detail?: string | undefined;
10119
+ meta?: Record<string, unknown> | undefined;
10120
+ }[];
10121
+ }, {
10122
+ errors: {
10123
+ status: string;
10124
+ title: string;
10125
+ detail?: string | undefined;
10126
+ meta?: Record<string, unknown> | undefined;
10127
+ }[];
10128
+ }>;
10129
+ 401: z.ZodObject<{
10130
+ errors: z.ZodArray<z.ZodObject<{
10131
+ status: z.ZodString;
10132
+ title: z.ZodString;
10133
+ detail: z.ZodOptional<z.ZodString>;
10134
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10135
+ }, "strip", z.ZodTypeAny, {
10136
+ status: string;
10137
+ title: string;
10138
+ detail?: string | undefined;
10139
+ meta?: Record<string, unknown> | undefined;
10140
+ }, {
10141
+ status: string;
10142
+ title: string;
10143
+ detail?: string | undefined;
10144
+ meta?: Record<string, unknown> | undefined;
10145
+ }>, "many">;
10146
+ }, "strip", z.ZodTypeAny, {
10147
+ errors: {
10148
+ status: string;
10149
+ title: string;
10150
+ detail?: string | undefined;
10151
+ meta?: Record<string, unknown> | undefined;
10152
+ }[];
10153
+ }, {
10154
+ errors: {
10155
+ status: string;
10156
+ title: string;
10157
+ detail?: string | undefined;
10158
+ meta?: Record<string, unknown> | undefined;
10159
+ }[];
10160
+ }>;
10161
+ 403: z.ZodObject<{
10162
+ errors: z.ZodArray<z.ZodObject<{
10163
+ status: z.ZodString;
10164
+ title: z.ZodString;
10165
+ detail: z.ZodOptional<z.ZodString>;
10166
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10167
+ }, "strip", z.ZodTypeAny, {
10168
+ status: string;
10169
+ title: string;
10170
+ detail?: string | undefined;
10171
+ meta?: Record<string, unknown> | undefined;
10172
+ }, {
10173
+ status: string;
10174
+ title: string;
10175
+ detail?: string | undefined;
10176
+ meta?: Record<string, unknown> | undefined;
10177
+ }>, "many">;
10178
+ }, "strip", z.ZodTypeAny, {
10179
+ errors: {
10180
+ status: string;
10181
+ title: string;
10182
+ detail?: string | undefined;
10183
+ meta?: Record<string, unknown> | undefined;
10184
+ }[];
10185
+ }, {
10186
+ errors: {
10187
+ status: string;
10188
+ title: string;
10189
+ detail?: string | undefined;
10190
+ meta?: Record<string, unknown> | undefined;
10191
+ }[];
10192
+ }>;
10193
+ 404: z.ZodObject<{
10194
+ errors: z.ZodArray<z.ZodObject<{
10195
+ status: z.ZodString;
10196
+ title: z.ZodString;
10197
+ detail: z.ZodOptional<z.ZodString>;
10198
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10199
+ }, "strip", z.ZodTypeAny, {
10200
+ status: string;
10201
+ title: string;
10202
+ detail?: string | undefined;
10203
+ meta?: Record<string, unknown> | undefined;
10204
+ }, {
10205
+ status: string;
10206
+ title: string;
10207
+ detail?: string | undefined;
10208
+ meta?: Record<string, unknown> | undefined;
10209
+ }>, "many">;
10210
+ }, "strip", z.ZodTypeAny, {
10211
+ errors: {
10212
+ status: string;
10213
+ title: string;
10214
+ detail?: string | undefined;
10215
+ meta?: Record<string, unknown> | undefined;
10216
+ }[];
10217
+ }, {
10218
+ errors: {
10219
+ status: string;
10220
+ title: string;
10221
+ detail?: string | undefined;
10222
+ meta?: Record<string, unknown> | undefined;
10223
+ }[];
10224
+ }>;
10225
+ };
10226
+ };
10227
+ getActiveTimer: {
10228
+ query: z.ZodObject<{
10229
+ companyId: z.ZodOptional<z.ZodString>;
10230
+ taskId: z.ZodOptional<z.ZodString>;
10231
+ }, "strip", z.ZodTypeAny, {
10232
+ companyId?: string | undefined;
10233
+ taskId?: string | undefined;
10234
+ }, {
10235
+ companyId?: string | undefined;
10236
+ taskId?: string | undefined;
10237
+ }>;
10238
+ summary: "Get the current user RUNNING timer (optional taskId filter)";
10239
+ method: "GET";
10240
+ path: "/timers/active";
10241
+ responses: {
10242
+ 200: z.ZodObject<{
10243
+ data: z.ZodObject<{
10244
+ type: z.ZodLiteral<"time-entries">;
10245
+ id: z.ZodString;
10246
+ attributes: z.ZodObject<{
10247
+ id: z.ZodString;
10248
+ createdAt: z.ZodString;
10249
+ updatedAt: z.ZodString;
10250
+ createdBy: z.ZodString;
10251
+ updatedBy: z.ZodOptional<z.ZodString>;
10252
+ companyId: z.ZodString;
10253
+ isActive: z.ZodDefault<z.ZodBoolean>;
10254
+ isDeleted: z.ZodDefault<z.ZodBoolean>;
10255
+ } & {
10256
+ taskId: z.ZodString;
10257
+ userId: z.ZodString;
10258
+ date: z.ZodString;
10259
+ hours: z.ZodNullable<z.ZodNumber>;
10260
+ description: z.ZodOptional<z.ZodString>;
10261
+ billable: z.ZodDefault<z.ZodBoolean>;
10262
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
10263
+ startTime: z.ZodOptional<z.ZodString>;
10264
+ endTime: z.ZodOptional<z.ZodString>;
10265
+ }, "strip", z.ZodTypeAny, {
10266
+ id: string;
10267
+ createdAt: string;
10268
+ updatedAt: string;
10269
+ createdBy: string;
10270
+ companyId: string;
10271
+ isActive: boolean;
10272
+ isDeleted: boolean;
10273
+ status: "COMPLETED" | "RUNNING";
10274
+ date: string;
10275
+ userId: string;
10276
+ taskId: string;
10277
+ hours: number | null;
10278
+ billable: boolean;
10279
+ updatedBy?: string | undefined;
10280
+ description?: string | undefined;
10281
+ startTime?: string | undefined;
10282
+ endTime?: string | undefined;
10283
+ }, {
10284
+ id: string;
10285
+ createdAt: string;
10286
+ updatedAt: string;
10287
+ createdBy: string;
10288
+ companyId: string;
10289
+ date: string;
10290
+ userId: string;
10291
+ taskId: string;
10292
+ hours: number | null;
10293
+ updatedBy?: string | undefined;
10294
+ isActive?: boolean | undefined;
10295
+ isDeleted?: boolean | undefined;
10296
+ status?: "COMPLETED" | "RUNNING" | undefined;
10297
+ description?: string | undefined;
10298
+ startTime?: string | undefined;
10299
+ endTime?: string | undefined;
10300
+ billable?: boolean | undefined;
10301
+ }>;
10302
+ }, "strip", z.ZodTypeAny, {
10303
+ id: string;
10304
+ type: "time-entries";
10305
+ attributes: {
10306
+ id: string;
10307
+ createdAt: string;
10308
+ updatedAt: string;
10309
+ createdBy: string;
10310
+ companyId: string;
10311
+ isActive: boolean;
10312
+ isDeleted: boolean;
10313
+ status: "COMPLETED" | "RUNNING";
10314
+ date: string;
10315
+ userId: string;
10316
+ taskId: string;
10317
+ hours: number | null;
10318
+ billable: boolean;
10319
+ updatedBy?: string | undefined;
10320
+ description?: string | undefined;
10321
+ startTime?: string | undefined;
10322
+ endTime?: string | undefined;
10323
+ };
10324
+ }, {
10325
+ id: string;
10326
+ type: "time-entries";
10327
+ attributes: {
10328
+ id: string;
10329
+ createdAt: string;
10330
+ updatedAt: string;
10331
+ createdBy: string;
10332
+ companyId: string;
10333
+ date: string;
10334
+ userId: string;
10335
+ taskId: string;
10336
+ hours: number | null;
10337
+ updatedBy?: string | undefined;
10338
+ isActive?: boolean | undefined;
10339
+ isDeleted?: boolean | undefined;
10340
+ status?: "COMPLETED" | "RUNNING" | undefined;
10341
+ description?: string | undefined;
10342
+ startTime?: string | undefined;
10343
+ endTime?: string | undefined;
10344
+ billable?: boolean | undefined;
10345
+ };
10346
+ }>;
10347
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10348
+ links: z.ZodOptional<z.ZodObject<{
10349
+ self: z.ZodString;
10350
+ first: z.ZodOptional<z.ZodString>;
10351
+ last: z.ZodOptional<z.ZodString>;
10352
+ prev: z.ZodOptional<z.ZodString>;
10353
+ next: z.ZodOptional<z.ZodString>;
10354
+ }, "strip", z.ZodTypeAny, {
10355
+ self: string;
10356
+ first?: string | undefined;
10357
+ last?: string | undefined;
10358
+ prev?: string | undefined;
10359
+ next?: string | undefined;
10360
+ }, {
10361
+ self: string;
10362
+ first?: string | undefined;
10363
+ last?: string | undefined;
10364
+ prev?: string | undefined;
10365
+ next?: string | undefined;
10366
+ }>>;
10367
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
10368
+ status: z.ZodString;
10369
+ title: z.ZodString;
10370
+ detail: z.ZodOptional<z.ZodString>;
10371
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10372
+ }, "strip", z.ZodTypeAny, {
10373
+ status: string;
10374
+ title: string;
10375
+ detail?: string | undefined;
10376
+ meta?: Record<string, unknown> | undefined;
10377
+ }, {
10378
+ status: string;
10379
+ title: string;
10380
+ detail?: string | undefined;
10381
+ meta?: Record<string, unknown> | undefined;
10382
+ }>, "many">>;
10383
+ }, "strip", z.ZodTypeAny, {
10384
+ data: {
10385
+ id: string;
10386
+ type: "time-entries";
10387
+ attributes: {
10388
+ id: string;
10389
+ createdAt: string;
10390
+ updatedAt: string;
10391
+ createdBy: string;
10392
+ companyId: string;
10393
+ isActive: boolean;
10394
+ isDeleted: boolean;
10395
+ status: "COMPLETED" | "RUNNING";
10396
+ date: string;
10397
+ userId: string;
10398
+ taskId: string;
10399
+ hours: number | null;
10400
+ billable: boolean;
10401
+ updatedBy?: string | undefined;
10402
+ description?: string | undefined;
10403
+ startTime?: string | undefined;
10404
+ endTime?: string | undefined;
10405
+ };
10406
+ };
10407
+ meta?: Record<string, unknown> | undefined;
10408
+ links?: {
10409
+ self: string;
10410
+ first?: string | undefined;
10411
+ last?: string | undefined;
10412
+ prev?: string | undefined;
10413
+ next?: string | undefined;
10414
+ } | undefined;
10415
+ errors?: {
10416
+ status: string;
10417
+ title: string;
10418
+ detail?: string | undefined;
10419
+ meta?: Record<string, unknown> | undefined;
10420
+ }[] | undefined;
10421
+ }, {
10422
+ data: {
10423
+ id: string;
10424
+ type: "time-entries";
10425
+ attributes: {
10426
+ id: string;
10427
+ createdAt: string;
10428
+ updatedAt: string;
10429
+ createdBy: string;
10430
+ companyId: string;
10431
+ date: string;
10432
+ userId: string;
10433
+ taskId: string;
10434
+ hours: number | null;
10435
+ updatedBy?: string | undefined;
10436
+ isActive?: boolean | undefined;
10437
+ isDeleted?: boolean | undefined;
10438
+ status?: "COMPLETED" | "RUNNING" | undefined;
10439
+ description?: string | undefined;
10440
+ startTime?: string | undefined;
10441
+ endTime?: string | undefined;
10442
+ billable?: boolean | undefined;
10443
+ };
10444
+ };
10445
+ meta?: Record<string, unknown> | undefined;
10446
+ links?: {
10447
+ self: string;
10448
+ first?: string | undefined;
10449
+ last?: string | undefined;
10450
+ prev?: string | undefined;
10451
+ next?: string | undefined;
10452
+ } | undefined;
10453
+ errors?: {
10454
+ status: string;
10455
+ title: string;
10456
+ detail?: string | undefined;
10457
+ meta?: Record<string, unknown> | undefined;
10458
+ }[] | undefined;
10459
+ }>;
10460
+ 204: z.ZodObject<{
10461
+ data: z.ZodNull;
10462
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10463
+ links: z.ZodOptional<z.ZodObject<{
10464
+ self: z.ZodString;
10465
+ first: z.ZodOptional<z.ZodString>;
10466
+ last: z.ZodOptional<z.ZodString>;
10467
+ prev: z.ZodOptional<z.ZodString>;
10468
+ next: z.ZodOptional<z.ZodString>;
10469
+ }, "strip", z.ZodTypeAny, {
10470
+ self: string;
10471
+ first?: string | undefined;
10472
+ last?: string | undefined;
10473
+ prev?: string | undefined;
10474
+ next?: string | undefined;
10475
+ }, {
10476
+ self: string;
10477
+ first?: string | undefined;
10478
+ last?: string | undefined;
10479
+ prev?: string | undefined;
10480
+ next?: string | undefined;
10481
+ }>>;
10482
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
10483
+ status: z.ZodString;
10484
+ title: z.ZodString;
10485
+ detail: z.ZodOptional<z.ZodString>;
10486
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10487
+ }, "strip", z.ZodTypeAny, {
10488
+ status: string;
10489
+ title: string;
10490
+ detail?: string | undefined;
10491
+ meta?: Record<string, unknown> | undefined;
10492
+ }, {
10493
+ status: string;
10494
+ title: string;
10495
+ detail?: string | undefined;
10496
+ meta?: Record<string, unknown> | undefined;
10497
+ }>, "many">>;
10498
+ }, "strip", z.ZodTypeAny, {
10499
+ data: null;
10500
+ meta?: Record<string, unknown> | undefined;
10501
+ links?: {
10502
+ self: string;
10503
+ first?: string | undefined;
10504
+ last?: string | undefined;
10505
+ prev?: string | undefined;
10506
+ next?: string | undefined;
10507
+ } | undefined;
10508
+ errors?: {
10509
+ status: string;
10510
+ title: string;
10511
+ detail?: string | undefined;
10512
+ meta?: Record<string, unknown> | undefined;
10513
+ }[] | undefined;
10514
+ }, {
10515
+ data: null;
10516
+ meta?: Record<string, unknown> | undefined;
10517
+ links?: {
10518
+ self: string;
10519
+ first?: string | undefined;
10520
+ last?: string | undefined;
10521
+ prev?: string | undefined;
10522
+ next?: string | undefined;
10523
+ } | undefined;
10524
+ errors?: {
10525
+ status: string;
10526
+ title: string;
10527
+ detail?: string | undefined;
10528
+ meta?: Record<string, unknown> | undefined;
10529
+ }[] | undefined;
10530
+ }>;
10531
+ 401: z.ZodObject<{
10532
+ errors: z.ZodArray<z.ZodObject<{
10533
+ status: z.ZodString;
10534
+ title: z.ZodString;
10535
+ detail: z.ZodOptional<z.ZodString>;
10536
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10537
+ }, "strip", z.ZodTypeAny, {
10538
+ status: string;
10539
+ title: string;
10540
+ detail?: string | undefined;
10541
+ meta?: Record<string, unknown> | undefined;
10542
+ }, {
10543
+ status: string;
10544
+ title: string;
10545
+ detail?: string | undefined;
10546
+ meta?: Record<string, unknown> | undefined;
10547
+ }>, "many">;
10548
+ }, "strip", z.ZodTypeAny, {
10549
+ errors: {
10550
+ status: string;
10551
+ title: string;
10552
+ detail?: string | undefined;
10553
+ meta?: Record<string, unknown> | undefined;
10554
+ }[];
10555
+ }, {
10556
+ errors: {
10557
+ status: string;
10558
+ title: string;
10559
+ detail?: string | undefined;
10560
+ meta?: Record<string, unknown> | undefined;
10561
+ }[];
10562
+ }>;
10563
+ 403: z.ZodObject<{
10564
+ errors: z.ZodArray<z.ZodObject<{
10565
+ status: z.ZodString;
10566
+ title: z.ZodString;
10567
+ detail: z.ZodOptional<z.ZodString>;
10568
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10569
+ }, "strip", z.ZodTypeAny, {
10570
+ status: string;
10571
+ title: string;
10572
+ detail?: string | undefined;
10573
+ meta?: Record<string, unknown> | undefined;
10574
+ }, {
10575
+ status: string;
10576
+ title: string;
10577
+ detail?: string | undefined;
10578
+ meta?: Record<string, unknown> | undefined;
10579
+ }>, "many">;
10580
+ }, "strip", z.ZodTypeAny, {
10581
+ errors: {
10582
+ status: string;
10583
+ title: string;
10584
+ detail?: string | undefined;
10585
+ meta?: Record<string, unknown> | undefined;
10586
+ }[];
10587
+ }, {
10588
+ errors: {
10589
+ status: string;
10590
+ title: string;
10591
+ detail?: string | undefined;
10592
+ meta?: Record<string, unknown> | undefined;
10593
+ }[];
10594
+ }>;
10595
+ };
10596
+ };
10597
+ getProjectTimeEntries: {
10598
+ pathParams: z.ZodObject<{
10599
+ projectId: z.ZodString;
10600
+ }, "strip", z.ZodTypeAny, {
10601
+ projectId: string;
10602
+ }, {
10603
+ projectId: string;
10604
+ }>;
10605
+ query: z.ZodObject<{
10606
+ page: z.ZodDefault<z.ZodNumber>;
10607
+ limit: z.ZodDefault<z.ZodNumber>;
10608
+ companyId: z.ZodOptional<z.ZodString>;
10609
+ } & {
10610
+ userId: z.ZodOptional<z.ZodString>;
10611
+ startDate: z.ZodOptional<z.ZodString>;
10612
+ endDate: z.ZodOptional<z.ZodString>;
10613
+ taskId: z.ZodOptional<z.ZodString>;
10614
+ }, "strip", z.ZodTypeAny, {
10615
+ page: number;
10616
+ limit: number;
10617
+ companyId?: string | undefined;
10618
+ userId?: string | undefined;
10619
+ startDate?: string | undefined;
10620
+ endDate?: string | undefined;
10621
+ taskId?: string | undefined;
10622
+ }, {
10623
+ companyId?: string | undefined;
10624
+ page?: number | undefined;
10625
+ limit?: number | undefined;
10626
+ userId?: string | undefined;
10627
+ startDate?: string | undefined;
10628
+ endDate?: string | undefined;
10629
+ taskId?: string | undefined;
10630
+ }>;
10631
+ summary: "Get all time entries for a project";
10632
+ method: "GET";
10633
+ path: "/projects/:projectId/time-entries";
10634
+ responses: {
10635
+ 200: z.ZodObject<{
10636
+ data: z.ZodArray<z.ZodObject<{
10637
+ type: z.ZodLiteral<"time-entries">;
10638
+ id: z.ZodString;
10639
+ attributes: z.ZodObject<{
10640
+ id: z.ZodString;
10641
+ createdAt: z.ZodString;
10642
+ updatedAt: z.ZodString;
10643
+ createdBy: z.ZodString;
10644
+ updatedBy: z.ZodOptional<z.ZodString>;
10645
+ companyId: z.ZodString;
10646
+ isActive: z.ZodDefault<z.ZodBoolean>;
10647
+ isDeleted: z.ZodDefault<z.ZodBoolean>;
10648
+ } & {
10649
+ taskId: z.ZodString;
10650
+ userId: z.ZodString;
10651
+ date: z.ZodString;
10652
+ hours: z.ZodNullable<z.ZodNumber>;
10653
+ description: z.ZodOptional<z.ZodString>;
10654
+ billable: z.ZodDefault<z.ZodBoolean>;
10655
+ status: z.ZodDefault<z.ZodEnum<["RUNNING", "COMPLETED"]>>;
10656
+ startTime: z.ZodOptional<z.ZodString>;
10657
+ endTime: z.ZodOptional<z.ZodString>;
10658
+ }, "strip", z.ZodTypeAny, {
10659
+ id: string;
10660
+ createdAt: string;
10661
+ updatedAt: string;
10662
+ createdBy: string;
10663
+ companyId: string;
10664
+ isActive: boolean;
10665
+ isDeleted: boolean;
10666
+ status: "COMPLETED" | "RUNNING";
10667
+ date: string;
10668
+ userId: string;
10669
+ taskId: string;
10670
+ hours: number | null;
10671
+ billable: boolean;
10672
+ updatedBy?: string | undefined;
10673
+ description?: string | undefined;
10674
+ startTime?: string | undefined;
10675
+ endTime?: string | undefined;
10676
+ }, {
10677
+ id: string;
10678
+ createdAt: string;
10679
+ updatedAt: string;
10680
+ createdBy: string;
10681
+ companyId: string;
10682
+ date: string;
10683
+ userId: string;
10684
+ taskId: string;
10685
+ hours: number | null;
10686
+ updatedBy?: string | undefined;
10687
+ isActive?: boolean | undefined;
10688
+ isDeleted?: boolean | undefined;
10689
+ status?: "COMPLETED" | "RUNNING" | undefined;
10690
+ description?: string | undefined;
10691
+ startTime?: string | undefined;
10692
+ endTime?: string | undefined;
10693
+ billable?: boolean | undefined;
10694
+ }>;
10695
+ }, "strip", z.ZodTypeAny, {
10696
+ id: string;
10697
+ type: "time-entries";
10698
+ attributes: {
10699
+ id: string;
10700
+ createdAt: string;
10701
+ updatedAt: string;
10702
+ createdBy: string;
10703
+ companyId: string;
10704
+ isActive: boolean;
10705
+ isDeleted: boolean;
10706
+ status: "COMPLETED" | "RUNNING";
10707
+ date: string;
10708
+ userId: string;
10709
+ taskId: string;
10710
+ hours: number | null;
10711
+ billable: boolean;
10712
+ updatedBy?: string | undefined;
10713
+ description?: string | undefined;
10714
+ startTime?: string | undefined;
10715
+ endTime?: string | undefined;
10716
+ };
10717
+ }, {
10718
+ id: string;
10719
+ type: "time-entries";
10720
+ attributes: {
10721
+ id: string;
10722
+ createdAt: string;
10723
+ updatedAt: string;
10724
+ createdBy: string;
10725
+ companyId: string;
10726
+ date: string;
10727
+ userId: string;
10728
+ taskId: string;
10729
+ hours: number | null;
10730
+ updatedBy?: string | undefined;
10731
+ isActive?: boolean | undefined;
10732
+ isDeleted?: boolean | undefined;
10733
+ status?: "COMPLETED" | "RUNNING" | undefined;
10734
+ description?: string | undefined;
10735
+ startTime?: string | undefined;
10736
+ endTime?: string | undefined;
10737
+ billable?: boolean | undefined;
10738
+ };
10739
+ }>, "many">;
10740
+ meta: z.ZodOptional<z.ZodObject<{
10741
+ total: z.ZodOptional<z.ZodNumber>;
10742
+ page: z.ZodOptional<z.ZodNumber>;
10743
+ size: z.ZodOptional<z.ZodNumber>;
10744
+ pages: z.ZodOptional<z.ZodNumber>;
10745
+ hasNextPage: z.ZodOptional<z.ZodBoolean>;
10746
+ hasPreviousPage: z.ZodOptional<z.ZodBoolean>;
10747
+ }, "strip", z.ZodTypeAny, {
10748
+ page?: number | undefined;
10749
+ total?: number | undefined;
10750
+ size?: number | undefined;
10751
+ pages?: number | undefined;
10752
+ hasNextPage?: boolean | undefined;
10753
+ hasPreviousPage?: boolean | undefined;
10754
+ }, {
10755
+ page?: number | undefined;
10756
+ total?: number | undefined;
10757
+ size?: number | undefined;
10758
+ pages?: number | undefined;
10759
+ hasNextPage?: boolean | undefined;
10760
+ hasPreviousPage?: boolean | undefined;
10761
+ }>>;
10762
+ links: z.ZodOptional<z.ZodObject<{
10763
+ self: z.ZodString;
10764
+ first: z.ZodOptional<z.ZodString>;
10765
+ last: z.ZodOptional<z.ZodString>;
10766
+ prev: z.ZodOptional<z.ZodString>;
10767
+ next: z.ZodOptional<z.ZodString>;
10768
+ }, "strip", z.ZodTypeAny, {
10769
+ self: string;
10770
+ first?: string | undefined;
10771
+ last?: string | undefined;
10772
+ prev?: string | undefined;
10773
+ next?: string | undefined;
10774
+ }, {
10775
+ self: string;
10776
+ first?: string | undefined;
10777
+ last?: string | undefined;
10778
+ prev?: string | undefined;
10779
+ next?: string | undefined;
10780
+ }>>;
10781
+ }, "strip", z.ZodTypeAny, {
10782
+ data: {
10783
+ id: string;
10784
+ type: "time-entries";
10785
+ attributes: {
10786
+ id: string;
10787
+ createdAt: string;
10788
+ updatedAt: string;
10789
+ createdBy: string;
10790
+ companyId: string;
10791
+ isActive: boolean;
10792
+ isDeleted: boolean;
10793
+ status: "COMPLETED" | "RUNNING";
10794
+ date: string;
10795
+ userId: string;
10796
+ taskId: string;
10797
+ hours: number | null;
10798
+ billable: boolean;
10799
+ updatedBy?: string | undefined;
10800
+ description?: string | undefined;
10801
+ startTime?: string | undefined;
10802
+ endTime?: string | undefined;
10803
+ };
10804
+ }[];
10805
+ meta?: {
10806
+ page?: number | undefined;
10807
+ total?: number | undefined;
10808
+ size?: number | undefined;
10809
+ pages?: number | undefined;
10810
+ hasNextPage?: boolean | undefined;
10811
+ hasPreviousPage?: boolean | undefined;
10812
+ } | undefined;
10813
+ links?: {
10814
+ self: string;
10815
+ first?: string | undefined;
10816
+ last?: string | undefined;
10817
+ prev?: string | undefined;
10818
+ next?: string | undefined;
10819
+ } | undefined;
10820
+ }, {
10821
+ data: {
10822
+ id: string;
10823
+ type: "time-entries";
10824
+ attributes: {
10825
+ id: string;
10826
+ createdAt: string;
10827
+ updatedAt: string;
10828
+ createdBy: string;
10829
+ companyId: string;
10830
+ date: string;
10831
+ userId: string;
10832
+ taskId: string;
10833
+ hours: number | null;
10834
+ updatedBy?: string | undefined;
10835
+ isActive?: boolean | undefined;
10836
+ isDeleted?: boolean | undefined;
10837
+ status?: "COMPLETED" | "RUNNING" | undefined;
10838
+ description?: string | undefined;
10839
+ startTime?: string | undefined;
10840
+ endTime?: string | undefined;
10841
+ billable?: boolean | undefined;
10842
+ };
10843
+ }[];
10844
+ meta?: {
10845
+ page?: number | undefined;
10846
+ total?: number | undefined;
10847
+ size?: number | undefined;
10848
+ pages?: number | undefined;
10849
+ hasNextPage?: boolean | undefined;
10850
+ hasPreviousPage?: boolean | undefined;
10851
+ } | undefined;
10852
+ links?: {
10853
+ self: string;
10854
+ first?: string | undefined;
10855
+ last?: string | undefined;
10856
+ prev?: string | undefined;
10857
+ next?: string | undefined;
10858
+ } | undefined;
10859
+ }>;
10860
+ 401: z.ZodObject<{
10861
+ errors: z.ZodArray<z.ZodObject<{
10862
+ status: z.ZodString;
10863
+ title: z.ZodString;
10864
+ detail: z.ZodOptional<z.ZodString>;
10865
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10866
+ }, "strip", z.ZodTypeAny, {
10867
+ status: string;
10868
+ title: string;
10869
+ detail?: string | undefined;
10870
+ meta?: Record<string, unknown> | undefined;
10871
+ }, {
10872
+ status: string;
10873
+ title: string;
10874
+ detail?: string | undefined;
10875
+ meta?: Record<string, unknown> | undefined;
10876
+ }>, "many">;
10877
+ }, "strip", z.ZodTypeAny, {
10878
+ errors: {
10879
+ status: string;
10880
+ title: string;
10881
+ detail?: string | undefined;
10882
+ meta?: Record<string, unknown> | undefined;
10883
+ }[];
10884
+ }, {
10885
+ errors: {
10886
+ status: string;
10887
+ title: string;
10888
+ detail?: string | undefined;
10889
+ meta?: Record<string, unknown> | undefined;
10890
+ }[];
10891
+ }>;
10892
+ 403: z.ZodObject<{
10893
+ errors: z.ZodArray<z.ZodObject<{
10894
+ status: z.ZodString;
10895
+ title: z.ZodString;
10896
+ detail: z.ZodOptional<z.ZodString>;
10897
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10898
+ }, "strip", z.ZodTypeAny, {
10899
+ status: string;
10900
+ title: string;
10901
+ detail?: string | undefined;
10902
+ meta?: Record<string, unknown> | undefined;
10903
+ }, {
10904
+ status: string;
10905
+ title: string;
10906
+ detail?: string | undefined;
10907
+ meta?: Record<string, unknown> | undefined;
10908
+ }>, "many">;
10909
+ }, "strip", z.ZodTypeAny, {
10910
+ errors: {
10911
+ status: string;
10912
+ title: string;
10913
+ detail?: string | undefined;
10914
+ meta?: Record<string, unknown> | undefined;
10915
+ }[];
10916
+ }, {
10917
+ errors: {
10918
+ status: string;
10919
+ title: string;
10920
+ detail?: string | undefined;
10921
+ meta?: Record<string, unknown> | undefined;
10922
+ }[];
10923
+ }>;
10924
+ 404: z.ZodObject<{
10925
+ errors: z.ZodArray<z.ZodObject<{
10926
+ status: z.ZodString;
10927
+ title: z.ZodString;
10928
+ detail: z.ZodOptional<z.ZodString>;
10929
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10930
+ }, "strip", z.ZodTypeAny, {
10931
+ status: string;
10932
+ title: string;
10933
+ detail?: string | undefined;
10934
+ meta?: Record<string, unknown> | undefined;
10935
+ }, {
10936
+ status: string;
10937
+ title: string;
10938
+ detail?: string | undefined;
10939
+ meta?: Record<string, unknown> | undefined;
10940
+ }>, "many">;
10941
+ }, "strip", z.ZodTypeAny, {
10942
+ errors: {
10943
+ status: string;
10944
+ title: string;
10945
+ detail?: string | undefined;
10946
+ meta?: Record<string, unknown> | undefined;
10947
+ }[];
10948
+ }, {
10949
+ errors: {
10950
+ status: string;
10951
+ title: string;
10952
+ detail?: string | undefined;
10953
+ meta?: Record<string, unknown> | undefined;
10954
+ }[];
10955
+ }>;
10956
+ };
10957
+ };
10958
+ getTaskDocuments: {
10959
+ description: "Retrieve all documents associated with a task with optional filtering and pagination";
10960
+ pathParams: z.ZodObject<{
10961
+ taskId: z.ZodString;
10962
+ }, "strip", z.ZodTypeAny, {
10963
+ taskId: string;
10964
+ }, {
10965
+ taskId: string;
10966
+ }>;
10967
+ query: z.ZodObject<{
10968
+ page: z.ZodDefault<z.ZodNumber>;
10969
+ limit: z.ZodDefault<z.ZodNumber>;
10970
+ type: z.ZodOptional<z.ZodEnum<["DRAWING", "SPECIFICATION", "CONTRACT", "RFI", "SUBMITTAL", "TRANSMITTAL", "PHOTO", "REPORT", "INVOICE", "PURCHASE_ORDER", "PERMIT", "INSPECTION_REPORT", "CHANGE_ORDER", "MEETING_MINUTES", "OTHER"]>>;
10971
+ category: z.ZodOptional<z.ZodEnum<["PROGRESS", "ISSUE", "COMPLETION", "GENERAL"]>>;
10972
+ search: z.ZodOptional<z.ZodString>;
10973
+ tags: z.ZodOptional<z.ZodString>;
10974
+ }, "strip", z.ZodTypeAny, {
10975
+ page: number;
10976
+ limit: number;
10977
+ type?: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER" | undefined;
10978
+ search?: string | undefined;
10979
+ category?: "GENERAL" | "PROGRESS" | "ISSUE" | "COMPLETION" | undefined;
10980
+ tags?: string | undefined;
10981
+ }, {
10982
+ type?: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER" | undefined;
10983
+ page?: number | undefined;
10984
+ limit?: number | undefined;
8902
10985
  search?: string | undefined;
8903
10986
  category?: "GENERAL" | "PROGRESS" | "ISSUE" | "COMPLETION" | undefined;
8904
10987
  tags?: string | undefined;
@@ -8938,9 +11021,9 @@ export declare const tasksContract: {
8938
11021
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
8939
11022
  title: string;
8940
11023
  projectId: string;
11024
+ fileUrl: string;
8941
11025
  tags: string[];
8942
11026
  version: string;
8943
- fileUrl: string;
8944
11027
  fileName: string;
8945
11028
  isConfidential: boolean;
8946
11029
  uploadedById: string;
@@ -8984,9 +11067,9 @@ export declare const tasksContract: {
8984
11067
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
8985
11068
  title: string;
8986
11069
  projectId: string;
11070
+ fileUrl: string;
8987
11071
  tags: string[];
8988
11072
  version: string;
8989
- fileUrl: string;
8990
11073
  fileName: string;
8991
11074
  isConfidential: boolean;
8992
11075
  uploadedById: string;
@@ -9077,9 +11160,9 @@ export declare const tasksContract: {
9077
11160
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9078
11161
  title: string;
9079
11162
  projectId: string;
11163
+ fileUrl: string;
9080
11164
  tags: string[];
9081
11165
  version: string;
9082
- fileUrl: string;
9083
11166
  fileName: string;
9084
11167
  isConfidential: boolean;
9085
11168
  uploadedById: string;
@@ -9380,9 +11463,9 @@ export declare const tasksContract: {
9380
11463
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9381
11464
  title: string;
9382
11465
  projectId: string;
11466
+ fileUrl: string;
9383
11467
  tags: string[];
9384
11468
  version: string;
9385
- fileUrl: string;
9386
11469
  fileName: string;
9387
11470
  isConfidential: boolean;
9388
11471
  uploadedById: string;
@@ -9426,9 +11509,9 @@ export declare const tasksContract: {
9426
11509
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9427
11510
  title: string;
9428
11511
  projectId: string;
11512
+ fileUrl: string;
9429
11513
  tags: string[];
9430
11514
  version: string;
9431
- fileUrl: string;
9432
11515
  fileName: string;
9433
11516
  isConfidential: boolean;
9434
11517
  uploadedById: string;
@@ -9514,9 +11597,9 @@ export declare const tasksContract: {
9514
11597
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9515
11598
  title: string;
9516
11599
  projectId: string;
11600
+ fileUrl: string;
9517
11601
  tags: string[];
9518
11602
  version: string;
9519
- fileUrl: string;
9520
11603
  fileName: string;
9521
11604
  isConfidential: boolean;
9522
11605
  uploadedById: string;
@@ -9764,9 +11847,9 @@ export declare const tasksContract: {
9764
11847
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9765
11848
  title: string;
9766
11849
  projectId: string;
11850
+ fileUrl: string;
9767
11851
  tags: string[];
9768
11852
  version: string;
9769
- fileUrl: string;
9770
11853
  fileName: string;
9771
11854
  isConfidential: boolean;
9772
11855
  uploadedById: string;
@@ -9810,9 +11893,9 @@ export declare const tasksContract: {
9810
11893
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9811
11894
  title: string;
9812
11895
  projectId: string;
11896
+ fileUrl: string;
9813
11897
  tags: string[];
9814
11898
  version: string;
9815
- fileUrl: string;
9816
11899
  fileName: string;
9817
11900
  isConfidential: boolean;
9818
11901
  uploadedById: string;
@@ -9898,9 +11981,9 @@ export declare const tasksContract: {
9898
11981
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
9899
11982
  title: string;
9900
11983
  projectId: string;
11984
+ fileUrl: string;
9901
11985
  tags: string[];
9902
11986
  version: string;
9903
- fileUrl: string;
9904
11987
  fileName: string;
9905
11988
  isConfidential: boolean;
9906
11989
  uploadedById: string;
@@ -10197,9 +12280,9 @@ export declare const tasksContract: {
10197
12280
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
10198
12281
  title: string;
10199
12282
  projectId: string;
12283
+ fileUrl: string;
10200
12284
  tags: string[];
10201
12285
  version: string;
10202
- fileUrl: string;
10203
12286
  fileName: string;
10204
12287
  isConfidential: boolean;
10205
12288
  uploadedById: string;
@@ -10243,9 +12326,9 @@ export declare const tasksContract: {
10243
12326
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
10244
12327
  title: string;
10245
12328
  projectId: string;
12329
+ fileUrl: string;
10246
12330
  tags: string[];
10247
12331
  version: string;
10248
- fileUrl: string;
10249
12332
  fileName: string;
10250
12333
  isConfidential: boolean;
10251
12334
  uploadedById: string;
@@ -10331,9 +12414,9 @@ export declare const tasksContract: {
10331
12414
  type: "DRAWING" | "SPECIFICATION" | "CONTRACT" | "RFI" | "SUBMITTAL" | "TRANSMITTAL" | "PHOTO" | "REPORT" | "INVOICE" | "PURCHASE_ORDER" | "PERMIT" | "INSPECTION_REPORT" | "CHANGE_ORDER" | "MEETING_MINUTES" | "OTHER";
10332
12415
  title: string;
10333
12416
  projectId: string;
12417
+ fileUrl: string;
10334
12418
  tags: string[];
10335
12419
  version: string;
10336
- fileUrl: string;
10337
12420
  fileName: string;
10338
12421
  isConfidential: boolean;
10339
12422
  uploadedById: string;