@critical-path/core 0.55.0 → 0.56.0

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 (42) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/domain/authorization.d.ts.map +1 -1
  3. package/dist/domain/authorization.js +3 -0
  4. package/dist/domain/authorization.js.map +1 -1
  5. package/dist/domain/events.d.ts +18 -2
  6. package/dist/domain/events.d.ts.map +1 -1
  7. package/dist/domain/events.js +2 -0
  8. package/dist/domain/events.js.map +1 -1
  9. package/dist/engine/index.d.ts +14 -0
  10. package/dist/engine/index.d.ts.map +1 -1
  11. package/dist/engine/index.js +99 -27
  12. package/dist/engine/index.js.map +1 -1
  13. package/dist/schemas/index.d.ts +292 -153
  14. package/dist/schemas/index.d.ts.map +1 -1
  15. package/dist/schemas/index.js +53 -21
  16. package/dist/schemas/index.js.map +1 -1
  17. package/dist/store/firebase.d.ts +56 -13
  18. package/dist/store/firebase.d.ts.map +1 -1
  19. package/dist/store/firebase.js +83 -71
  20. package/dist/store/firebase.js.map +1 -1
  21. package/dist/store/index.d.ts +5 -0
  22. package/dist/store/index.d.ts.map +1 -1
  23. package/dist/store/index.js +11 -0
  24. package/dist/store/index.js.map +1 -1
  25. package/dist/store/sqlite.d.ts +2 -0
  26. package/dist/store/sqlite.d.ts.map +1 -1
  27. package/dist/store/sqlite.js +15 -0
  28. package/dist/store/sqlite.js.map +1 -1
  29. package/dist/testing/conformance.d.ts.map +1 -1
  30. package/dist/testing/conformance.js +6 -0
  31. package/dist/testing/conformance.js.map +1 -1
  32. package/dist/types/index.d.ts +4 -2
  33. package/dist/types/index.d.ts.map +1 -1
  34. package/dist/utils/index.d.ts +1 -0
  35. package/dist/utils/index.d.ts.map +1 -1
  36. package/dist/utils/index.js +1 -0
  37. package/dist/utils/index.js.map +1 -1
  38. package/dist/utils/update.d.ts +7 -0
  39. package/dist/utils/update.d.ts.map +1 -0
  40. package/dist/utils/update.js +16 -0
  41. package/dist/utils/update.js.map +1 -0
  42. package/package.json +1 -1
@@ -559,8 +559,8 @@ export declare const CreateProjectSchema: z.ZodObject<{
559
559
  halfDay?: boolean | undefined;
560
560
  }[] | undefined;
561
561
  }>>;
562
- startDate: z.ZodOptional<z.ZodString>;
563
- targetEndDate: z.ZodOptional<z.ZodString>;
562
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
563
+ targetEndDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
564
564
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
565
565
  }, "strict", z.ZodTypeAny, {
566
566
  name: string;
@@ -690,11 +690,9 @@ export declare const CreateProjectSchema: z.ZodObject<{
690
690
  customFields?: Record<string, unknown> | undefined;
691
691
  }>;
692
692
  export declare const UpdateProjectSchema: z.ZodObject<{
693
- key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
694
- name: z.ZodOptional<z.ZodString>;
695
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
696
- ownerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
697
- members: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
693
+ description: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
694
+ ownerId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
695
+ members: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
698
696
  userId: z.ZodString;
699
697
  role: z.ZodEnum<["admin", "project_manager", "contributor", "viewer"]>;
700
698
  }, "strict", z.ZodTypeAny, {
@@ -712,10 +710,22 @@ export declare const UpdateProjectSchema: z.ZodObject<{
712
710
  }, {
713
711
  teamId: string;
714
712
  role: "admin" | "project_manager" | "contributor" | "viewer";
715
- }>]>, "many">>>;
716
- teamIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
717
- workflowId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
718
- taskTypes: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
713
+ }>]>, "many">>>, ({
714
+ userId: string;
715
+ role: "admin" | "project_manager" | "contributor" | "viewer";
716
+ } | {
717
+ teamId: string;
718
+ role: "admin" | "project_manager" | "contributor" | "viewer";
719
+ })[] | undefined, ({
720
+ userId: string;
721
+ role: "admin" | "project_manager" | "contributor" | "viewer";
722
+ } | {
723
+ teamId: string;
724
+ role: "admin" | "project_manager" | "contributor" | "viewer";
725
+ })[] | null | undefined>>>;
726
+ teamIds: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>>>;
727
+ workflowId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
728
+ taskTypes: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
719
729
  key: z.ZodString;
720
730
  label: z.ZodString;
721
731
  description: z.ZodOptional<z.ZodString>;
