@doist/todoist-sdk 9.4.0 → 9.5.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.
@@ -3,7 +3,7 @@ import { WebhookEventSchema, type WebhookEvent } from '../apps/types.js';
3
3
  /**
4
4
  * A single branch covering every event whose payload has not yet been typed
5
5
  * per resource. Follow-up PRs will replace slices of this with dedicated
6
- * variants (notes, projects, sections, labels, filters, reminders).
6
+ * variants (projects, sections, filters, reminders).
7
7
  */
8
8
  export declare const UntypedWebhookPayloadSchema: z.ZodObject<{
9
9
  eventName: z.ZodEnum<{
@@ -12,17 +12,11 @@ export declare const UntypedWebhookPayloadSchema: z.ZodObject<{
12
12
  "project:deleted": "project:deleted";
13
13
  "project:archived": "project:archived";
14
14
  "project:unarchived": "project:unarchived";
15
- "note:added": "note:added";
16
- "note:updated": "note:updated";
17
- "note:deleted": "note:deleted";
18
15
  "section:added": "section:added";
19
16
  "section:updated": "section:updated";
20
17
  "section:deleted": "section:deleted";
21
18
  "section:archived": "section:archived";
22
19
  "section:unarchived": "section:unarchived";
23
- "label:added": "label:added";
24
- "label:updated": "label:updated";
25
- "label:deleted": "label:deleted";
26
20
  "filter:added": "filter:added";
27
21
  "filter:updated": "filter:updated";
28
22
  "filter:deleted": "filter:deleted";
@@ -50,9 +44,11 @@ export declare const UntypedWebhookPayloadSchema: z.ZodObject<{
50
44
  * (`item:added`) in the `event_name` field, so consumers using
51
45
  * `parseWebhookPayload` receive camelCase fields directly.
52
46
  *
53
- * Typed today: `item:*` events carry a parsed {@link Task}. Other events
54
- * still expose `eventData` as `unknown`; they will be narrowed in follow-up
55
- * PRs (notes, projects, sections, labels, filters, reminders).
47
+ * Typed today: `item:*` events carry a parsed {@link Task}; `note:*` events
48
+ * carry a parsed comment (item-comment or project-comment); `label:*` events
49
+ * carry a parsed label. Other events still expose `eventData` as `unknown`;
50
+ * they will be narrowed in follow-up PRs (projects, sections, filters,
51
+ * reminders).
56
52
  */
57
53
  export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
58
54
  eventName: z.ZodLiteral<"item:added">;
@@ -846,6 +842,1059 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
846
842
  isPremium: z.ZodBoolean;
847
843
  }, z.core.$strip>;
848
844
  triggeredAt: z.ZodCoercedDate<unknown>;
845
+ }, z.core.$strip>, z.ZodObject<{
846
+ eventName: z.ZodLiteral<"note:added">;
847
+ eventData: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
848
+ id: z.ZodString;
849
+ content: z.ZodString;
850
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
851
+ postedUid: z.ZodNullable<z.ZodString>;
852
+ fileAttachment: z.ZodNullable<z.ZodObject<{
853
+ resourceType: z.ZodString;
854
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
855
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
856
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
857
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
859
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
860
+ completed: "completed";
861
+ pending: "pending";
862
+ }>>>;
863
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
864
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
865
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
866
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
868
+ }, z.core.$strip>>;
869
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
870
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
871
+ isDeleted: z.ZodBoolean;
872
+ itemId: z.ZodString;
873
+ url: z.ZodString;
874
+ item: z.ZodPipe<z.ZodObject<{
875
+ id: z.ZodString;
876
+ userId: z.ZodString;
877
+ projectId: z.ZodString;
878
+ sectionId: z.ZodNullable<z.ZodString>;
879
+ parentId: z.ZodNullable<z.ZodString>;
880
+ addedByUid: z.ZodNullable<z.ZodString>;
881
+ assignedByUid: z.ZodNullable<z.ZodString>;
882
+ responsibleUid: z.ZodNullable<z.ZodString>;
883
+ labels: z.ZodArray<z.ZodString>;
884
+ deadline: z.ZodNullable<z.ZodObject<{
885
+ date: z.ZodString;
886
+ lang: z.ZodString;
887
+ }, z.core.$strip>>;
888
+ duration: z.ZodNullable<z.ZodObject<{
889
+ amount: z.ZodNumber;
890
+ unit: z.ZodEnum<{
891
+ minute: "minute";
892
+ day: "day";
893
+ }>;
894
+ }, z.core.$strip>>;
895
+ checked: z.ZodBoolean;
896
+ isDeleted: z.ZodBoolean;
897
+ addedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
898
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
899
+ updatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
900
+ due: z.ZodNullable<z.ZodObject<{
901
+ isRecurring: z.ZodBoolean;
902
+ string: z.ZodString;
903
+ date: z.ZodString;
904
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
905
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
906
+ lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
907
+ }, z.core.$strip>>;
908
+ priority: z.ZodNumber;
909
+ childOrder: z.ZodNumber;
910
+ content: z.ZodString;
911
+ description: z.ZodString;
912
+ dayOrder: z.ZodNumber;
913
+ isCollapsed: z.ZodBoolean;
914
+ isUncompletable: z.ZodDefault<z.ZodBoolean>;
915
+ }, z.core.$strip>, z.ZodTransform<{
916
+ isUncompletable: boolean;
917
+ url: string;
918
+ id: string;
919
+ userId: string;
920
+ projectId: string;
921
+ sectionId: string | null;
922
+ parentId: string | null;
923
+ addedByUid: string | null;
924
+ assignedByUid: string | null;
925
+ responsibleUid: string | null;
926
+ labels: string[];
927
+ deadline: {
928
+ date: string;
929
+ lang: string;
930
+ } | null;
931
+ duration: {
932
+ amount: number;
933
+ unit: "minute" | "day";
934
+ } | null;
935
+ checked: boolean;
936
+ isDeleted: boolean;
937
+ addedAt: Date | null;
938
+ completedAt: Date | null;
939
+ updatedAt: Date | null;
940
+ due: {
941
+ isRecurring: boolean;
942
+ string: string;
943
+ date: string;
944
+ datetime?: string | null | undefined;
945
+ timezone?: string | null | undefined;
946
+ lang?: string | null | undefined;
947
+ } | null;
948
+ priority: number;
949
+ childOrder: number;
950
+ content: string;
951
+ description: string;
952
+ dayOrder: number;
953
+ isCollapsed: boolean;
954
+ }, {
955
+ id: string;
956
+ userId: string;
957
+ projectId: string;
958
+ sectionId: string | null;
959
+ parentId: string | null;
960
+ addedByUid: string | null;
961
+ assignedByUid: string | null;
962
+ responsibleUid: string | null;
963
+ labels: string[];
964
+ deadline: {
965
+ date: string;
966
+ lang: string;
967
+ } | null;
968
+ duration: {
969
+ amount: number;
970
+ unit: "minute" | "day";
971
+ } | null;
972
+ checked: boolean;
973
+ isDeleted: boolean;
974
+ addedAt: Date | null;
975
+ completedAt: Date | null;
976
+ updatedAt: Date | null;
977
+ due: {
978
+ isRecurring: boolean;
979
+ string: string;
980
+ date: string;
981
+ datetime?: string | null | undefined;
982
+ timezone?: string | null | undefined;
983
+ lang?: string | null | undefined;
984
+ } | null;
985
+ priority: number;
986
+ childOrder: number;
987
+ content: string;
988
+ description: string;
989
+ dayOrder: number;
990
+ isCollapsed: boolean;
991
+ isUncompletable: boolean;
992
+ }>>;
993
+ }, z.core.$strict>, z.ZodTransform<{
994
+ taskId: string;
995
+ id: string;
996
+ content: string;
997
+ postedAt: Date | null;
998
+ postedUid: string | null;
999
+ fileAttachment: {
1000
+ resourceType: string;
1001
+ fileName?: string | null | undefined;
1002
+ fileSize?: number | null | undefined;
1003
+ fileType?: string | null | undefined;
1004
+ fileUrl?: string | null | undefined;
1005
+ fileDuration?: number | null | undefined;
1006
+ uploadState?: "completed" | "pending" | null | undefined;
1007
+ image?: string | null | undefined;
1008
+ imageWidth?: number | null | undefined;
1009
+ imageHeight?: number | null | undefined;
1010
+ url?: string | null | undefined;
1011
+ title?: string | null | undefined;
1012
+ } | null;
1013
+ uidsToNotify: string[] | null;
1014
+ reactions: Record<string, string[]> | null;
1015
+ isDeleted: boolean;
1016
+ url: string;
1017
+ item: {
1018
+ isUncompletable: boolean;
1019
+ url: string;
1020
+ id: string;
1021
+ userId: string;
1022
+ projectId: string;
1023
+ sectionId: string | null;
1024
+ parentId: string | null;
1025
+ addedByUid: string | null;
1026
+ assignedByUid: string | null;
1027
+ responsibleUid: string | null;
1028
+ labels: string[];
1029
+ deadline: {
1030
+ date: string;
1031
+ lang: string;
1032
+ } | null;
1033
+ duration: {
1034
+ amount: number;
1035
+ unit: "minute" | "day";
1036
+ } | null;
1037
+ checked: boolean;
1038
+ isDeleted: boolean;
1039
+ addedAt: Date | null;
1040
+ completedAt: Date | null;
1041
+ updatedAt: Date | null;
1042
+ due: {
1043
+ isRecurring: boolean;
1044
+ string: string;
1045
+ date: string;
1046
+ datetime?: string | null | undefined;
1047
+ timezone?: string | null | undefined;
1048
+ lang?: string | null | undefined;
1049
+ } | null;
1050
+ priority: number;
1051
+ childOrder: number;
1052
+ content: string;
1053
+ description: string;
1054
+ dayOrder: number;
1055
+ isCollapsed: boolean;
1056
+ };
1057
+ }, {
1058
+ id: string;
1059
+ content: string;
1060
+ postedAt: Date | null;
1061
+ postedUid: string | null;
1062
+ fileAttachment: {
1063
+ resourceType: string;
1064
+ fileName?: string | null | undefined;
1065
+ fileSize?: number | null | undefined;
1066
+ fileType?: string | null | undefined;
1067
+ fileUrl?: string | null | undefined;
1068
+ fileDuration?: number | null | undefined;
1069
+ uploadState?: "completed" | "pending" | null | undefined;
1070
+ image?: string | null | undefined;
1071
+ imageWidth?: number | null | undefined;
1072
+ imageHeight?: number | null | undefined;
1073
+ url?: string | null | undefined;
1074
+ title?: string | null | undefined;
1075
+ } | null;
1076
+ uidsToNotify: string[] | null;
1077
+ reactions: Record<string, string[]> | null;
1078
+ isDeleted: boolean;
1079
+ itemId: string;
1080
+ url: string;
1081
+ item: {
1082
+ isUncompletable: boolean;
1083
+ url: string;
1084
+ id: string;
1085
+ userId: string;
1086
+ projectId: string;
1087
+ sectionId: string | null;
1088
+ parentId: string | null;
1089
+ addedByUid: string | null;
1090
+ assignedByUid: string | null;
1091
+ responsibleUid: string | null;
1092
+ labels: string[];
1093
+ deadline: {
1094
+ date: string;
1095
+ lang: string;
1096
+ } | null;
1097
+ duration: {
1098
+ amount: number;
1099
+ unit: "minute" | "day";
1100
+ } | null;
1101
+ checked: boolean;
1102
+ isDeleted: boolean;
1103
+ addedAt: Date | null;
1104
+ completedAt: Date | null;
1105
+ updatedAt: Date | null;
1106
+ due: {
1107
+ isRecurring: boolean;
1108
+ string: string;
1109
+ date: string;
1110
+ datetime?: string | null | undefined;
1111
+ timezone?: string | null | undefined;
1112
+ lang?: string | null | undefined;
1113
+ } | null;
1114
+ priority: number;
1115
+ childOrder: number;
1116
+ content: string;
1117
+ description: string;
1118
+ dayOrder: number;
1119
+ isCollapsed: boolean;
1120
+ };
1121
+ }>>, z.ZodObject<{
1122
+ id: z.ZodString;
1123
+ content: z.ZodString;
1124
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1125
+ postedUid: z.ZodNullable<z.ZodString>;
1126
+ fileAttachment: z.ZodNullable<z.ZodObject<{
1127
+ resourceType: z.ZodString;
1128
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1129
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1130
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1131
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1132
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1133
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1134
+ completed: "completed";
1135
+ pending: "pending";
1136
+ }>>>;
1137
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1138
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1139
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1140
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1141
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1142
+ }, z.core.$strip>>;
1143
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
1144
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1145
+ isDeleted: z.ZodBoolean;
1146
+ projectId: z.ZodString;
1147
+ }, z.core.$strict>]>;
1148
+ version: z.ZodEnum<{
1149
+ 1: "1";
1150
+ }>;
1151
+ userId: z.ZodString;
1152
+ initiator: z.ZodObject<{
1153
+ id: z.ZodString;
1154
+ fullName: z.ZodString;
1155
+ email: z.ZodString;
1156
+ imageId: z.ZodNullable<z.ZodString>;
1157
+ isPremium: z.ZodBoolean;
1158
+ }, z.core.$strip>;
1159
+ triggeredAt: z.ZodCoercedDate<unknown>;
1160
+ }, z.core.$strip>, z.ZodObject<{
1161
+ eventName: z.ZodLiteral<"note:updated">;
1162
+ eventData: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1163
+ id: z.ZodString;
1164
+ content: z.ZodString;
1165
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1166
+ postedUid: z.ZodNullable<z.ZodString>;
1167
+ fileAttachment: z.ZodNullable<z.ZodObject<{
1168
+ resourceType: z.ZodString;
1169
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1171
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1172
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1173
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1174
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1175
+ completed: "completed";
1176
+ pending: "pending";
1177
+ }>>>;
1178
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1179
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1180
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1181
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1182
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1183
+ }, z.core.$strip>>;
1184
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
1185
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1186
+ isDeleted: z.ZodBoolean;
1187
+ itemId: z.ZodString;
1188
+ url: z.ZodString;
1189
+ item: z.ZodPipe<z.ZodObject<{
1190
+ id: z.ZodString;
1191
+ userId: z.ZodString;
1192
+ projectId: z.ZodString;
1193
+ sectionId: z.ZodNullable<z.ZodString>;
1194
+ parentId: z.ZodNullable<z.ZodString>;
1195
+ addedByUid: z.ZodNullable<z.ZodString>;
1196
+ assignedByUid: z.ZodNullable<z.ZodString>;
1197
+ responsibleUid: z.ZodNullable<z.ZodString>;
1198
+ labels: z.ZodArray<z.ZodString>;
1199
+ deadline: z.ZodNullable<z.ZodObject<{
1200
+ date: z.ZodString;
1201
+ lang: z.ZodString;
1202
+ }, z.core.$strip>>;
1203
+ duration: z.ZodNullable<z.ZodObject<{
1204
+ amount: z.ZodNumber;
1205
+ unit: z.ZodEnum<{
1206
+ minute: "minute";
1207
+ day: "day";
1208
+ }>;
1209
+ }, z.core.$strip>>;
1210
+ checked: z.ZodBoolean;
1211
+ isDeleted: z.ZodBoolean;
1212
+ addedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1213
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1214
+ updatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1215
+ due: z.ZodNullable<z.ZodObject<{
1216
+ isRecurring: z.ZodBoolean;
1217
+ string: z.ZodString;
1218
+ date: z.ZodString;
1219
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1220
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1221
+ lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1222
+ }, z.core.$strip>>;
1223
+ priority: z.ZodNumber;
1224
+ childOrder: z.ZodNumber;
1225
+ content: z.ZodString;
1226
+ description: z.ZodString;
1227
+ dayOrder: z.ZodNumber;
1228
+ isCollapsed: z.ZodBoolean;
1229
+ isUncompletable: z.ZodDefault<z.ZodBoolean>;
1230
+ }, z.core.$strip>, z.ZodTransform<{
1231
+ isUncompletable: boolean;
1232
+ url: string;
1233
+ id: string;
1234
+ userId: string;
1235
+ projectId: string;
1236
+ sectionId: string | null;
1237
+ parentId: string | null;
1238
+ addedByUid: string | null;
1239
+ assignedByUid: string | null;
1240
+ responsibleUid: string | null;
1241
+ labels: string[];
1242
+ deadline: {
1243
+ date: string;
1244
+ lang: string;
1245
+ } | null;
1246
+ duration: {
1247
+ amount: number;
1248
+ unit: "minute" | "day";
1249
+ } | null;
1250
+ checked: boolean;
1251
+ isDeleted: boolean;
1252
+ addedAt: Date | null;
1253
+ completedAt: Date | null;
1254
+ updatedAt: Date | null;
1255
+ due: {
1256
+ isRecurring: boolean;
1257
+ string: string;
1258
+ date: string;
1259
+ datetime?: string | null | undefined;
1260
+ timezone?: string | null | undefined;
1261
+ lang?: string | null | undefined;
1262
+ } | null;
1263
+ priority: number;
1264
+ childOrder: number;
1265
+ content: string;
1266
+ description: string;
1267
+ dayOrder: number;
1268
+ isCollapsed: boolean;
1269
+ }, {
1270
+ id: string;
1271
+ userId: string;
1272
+ projectId: string;
1273
+ sectionId: string | null;
1274
+ parentId: string | null;
1275
+ addedByUid: string | null;
1276
+ assignedByUid: string | null;
1277
+ responsibleUid: string | null;
1278
+ labels: string[];
1279
+ deadline: {
1280
+ date: string;
1281
+ lang: string;
1282
+ } | null;
1283
+ duration: {
1284
+ amount: number;
1285
+ unit: "minute" | "day";
1286
+ } | null;
1287
+ checked: boolean;
1288
+ isDeleted: boolean;
1289
+ addedAt: Date | null;
1290
+ completedAt: Date | null;
1291
+ updatedAt: Date | null;
1292
+ due: {
1293
+ isRecurring: boolean;
1294
+ string: string;
1295
+ date: string;
1296
+ datetime?: string | null | undefined;
1297
+ timezone?: string | null | undefined;
1298
+ lang?: string | null | undefined;
1299
+ } | null;
1300
+ priority: number;
1301
+ childOrder: number;
1302
+ content: string;
1303
+ description: string;
1304
+ dayOrder: number;
1305
+ isCollapsed: boolean;
1306
+ isUncompletable: boolean;
1307
+ }>>;
1308
+ }, z.core.$strict>, z.ZodTransform<{
1309
+ taskId: string;
1310
+ id: string;
1311
+ content: string;
1312
+ postedAt: Date | null;
1313
+ postedUid: string | null;
1314
+ fileAttachment: {
1315
+ resourceType: string;
1316
+ fileName?: string | null | undefined;
1317
+ fileSize?: number | null | undefined;
1318
+ fileType?: string | null | undefined;
1319
+ fileUrl?: string | null | undefined;
1320
+ fileDuration?: number | null | undefined;
1321
+ uploadState?: "completed" | "pending" | null | undefined;
1322
+ image?: string | null | undefined;
1323
+ imageWidth?: number | null | undefined;
1324
+ imageHeight?: number | null | undefined;
1325
+ url?: string | null | undefined;
1326
+ title?: string | null | undefined;
1327
+ } | null;
1328
+ uidsToNotify: string[] | null;
1329
+ reactions: Record<string, string[]> | null;
1330
+ isDeleted: boolean;
1331
+ url: string;
1332
+ item: {
1333
+ isUncompletable: boolean;
1334
+ url: string;
1335
+ id: string;
1336
+ userId: string;
1337
+ projectId: string;
1338
+ sectionId: string | null;
1339
+ parentId: string | null;
1340
+ addedByUid: string | null;
1341
+ assignedByUid: string | null;
1342
+ responsibleUid: string | null;
1343
+ labels: string[];
1344
+ deadline: {
1345
+ date: string;
1346
+ lang: string;
1347
+ } | null;
1348
+ duration: {
1349
+ amount: number;
1350
+ unit: "minute" | "day";
1351
+ } | null;
1352
+ checked: boolean;
1353
+ isDeleted: boolean;
1354
+ addedAt: Date | null;
1355
+ completedAt: Date | null;
1356
+ updatedAt: Date | null;
1357
+ due: {
1358
+ isRecurring: boolean;
1359
+ string: string;
1360
+ date: string;
1361
+ datetime?: string | null | undefined;
1362
+ timezone?: string | null | undefined;
1363
+ lang?: string | null | undefined;
1364
+ } | null;
1365
+ priority: number;
1366
+ childOrder: number;
1367
+ content: string;
1368
+ description: string;
1369
+ dayOrder: number;
1370
+ isCollapsed: boolean;
1371
+ };
1372
+ }, {
1373
+ id: string;
1374
+ content: string;
1375
+ postedAt: Date | null;
1376
+ postedUid: string | null;
1377
+ fileAttachment: {
1378
+ resourceType: string;
1379
+ fileName?: string | null | undefined;
1380
+ fileSize?: number | null | undefined;
1381
+ fileType?: string | null | undefined;
1382
+ fileUrl?: string | null | undefined;
1383
+ fileDuration?: number | null | undefined;
1384
+ uploadState?: "completed" | "pending" | null | undefined;
1385
+ image?: string | null | undefined;
1386
+ imageWidth?: number | null | undefined;
1387
+ imageHeight?: number | null | undefined;
1388
+ url?: string | null | undefined;
1389
+ title?: string | null | undefined;
1390
+ } | null;
1391
+ uidsToNotify: string[] | null;
1392
+ reactions: Record<string, string[]> | null;
1393
+ isDeleted: boolean;
1394
+ itemId: string;
1395
+ url: string;
1396
+ item: {
1397
+ isUncompletable: boolean;
1398
+ url: string;
1399
+ id: string;
1400
+ userId: string;
1401
+ projectId: string;
1402
+ sectionId: string | null;
1403
+ parentId: string | null;
1404
+ addedByUid: string | null;
1405
+ assignedByUid: string | null;
1406
+ responsibleUid: string | null;
1407
+ labels: string[];
1408
+ deadline: {
1409
+ date: string;
1410
+ lang: string;
1411
+ } | null;
1412
+ duration: {
1413
+ amount: number;
1414
+ unit: "minute" | "day";
1415
+ } | null;
1416
+ checked: boolean;
1417
+ isDeleted: boolean;
1418
+ addedAt: Date | null;
1419
+ completedAt: Date | null;
1420
+ updatedAt: Date | null;
1421
+ due: {
1422
+ isRecurring: boolean;
1423
+ string: string;
1424
+ date: string;
1425
+ datetime?: string | null | undefined;
1426
+ timezone?: string | null | undefined;
1427
+ lang?: string | null | undefined;
1428
+ } | null;
1429
+ priority: number;
1430
+ childOrder: number;
1431
+ content: string;
1432
+ description: string;
1433
+ dayOrder: number;
1434
+ isCollapsed: boolean;
1435
+ };
1436
+ }>>, z.ZodObject<{
1437
+ id: z.ZodString;
1438
+ content: z.ZodString;
1439
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1440
+ postedUid: z.ZodNullable<z.ZodString>;
1441
+ fileAttachment: z.ZodNullable<z.ZodObject<{
1442
+ resourceType: z.ZodString;
1443
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1444
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1445
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1446
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1447
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1448
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1449
+ completed: "completed";
1450
+ pending: "pending";
1451
+ }>>>;
1452
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1453
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1454
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1455
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1457
+ }, z.core.$strip>>;
1458
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
1459
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1460
+ isDeleted: z.ZodBoolean;
1461
+ projectId: z.ZodString;
1462
+ }, z.core.$strict>]>;
1463
+ version: z.ZodEnum<{
1464
+ 1: "1";
1465
+ }>;
1466
+ userId: z.ZodString;
1467
+ initiator: z.ZodObject<{
1468
+ id: z.ZodString;
1469
+ fullName: z.ZodString;
1470
+ email: z.ZodString;
1471
+ imageId: z.ZodNullable<z.ZodString>;
1472
+ isPremium: z.ZodBoolean;
1473
+ }, z.core.$strip>;
1474
+ triggeredAt: z.ZodCoercedDate<unknown>;
1475
+ }, z.core.$strip>, z.ZodObject<{
1476
+ eventName: z.ZodLiteral<"note:deleted">;
1477
+ eventData: z.ZodUnion<readonly [z.ZodPipe<z.ZodObject<{
1478
+ id: z.ZodString;
1479
+ content: z.ZodString;
1480
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1481
+ postedUid: z.ZodNullable<z.ZodString>;
1482
+ fileAttachment: z.ZodNullable<z.ZodObject<{
1483
+ resourceType: z.ZodString;
1484
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1485
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1486
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1487
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1488
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1489
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1490
+ completed: "completed";
1491
+ pending: "pending";
1492
+ }>>>;
1493
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1494
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1495
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1496
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1497
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1498
+ }, z.core.$strip>>;
1499
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
1500
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1501
+ isDeleted: z.ZodBoolean;
1502
+ itemId: z.ZodString;
1503
+ url: z.ZodString;
1504
+ item: z.ZodPipe<z.ZodObject<{
1505
+ id: z.ZodString;
1506
+ userId: z.ZodString;
1507
+ projectId: z.ZodString;
1508
+ sectionId: z.ZodNullable<z.ZodString>;
1509
+ parentId: z.ZodNullable<z.ZodString>;
1510
+ addedByUid: z.ZodNullable<z.ZodString>;
1511
+ assignedByUid: z.ZodNullable<z.ZodString>;
1512
+ responsibleUid: z.ZodNullable<z.ZodString>;
1513
+ labels: z.ZodArray<z.ZodString>;
1514
+ deadline: z.ZodNullable<z.ZodObject<{
1515
+ date: z.ZodString;
1516
+ lang: z.ZodString;
1517
+ }, z.core.$strip>>;
1518
+ duration: z.ZodNullable<z.ZodObject<{
1519
+ amount: z.ZodNumber;
1520
+ unit: z.ZodEnum<{
1521
+ minute: "minute";
1522
+ day: "day";
1523
+ }>;
1524
+ }, z.core.$strip>>;
1525
+ checked: z.ZodBoolean;
1526
+ isDeleted: z.ZodBoolean;
1527
+ addedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1528
+ completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1529
+ updatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1530
+ due: z.ZodNullable<z.ZodObject<{
1531
+ isRecurring: z.ZodBoolean;
1532
+ string: z.ZodString;
1533
+ date: z.ZodString;
1534
+ datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1535
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1536
+ lang: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1537
+ }, z.core.$strip>>;
1538
+ priority: z.ZodNumber;
1539
+ childOrder: z.ZodNumber;
1540
+ content: z.ZodString;
1541
+ description: z.ZodString;
1542
+ dayOrder: z.ZodNumber;
1543
+ isCollapsed: z.ZodBoolean;
1544
+ isUncompletable: z.ZodDefault<z.ZodBoolean>;
1545
+ }, z.core.$strip>, z.ZodTransform<{
1546
+ isUncompletable: boolean;
1547
+ url: string;
1548
+ id: string;
1549
+ userId: string;
1550
+ projectId: string;
1551
+ sectionId: string | null;
1552
+ parentId: string | null;
1553
+ addedByUid: string | null;
1554
+ assignedByUid: string | null;
1555
+ responsibleUid: string | null;
1556
+ labels: string[];
1557
+ deadline: {
1558
+ date: string;
1559
+ lang: string;
1560
+ } | null;
1561
+ duration: {
1562
+ amount: number;
1563
+ unit: "minute" | "day";
1564
+ } | null;
1565
+ checked: boolean;
1566
+ isDeleted: boolean;
1567
+ addedAt: Date | null;
1568
+ completedAt: Date | null;
1569
+ updatedAt: Date | null;
1570
+ due: {
1571
+ isRecurring: boolean;
1572
+ string: string;
1573
+ date: string;
1574
+ datetime?: string | null | undefined;
1575
+ timezone?: string | null | undefined;
1576
+ lang?: string | null | undefined;
1577
+ } | null;
1578
+ priority: number;
1579
+ childOrder: number;
1580
+ content: string;
1581
+ description: string;
1582
+ dayOrder: number;
1583
+ isCollapsed: boolean;
1584
+ }, {
1585
+ id: string;
1586
+ userId: string;
1587
+ projectId: string;
1588
+ sectionId: string | null;
1589
+ parentId: string | null;
1590
+ addedByUid: string | null;
1591
+ assignedByUid: string | null;
1592
+ responsibleUid: string | null;
1593
+ labels: string[];
1594
+ deadline: {
1595
+ date: string;
1596
+ lang: string;
1597
+ } | null;
1598
+ duration: {
1599
+ amount: number;
1600
+ unit: "minute" | "day";
1601
+ } | null;
1602
+ checked: boolean;
1603
+ isDeleted: boolean;
1604
+ addedAt: Date | null;
1605
+ completedAt: Date | null;
1606
+ updatedAt: Date | null;
1607
+ due: {
1608
+ isRecurring: boolean;
1609
+ string: string;
1610
+ date: string;
1611
+ datetime?: string | null | undefined;
1612
+ timezone?: string | null | undefined;
1613
+ lang?: string | null | undefined;
1614
+ } | null;
1615
+ priority: number;
1616
+ childOrder: number;
1617
+ content: string;
1618
+ description: string;
1619
+ dayOrder: number;
1620
+ isCollapsed: boolean;
1621
+ isUncompletable: boolean;
1622
+ }>>;
1623
+ }, z.core.$strict>, z.ZodTransform<{
1624
+ taskId: string;
1625
+ id: string;
1626
+ content: string;
1627
+ postedAt: Date | null;
1628
+ postedUid: string | null;
1629
+ fileAttachment: {
1630
+ resourceType: string;
1631
+ fileName?: string | null | undefined;
1632
+ fileSize?: number | null | undefined;
1633
+ fileType?: string | null | undefined;
1634
+ fileUrl?: string | null | undefined;
1635
+ fileDuration?: number | null | undefined;
1636
+ uploadState?: "completed" | "pending" | null | undefined;
1637
+ image?: string | null | undefined;
1638
+ imageWidth?: number | null | undefined;
1639
+ imageHeight?: number | null | undefined;
1640
+ url?: string | null | undefined;
1641
+ title?: string | null | undefined;
1642
+ } | null;
1643
+ uidsToNotify: string[] | null;
1644
+ reactions: Record<string, string[]> | null;
1645
+ isDeleted: boolean;
1646
+ url: string;
1647
+ item: {
1648
+ isUncompletable: boolean;
1649
+ url: string;
1650
+ id: string;
1651
+ userId: string;
1652
+ projectId: string;
1653
+ sectionId: string | null;
1654
+ parentId: string | null;
1655
+ addedByUid: string | null;
1656
+ assignedByUid: string | null;
1657
+ responsibleUid: string | null;
1658
+ labels: string[];
1659
+ deadline: {
1660
+ date: string;
1661
+ lang: string;
1662
+ } | null;
1663
+ duration: {
1664
+ amount: number;
1665
+ unit: "minute" | "day";
1666
+ } | null;
1667
+ checked: boolean;
1668
+ isDeleted: boolean;
1669
+ addedAt: Date | null;
1670
+ completedAt: Date | null;
1671
+ updatedAt: Date | null;
1672
+ due: {
1673
+ isRecurring: boolean;
1674
+ string: string;
1675
+ date: string;
1676
+ datetime?: string | null | undefined;
1677
+ timezone?: string | null | undefined;
1678
+ lang?: string | null | undefined;
1679
+ } | null;
1680
+ priority: number;
1681
+ childOrder: number;
1682
+ content: string;
1683
+ description: string;
1684
+ dayOrder: number;
1685
+ isCollapsed: boolean;
1686
+ };
1687
+ }, {
1688
+ id: string;
1689
+ content: string;
1690
+ postedAt: Date | null;
1691
+ postedUid: string | null;
1692
+ fileAttachment: {
1693
+ resourceType: string;
1694
+ fileName?: string | null | undefined;
1695
+ fileSize?: number | null | undefined;
1696
+ fileType?: string | null | undefined;
1697
+ fileUrl?: string | null | undefined;
1698
+ fileDuration?: number | null | undefined;
1699
+ uploadState?: "completed" | "pending" | null | undefined;
1700
+ image?: string | null | undefined;
1701
+ imageWidth?: number | null | undefined;
1702
+ imageHeight?: number | null | undefined;
1703
+ url?: string | null | undefined;
1704
+ title?: string | null | undefined;
1705
+ } | null;
1706
+ uidsToNotify: string[] | null;
1707
+ reactions: Record<string, string[]> | null;
1708
+ isDeleted: boolean;
1709
+ itemId: string;
1710
+ url: string;
1711
+ item: {
1712
+ isUncompletable: boolean;
1713
+ url: string;
1714
+ id: string;
1715
+ userId: string;
1716
+ projectId: string;
1717
+ sectionId: string | null;
1718
+ parentId: string | null;
1719
+ addedByUid: string | null;
1720
+ assignedByUid: string | null;
1721
+ responsibleUid: string | null;
1722
+ labels: string[];
1723
+ deadline: {
1724
+ date: string;
1725
+ lang: string;
1726
+ } | null;
1727
+ duration: {
1728
+ amount: number;
1729
+ unit: "minute" | "day";
1730
+ } | null;
1731
+ checked: boolean;
1732
+ isDeleted: boolean;
1733
+ addedAt: Date | null;
1734
+ completedAt: Date | null;
1735
+ updatedAt: Date | null;
1736
+ due: {
1737
+ isRecurring: boolean;
1738
+ string: string;
1739
+ date: string;
1740
+ datetime?: string | null | undefined;
1741
+ timezone?: string | null | undefined;
1742
+ lang?: string | null | undefined;
1743
+ } | null;
1744
+ priority: number;
1745
+ childOrder: number;
1746
+ content: string;
1747
+ description: string;
1748
+ dayOrder: number;
1749
+ isCollapsed: boolean;
1750
+ };
1751
+ }>>, z.ZodObject<{
1752
+ id: z.ZodString;
1753
+ content: z.ZodString;
1754
+ postedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
1755
+ postedUid: z.ZodNullable<z.ZodString>;
1756
+ fileAttachment: z.ZodNullable<z.ZodObject<{
1757
+ resourceType: z.ZodString;
1758
+ fileName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1759
+ fileSize: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1760
+ fileType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1761
+ fileUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1762
+ fileDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1763
+ uploadState: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1764
+ completed: "completed";
1765
+ pending: "pending";
1766
+ }>>>;
1767
+ image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1768
+ imageWidth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1769
+ imageHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1770
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1771
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1772
+ }, z.core.$strip>>;
1773
+ uidsToNotify: z.ZodNullable<z.ZodArray<z.ZodString>>;
1774
+ reactions: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1775
+ isDeleted: z.ZodBoolean;
1776
+ projectId: z.ZodString;
1777
+ }, z.core.$strict>]>;
1778
+ version: z.ZodEnum<{
1779
+ 1: "1";
1780
+ }>;
1781
+ userId: z.ZodString;
1782
+ initiator: z.ZodObject<{
1783
+ id: z.ZodString;
1784
+ fullName: z.ZodString;
1785
+ email: z.ZodString;
1786
+ imageId: z.ZodNullable<z.ZodString>;
1787
+ isPremium: z.ZodBoolean;
1788
+ }, z.core.$strip>;
1789
+ triggeredAt: z.ZodCoercedDate<unknown>;
1790
+ }, z.core.$strip>, z.ZodObject<{
1791
+ eventName: z.ZodLiteral<"label:added">;
1792
+ eventData: z.ZodPipe<z.ZodObject<{
1793
+ name: z.ZodString;
1794
+ id: z.ZodString;
1795
+ color: z.ZodString;
1796
+ isFavorite: z.ZodBoolean;
1797
+ itemOrder: z.ZodNullable<z.ZodNumber>;
1798
+ isDeleted: z.ZodBoolean;
1799
+ }, z.core.$strip>, z.ZodTransform<{
1800
+ order: number | null;
1801
+ name: string;
1802
+ id: string;
1803
+ color: string;
1804
+ isFavorite: boolean;
1805
+ isDeleted: boolean;
1806
+ }, {
1807
+ name: string;
1808
+ id: string;
1809
+ color: string;
1810
+ isFavorite: boolean;
1811
+ itemOrder: number | null;
1812
+ isDeleted: boolean;
1813
+ }>>;
1814
+ version: z.ZodEnum<{
1815
+ 1: "1";
1816
+ }>;
1817
+ userId: z.ZodString;
1818
+ initiator: z.ZodObject<{
1819
+ id: z.ZodString;
1820
+ fullName: z.ZodString;
1821
+ email: z.ZodString;
1822
+ imageId: z.ZodNullable<z.ZodString>;
1823
+ isPremium: z.ZodBoolean;
1824
+ }, z.core.$strip>;
1825
+ triggeredAt: z.ZodCoercedDate<unknown>;
1826
+ }, z.core.$strip>, z.ZodObject<{
1827
+ eventName: z.ZodLiteral<"label:updated">;
1828
+ eventData: z.ZodPipe<z.ZodObject<{
1829
+ name: z.ZodString;
1830
+ id: z.ZodString;
1831
+ color: z.ZodString;
1832
+ isFavorite: z.ZodBoolean;
1833
+ itemOrder: z.ZodNullable<z.ZodNumber>;
1834
+ isDeleted: z.ZodBoolean;
1835
+ }, z.core.$strip>, z.ZodTransform<{
1836
+ order: number | null;
1837
+ name: string;
1838
+ id: string;
1839
+ color: string;
1840
+ isFavorite: boolean;
1841
+ isDeleted: boolean;
1842
+ }, {
1843
+ name: string;
1844
+ id: string;
1845
+ color: string;
1846
+ isFavorite: boolean;
1847
+ itemOrder: number | null;
1848
+ isDeleted: boolean;
1849
+ }>>;
1850
+ version: z.ZodEnum<{
1851
+ 1: "1";
1852
+ }>;
1853
+ userId: z.ZodString;
1854
+ initiator: z.ZodObject<{
1855
+ id: z.ZodString;
1856
+ fullName: z.ZodString;
1857
+ email: z.ZodString;
1858
+ imageId: z.ZodNullable<z.ZodString>;
1859
+ isPremium: z.ZodBoolean;
1860
+ }, z.core.$strip>;
1861
+ triggeredAt: z.ZodCoercedDate<unknown>;
1862
+ }, z.core.$strip>, z.ZodObject<{
1863
+ eventName: z.ZodLiteral<"label:deleted">;
1864
+ eventData: z.ZodPipe<z.ZodObject<{
1865
+ name: z.ZodString;
1866
+ id: z.ZodString;
1867
+ color: z.ZodString;
1868
+ isFavorite: z.ZodBoolean;
1869
+ itemOrder: z.ZodNullable<z.ZodNumber>;
1870
+ isDeleted: z.ZodBoolean;
1871
+ }, z.core.$strip>, z.ZodTransform<{
1872
+ order: number | null;
1873
+ name: string;
1874
+ id: string;
1875
+ color: string;
1876
+ isFavorite: boolean;
1877
+ isDeleted: boolean;
1878
+ }, {
1879
+ name: string;
1880
+ id: string;
1881
+ color: string;
1882
+ isFavorite: boolean;
1883
+ itemOrder: number | null;
1884
+ isDeleted: boolean;
1885
+ }>>;
1886
+ version: z.ZodEnum<{
1887
+ 1: "1";
1888
+ }>;
1889
+ userId: z.ZodString;
1890
+ initiator: z.ZodObject<{
1891
+ id: z.ZodString;
1892
+ fullName: z.ZodString;
1893
+ email: z.ZodString;
1894
+ imageId: z.ZodNullable<z.ZodString>;
1895
+ isPremium: z.ZodBoolean;
1896
+ }, z.core.$strip>;
1897
+ triggeredAt: z.ZodCoercedDate<unknown>;
849
1898
  }, z.core.$strip>, z.ZodObject<{
850
1899
  eventName: z.ZodEnum<{
851
1900
  "project:added": "project:added";
@@ -853,17 +1902,11 @@ export declare const WebhookPayloadSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
853
1902
  "project:deleted": "project:deleted";
854
1903
  "project:archived": "project:archived";
855
1904
  "project:unarchived": "project:unarchived";
856
- "note:added": "note:added";
857
- "note:updated": "note:updated";
858
- "note:deleted": "note:deleted";
859
1905
  "section:added": "section:added";
860
1906
  "section:updated": "section:updated";
861
1907
  "section:deleted": "section:deleted";
862
1908
  "section:archived": "section:archived";
863
1909
  "section:unarchived": "section:unarchived";
864
- "label:added": "label:added";
865
- "label:updated": "label:updated";
866
- "label:deleted": "label:deleted";
867
1910
  "filter:added": "filter:added";
868
1911
  "filter:updated": "filter:updated";
869
1912
  "filter:deleted": "filter:deleted";