@@ -736,8 +746,22 @@ export declare const UpdateProjectSchema: z.ZodObject<{
736
746
  workflowId?: string | undefined;
737
747
  defaultStatusKey?: string | undefined;
738
748
  icon?: string | undefined;
739
- }>, "many">>>;
740
- statusDefinitions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
749
+ }>, "many">>>, {
750
+ key: string;
751
+ label: string;
752
+ description?: string | undefined;
753
+ workflowId?: string | undefined;
754
+ defaultStatusKey?: string | undefined;
755
+ icon?: string | undefined;
756
+ }[] | undefined, {
757
+ key: string;
758
+ label: string;
759
+ description?: string | undefined;
760
+ workflowId?: string | undefined;
761
+ defaultStatusKey?: string | undefined;
762
+ icon?: string | undefined;
763
+ }[] | null | undefined>>>;
764
+ statusDefinitions: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
741
765
  key: z.ZodString;
742
766
  label: z.ZodString;
743
767
  category: z.ZodEnum<["not_started", "in_progress", "completed", "canceled"]>;
@@ -749,8 +773,16 @@ export declare const UpdateProjectSchema: z.ZodObject<{
749
773
  key: string;
750
774
  category: "in_progress" | "canceled" | "not_started" | "completed";
751
775
  label: string;
752
- }>, "many">>>;
753
- priorityDefinitions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
776
+ }>, "many">>>, {
777
+ key: string;
778
+ category: "in_progress" | "canceled" | "not_started" | "completed";
779
+ label: string;
780
+ }[] | undefined, {
781
+ key: string;
782
+ category: "in_progress" | "canceled" | "not_started" | "completed";
783
+ label: string;
784
+ }[] | null | undefined>>>;
785
+ priorityDefinitions: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
754
786
  key: z.ZodString;
755
787
  label: z.ZodString;
756
788
  level: z.ZodOptional<z.ZodNumber>;
@@ -762,8 +794,16 @@ export declare const UpdateProjectSchema: z.ZodObject<{
762
794
  key: string;
763
795
  label: string;
764
796
  level?: number | undefined;
765
- }>, "many">>>;
766
- customFieldDefinitions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ }>, "many">>>, {
798
+ key: string;
799
+ label: string;
800
+ level?: number | undefined;
801
+ }[] | undefined, {
802
+ key: string;
803
+ label: string;
804
+ level?: number | undefined;
805
+ }[] | null | undefined>>>;
806
+ customFieldDefinitions: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
767
807
  id: z.ZodString;
768
808
  key: z.ZodString;
769
809
  label: z.ZodString;
@@ -788,8 +828,24 @@ export declare const UpdateProjectSchema: z.ZodObject<{
788
828
  options?: string[] | undefined;
789
829
  required?: boolean | undefined;
790
830
  defaultValue?: unknown;
791
- }>, "many">>>;
792
- schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
831
+ }>, "many">>>, {
832
+ id: string;
833
+ key: string;
834
+ type: string;
835
+ label: string;
836
+ options?: string[] | undefined;
837
+ required?: boolean | undefined;
838
+ defaultValue?: unknown;
839
+ }[] | undefined, {
840
+ id: string;
841
+ key: string;
842
+ type: string;
843
+ label: string;
844
+ options?: string[] | undefined;
845
+ required?: boolean | undefined;
846
+ defaultValue?: unknown;
847
+ }[] | null | undefined>>>;
848
+ schedule: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodObject<{
793
849
  id: z.ZodOptional<z.ZodString>;
794
850
  name: z.ZodOptional<z.ZodString>;
795
851
  timezone: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
@@ -871,10 +927,48 @@ export declare const UpdateProjectSchema: z.ZodObject<{
871
927
  name?: string | undefined;
872
928
  halfDay?: boolean | undefined;
873
929
  }[] | undefined;
874
- }>>>;
875
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
876
- targetEndDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
877
- customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
930
+ }>>>, {
931
+ days: {
932
+ isWorkingDay: boolean;
933
+ dayOfWeek: number;
934
+ hours?: {
935
+ end: string;
936
+ start: string;
937
+ }[] | undefined;
938
+ }[];
939
+ name?: string | undefined;
940
+ id?: string | undefined;
941
+ timezone?: string | undefined;
942
+ defaultHoursPerDay?: number | undefined;
943
+ holidays?: {
944
+ date: string;
945
+ name?: string | undefined;
946
+ halfDay?: boolean | undefined;
947
+ }[] | undefined;
948
+ } | undefined, {
949
+ days: {
950
+ isWorkingDay: boolean;
951
+ dayOfWeek: number;
952
+ hours?: {
953
+ end: string;
954
+ start: string;
955
+ }[] | undefined;
956
+ }[];
957
+ name?: string | undefined;
958
+ id?: string | undefined;
959
+ timezone?: string | undefined;
960
+ defaultHoursPerDay?: number | undefined;
961
+ holidays?: {
962
+ date: string;
963
+ name?: string | undefined;
964
+ halfDay?: boolean | undefined;
965
+ }[] | undefined;
966
+ } | null | undefined>>>;
967
+ startDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
968
+ targetEndDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
969
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
970
+ name: z.ZodOptional<z.ZodString>;
971
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
878
972
  } & {
879
973
  /**
880
974
  * Not stored. When the update changes the project's statuses, maps each status tasks are in that
@@ -948,17 +1042,17 @@ export declare const UpdateProjectSchema: z.ZodObject<{
948
1042
  }, {
949
1043
  name?: string | undefined;
950
1044
  key?: string | undefined;
951
- description?: string | undefined;
952
- ownerId?: string | undefined;
1045
+ description?: string | null | undefined;
1046
+ ownerId?: string | null | undefined;
953
1047
  members?: ({
954
1048
  userId: string;
955
1049
  role: "admin" | "project_manager" | "contributor" | "viewer";
956
1050
  } | {
957
1051
  teamId: string;
958
1052
  role: "admin" | "project_manager" | "contributor" | "viewer";
959
- })[] | undefined;
960
- teamIds?: string[] | undefined;
961
- workflowId?: string | undefined;
1053
+ })[] | null | undefined;
1054
+ teamIds?: string[] | null | undefined;
1055
+ workflowId?: string | null | undefined;
962
1056
  taskTypes?: {
963
1057
  key: string;
964
1058
  label: string;
@@ -966,17 +1060,17 @@ export declare const UpdateProjectSchema: z.ZodObject<{
966
1060
  workflowId?: string | undefined;
967
1061
  defaultStatusKey?: string | undefined;
968
1062
  icon?: string | undefined;
969
- }[] | undefined;
1063
+ }[] | null | undefined;
970
1064
  statusDefinitions?: {
971
1065
  key: string;
972
1066
  category: "in_progress" | "canceled" | "not_started" | "completed";
973
1067
  label: string;
974
- }[] | undefined;
1068
+ }[] | null | undefined;
975
1069
  priorityDefinitions?: {
976
1070
  key: string;
977
1071
  label: string;
978
1072
  level?: number | undefined;
979
- }[] | undefined;
1073
+ }[] | null | undefined;
980
1074
  customFieldDefinitions?: {
981
1075
  id: string;
982
1076
  key: string;
@@ -985,7 +1079,7 @@ export declare const UpdateProjectSchema: z.ZodObject<{
985
1079
  options?: string[] | undefined;
986
1080
  required?: boolean | undefined;
987
1081
  defaultValue?: unknown;
988
- }[] | undefined;
1082
+ }[] | null | undefined;
989
1083
  schedule?: {
990
1084
  days: {
991
1085
  isWorkingDay: boolean;
@@ -1004,10 +1098,10 @@ export declare const UpdateProjectSchema: z.ZodObject<{
1004
1098
  name?: string | undefined;
1005
1099
  halfDay?: boolean | undefined;
1006
1100
  }[] | undefined;
1007
- } | undefined;
1008
- startDate?: string | undefined;
1009
- targetEndDate?: string | undefined;
1010
- customFields?: Record<string, unknown> | undefined;
1101
+ } | null | undefined;
1102
+ startDate?: string | null | undefined;
1103
+ targetEndDate?: string | null | undefined;
1104
+ customFields?: Record<string, unknown> | null | undefined;
1011
1105
  statusMapping?: Record<string, string> | undefined;
1012
1106
  }>;
1013
1107
  export declare const CreateTaskSchema: z.ZodObject<{
@@ -1042,11 +1136,11 @@ export declare const CreateTaskSchema: z.ZodObject<{
1042
1136
  teamId: z.ZodOptional<z.ZodString>;
1043
1137
  containerId: z.ZodOptional<z.ZodString>;
1044
1138
  deliverableId: z.ZodOptional<z.ZodString>;
1045
- plannedStartDate: z.ZodOptional<z.ZodString>;
1046
- actualStartDate: z.ZodOptional<z.ZodString>;
1047
- actualEndDate: z.ZodOptional<z.ZodString>;
1048
- completedAt: z.ZodOptional<z.ZodString>;
1049
- dueDate: z.ZodOptional<z.ZodString>;
1139
+ plannedStartDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1140
+ actualStartDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1141
+ actualEndDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1142
+ completedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1143
+ dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1050
1144
  deadline: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1051
1145
  isMilestone: z.ZodOptional<z.ZodBoolean>;
1052
1146
  estimatedHours: z.ZodOptional<z.ZodNumber>;
@@ -1060,8 +1154,8 @@ export declare const CreateTaskSchema: z.ZodObject<{
1060
1154
  id: z.ZodString;
1061
1155
  title: z.ZodString;
1062
1156
  completed: z.ZodBoolean;
1063
- createdAt: z.ZodOptional<z.ZodString>;
1064
- completedAt: z.ZodOptional<z.ZodString>;
1157
+ createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1158
+ completedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1065
1159
  }, "strict", z.ZodTypeAny, {
1066
1160
  id: string;
1067
1161
  title: string;
@@ -1168,13 +1262,10 @@ export declare const CreateTaskSchema: z.ZodObject<{
1168
1262
  parentId?: string | undefined;
1169
1263
  }>;
1170
1264
  export declare const UpdateTaskSchema: z.ZodObject<{
1171
- title: z.ZodOptional<z.ZodString>;
1172
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1173
- status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1174
- priority: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1175
- taskType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1176
- assigneeId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1177
- assignees: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1265
+ description: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1266
+ taskType: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1267
+ assigneeId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1268
+ assignees: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1178
1269
  id: z.ZodString;
1179
1270
  name: z.ZodOptional<z.ZodString>;
1180
1271
  role: z.ZodOptional<z.ZodString>;
@@ -1192,33 +1283,44 @@ export declare const UpdateTaskSchema: z.ZodObject<{
1192
1283
  type?: "user" | "agent" | "team" | undefined;
1193
1284
  role?: string | undefined;
1194
1285
  avatarUrl?: string | undefined;
1195
- }>, "many">>>;
1196
- reporterId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1197
- reviewerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1198
- iterationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1199
- teamId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1200
- containerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1201
- deliverableId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1202
- plannedStartDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1203
- actualStartDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1204
- actualEndDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1205
- completedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1206
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1207
- deadline: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1208
- isMilestone: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1209
- estimatedHours: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1210
- allocation: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1211
- estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1212
- progress: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1213
- isBlocked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1214
- blockedReason: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1215
- tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1216
- todos: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
1286
+ }>, "many">>>, {
1287
+ id: string;
1288
+ name?: string | undefined;
1289
+ type?: "user" | "agent" | "team" | undefined;
1290
+ role?: string | undefined;
1291
+ avatarUrl?: string | undefined;
1292
+ }[] | undefined, {
1293
+ id: string;
1294
+ name?: string | undefined;
1295
+ type?: "user" | "agent" | "team" | undefined;
1296
+ role?: string | undefined;
1297
+ avatarUrl?: string | undefined;
1298
+ }[] | null | undefined>>>;
1299
+ reporterId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1300
+ reviewerId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1301
+ iterationId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1302
+ teamId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1303
+ containerId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1304
+ deliverableId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1305
+ plannedStartDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1306
+ actualStartDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1307
+ actualEndDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1308
+ completedAt: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1309
+ dueDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1310
+ deadline: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1311
+ isMilestone: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>>>;
1312
+ estimatedHours: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>>>;
1313
+ allocation: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>>>;
1314
+ estimatedDurationMinutes: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>>>;
1315
+ progress: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodNumber>>, number | undefined, number | null | undefined>>>;
1316
+ isBlocked: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>, boolean | undefined, boolean | null | undefined>>>;
1317
+ tags: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>>>;
1318
+ todos: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1217
1319
  id: z.ZodString;
1218
1320
  title: z.ZodString;
1219
1321
  completed: z.ZodBoolean;
1220
- createdAt: z.ZodOptional<z.ZodString>;
1221
- completedAt: z.ZodOptional<z.ZodString>;
1322
+ createdAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1323
+ completedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1222
1324
  }, "strict", z.ZodTypeAny, {
1223
1325
  id: string;
1224
1326
  title: string;
@@ -1231,9 +1333,25 @@ export declare const UpdateTaskSchema: z.ZodObject<{
1231
1333
  completed: boolean;
1232
1334
  createdAt?: string | undefined;
1233
1335
  completedAt?: string | undefined;
1234
- }>, "many">>>;
1235
- customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1236
- parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1336
+ }>, "many">>>, {
1337
+ id: string;
1338
+ title: string;
1339
+ completed: boolean;
1340
+ createdAt?: string | undefined;
1341
+ completedAt?: string | undefined;
1342
+ }[] | undefined, {
1343
+ id: string;
1344
+ title: string;
1345
+ completed: boolean;
1346
+ createdAt?: string | undefined;
1347
+ completedAt?: string | undefined;
1348
+ }[] | null | undefined>>>;
1349
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
1350
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1351
+ title: z.ZodOptional<z.ZodString>;
1352
+ status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1353
+ priority: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1354
+ blockedReason: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
1237
1355
  }, "strict", z.ZodTypeAny, {
1238
1356
  description?: string | undefined;
1239
1357
  customFields?: Record<string, unknown> | undefined;
@@ -1278,48 +1396,48 @@ export declare const UpdateTaskSchema: z.ZodObject<{
1278
1396
  }[] | undefined;
1279
1397
  parentId?: string | undefined;
1280
1398
  }, {
1281
- description?: string | undefined;
1282
- customFields?: Record<string, unknown> | undefined;
1399
+ description?: string | null | undefined;
1400
+ customFields?: Record<string, unknown> | null | undefined;
1283
1401
  title?: string | undefined;
1284
1402
  status?: string | undefined;
1285
1403
  priority?: string | undefined;
1286
- taskType?: string | undefined;
1287
- assigneeId?: string | undefined;
1404
+ taskType?: string | null | undefined;
1405
+ assigneeId?: string | null | undefined;
1288
1406
  assignees?: {
1289
1407
  id: string;
1290
1408
  name?: string | undefined;
1291
1409
  type?: "user" | "agent" | "team" | undefined;
1292
1410
  role?: string | undefined;
1293
1411
  avatarUrl?: string | undefined;
1294
- }[] | undefined;
1295
- reporterId?: string | undefined;
1296
- reviewerId?: string | undefined;
1297
- iterationId?: string | undefined;
1298
- teamId?: string | undefined;
1299
- containerId?: string | undefined;
1300
- deliverableId?: string | undefined;
1301
- plannedStartDate?: string | undefined;
1302
- actualStartDate?: string | undefined;
1303
- actualEndDate?: string | undefined;
1304
- completedAt?: string | undefined;
1305
- dueDate?: string | undefined;
1306
- deadline?: string | undefined;
1307
- isMilestone?: boolean | undefined;
1308
- estimatedHours?: number | undefined;
1309
- allocation?: number | undefined;
1310
- estimatedDurationMinutes?: number | undefined;
1311
- progress?: number | undefined;
1312
- isBlocked?: boolean | undefined;
1412
+ }[] | null | undefined;
1413
+ reporterId?: string | null | undefined;
1414
+ reviewerId?: string | null | undefined;
1415
+ iterationId?: string | null | undefined;
1416
+ teamId?: string | null | undefined;
1417
+ containerId?: string | null | undefined;
1418
+ deliverableId?: string | null | undefined;
1419
+ plannedStartDate?: string | null | undefined;
1420
+ actualStartDate?: string | null | undefined;
1421
+ actualEndDate?: string | null | undefined;
1422
+ completedAt?: string | null | undefined;
1423
+ dueDate?: string | null | undefined;
1424
+ deadline?: string | null | undefined;
1425
+ isMilestone?: boolean | null | undefined;
1426
+ estimatedHours?: number | null | undefined;
1427
+ allocation?: number | null | undefined;
1428
+ estimatedDurationMinutes?: number | null | undefined;
1429
+ progress?: number | null | undefined;
1430
+ isBlocked?: boolean | null | undefined;
1313
1431
  blockedReason?: string | null | undefined;
1314
- tags?: string[] | undefined;
1432
+ tags?: string[] | null | undefined;
1315
1433
  todos?: {
1316
1434
  id: string;
1317
1435
  title: string;
1318
1436
  completed: boolean;
1319
1437
  createdAt?: string | undefined;
1320
1438
  completedAt?: string | undefined;
1321
- }[] | undefined;
1322
- parentId?: string | undefined;
1439
+ }[] | null | undefined;
1440
+ parentId?: string | null | undefined;
1323
1441
  }>;
1324
1442
  export declare const ReportAgentStatusSchema: z.ZodEffects<z.ZodObject<{
1325
1443
  status: z.ZodDefault<z.ZodString>;
@@ -1374,8 +1492,8 @@ export declare const CreateDeliverableSchema: z.ZodObject<{
1374
1492
  specs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1375
1493
  leadId: z.ZodOptional<z.ZodString>;
1376
1494
  reviewerId: z.ZodOptional<z.ZodString>;
1377
- dueDate: z.ZodOptional<z.ZodString>;
1378
- deliveredAt: z.ZodOptional<z.ZodString>;
1495
+ dueDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1496
+ deliveredAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1379
1497
  outputUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1380
1498
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1381
1499
  projectId: z.ZodString;
@@ -1407,17 +1525,17 @@ export declare const CreateDeliverableSchema: z.ZodObject<{
1407
1525
  outputUrls?: string[] | undefined;
1408
1526
  }>;
1409
1527
  export declare const UpdateDeliverableSchema: z.ZodObject<{
1528
+ description: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1529
+ format: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1530
+ specs: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
1531
+ leadId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1532
+ reviewerId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1533
+ dueDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1534
+ deliveredAt: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1535
+ outputUrls: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>>>;
1536
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
1410
1537
  title: z.ZodOptional<z.ZodString>;
1411
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1412
1538
  status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1413
- format: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1414
- specs: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1415
- leadId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1416
- reviewerId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1417
- dueDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1418
- deliveredAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1419
- outputUrls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1420
- customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1421
1539
  }, "strict", z.ZodTypeAny, {
1422
1540
  description?: string | undefined;
1423
1541
  customFields?: Record<string, unknown> | undefined;
@@ -1431,17 +1549,17 @@ export declare const UpdateDeliverableSchema: z.ZodObject<{
1431
1549
  deliveredAt?: string | undefined;
1432
1550
  outputUrls?: string[] | undefined;
1433
1551
  }, {
1434
- description?: string | undefined;
1435
- customFields?: Record<string, unknown> | undefined;
1552
+ description?: string | null | undefined;
1553
+ customFields?: Record<string, unknown> | null | undefined;
1436
1554
  title?: string | undefined;
1437
1555
  status?: string | undefined;
1438
- reviewerId?: string | undefined;
1439
- dueDate?: string | undefined;
1440
- format?: string | undefined;
1441
- specs?: Record<string, unknown> | undefined;
1442
- leadId?: string | undefined;
1443
- deliveredAt?: string | undefined;
1444
- outputUrls?: string[] | undefined;
1556
+ reviewerId?: string | null | undefined;
1557
+ dueDate?: string | null | undefined;
1558
+ format?: string | null | undefined;
1559
+ specs?: Record<string, unknown> | null | undefined;
1560
+ leadId?: string | null | undefined;
1561
+ deliveredAt?: string | null | undefined;
1562
+ outputUrls?: string[] | null | undefined;
1445
1563
  }>;
1446
1564
  export declare const CreateTeamSchema: z.ZodObject<{
1447
1565
  name: z.ZodString;
@@ -1761,12 +1879,12 @@ export declare const CreateContainerSchema: z.ZodObject<{
1761
1879
  color?: string | undefined;
1762
1880
  }>;
1763
1881
  export declare const UpdateContainerSchema: z.ZodObject<{
1882
+ description: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1883
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1884
+ type: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1885
+ color: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1886
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
1764
1887
  name: z.ZodOptional<z.ZodString>;
1765
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1766
- parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1767
- type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1768
- color: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1769
- customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1770
1888
  }, "strict", z.ZodTypeAny, {
1771
1889
  name?: string | undefined;
1772
1890
  description?: string | undefined;
@@ -1776,18 +1894,18 @@ export declare const UpdateContainerSchema: z.ZodObject<{
1776
1894
  color?: string | undefined;
1777
1895
  }, {
1778
1896
  name?: string | undefined;
1779
- description?: string | undefined;
1780
- customFields?: Record<string, unknown> | undefined;
1781
- parentId?: string | undefined;
1782
- type?: string | undefined;
1783
- color?: string | undefined;
1897
+ description?: string | null | undefined;
1898
+ customFields?: Record<string, unknown> | null | undefined;
1899
+ parentId?: string | null | undefined;
1900
+ type?: string | null | undefined;
1901
+ color?: string | null | undefined;
1784
1902
  }>;
1785
1903
  export declare const CreateIterationSchema: z.ZodObject<{
1786
1904
  name: z.ZodString;
1787
1905
  goal: z.ZodOptional<z.ZodString>;
1788
1906
  type: z.ZodOptional<z.ZodString>;
1789
- startDate: z.ZodOptional<z.ZodString>;
1790
- endDate: z.ZodOptional<z.ZodString>;
1907
+ startDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1908
+ endDate: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1791
1909
  status: z.ZodDefault<z.ZodEnum<["planning", "active", "completed"]>>;
1792
1910
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1793
1911
  projectId: z.ZodString;
@@ -1811,13 +1929,13 @@ export declare const CreateIterationSchema: z.ZodObject<{
1811
1929
  endDate?: string | undefined;
1812
1930
  }>;
1813
1931
  export declare const UpdateIterationSchema: z.ZodObject<{
1814
- status: z.ZodOptional<z.ZodEnum<["planning", "active", "completed"]>>;
1932
+ goal: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1933
+ type: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodString>>, string | undefined, string | null | undefined>>>;
1934
+ startDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1935
+ endDate: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>, string | undefined, string | null | undefined>>>;
1936
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>, Record<string, unknown> | undefined, Record<string, unknown> | null | undefined>>>;
1815
1937
  name: z.ZodOptional<z.ZodString>;
1816
- goal: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1817
- type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1818
- startDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1819
- endDate: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1820
- customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
1938
+ status: z.ZodOptional<z.ZodEnum<["planning", "active", "completed"]>>;
1821
1939
  }, "strict", z.ZodTypeAny, {
1822
1940
  name?: string | undefined;
1823
1941
  startDate?: string | undefined;
@@ -1828,12 +1946,12 @@ export declare const UpdateIterationSchema: z.ZodObject<{
1828
1946
  endDate?: string | undefined;
1829
1947
  }, {
1830
1948
  name?: string | undefined;
1831
- startDate?: string | undefined;
1832
- customFields?: Record<string, unknown> | undefined;
1949
+ startDate?: string | null | undefined;
1950
+ customFields?: Record<string, unknown> | null | undefined;
1833
1951
  status?: "active" | "completed" | "planning" | undefined;
1834
- type?: string | undefined;
1835
- goal?: string | undefined;
1836
- endDate?: string | undefined;
1952
+ type?: string | null | undefined;
1953
+ goal?: string | null | undefined;
1954
+ endDate?: string | null | undefined;
1837
1955
  }>;
1838
1956
  export declare const CreateCommentSchema: z.ZodObject<{
1839
1957
  taskId: z.ZodString;
@@ -1974,7 +2092,7 @@ export declare const LogTimeSchema: z.ZodObject<{
1974
2092
  hours: z.ZodNumber;
1975
2093
  isBillable: z.ZodOptional<z.ZodBoolean>;
1976
2094
  description: z.ZodOptional<z.ZodString>;
1977
- loggedAt: z.ZodOptional<z.ZodString>;
2095
+ loggedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1978
2096
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1979
2097
  }, "strict", z.ZodTypeAny, {
1980
2098
  taskId: string;
@@ -1991,6 +2109,26 @@ export declare const LogTimeSchema: z.ZodObject<{
1991
2109
  loggedAt?: string | undefined;
1992
2110
  isBillable?: boolean | undefined;
1993
2111
  }>;
2112
+ /** Correcting a time entry; the task and author stay as they are. `null` clears the description. */
2113
+ export declare const UpdateTimeEntrySchema: z.ZodObject<{
2114
+ description: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodString>, string | undefined, string | null>>>;
2115
+ customFields: z.ZodOptional<z.ZodOptional<z.ZodEffects<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>, Record<string, unknown> | undefined, Record<string, unknown> | null>>>;
2116
+ hours: z.ZodOptional<z.ZodNumber>;
2117
+ isBillable: z.ZodOptional<z.ZodBoolean>;
2118
+ loggedAt: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
2119
+ }, "strict", z.ZodTypeAny, {
2120
+ description?: string | undefined;
2121
+ customFields?: Record<string, unknown> | undefined;
2122
+ loggedAt?: string | undefined;
2123
+ hours?: number | undefined;
2124
+ isBillable?: boolean | undefined;
2125
+ }, {
2126
+ description?: string | null | undefined;
2127
+ customFields?: Record<string, unknown> | null | undefined;
2128
+ loggedAt?: string | undefined;
2129
+ hours?: number | undefined;
2130
+ isBillable?: boolean | undefined;
2131
+ }>;
1994
2132
  /** `GET /tasks` query parameters. `status` and `priority` are comma-separated; `parentId=none` means top-level. */
1995
2133
  export declare const TaskListQuerySchema: z.ZodObject<{
1996
2134
  projectId: z.ZodOptional<z.ZodString>;
@@ -2088,21 +2226,21 @@ export declare const CreateWebhookSchema: z.ZodObject<{
2088
2226
  /** http(s) URL; private and local addresses are rejected unless the engine allows them. */
2089
2227
  url: z.ZodString;
2090
2228
  /** Domain event names (e.g. `task.created`) or `'*'` for all events. */
2091
- events: z.ZodArray<z.ZodEnum<["*", "agent.status_updated", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "container.deleted", "container.updated", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.created", "iteration.deleted", "iteration.started", "iteration.updated", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "team.deleted", "team.updated", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">;
2229
+ events: z.ZodArray<z.ZodEnum<["*", "agent.status_updated", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "container.deleted", "container.updated", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.created", "iteration.deleted", "iteration.started", "iteration.updated", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "team.deleted", "team.updated", "time.logged", "time.updated", "time.deleted", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">;
2092
2230
  /** Signing secret (at least 16 characters). Generated when omitted and returned once. */
2093
2231
  secret: z.ZodOptional<z.ZodString>;
2094
2232
  active: z.ZodOptional<z.ZodBoolean>;
2095
2233
  customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2096
2234
  }, "strict", z.ZodTypeAny, {
2097
2235
  name: string;
2098
- events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
2236
+ events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "time.updated" | "time.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
2099
2237
  url: string;
2100
2238
  customFields?: Record<string, unknown> | undefined;
2101
2239
  secret?: string | undefined;
2102
2240
  active?: boolean | undefined;
2103
2241
  }, {
2104
2242
  name: string;
2105
- events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
2243
+ events: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "time.updated" | "time.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[];
2106
2244
  url: string;
2107
2245
  customFields?: Record<string, unknown> | undefined;
2108
2246
  secret?: string | undefined;
@@ -2111,20 +2249,20 @@ export declare const CreateWebhookSchema: z.ZodObject<{
2111
2249
  export declare const UpdateWebhookSchema: z.ZodObject<{
2112
2250
  name: z.ZodOptional<z.ZodString>;
2113
2251
  url: z.ZodOptional<z.ZodString>;
2114
- events: z.ZodOptional<z.ZodArray<z.ZodEnum<["*", "agent.status_updated", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "container.deleted", "container.updated", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.created", "iteration.deleted", "iteration.started", "iteration.updated", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "team.deleted", "team.updated", "time.logged", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">>;
2252
+ events: z.ZodOptional<z.ZodArray<z.ZodEnum<["*", "agent.status_updated", "attachment.created", "attachment.deleted", "comment.created", "comment.deleted", "comment.reaction.added", "comment.reaction.removed", "comment.updated", "container.created", "container.deleted", "container.updated", "deliverable.created", "deliverable.deleted", "deliverable.status_changed", "deliverable.updated", "dependency.added", "dependency.removed", "iteration.completed", "iteration.created", "iteration.deleted", "iteration.started", "iteration.updated", "project.created", "project.deleted", "project.updated", "task.blocked", "task.created", "task.deleted", "task.status_changed", "task.unblocked", "task.updated", "team.created", "team.deleted", "team.updated", "time.logged", "time.updated", "time.deleted", "workflow.created", "workflow.deleted", "workflow.updated"]>, "many">>;
2115
2253
  secret: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2116
2254
  active: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
2117
2255
  customFields: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
2118
2256
  }, "strict", z.ZodTypeAny, {
2119
2257
  name?: string | undefined;
2120
- events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
2258
+ events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "time.updated" | "time.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
2121
2259
  customFields?: Record<string, unknown> | undefined;
2122
2260
  url?: string | undefined;
2123
2261
  secret?: string | undefined;
2124
2262
  active?: boolean | undefined;
2125
2263
  }, {
2126
2264
  name?: string | undefined;
2127
- events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
2265
+ events?: ("task.created" | "task.updated" | "task.status_changed" | "task.blocked" | "task.unblocked" | "agent.status_updated" | "task.deleted" | "time.logged" | "time.updated" | "time.deleted" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.added" | "comment.reaction.removed" | "attachment.created" | "attachment.deleted" | "dependency.added" | "dependency.removed" | "project.created" | "project.updated" | "project.deleted" | "workflow.created" | "workflow.updated" | "workflow.deleted" | "iteration.started" | "iteration.completed" | "team.created" | "team.updated" | "team.deleted" | "container.updated" | "container.deleted" | "iteration.created" | "iteration.updated" | "iteration.deleted" | "container.created" | "deliverable.created" | "deliverable.updated" | "deliverable.status_changed" | "deliverable.deleted" | "*")[] | undefined;
2128
2266
  customFields?: Record<string, unknown> | undefined;
2129
2267
  url?: string | undefined;
2130
2268
  secret?: string | undefined;
@@ -2148,6 +2286,7 @@ export type CreateTeamBody = z.input<typeof CreateTeamSchema>;
2148
2286
  export type UpdateTeamBody = z.input<typeof UpdateTeamSchema>;
2149
2287
  export type CreateContainerBody = z.input<typeof CreateContainerSchema>;
2150
2288
  export type UpdateContainerBody = z.input<typeof UpdateContainerSchema>;
2289
+ export type UpdateTimeEntryBody = z.input<typeof UpdateTimeEntrySchema>;
2151
2290
  export type CreateIterationBody = z.input<typeof CreateIterationSchema>;
2152
2291
  export type UpdateIterationBody = z.input<typeof UpdateIterationSchema>;
2153
2292
  export type CreateCommentBody = z.input<typeof CreateCommentSchema>;