@badger_badger/badger_hq 1.5.1 → 1.7.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.
@@ -1,5 +1,5 @@
1
- import { ap as CollectionName, l as AgentMessage, s as AgentSession, H as AnalystProfile, M as AssigneeLoad, P as Assignment, Y as AuditLog, aa as Capture, aB as DataItem, aM as Database, aW as Deployment, bI as Mission, dd as Task, bh as HoursLog, cf as ScoutProfile, bS as OrgSettings, cn as ScoutRating, cH as Source, cM as SourceImport, cu as Scraper, cx as ScraperMetric, bs as LlmCall } from '../agent-session-Bsn8W7Xv.cjs';
2
- export { a8 as COLLECTIONS } from '../agent-session-Bsn8W7Xv.cjs';
1
+ import { av as CollectionName, n as AgentMessage, u as AgentSession, J as AnalystProfile, P as AssigneeLoad, T as Assignment, a0 as AuditLog, af as Capture, aH as DataItem, aS as Database, b0 as Deployment, bQ as Mission, dj as Task, bo as HoursLog, cm as ScoutProfile, bZ as OrgSettings, cu as ScoutRating, cO as Source, cT as SourceImport, cB as Scraper, cE as ScraperMetric, bA as LlmCall } from '../agent-session-BKq7mARI.cjs';
2
+ export { ad as COLLECTIONS } from '../agent-session-BKq7mARI.cjs';
3
3
  import * as mongoose from 'mongoose';
4
4
  import { Types, IndexDefinition, IndexOptions, Schema, Query, Model, Connection } from 'mongoose';
5
5
  import 'zod';
@@ -197,6 +197,80 @@ declare const taskCriteriaSchema: Schema<{
197
197
  } & {
198
198
  __v: number;
199
199
  }>;
200
+ declare const taskTargetSchema: Schema<{
201
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
202
+ url: string;
203
+ sourceId?: mongoose.Types.ObjectId | undefined;
204
+ label?: string | undefined;
205
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
206
+ note?: string | undefined;
207
+ }, mongoose.Model<{
208
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
209
+ url: string;
210
+ sourceId?: mongoose.Types.ObjectId | undefined;
211
+ label?: string | undefined;
212
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
213
+ note?: string | undefined;
214
+ }, any, any, any, mongoose.Document<unknown, any, {
215
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
216
+ url: string;
217
+ sourceId?: mongoose.Types.ObjectId | undefined;
218
+ label?: string | undefined;
219
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
220
+ note?: string | undefined;
221
+ }, any, {}> & {
222
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
223
+ url: string;
224
+ sourceId?: mongoose.Types.ObjectId | undefined;
225
+ label?: string | undefined;
226
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
227
+ note?: string | undefined;
228
+ } & {
229
+ _id: mongoose.Types.ObjectId;
230
+ } & {
231
+ __v: number;
232
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
233
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
234
+ url: string;
235
+ sourceId?: mongoose.Types.ObjectId | undefined;
236
+ label?: string | undefined;
237
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
238
+ note?: string | undefined;
239
+ }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
240
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
241
+ url: string;
242
+ sourceId?: mongoose.Types.ObjectId | undefined;
243
+ label?: string | undefined;
244
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
245
+ note?: string | undefined;
246
+ }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
247
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
248
+ url: string;
249
+ sourceId?: mongoose.Types.ObjectId | undefined;
250
+ label?: string | undefined;
251
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
252
+ note?: string | undefined;
253
+ }> & {
254
+ _id: mongoose.Types.ObjectId;
255
+ } & {
256
+ __v: number;
257
+ }>;
258
+ /** Stored flat; `CaptureWindowSchema` (Zod) is the discriminated union validated at the API boundary. */
259
+ type CaptureWindowDoc = {
260
+ mode: string;
261
+ days?: number;
262
+ start?: Date;
263
+ end?: Date;
264
+ };
265
+ declare const captureWindowSchema: Schema<CaptureWindowDoc, mongoose.Model<CaptureWindowDoc, any, any, any, mongoose.Document<unknown, any, CaptureWindowDoc, any, {}> & CaptureWindowDoc & {
266
+ _id: mongoose.Types.ObjectId;
267
+ } & {
268
+ __v: number;
269
+ }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, CaptureWindowDoc, mongoose.Document<unknown, {}, mongoose.FlatRecord<CaptureWindowDoc>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<CaptureWindowDoc> & {
270
+ _id: mongoose.Types.ObjectId;
271
+ } & {
272
+ __v: number;
273
+ }>;
200
274
  declare const availabilityWindowSchema: Schema<{
201
275
  start: string;
202
276
  end: string;
@@ -1070,6 +1144,22 @@ declare const taskSchema: Schema<{
1070
1144
  } | undefined;
1071
1145
  };
1072
1146
  deletedAt?: Date | undefined;
1147
+ target?: {
1148
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1149
+ url: string;
1150
+ sourceId?: mongoose.Types.ObjectId | undefined;
1151
+ label?: string | undefined;
1152
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1153
+ note?: string | undefined;
1154
+ } | undefined;
1155
+ captureWindow?: {
1156
+ mode: "last_days";
1157
+ days: number;
1158
+ } | {
1159
+ start: Date;
1160
+ end: Date;
1161
+ mode: "range";
1162
+ } | undefined;
1073
1163
  approvedBy?: string | undefined;
1074
1164
  approvedAt?: Date | undefined;
1075
1165
  doneBy?: string | undefined;
@@ -1101,6 +1191,22 @@ declare const taskSchema: Schema<{
1101
1191
  } | undefined;
1102
1192
  };
1103
1193
  deletedAt?: Date | undefined;
1194
+ target?: {
1195
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1196
+ url: string;
1197
+ sourceId?: mongoose.Types.ObjectId | undefined;
1198
+ label?: string | undefined;
1199
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1200
+ note?: string | undefined;
1201
+ } | undefined;
1202
+ captureWindow?: {
1203
+ mode: "last_days";
1204
+ days: number;
1205
+ } | {
1206
+ start: Date;
1207
+ end: Date;
1208
+ mode: "range";
1209
+ } | undefined;
1104
1210
  approvedBy?: string | undefined;
1105
1211
  approvedAt?: Date | undefined;
1106
1212
  doneBy?: string | undefined;
@@ -1132,6 +1238,22 @@ declare const taskSchema: Schema<{
1132
1238
  } | undefined;
1133
1239
  };
1134
1240
  deletedAt?: Date | undefined;
1241
+ target?: {
1242
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1243
+ url: string;
1244
+ sourceId?: mongoose.Types.ObjectId | undefined;
1245
+ label?: string | undefined;
1246
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1247
+ note?: string | undefined;
1248
+ } | undefined;
1249
+ captureWindow?: {
1250
+ mode: "last_days";
1251
+ days: number;
1252
+ } | {
1253
+ start: Date;
1254
+ end: Date;
1255
+ mode: "range";
1256
+ } | undefined;
1135
1257
  approvedBy?: string | undefined;
1136
1258
  approvedAt?: Date | undefined;
1137
1259
  doneBy?: string | undefined;
@@ -1163,6 +1285,22 @@ declare const taskSchema: Schema<{
1163
1285
  } | undefined;
1164
1286
  };
1165
1287
  deletedAt?: Date | undefined;
1288
+ target?: {
1289
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1290
+ url: string;
1291
+ sourceId?: mongoose.Types.ObjectId | undefined;
1292
+ label?: string | undefined;
1293
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1294
+ note?: string | undefined;
1295
+ } | undefined;
1296
+ captureWindow?: {
1297
+ mode: "last_days";
1298
+ days: number;
1299
+ } | {
1300
+ start: Date;
1301
+ end: Date;
1302
+ mode: "range";
1303
+ } | undefined;
1166
1304
  approvedBy?: string | undefined;
1167
1305
  approvedAt?: Date | undefined;
1168
1306
  doneBy?: string | undefined;
@@ -1198,6 +1336,22 @@ declare const taskSchema: Schema<{
1198
1336
  } | undefined;
1199
1337
  };
1200
1338
  deletedAt?: Date | undefined;
1339
+ target?: {
1340
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1341
+ url: string;
1342
+ sourceId?: mongoose.Types.ObjectId | undefined;
1343
+ label?: string | undefined;
1344
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1345
+ note?: string | undefined;
1346
+ } | undefined;
1347
+ captureWindow?: {
1348
+ mode: "last_days";
1349
+ days: number;
1350
+ } | {
1351
+ start: Date;
1352
+ end: Date;
1353
+ mode: "range";
1354
+ } | undefined;
1201
1355
  approvedBy?: string | undefined;
1202
1356
  approvedAt?: Date | undefined;
1203
1357
  doneBy?: string | undefined;
@@ -1229,6 +1383,22 @@ declare const taskSchema: Schema<{
1229
1383
  } | undefined;
1230
1384
  };
1231
1385
  deletedAt?: Date | undefined;
1386
+ target?: {
1387
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1388
+ url: string;
1389
+ sourceId?: mongoose.Types.ObjectId | undefined;
1390
+ label?: string | undefined;
1391
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1392
+ note?: string | undefined;
1393
+ } | undefined;
1394
+ captureWindow?: {
1395
+ mode: "last_days";
1396
+ days: number;
1397
+ } | {
1398
+ start: Date;
1399
+ end: Date;
1400
+ mode: "range";
1401
+ } | undefined;
1232
1402
  approvedBy?: string | undefined;
1233
1403
  approvedAt?: Date | undefined;
1234
1404
  doneBy?: string | undefined;
@@ -1260,6 +1430,22 @@ declare const taskSchema: Schema<{
1260
1430
  } | undefined;
1261
1431
  };
1262
1432
  deletedAt?: Date | undefined;
1433
+ target?: {
1434
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1435
+ url: string;
1436
+ sourceId?: mongoose.Types.ObjectId | undefined;
1437
+ label?: string | undefined;
1438
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1439
+ note?: string | undefined;
1440
+ } | undefined;
1441
+ captureWindow?: {
1442
+ mode: "last_days";
1443
+ days: number;
1444
+ } | {
1445
+ start: Date;
1446
+ end: Date;
1447
+ mode: "range";
1448
+ } | undefined;
1263
1449
  approvedBy?: string | undefined;
1264
1450
  approvedAt?: Date | undefined;
1265
1451
  doneBy?: string | undefined;
@@ -1284,9 +1470,9 @@ declare const assignmentSchema: Schema<{
1284
1470
  orgId: string;
1285
1471
  createdAt: Date;
1286
1472
  assigneeUserId: string;
1473
+ source: "manual" | "engine";
1287
1474
  updatedAt: Date;
1288
1475
  assigneeType: "scout" | "analyst";
1289
- source: "manual" | "engine";
1290
1476
  assignedBy: string;
1291
1477
  activatedAt: Date;
1292
1478
  deletedAt?: Date | undefined;
@@ -1303,9 +1489,9 @@ declare const assignmentSchema: Schema<{
1303
1489
  orgId: string;
1304
1490
  createdAt: Date;
1305
1491
  assigneeUserId: string;
1492
+ source: "manual" | "engine";
1306
1493
  updatedAt: Date;
1307
1494
  assigneeType: "scout" | "analyst";
1308
- source: "manual" | "engine";
1309
1495
  assignedBy: string;
1310
1496
  activatedAt: Date;
1311
1497
  deletedAt?: Date | undefined;
@@ -1322,9 +1508,9 @@ declare const assignmentSchema: Schema<{
1322
1508
  orgId: string;
1323
1509
  createdAt: Date;
1324
1510
  assigneeUserId: string;
1511
+ source: "manual" | "engine";
1325
1512
  updatedAt: Date;
1326
1513
  assigneeType: "scout" | "analyst";
1327
- source: "manual" | "engine";
1328
1514
  assignedBy: string;
1329
1515
  activatedAt: Date;
1330
1516
  deletedAt?: Date | undefined;
@@ -1341,9 +1527,9 @@ declare const assignmentSchema: Schema<{
1341
1527
  orgId: string;
1342
1528
  createdAt: Date;
1343
1529
  assigneeUserId: string;
1530
+ source: "manual" | "engine";
1344
1531
  updatedAt: Date;
1345
1532
  assigneeType: "scout" | "analyst";
1346
- source: "manual" | "engine";
1347
1533
  assignedBy: string;
1348
1534
  activatedAt: Date;
1349
1535
  deletedAt?: Date | undefined;
@@ -1364,9 +1550,9 @@ declare const assignmentSchema: Schema<{
1364
1550
  orgId: string;
1365
1551
  createdAt: Date;
1366
1552
  assigneeUserId: string;
1553
+ source: "manual" | "engine";
1367
1554
  updatedAt: Date;
1368
1555
  assigneeType: "scout" | "analyst";
1369
- source: "manual" | "engine";
1370
1556
  assignedBy: string;
1371
1557
  activatedAt: Date;
1372
1558
  deletedAt?: Date | undefined;
@@ -1383,9 +1569,9 @@ declare const assignmentSchema: Schema<{
1383
1569
  orgId: string;
1384
1570
  createdAt: Date;
1385
1571
  assigneeUserId: string;
1572
+ source: "manual" | "engine";
1386
1573
  updatedAt: Date;
1387
1574
  assigneeType: "scout" | "analyst";
1388
- source: "manual" | "engine";
1389
1575
  assignedBy: string;
1390
1576
  activatedAt: Date;
1391
1577
  deletedAt?: Date | undefined;
@@ -1402,9 +1588,9 @@ declare const assignmentSchema: Schema<{
1402
1588
  orgId: string;
1403
1589
  createdAt: Date;
1404
1590
  assigneeUserId: string;
1591
+ source: "manual" | "engine";
1405
1592
  updatedAt: Date;
1406
1593
  assigneeType: "scout" | "analyst";
1407
- source: "manual" | "engine";
1408
1594
  assignedBy: string;
1409
1595
  activatedAt: Date;
1410
1596
  deletedAt?: Date | undefined;
@@ -1427,8 +1613,10 @@ declare const hoursLogSchema: Schema<{
1427
1613
  createdAt: Date;
1428
1614
  date: Date;
1429
1615
  updatedAt: Date;
1430
- minutes: number;
1431
1616
  note: string;
1617
+ minutes: number;
1618
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1619
+ source?: "manual" | "inferred" | undefined;
1432
1620
  deletedAt?: Date | undefined;
1433
1621
  }, mongoose.Model<{
1434
1622
  _id: mongoose.Types.ObjectId;
@@ -1438,8 +1626,10 @@ declare const hoursLogSchema: Schema<{
1438
1626
  createdAt: Date;
1439
1627
  date: Date;
1440
1628
  updatedAt: Date;
1441
- minutes: number;
1442
1629
  note: string;
1630
+ minutes: number;
1631
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1632
+ source?: "manual" | "inferred" | undefined;
1443
1633
  deletedAt?: Date | undefined;
1444
1634
  }, any, any, any, mongoose.Document<unknown, any, {
1445
1635
  _id: mongoose.Types.ObjectId;
@@ -1449,8 +1639,10 @@ declare const hoursLogSchema: Schema<{
1449
1639
  createdAt: Date;
1450
1640
  date: Date;
1451
1641
  updatedAt: Date;
1452
- minutes: number;
1453
1642
  note: string;
1643
+ minutes: number;
1644
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1645
+ source?: "manual" | "inferred" | undefined;
1454
1646
  deletedAt?: Date | undefined;
1455
1647
  }, any, {}> & {
1456
1648
  _id: mongoose.Types.ObjectId;
@@ -1460,8 +1652,10 @@ declare const hoursLogSchema: Schema<{
1460
1652
  createdAt: Date;
1461
1653
  date: Date;
1462
1654
  updatedAt: Date;
1463
- minutes: number;
1464
1655
  note: string;
1656
+ minutes: number;
1657
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1658
+ source?: "manual" | "inferred" | undefined;
1465
1659
  deletedAt?: Date | undefined;
1466
1660
  } & Required<{
1467
1661
  _id: mongoose.Types.ObjectId;
@@ -1475,8 +1669,10 @@ declare const hoursLogSchema: Schema<{
1475
1669
  createdAt: Date;
1476
1670
  date: Date;
1477
1671
  updatedAt: Date;
1478
- minutes: number;
1479
1672
  note: string;
1673
+ minutes: number;
1674
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1675
+ source?: "manual" | "inferred" | undefined;
1480
1676
  deletedAt?: Date | undefined;
1481
1677
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
1482
1678
  _id: mongoose.Types.ObjectId;
@@ -1486,8 +1682,10 @@ declare const hoursLogSchema: Schema<{
1486
1682
  createdAt: Date;
1487
1683
  date: Date;
1488
1684
  updatedAt: Date;
1489
- minutes: number;
1490
1685
  note: string;
1686
+ minutes: number;
1687
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1688
+ source?: "manual" | "inferred" | undefined;
1491
1689
  deletedAt?: Date | undefined;
1492
1690
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
1493
1691
  _id: mongoose.Types.ObjectId;
@@ -1497,8 +1695,10 @@ declare const hoursLogSchema: Schema<{
1497
1695
  createdAt: Date;
1498
1696
  date: Date;
1499
1697
  updatedAt: Date;
1500
- minutes: number;
1501
1698
  note: string;
1699
+ minutes: number;
1700
+ assignmentId?: mongoose.Types.ObjectId | undefined;
1701
+ source?: "manual" | "inferred" | undefined;
1502
1702
  deletedAt?: Date | undefined;
1503
1703
  }> & Required<{
1504
1704
  _id: mongoose.Types.ObjectId;
@@ -2231,6 +2431,7 @@ declare const sourceSchema: Schema<{
2231
2431
  } | undefined;
2232
2432
  lastCollectedAt?: Date | undefined;
2233
2433
  nextVisitAt?: Date | undefined;
2434
+ visitIntervalMs?: number | undefined;
2234
2435
  }, mongoose.Model<{
2235
2436
  type: "channel" | "group" | "profile" | "forum" | "site";
2236
2437
  status: "active" | "paused" | "closed" | "access_problem";
@@ -2261,6 +2462,7 @@ declare const sourceSchema: Schema<{
2261
2462
  } | undefined;
2262
2463
  lastCollectedAt?: Date | undefined;
2263
2464
  nextVisitAt?: Date | undefined;
2465
+ visitIntervalMs?: number | undefined;
2264
2466
  }, any, any, any, mongoose.Document<unknown, any, {
2265
2467
  type: "channel" | "group" | "profile" | "forum" | "site";
2266
2468
  status: "active" | "paused" | "closed" | "access_problem";
@@ -2291,6 +2493,7 @@ declare const sourceSchema: Schema<{
2291
2493
  } | undefined;
2292
2494
  lastCollectedAt?: Date | undefined;
2293
2495
  nextVisitAt?: Date | undefined;
2496
+ visitIntervalMs?: number | undefined;
2294
2497
  }, any, {}> & {
2295
2498
  type: "channel" | "group" | "profile" | "forum" | "site";
2296
2499
  status: "active" | "paused" | "closed" | "access_problem";
@@ -2321,6 +2524,7 @@ declare const sourceSchema: Schema<{
2321
2524
  } | undefined;
2322
2525
  lastCollectedAt?: Date | undefined;
2323
2526
  nextVisitAt?: Date | undefined;
2527
+ visitIntervalMs?: number | undefined;
2324
2528
  } & Required<{
2325
2529
  _id: mongoose.Types.ObjectId;
2326
2530
  }> & {
@@ -2355,6 +2559,7 @@ declare const sourceSchema: Schema<{
2355
2559
  } | undefined;
2356
2560
  lastCollectedAt?: Date | undefined;
2357
2561
  nextVisitAt?: Date | undefined;
2562
+ visitIntervalMs?: number | undefined;
2358
2563
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
2359
2564
  type: "channel" | "group" | "profile" | "forum" | "site";
2360
2565
  status: "active" | "paused" | "closed" | "access_problem";
@@ -2385,6 +2590,7 @@ declare const sourceSchema: Schema<{
2385
2590
  } | undefined;
2386
2591
  lastCollectedAt?: Date | undefined;
2387
2592
  nextVisitAt?: Date | undefined;
2593
+ visitIntervalMs?: number | undefined;
2388
2594
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
2389
2595
  type: "channel" | "group" | "profile" | "forum" | "site";
2390
2596
  status: "active" | "paused" | "closed" | "access_problem";
@@ -2415,6 +2621,7 @@ declare const sourceSchema: Schema<{
2415
2621
  } | undefined;
2416
2622
  lastCollectedAt?: Date | undefined;
2417
2623
  nextVisitAt?: Date | undefined;
2624
+ visitIntervalMs?: number | undefined;
2418
2625
  }> & Required<{
2419
2626
  _id: mongoose.Types.ObjectId;
2420
2627
  }> & {
@@ -3136,12 +3343,12 @@ declare const auditLogSchema: Schema<{
3136
3343
  createdAt: Date;
3137
3344
  actorUserId: string;
3138
3345
  updatedAt: Date;
3139
- actingAsSystem: boolean;
3140
- action: string;
3141
3346
  target: {
3142
3347
  type: string;
3143
3348
  id: string;
3144
3349
  };
3350
+ actingAsSystem: boolean;
3351
+ action: string;
3145
3352
  orgId?: string | undefined;
3146
3353
  deletedAt?: Date | undefined;
3147
3354
  diff?: unknown;
@@ -3151,12 +3358,12 @@ declare const auditLogSchema: Schema<{
3151
3358
  createdAt: Date;
3152
3359
  actorUserId: string;
3153
3360
  updatedAt: Date;
3154
- actingAsSystem: boolean;
3155
- action: string;
3156
3361
  target: {
3157
3362
  type: string;
3158
3363
  id: string;
3159
3364
  };
3365
+ actingAsSystem: boolean;
3366
+ action: string;
3160
3367
  orgId?: string | undefined;
3161
3368
  deletedAt?: Date | undefined;
3162
3369
  diff?: unknown;
@@ -3166,12 +3373,12 @@ declare const auditLogSchema: Schema<{
3166
3373
  createdAt: Date;
3167
3374
  actorUserId: string;
3168
3375
  updatedAt: Date;
3169
- actingAsSystem: boolean;
3170
- action: string;
3171
3376
  target: {
3172
3377
  type: string;
3173
3378
  id: string;
3174
3379
  };
3380
+ actingAsSystem: boolean;
3381
+ action: string;
3175
3382
  orgId?: string | undefined;
3176
3383
  deletedAt?: Date | undefined;
3177
3384
  diff?: unknown;
@@ -3181,12 +3388,12 @@ declare const auditLogSchema: Schema<{
3181
3388
  createdAt: Date;
3182
3389
  actorUserId: string;
3183
3390
  updatedAt: Date;
3184
- actingAsSystem: boolean;
3185
- action: string;
3186
3391
  target: {
3187
3392
  type: string;
3188
3393
  id: string;
3189
3394
  };
3395
+ actingAsSystem: boolean;
3396
+ action: string;
3190
3397
  orgId?: string | undefined;
3191
3398
  deletedAt?: Date | undefined;
3192
3399
  diff?: unknown;
@@ -3200,12 +3407,12 @@ declare const auditLogSchema: Schema<{
3200
3407
  createdAt: Date;
3201
3408
  actorUserId: string;
3202
3409
  updatedAt: Date;
3203
- actingAsSystem: boolean;
3204
- action: string;
3205
3410
  target: {
3206
3411
  type: string;
3207
3412
  id: string;
3208
3413
  };
3414
+ actingAsSystem: boolean;
3415
+ action: string;
3209
3416
  orgId?: string | undefined;
3210
3417
  deletedAt?: Date | undefined;
3211
3418
  diff?: unknown;
@@ -3215,12 +3422,12 @@ declare const auditLogSchema: Schema<{
3215
3422
  createdAt: Date;
3216
3423
  actorUserId: string;
3217
3424
  updatedAt: Date;
3218
- actingAsSystem: boolean;
3219
- action: string;
3220
3425
  target: {
3221
3426
  type: string;
3222
3427
  id: string;
3223
3428
  };
3429
+ actingAsSystem: boolean;
3430
+ action: string;
3224
3431
  orgId?: string | undefined;
3225
3432
  deletedAt?: Date | undefined;
3226
3433
  diff?: unknown;
@@ -3230,12 +3437,12 @@ declare const auditLogSchema: Schema<{
3230
3437
  createdAt: Date;
3231
3438
  actorUserId: string;
3232
3439
  updatedAt: Date;
3233
- actingAsSystem: boolean;
3234
- action: string;
3235
3440
  target: {
3236
3441
  type: string;
3237
3442
  id: string;
3238
3443
  };
3444
+ actingAsSystem: boolean;
3445
+ action: string;
3239
3446
  orgId?: string | undefined;
3240
3447
  deletedAt?: Date | undefined;
3241
3448
  diff?: unknown;
@@ -3399,6 +3606,10 @@ declare const agentSessionSchema: Schema<{
3399
3606
  tokens: number;
3400
3607
  costUsd: number;
3401
3608
  };
3609
+ captureWindow?: {
3610
+ start: Date;
3611
+ end: Date;
3612
+ } | undefined;
3402
3613
  endedAt?: Date | undefined;
3403
3614
  state?: unknown;
3404
3615
  }, mongoose.Model<{
@@ -3433,6 +3644,10 @@ declare const agentSessionSchema: Schema<{
3433
3644
  tokens: number;
3434
3645
  costUsd: number;
3435
3646
  };
3647
+ captureWindow?: {
3648
+ start: Date;
3649
+ end: Date;
3650
+ } | undefined;
3436
3651
  endedAt?: Date | undefined;
3437
3652
  state?: unknown;
3438
3653
  }, any, any, any, mongoose.Document<unknown, any, {
@@ -3467,6 +3682,10 @@ declare const agentSessionSchema: Schema<{
3467
3682
  tokens: number;
3468
3683
  costUsd: number;
3469
3684
  };
3685
+ captureWindow?: {
3686
+ start: Date;
3687
+ end: Date;
3688
+ } | undefined;
3470
3689
  endedAt?: Date | undefined;
3471
3690
  state?: unknown;
3472
3691
  }, any, {}> & {
@@ -3501,6 +3720,10 @@ declare const agentSessionSchema: Schema<{
3501
3720
  tokens: number;
3502
3721
  costUsd: number;
3503
3722
  };
3723
+ captureWindow?: {
3724
+ start: Date;
3725
+ end: Date;
3726
+ } | undefined;
3504
3727
  endedAt?: Date | undefined;
3505
3728
  state?: unknown;
3506
3729
  } & Required<{
@@ -3539,6 +3762,10 @@ declare const agentSessionSchema: Schema<{
3539
3762
  tokens: number;
3540
3763
  costUsd: number;
3541
3764
  };
3765
+ captureWindow?: {
3766
+ start: Date;
3767
+ end: Date;
3768
+ } | undefined;
3542
3769
  endedAt?: Date | undefined;
3543
3770
  state?: unknown;
3544
3771
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
@@ -3573,6 +3800,10 @@ declare const agentSessionSchema: Schema<{
3573
3800
  tokens: number;
3574
3801
  costUsd: number;
3575
3802
  };
3803
+ captureWindow?: {
3804
+ start: Date;
3805
+ end: Date;
3806
+ } | undefined;
3576
3807
  endedAt?: Date | undefined;
3577
3808
  state?: unknown;
3578
3809
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
@@ -3607,6 +3838,10 @@ declare const agentSessionSchema: Schema<{
3607
3838
  tokens: number;
3608
3839
  costUsd: number;
3609
3840
  };
3841
+ captureWindow?: {
3842
+ start: Date;
3843
+ end: Date;
3844
+ } | undefined;
3610
3845
  endedAt?: Date | undefined;
3611
3846
  state?: unknown;
3612
3847
  }> & Required<{
@@ -3655,8 +3890,8 @@ declare const agentMessageSchema: Schema<{
3655
3890
  questionId: string;
3656
3891
  } | {
3657
3892
  kind: "hours_proposal";
3658
- minutes: number;
3659
3893
  note: string;
3894
+ minutes: number;
3660
3895
  } | {
3661
3896
  kind: "capture_thumb";
3662
3897
  captureId: string;
@@ -3702,8 +3937,8 @@ declare const agentMessageSchema: Schema<{
3702
3937
  questionId: string;
3703
3938
  } | {
3704
3939
  kind: "hours_proposal";
3705
- minutes: number;
3706
3940
  note: string;
3941
+ minutes: number;
3707
3942
  } | {
3708
3943
  kind: "capture_thumb";
3709
3944
  captureId: string;
@@ -3749,8 +3984,8 @@ declare const agentMessageSchema: Schema<{
3749
3984
  questionId: string;
3750
3985
  } | {
3751
3986
  kind: "hours_proposal";
3752
- minutes: number;
3753
3987
  note: string;
3988
+ minutes: number;
3754
3989
  } | {
3755
3990
  kind: "capture_thumb";
3756
3991
  captureId: string;
@@ -3796,8 +4031,8 @@ declare const agentMessageSchema: Schema<{
3796
4031
  questionId: string;
3797
4032
  } | {
3798
4033
  kind: "hours_proposal";
3799
- minutes: number;
3800
4034
  note: string;
4035
+ minutes: number;
3801
4036
  } | {
3802
4037
  kind: "capture_thumb";
3803
4038
  captureId: string;
@@ -3847,8 +4082,8 @@ declare const agentMessageSchema: Schema<{
3847
4082
  questionId: string;
3848
4083
  } | {
3849
4084
  kind: "hours_proposal";
3850
- minutes: number;
3851
4085
  note: string;
4086
+ minutes: number;
3852
4087
  } | {
3853
4088
  kind: "capture_thumb";
3854
4089
  captureId: string;
@@ -3894,8 +4129,8 @@ declare const agentMessageSchema: Schema<{
3894
4129
  questionId: string;
3895
4130
  } | {
3896
4131
  kind: "hours_proposal";
3897
- minutes: number;
3898
4132
  note: string;
4133
+ minutes: number;
3899
4134
  } | {
3900
4135
  kind: "capture_thumb";
3901
4136
  captureId: string;
@@ -3941,8 +4176,8 @@ declare const agentMessageSchema: Schema<{
3941
4176
  questionId: string;
3942
4177
  } | {
3943
4178
  kind: "hours_proposal";
3944
- minutes: number;
3945
4179
  note: string;
4180
+ minutes: number;
3946
4181
  } | {
3947
4182
  kind: "capture_thumb";
3948
4183
  captureId: string;
@@ -4108,7 +4343,6 @@ declare const captureDomSummarySchema: Schema<{
4108
4343
  declare const captureSchema: Schema<{
4109
4344
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4110
4345
  _id: mongoose.Types.ObjectId;
4111
- sessionId: mongoose.Types.ObjectId;
4112
4346
  orgId: string;
4113
4347
  createdAt: Date;
4114
4348
  url: string;
@@ -4124,7 +4358,13 @@ declare const captureSchema: Schema<{
4124
4358
  };
4125
4359
  sha256: string;
4126
4360
  domStatus: "ok" | "unavailable" | "truncated";
4361
+ attempts: number;
4127
4362
  error?: string | undefined;
4363
+ missionId?: mongoose.Types.ObjectId | undefined;
4364
+ taskId?: mongoose.Types.ObjectId | undefined;
4365
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4366
+ sessionId?: mongoose.Types.ObjectId | undefined;
4367
+ userId?: string | undefined;
4128
4368
  region?: {
4129
4369
  x: number;
4130
4370
  y: number;
@@ -4147,10 +4387,10 @@ declare const captureSchema: Schema<{
4147
4387
  lang?: string | undefined;
4148
4388
  } | undefined;
4149
4389
  analysis?: unknown;
4390
+ claimedAt?: Date | undefined;
4150
4391
  }, mongoose.Model<{
4151
4392
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4152
4393
  _id: mongoose.Types.ObjectId;
4153
- sessionId: mongoose.Types.ObjectId;
4154
4394
  orgId: string;
4155
4395
  createdAt: Date;
4156
4396
  url: string;
@@ -4166,7 +4406,13 @@ declare const captureSchema: Schema<{
4166
4406
  };
4167
4407
  sha256: string;
4168
4408
  domStatus: "ok" | "unavailable" | "truncated";
4409
+ attempts: number;
4169
4410
  error?: string | undefined;
4411
+ missionId?: mongoose.Types.ObjectId | undefined;
4412
+ taskId?: mongoose.Types.ObjectId | undefined;
4413
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4414
+ sessionId?: mongoose.Types.ObjectId | undefined;
4415
+ userId?: string | undefined;
4170
4416
  region?: {
4171
4417
  x: number;
4172
4418
  y: number;
@@ -4189,10 +4435,10 @@ declare const captureSchema: Schema<{
4189
4435
  lang?: string | undefined;
4190
4436
  } | undefined;
4191
4437
  analysis?: unknown;
4438
+ claimedAt?: Date | undefined;
4192
4439
  }, any, any, any, mongoose.Document<unknown, any, {
4193
4440
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4194
4441
  _id: mongoose.Types.ObjectId;
4195
- sessionId: mongoose.Types.ObjectId;
4196
4442
  orgId: string;
4197
4443
  createdAt: Date;
4198
4444
  url: string;
@@ -4208,7 +4454,13 @@ declare const captureSchema: Schema<{
4208
4454
  };
4209
4455
  sha256: string;
4210
4456
  domStatus: "ok" | "unavailable" | "truncated";
4457
+ attempts: number;
4211
4458
  error?: string | undefined;
4459
+ missionId?: mongoose.Types.ObjectId | undefined;
4460
+ taskId?: mongoose.Types.ObjectId | undefined;
4461
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4462
+ sessionId?: mongoose.Types.ObjectId | undefined;
4463
+ userId?: string | undefined;
4212
4464
  region?: {
4213
4465
  x: number;
4214
4466
  y: number;
@@ -4231,10 +4483,10 @@ declare const captureSchema: Schema<{
4231
4483
  lang?: string | undefined;
4232
4484
  } | undefined;
4233
4485
  analysis?: unknown;
4486
+ claimedAt?: Date | undefined;
4234
4487
  }, any, {}> & {
4235
4488
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4236
4489
  _id: mongoose.Types.ObjectId;
4237
- sessionId: mongoose.Types.ObjectId;
4238
4490
  orgId: string;
4239
4491
  createdAt: Date;
4240
4492
  url: string;
@@ -4250,7 +4502,13 @@ declare const captureSchema: Schema<{
4250
4502
  };
4251
4503
  sha256: string;
4252
4504
  domStatus: "ok" | "unavailable" | "truncated";
4505
+ attempts: number;
4253
4506
  error?: string | undefined;
4507
+ missionId?: mongoose.Types.ObjectId | undefined;
4508
+ taskId?: mongoose.Types.ObjectId | undefined;
4509
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4510
+ sessionId?: mongoose.Types.ObjectId | undefined;
4511
+ userId?: string | undefined;
4254
4512
  region?: {
4255
4513
  x: number;
4256
4514
  y: number;
@@ -4273,6 +4531,7 @@ declare const captureSchema: Schema<{
4273
4531
  lang?: string | undefined;
4274
4532
  } | undefined;
4275
4533
  analysis?: unknown;
4534
+ claimedAt?: Date | undefined;
4276
4535
  } & Required<{
4277
4536
  _id: mongoose.Types.ObjectId;
4278
4537
  }> & {
@@ -4280,7 +4539,6 @@ declare const captureSchema: Schema<{
4280
4539
  }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
4281
4540
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4282
4541
  _id: mongoose.Types.ObjectId;
4283
- sessionId: mongoose.Types.ObjectId;
4284
4542
  orgId: string;
4285
4543
  createdAt: Date;
4286
4544
  url: string;
@@ -4296,7 +4554,13 @@ declare const captureSchema: Schema<{
4296
4554
  };
4297
4555
  sha256: string;
4298
4556
  domStatus: "ok" | "unavailable" | "truncated";
4557
+ attempts: number;
4299
4558
  error?: string | undefined;
4559
+ missionId?: mongoose.Types.ObjectId | undefined;
4560
+ taskId?: mongoose.Types.ObjectId | undefined;
4561
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4562
+ sessionId?: mongoose.Types.ObjectId | undefined;
4563
+ userId?: string | undefined;
4300
4564
  region?: {
4301
4565
  x: number;
4302
4566
  y: number;
@@ -4319,10 +4583,10 @@ declare const captureSchema: Schema<{
4319
4583
  lang?: string | undefined;
4320
4584
  } | undefined;
4321
4585
  analysis?: unknown;
4586
+ claimedAt?: Date | undefined;
4322
4587
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
4323
4588
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4324
4589
  _id: mongoose.Types.ObjectId;
4325
- sessionId: mongoose.Types.ObjectId;
4326
4590
  orgId: string;
4327
4591
  createdAt: Date;
4328
4592
  url: string;
@@ -4338,7 +4602,13 @@ declare const captureSchema: Schema<{
4338
4602
  };
4339
4603
  sha256: string;
4340
4604
  domStatus: "ok" | "unavailable" | "truncated";
4605
+ attempts: number;
4341
4606
  error?: string | undefined;
4607
+ missionId?: mongoose.Types.ObjectId | undefined;
4608
+ taskId?: mongoose.Types.ObjectId | undefined;
4609
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4610
+ sessionId?: mongoose.Types.ObjectId | undefined;
4611
+ userId?: string | undefined;
4342
4612
  region?: {
4343
4613
  x: number;
4344
4614
  y: number;
@@ -4361,10 +4631,10 @@ declare const captureSchema: Schema<{
4361
4631
  lang?: string | undefined;
4362
4632
  } | undefined;
4363
4633
  analysis?: unknown;
4634
+ claimedAt?: Date | undefined;
4364
4635
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
4365
4636
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
4366
4637
  _id: mongoose.Types.ObjectId;
4367
- sessionId: mongoose.Types.ObjectId;
4368
4638
  orgId: string;
4369
4639
  createdAt: Date;
4370
4640
  url: string;
@@ -4380,7 +4650,13 @@ declare const captureSchema: Schema<{
4380
4650
  };
4381
4651
  sha256: string;
4382
4652
  domStatus: "ok" | "unavailable" | "truncated";
4653
+ attempts: number;
4383
4654
  error?: string | undefined;
4655
+ missionId?: mongoose.Types.ObjectId | undefined;
4656
+ taskId?: mongoose.Types.ObjectId | undefined;
4657
+ assignmentId?: mongoose.Types.ObjectId | undefined;
4658
+ sessionId?: mongoose.Types.ObjectId | undefined;
4659
+ userId?: string | undefined;
4384
4660
  region?: {
4385
4661
  x: number;
4386
4662
  y: number;
@@ -4403,6 +4679,7 @@ declare const captureSchema: Schema<{
4403
4679
  lang?: string | undefined;
4404
4680
  } | undefined;
4405
4681
  analysis?: unknown;
4682
+ claimedAt?: Date | undefined;
4406
4683
  }> & Required<{
4407
4684
  _id: mongoose.Types.ObjectId;
4408
4685
  }> & {
@@ -4449,7 +4726,7 @@ declare const llmCallSchema: Schema<{
4449
4726
  _id: mongoose.Types.ObjectId;
4450
4727
  createdAt: Date;
4451
4728
  updatedAt: Date;
4452
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4729
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4453
4730
  capability: "plan" | "vision_extract" | "judge" | "chat";
4454
4731
  provider: "gemini" | "anthropic" | "openai";
4455
4732
  model: string;
@@ -4470,7 +4747,7 @@ declare const llmCallSchema: Schema<{
4470
4747
  _id: mongoose.Types.ObjectId;
4471
4748
  createdAt: Date;
4472
4749
  updatedAt: Date;
4473
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4750
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4474
4751
  capability: "plan" | "vision_extract" | "judge" | "chat";
4475
4752
  provider: "gemini" | "anthropic" | "openai";
4476
4753
  model: string;
@@ -4491,7 +4768,7 @@ declare const llmCallSchema: Schema<{
4491
4768
  _id: mongoose.Types.ObjectId;
4492
4769
  createdAt: Date;
4493
4770
  updatedAt: Date;
4494
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4771
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4495
4772
  capability: "plan" | "vision_extract" | "judge" | "chat";
4496
4773
  provider: "gemini" | "anthropic" | "openai";
4497
4774
  model: string;
@@ -4512,7 +4789,7 @@ declare const llmCallSchema: Schema<{
4512
4789
  _id: mongoose.Types.ObjectId;
4513
4790
  createdAt: Date;
4514
4791
  updatedAt: Date;
4515
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4792
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4516
4793
  capability: "plan" | "vision_extract" | "judge" | "chat";
4517
4794
  provider: "gemini" | "anthropic" | "openai";
4518
4795
  model: string;
@@ -4537,7 +4814,7 @@ declare const llmCallSchema: Schema<{
4537
4814
  _id: mongoose.Types.ObjectId;
4538
4815
  createdAt: Date;
4539
4816
  updatedAt: Date;
4540
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4817
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4541
4818
  capability: "plan" | "vision_extract" | "judge" | "chat";
4542
4819
  provider: "gemini" | "anthropic" | "openai";
4543
4820
  model: string;
@@ -4558,7 +4835,7 @@ declare const llmCallSchema: Schema<{
4558
4835
  _id: mongoose.Types.ObjectId;
4559
4836
  createdAt: Date;
4560
4837
  updatedAt: Date;
4561
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4838
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4562
4839
  capability: "plan" | "vision_extract" | "judge" | "chat";
4563
4840
  provider: "gemini" | "anthropic" | "openai";
4564
4841
  model: string;
@@ -4579,7 +4856,7 @@ declare const llmCallSchema: Schema<{
4579
4856
  _id: mongoose.Types.ObjectId;
4580
4857
  createdAt: Date;
4581
4858
  updatedAt: Date;
4582
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4859
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
4583
4860
  capability: "plan" | "vision_extract" | "judge" | "chat";
4584
4861
  provider: "gemini" | "anthropic" | "openai";
4585
4862
  model: string;
@@ -4900,6 +5177,22 @@ declare const SCHEMAS: {
4900
5177
  } | undefined;
4901
5178
  };
4902
5179
  deletedAt?: Date | undefined;
5180
+ target?: {
5181
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5182
+ url: string;
5183
+ sourceId?: mongoose.Types.ObjectId | undefined;
5184
+ label?: string | undefined;
5185
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5186
+ note?: string | undefined;
5187
+ } | undefined;
5188
+ captureWindow?: {
5189
+ mode: "last_days";
5190
+ days: number;
5191
+ } | {
5192
+ start: Date;
5193
+ end: Date;
5194
+ mode: "range";
5195
+ } | undefined;
4903
5196
  approvedBy?: string | undefined;
4904
5197
  approvedAt?: Date | undefined;
4905
5198
  doneBy?: string | undefined;
@@ -4931,6 +5224,22 @@ declare const SCHEMAS: {
4931
5224
  } | undefined;
4932
5225
  };
4933
5226
  deletedAt?: Date | undefined;
5227
+ target?: {
5228
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5229
+ url: string;
5230
+ sourceId?: mongoose.Types.ObjectId | undefined;
5231
+ label?: string | undefined;
5232
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5233
+ note?: string | undefined;
5234
+ } | undefined;
5235
+ captureWindow?: {
5236
+ mode: "last_days";
5237
+ days: number;
5238
+ } | {
5239
+ start: Date;
5240
+ end: Date;
5241
+ mode: "range";
5242
+ } | undefined;
4934
5243
  approvedBy?: string | undefined;
4935
5244
  approvedAt?: Date | undefined;
4936
5245
  doneBy?: string | undefined;
@@ -4962,6 +5271,22 @@ declare const SCHEMAS: {
4962
5271
  } | undefined;
4963
5272
  };
4964
5273
  deletedAt?: Date | undefined;
5274
+ target?: {
5275
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5276
+ url: string;
5277
+ sourceId?: mongoose.Types.ObjectId | undefined;
5278
+ label?: string | undefined;
5279
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5280
+ note?: string | undefined;
5281
+ } | undefined;
5282
+ captureWindow?: {
5283
+ mode: "last_days";
5284
+ days: number;
5285
+ } | {
5286
+ start: Date;
5287
+ end: Date;
5288
+ mode: "range";
5289
+ } | undefined;
4965
5290
  approvedBy?: string | undefined;
4966
5291
  approvedAt?: Date | undefined;
4967
5292
  doneBy?: string | undefined;
@@ -4993,6 +5318,22 @@ declare const SCHEMAS: {
4993
5318
  } | undefined;
4994
5319
  };
4995
5320
  deletedAt?: Date | undefined;
5321
+ target?: {
5322
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5323
+ url: string;
5324
+ sourceId?: mongoose.Types.ObjectId | undefined;
5325
+ label?: string | undefined;
5326
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5327
+ note?: string | undefined;
5328
+ } | undefined;
5329
+ captureWindow?: {
5330
+ mode: "last_days";
5331
+ days: number;
5332
+ } | {
5333
+ start: Date;
5334
+ end: Date;
5335
+ mode: "range";
5336
+ } | undefined;
4996
5337
  approvedBy?: string | undefined;
4997
5338
  approvedAt?: Date | undefined;
4998
5339
  doneBy?: string | undefined;
@@ -5028,6 +5369,22 @@ declare const SCHEMAS: {
5028
5369
  } | undefined;
5029
5370
  };
5030
5371
  deletedAt?: Date | undefined;
5372
+ target?: {
5373
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5374
+ url: string;
5375
+ sourceId?: mongoose.Types.ObjectId | undefined;
5376
+ label?: string | undefined;
5377
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5378
+ note?: string | undefined;
5379
+ } | undefined;
5380
+ captureWindow?: {
5381
+ mode: "last_days";
5382
+ days: number;
5383
+ } | {
5384
+ start: Date;
5385
+ end: Date;
5386
+ mode: "range";
5387
+ } | undefined;
5031
5388
  approvedBy?: string | undefined;
5032
5389
  approvedAt?: Date | undefined;
5033
5390
  doneBy?: string | undefined;
@@ -5059,6 +5416,22 @@ declare const SCHEMAS: {
5059
5416
  } | undefined;
5060
5417
  };
5061
5418
  deletedAt?: Date | undefined;
5419
+ target?: {
5420
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5421
+ url: string;
5422
+ sourceId?: mongoose.Types.ObjectId | undefined;
5423
+ label?: string | undefined;
5424
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5425
+ note?: string | undefined;
5426
+ } | undefined;
5427
+ captureWindow?: {
5428
+ mode: "last_days";
5429
+ days: number;
5430
+ } | {
5431
+ start: Date;
5432
+ end: Date;
5433
+ mode: "range";
5434
+ } | undefined;
5062
5435
  approvedBy?: string | undefined;
5063
5436
  approvedAt?: Date | undefined;
5064
5437
  doneBy?: string | undefined;
@@ -5090,6 +5463,22 @@ declare const SCHEMAS: {
5090
5463
  } | undefined;
5091
5464
  };
5092
5465
  deletedAt?: Date | undefined;
5466
+ target?: {
5467
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
5468
+ url: string;
5469
+ sourceId?: mongoose.Types.ObjectId | undefined;
5470
+ label?: string | undefined;
5471
+ accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
5472
+ note?: string | undefined;
5473
+ } | undefined;
5474
+ captureWindow?: {
5475
+ mode: "last_days";
5476
+ days: number;
5477
+ } | {
5478
+ start: Date;
5479
+ end: Date;
5480
+ mode: "range";
5481
+ } | undefined;
5093
5482
  approvedBy?: string | undefined;
5094
5483
  approvedAt?: Date | undefined;
5095
5484
  doneBy?: string | undefined;
@@ -5106,9 +5495,9 @@ declare const SCHEMAS: {
5106
5495
  orgId: string;
5107
5496
  createdAt: Date;
5108
5497
  assigneeUserId: string;
5498
+ source: "manual" | "engine";
5109
5499
  updatedAt: Date;
5110
5500
  assigneeType: "scout" | "analyst";
5111
- source: "manual" | "engine";
5112
5501
  assignedBy: string;
5113
5502
  activatedAt: Date;
5114
5503
  deletedAt?: Date | undefined;
@@ -5125,9 +5514,9 @@ declare const SCHEMAS: {
5125
5514
  orgId: string;
5126
5515
  createdAt: Date;
5127
5516
  assigneeUserId: string;
5517
+ source: "manual" | "engine";
5128
5518
  updatedAt: Date;
5129
5519
  assigneeType: "scout" | "analyst";
5130
- source: "manual" | "engine";
5131
5520
  assignedBy: string;
5132
5521
  activatedAt: Date;
5133
5522
  deletedAt?: Date | undefined;
@@ -5144,9 +5533,9 @@ declare const SCHEMAS: {
5144
5533
  orgId: string;
5145
5534
  createdAt: Date;
5146
5535
  assigneeUserId: string;
5536
+ source: "manual" | "engine";
5147
5537
  updatedAt: Date;
5148
5538
  assigneeType: "scout" | "analyst";
5149
- source: "manual" | "engine";
5150
5539
  assignedBy: string;
5151
5540
  activatedAt: Date;
5152
5541
  deletedAt?: Date | undefined;
@@ -5163,9 +5552,9 @@ declare const SCHEMAS: {
5163
5552
  orgId: string;
5164
5553
  createdAt: Date;
5165
5554
  assigneeUserId: string;
5555
+ source: "manual" | "engine";
5166
5556
  updatedAt: Date;
5167
5557
  assigneeType: "scout" | "analyst";
5168
- source: "manual" | "engine";
5169
5558
  assignedBy: string;
5170
5559
  activatedAt: Date;
5171
5560
  deletedAt?: Date | undefined;
@@ -5186,9 +5575,9 @@ declare const SCHEMAS: {
5186
5575
  orgId: string;
5187
5576
  createdAt: Date;
5188
5577
  assigneeUserId: string;
5578
+ source: "manual" | "engine";
5189
5579
  updatedAt: Date;
5190
5580
  assigneeType: "scout" | "analyst";
5191
- source: "manual" | "engine";
5192
5581
  assignedBy: string;
5193
5582
  activatedAt: Date;
5194
5583
  deletedAt?: Date | undefined;
@@ -5205,9 +5594,9 @@ declare const SCHEMAS: {
5205
5594
  orgId: string;
5206
5595
  createdAt: Date;
5207
5596
  assigneeUserId: string;
5597
+ source: "manual" | "engine";
5208
5598
  updatedAt: Date;
5209
5599
  assigneeType: "scout" | "analyst";
5210
- source: "manual" | "engine";
5211
5600
  assignedBy: string;
5212
5601
  activatedAt: Date;
5213
5602
  deletedAt?: Date | undefined;
@@ -5224,9 +5613,9 @@ declare const SCHEMAS: {
5224
5613
  orgId: string;
5225
5614
  createdAt: Date;
5226
5615
  assigneeUserId: string;
5616
+ source: "manual" | "engine";
5227
5617
  updatedAt: Date;
5228
5618
  assigneeType: "scout" | "analyst";
5229
- source: "manual" | "engine";
5230
5619
  assignedBy: string;
5231
5620
  activatedAt: Date;
5232
5621
  deletedAt?: Date | undefined;
@@ -5249,8 +5638,10 @@ declare const SCHEMAS: {
5249
5638
  createdAt: Date;
5250
5639
  date: Date;
5251
5640
  updatedAt: Date;
5252
- minutes: number;
5253
5641
  note: string;
5642
+ minutes: number;
5643
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5644
+ source?: "manual" | "inferred" | undefined;
5254
5645
  deletedAt?: Date | undefined;
5255
5646
  }, mongoose.Model<{
5256
5647
  _id: mongoose.Types.ObjectId;
@@ -5260,8 +5651,10 @@ declare const SCHEMAS: {
5260
5651
  createdAt: Date;
5261
5652
  date: Date;
5262
5653
  updatedAt: Date;
5263
- minutes: number;
5264
5654
  note: string;
5655
+ minutes: number;
5656
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5657
+ source?: "manual" | "inferred" | undefined;
5265
5658
  deletedAt?: Date | undefined;
5266
5659
  }, any, any, any, mongoose.Document<unknown, any, {
5267
5660
  _id: mongoose.Types.ObjectId;
@@ -5271,8 +5664,10 @@ declare const SCHEMAS: {
5271
5664
  createdAt: Date;
5272
5665
  date: Date;
5273
5666
  updatedAt: Date;
5274
- minutes: number;
5275
5667
  note: string;
5668
+ minutes: number;
5669
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5670
+ source?: "manual" | "inferred" | undefined;
5276
5671
  deletedAt?: Date | undefined;
5277
5672
  }, any, {}> & {
5278
5673
  _id: mongoose.Types.ObjectId;
@@ -5282,8 +5677,10 @@ declare const SCHEMAS: {
5282
5677
  createdAt: Date;
5283
5678
  date: Date;
5284
5679
  updatedAt: Date;
5285
- minutes: number;
5286
5680
  note: string;
5681
+ minutes: number;
5682
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5683
+ source?: "manual" | "inferred" | undefined;
5287
5684
  deletedAt?: Date | undefined;
5288
5685
  } & Required<{
5289
5686
  _id: mongoose.Types.ObjectId;
@@ -5297,8 +5694,10 @@ declare const SCHEMAS: {
5297
5694
  createdAt: Date;
5298
5695
  date: Date;
5299
5696
  updatedAt: Date;
5300
- minutes: number;
5301
5697
  note: string;
5698
+ minutes: number;
5699
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5700
+ source?: "manual" | "inferred" | undefined;
5302
5701
  deletedAt?: Date | undefined;
5303
5702
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
5304
5703
  _id: mongoose.Types.ObjectId;
@@ -5308,8 +5707,10 @@ declare const SCHEMAS: {
5308
5707
  createdAt: Date;
5309
5708
  date: Date;
5310
5709
  updatedAt: Date;
5311
- minutes: number;
5312
5710
  note: string;
5711
+ minutes: number;
5712
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5713
+ source?: "manual" | "inferred" | undefined;
5313
5714
  deletedAt?: Date | undefined;
5314
5715
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
5315
5716
  _id: mongoose.Types.ObjectId;
@@ -5319,8 +5720,10 @@ declare const SCHEMAS: {
5319
5720
  createdAt: Date;
5320
5721
  date: Date;
5321
5722
  updatedAt: Date;
5322
- minutes: number;
5323
5723
  note: string;
5724
+ minutes: number;
5725
+ assignmentId?: mongoose.Types.ObjectId | undefined;
5726
+ source?: "manual" | "inferred" | undefined;
5324
5727
  deletedAt?: Date | undefined;
5325
5728
  }> & Required<{
5326
5729
  _id: mongoose.Types.ObjectId;
@@ -6053,6 +6456,7 @@ declare const SCHEMAS: {
6053
6456
  } | undefined;
6054
6457
  lastCollectedAt?: Date | undefined;
6055
6458
  nextVisitAt?: Date | undefined;
6459
+ visitIntervalMs?: number | undefined;
6056
6460
  }, mongoose.Model<{
6057
6461
  type: "channel" | "group" | "profile" | "forum" | "site";
6058
6462
  status: "active" | "paused" | "closed" | "access_problem";
@@ -6083,6 +6487,7 @@ declare const SCHEMAS: {
6083
6487
  } | undefined;
6084
6488
  lastCollectedAt?: Date | undefined;
6085
6489
  nextVisitAt?: Date | undefined;
6490
+ visitIntervalMs?: number | undefined;
6086
6491
  }, any, any, any, mongoose.Document<unknown, any, {
6087
6492
  type: "channel" | "group" | "profile" | "forum" | "site";
6088
6493
  status: "active" | "paused" | "closed" | "access_problem";
@@ -6113,6 +6518,7 @@ declare const SCHEMAS: {
6113
6518
  } | undefined;
6114
6519
  lastCollectedAt?: Date | undefined;
6115
6520
  nextVisitAt?: Date | undefined;
6521
+ visitIntervalMs?: number | undefined;
6116
6522
  }, any, {}> & {
6117
6523
  type: "channel" | "group" | "profile" | "forum" | "site";
6118
6524
  status: "active" | "paused" | "closed" | "access_problem";
@@ -6143,6 +6549,7 @@ declare const SCHEMAS: {
6143
6549
  } | undefined;
6144
6550
  lastCollectedAt?: Date | undefined;
6145
6551
  nextVisitAt?: Date | undefined;
6552
+ visitIntervalMs?: number | undefined;
6146
6553
  } & Required<{
6147
6554
  _id: mongoose.Types.ObjectId;
6148
6555
  }> & {
@@ -6177,6 +6584,7 @@ declare const SCHEMAS: {
6177
6584
  } | undefined;
6178
6585
  lastCollectedAt?: Date | undefined;
6179
6586
  nextVisitAt?: Date | undefined;
6587
+ visitIntervalMs?: number | undefined;
6180
6588
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
6181
6589
  type: "channel" | "group" | "profile" | "forum" | "site";
6182
6590
  status: "active" | "paused" | "closed" | "access_problem";
@@ -6207,6 +6615,7 @@ declare const SCHEMAS: {
6207
6615
  } | undefined;
6208
6616
  lastCollectedAt?: Date | undefined;
6209
6617
  nextVisitAt?: Date | undefined;
6618
+ visitIntervalMs?: number | undefined;
6210
6619
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
6211
6620
  type: "channel" | "group" | "profile" | "forum" | "site";
6212
6621
  status: "active" | "paused" | "closed" | "access_problem";
@@ -6237,6 +6646,7 @@ declare const SCHEMAS: {
6237
6646
  } | undefined;
6238
6647
  lastCollectedAt?: Date | undefined;
6239
6648
  nextVisitAt?: Date | undefined;
6649
+ visitIntervalMs?: number | undefined;
6240
6650
  }> & Required<{
6241
6651
  _id: mongoose.Types.ObjectId;
6242
6652
  }> & {
@@ -6958,12 +7368,12 @@ declare const SCHEMAS: {
6958
7368
  createdAt: Date;
6959
7369
  actorUserId: string;
6960
7370
  updatedAt: Date;
6961
- actingAsSystem: boolean;
6962
- action: string;
6963
7371
  target: {
6964
7372
  type: string;
6965
7373
  id: string;
6966
7374
  };
7375
+ actingAsSystem: boolean;
7376
+ action: string;
6967
7377
  orgId?: string | undefined;
6968
7378
  deletedAt?: Date | undefined;
6969
7379
  diff?: unknown;
@@ -6973,12 +7383,12 @@ declare const SCHEMAS: {
6973
7383
  createdAt: Date;
6974
7384
  actorUserId: string;
6975
7385
  updatedAt: Date;
6976
- actingAsSystem: boolean;
6977
- action: string;
6978
7386
  target: {
6979
7387
  type: string;
6980
7388
  id: string;
6981
7389
  };
7390
+ actingAsSystem: boolean;
7391
+ action: string;
6982
7392
  orgId?: string | undefined;
6983
7393
  deletedAt?: Date | undefined;
6984
7394
  diff?: unknown;
@@ -6988,12 +7398,12 @@ declare const SCHEMAS: {
6988
7398
  createdAt: Date;
6989
7399
  actorUserId: string;
6990
7400
  updatedAt: Date;
6991
- actingAsSystem: boolean;
6992
- action: string;
6993
7401
  target: {
6994
7402
  type: string;
6995
7403
  id: string;
6996
7404
  };
7405
+ actingAsSystem: boolean;
7406
+ action: string;
6997
7407
  orgId?: string | undefined;
6998
7408
  deletedAt?: Date | undefined;
6999
7409
  diff?: unknown;
@@ -7003,12 +7413,12 @@ declare const SCHEMAS: {
7003
7413
  createdAt: Date;
7004
7414
  actorUserId: string;
7005
7415
  updatedAt: Date;
7006
- actingAsSystem: boolean;
7007
- action: string;
7008
7416
  target: {
7009
7417
  type: string;
7010
7418
  id: string;
7011
7419
  };
7420
+ actingAsSystem: boolean;
7421
+ action: string;
7012
7422
  orgId?: string | undefined;
7013
7423
  deletedAt?: Date | undefined;
7014
7424
  diff?: unknown;
@@ -7022,12 +7432,12 @@ declare const SCHEMAS: {
7022
7432
  createdAt: Date;
7023
7433
  actorUserId: string;
7024
7434
  updatedAt: Date;
7025
- actingAsSystem: boolean;
7026
- action: string;
7027
7435
  target: {
7028
7436
  type: string;
7029
7437
  id: string;
7030
7438
  };
7439
+ actingAsSystem: boolean;
7440
+ action: string;
7031
7441
  orgId?: string | undefined;
7032
7442
  deletedAt?: Date | undefined;
7033
7443
  diff?: unknown;
@@ -7037,12 +7447,12 @@ declare const SCHEMAS: {
7037
7447
  createdAt: Date;
7038
7448
  actorUserId: string;
7039
7449
  updatedAt: Date;
7040
- actingAsSystem: boolean;
7041
- action: string;
7042
7450
  target: {
7043
7451
  type: string;
7044
7452
  id: string;
7045
7453
  };
7454
+ actingAsSystem: boolean;
7455
+ action: string;
7046
7456
  orgId?: string | undefined;
7047
7457
  deletedAt?: Date | undefined;
7048
7458
  diff?: unknown;
@@ -7052,12 +7462,12 @@ declare const SCHEMAS: {
7052
7462
  createdAt: Date;
7053
7463
  actorUserId: string;
7054
7464
  updatedAt: Date;
7055
- actingAsSystem: boolean;
7056
- action: string;
7057
7465
  target: {
7058
7466
  type: string;
7059
7467
  id: string;
7060
7468
  };
7469
+ actingAsSystem: boolean;
7470
+ action: string;
7061
7471
  orgId?: string | undefined;
7062
7472
  deletedAt?: Date | undefined;
7063
7473
  diff?: unknown;
@@ -7098,6 +7508,10 @@ declare const SCHEMAS: {
7098
7508
  tokens: number;
7099
7509
  costUsd: number;
7100
7510
  };
7511
+ captureWindow?: {
7512
+ start: Date;
7513
+ end: Date;
7514
+ } | undefined;
7101
7515
  endedAt?: Date | undefined;
7102
7516
  state?: unknown;
7103
7517
  }, mongoose.Model<{
@@ -7132,6 +7546,10 @@ declare const SCHEMAS: {
7132
7546
  tokens: number;
7133
7547
  costUsd: number;
7134
7548
  };
7549
+ captureWindow?: {
7550
+ start: Date;
7551
+ end: Date;
7552
+ } | undefined;
7135
7553
  endedAt?: Date | undefined;
7136
7554
  state?: unknown;
7137
7555
  }, any, any, any, mongoose.Document<unknown, any, {
@@ -7166,6 +7584,10 @@ declare const SCHEMAS: {
7166
7584
  tokens: number;
7167
7585
  costUsd: number;
7168
7586
  };
7587
+ captureWindow?: {
7588
+ start: Date;
7589
+ end: Date;
7590
+ } | undefined;
7169
7591
  endedAt?: Date | undefined;
7170
7592
  state?: unknown;
7171
7593
  }, any, {}> & {
@@ -7200,6 +7622,10 @@ declare const SCHEMAS: {
7200
7622
  tokens: number;
7201
7623
  costUsd: number;
7202
7624
  };
7625
+ captureWindow?: {
7626
+ start: Date;
7627
+ end: Date;
7628
+ } | undefined;
7203
7629
  endedAt?: Date | undefined;
7204
7630
  state?: unknown;
7205
7631
  } & Required<{
@@ -7238,6 +7664,10 @@ declare const SCHEMAS: {
7238
7664
  tokens: number;
7239
7665
  costUsd: number;
7240
7666
  };
7667
+ captureWindow?: {
7668
+ start: Date;
7669
+ end: Date;
7670
+ } | undefined;
7241
7671
  endedAt?: Date | undefined;
7242
7672
  state?: unknown;
7243
7673
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
@@ -7272,6 +7702,10 @@ declare const SCHEMAS: {
7272
7702
  tokens: number;
7273
7703
  costUsd: number;
7274
7704
  };
7705
+ captureWindow?: {
7706
+ start: Date;
7707
+ end: Date;
7708
+ } | undefined;
7275
7709
  endedAt?: Date | undefined;
7276
7710
  state?: unknown;
7277
7711
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
@@ -7306,6 +7740,10 @@ declare const SCHEMAS: {
7306
7740
  tokens: number;
7307
7741
  costUsd: number;
7308
7742
  };
7743
+ captureWindow?: {
7744
+ start: Date;
7745
+ end: Date;
7746
+ } | undefined;
7309
7747
  endedAt?: Date | undefined;
7310
7748
  state?: unknown;
7311
7749
  }> & Required<{
@@ -7354,8 +7792,8 @@ declare const SCHEMAS: {
7354
7792
  questionId: string;
7355
7793
  } | {
7356
7794
  kind: "hours_proposal";
7357
- minutes: number;
7358
7795
  note: string;
7796
+ minutes: number;
7359
7797
  } | {
7360
7798
  kind: "capture_thumb";
7361
7799
  captureId: string;
@@ -7401,8 +7839,8 @@ declare const SCHEMAS: {
7401
7839
  questionId: string;
7402
7840
  } | {
7403
7841
  kind: "hours_proposal";
7404
- minutes: number;
7405
7842
  note: string;
7843
+ minutes: number;
7406
7844
  } | {
7407
7845
  kind: "capture_thumb";
7408
7846
  captureId: string;
@@ -7448,8 +7886,8 @@ declare const SCHEMAS: {
7448
7886
  questionId: string;
7449
7887
  } | {
7450
7888
  kind: "hours_proposal";
7451
- minutes: number;
7452
7889
  note: string;
7890
+ minutes: number;
7453
7891
  } | {
7454
7892
  kind: "capture_thumb";
7455
7893
  captureId: string;
@@ -7495,8 +7933,8 @@ declare const SCHEMAS: {
7495
7933
  questionId: string;
7496
7934
  } | {
7497
7935
  kind: "hours_proposal";
7498
- minutes: number;
7499
7936
  note: string;
7937
+ minutes: number;
7500
7938
  } | {
7501
7939
  kind: "capture_thumb";
7502
7940
  captureId: string;
@@ -7546,8 +7984,8 @@ declare const SCHEMAS: {
7546
7984
  questionId: string;
7547
7985
  } | {
7548
7986
  kind: "hours_proposal";
7549
- minutes: number;
7550
7987
  note: string;
7988
+ minutes: number;
7551
7989
  } | {
7552
7990
  kind: "capture_thumb";
7553
7991
  captureId: string;
@@ -7593,8 +8031,8 @@ declare const SCHEMAS: {
7593
8031
  questionId: string;
7594
8032
  } | {
7595
8033
  kind: "hours_proposal";
7596
- minutes: number;
7597
8034
  note: string;
8035
+ minutes: number;
7598
8036
  } | {
7599
8037
  kind: "capture_thumb";
7600
8038
  captureId: string;
@@ -7640,8 +8078,8 @@ declare const SCHEMAS: {
7640
8078
  questionId: string;
7641
8079
  } | {
7642
8080
  kind: "hours_proposal";
7643
- minutes: number;
7644
8081
  note: string;
8082
+ minutes: number;
7645
8083
  } | {
7646
8084
  kind: "capture_thumb";
7647
8085
  captureId: string;
@@ -7654,7 +8092,6 @@ declare const SCHEMAS: {
7654
8092
  readonly captures: Schema<{
7655
8093
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7656
8094
  _id: mongoose.Types.ObjectId;
7657
- sessionId: mongoose.Types.ObjectId;
7658
8095
  orgId: string;
7659
8096
  createdAt: Date;
7660
8097
  url: string;
@@ -7670,7 +8107,13 @@ declare const SCHEMAS: {
7670
8107
  };
7671
8108
  sha256: string;
7672
8109
  domStatus: "ok" | "unavailable" | "truncated";
8110
+ attempts: number;
7673
8111
  error?: string | undefined;
8112
+ missionId?: mongoose.Types.ObjectId | undefined;
8113
+ taskId?: mongoose.Types.ObjectId | undefined;
8114
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8115
+ sessionId?: mongoose.Types.ObjectId | undefined;
8116
+ userId?: string | undefined;
7674
8117
  region?: {
7675
8118
  x: number;
7676
8119
  y: number;
@@ -7693,10 +8136,10 @@ declare const SCHEMAS: {
7693
8136
  lang?: string | undefined;
7694
8137
  } | undefined;
7695
8138
  analysis?: unknown;
8139
+ claimedAt?: Date | undefined;
7696
8140
  }, mongoose.Model<{
7697
8141
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7698
8142
  _id: mongoose.Types.ObjectId;
7699
- sessionId: mongoose.Types.ObjectId;
7700
8143
  orgId: string;
7701
8144
  createdAt: Date;
7702
8145
  url: string;
@@ -7712,7 +8155,13 @@ declare const SCHEMAS: {
7712
8155
  };
7713
8156
  sha256: string;
7714
8157
  domStatus: "ok" | "unavailable" | "truncated";
8158
+ attempts: number;
7715
8159
  error?: string | undefined;
8160
+ missionId?: mongoose.Types.ObjectId | undefined;
8161
+ taskId?: mongoose.Types.ObjectId | undefined;
8162
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8163
+ sessionId?: mongoose.Types.ObjectId | undefined;
8164
+ userId?: string | undefined;
7716
8165
  region?: {
7717
8166
  x: number;
7718
8167
  y: number;
@@ -7735,10 +8184,10 @@ declare const SCHEMAS: {
7735
8184
  lang?: string | undefined;
7736
8185
  } | undefined;
7737
8186
  analysis?: unknown;
8187
+ claimedAt?: Date | undefined;
7738
8188
  }, any, any, any, mongoose.Document<unknown, any, {
7739
8189
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7740
8190
  _id: mongoose.Types.ObjectId;
7741
- sessionId: mongoose.Types.ObjectId;
7742
8191
  orgId: string;
7743
8192
  createdAt: Date;
7744
8193
  url: string;
@@ -7754,7 +8203,13 @@ declare const SCHEMAS: {
7754
8203
  };
7755
8204
  sha256: string;
7756
8205
  domStatus: "ok" | "unavailable" | "truncated";
8206
+ attempts: number;
7757
8207
  error?: string | undefined;
8208
+ missionId?: mongoose.Types.ObjectId | undefined;
8209
+ taskId?: mongoose.Types.ObjectId | undefined;
8210
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8211
+ sessionId?: mongoose.Types.ObjectId | undefined;
8212
+ userId?: string | undefined;
7758
8213
  region?: {
7759
8214
  x: number;
7760
8215
  y: number;
@@ -7777,10 +8232,10 @@ declare const SCHEMAS: {
7777
8232
  lang?: string | undefined;
7778
8233
  } | undefined;
7779
8234
  analysis?: unknown;
8235
+ claimedAt?: Date | undefined;
7780
8236
  }, any, {}> & {
7781
8237
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7782
8238
  _id: mongoose.Types.ObjectId;
7783
- sessionId: mongoose.Types.ObjectId;
7784
8239
  orgId: string;
7785
8240
  createdAt: Date;
7786
8241
  url: string;
@@ -7796,7 +8251,13 @@ declare const SCHEMAS: {
7796
8251
  };
7797
8252
  sha256: string;
7798
8253
  domStatus: "ok" | "unavailable" | "truncated";
8254
+ attempts: number;
7799
8255
  error?: string | undefined;
8256
+ missionId?: mongoose.Types.ObjectId | undefined;
8257
+ taskId?: mongoose.Types.ObjectId | undefined;
8258
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8259
+ sessionId?: mongoose.Types.ObjectId | undefined;
8260
+ userId?: string | undefined;
7800
8261
  region?: {
7801
8262
  x: number;
7802
8263
  y: number;
@@ -7819,6 +8280,7 @@ declare const SCHEMAS: {
7819
8280
  lang?: string | undefined;
7820
8281
  } | undefined;
7821
8282
  analysis?: unknown;
8283
+ claimedAt?: Date | undefined;
7822
8284
  } & Required<{
7823
8285
  _id: mongoose.Types.ObjectId;
7824
8286
  }> & {
@@ -7826,7 +8288,6 @@ declare const SCHEMAS: {
7826
8288
  }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, {
7827
8289
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7828
8290
  _id: mongoose.Types.ObjectId;
7829
- sessionId: mongoose.Types.ObjectId;
7830
8291
  orgId: string;
7831
8292
  createdAt: Date;
7832
8293
  url: string;
@@ -7842,7 +8303,13 @@ declare const SCHEMAS: {
7842
8303
  };
7843
8304
  sha256: string;
7844
8305
  domStatus: "ok" | "unavailable" | "truncated";
8306
+ attempts: number;
7845
8307
  error?: string | undefined;
8308
+ missionId?: mongoose.Types.ObjectId | undefined;
8309
+ taskId?: mongoose.Types.ObjectId | undefined;
8310
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8311
+ sessionId?: mongoose.Types.ObjectId | undefined;
8312
+ userId?: string | undefined;
7846
8313
  region?: {
7847
8314
  x: number;
7848
8315
  y: number;
@@ -7865,10 +8332,10 @@ declare const SCHEMAS: {
7865
8332
  lang?: string | undefined;
7866
8333
  } | undefined;
7867
8334
  analysis?: unknown;
8335
+ claimedAt?: Date | undefined;
7868
8336
  }, mongoose.Document<unknown, {}, mongoose.FlatRecord<{
7869
8337
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7870
8338
  _id: mongoose.Types.ObjectId;
7871
- sessionId: mongoose.Types.ObjectId;
7872
8339
  orgId: string;
7873
8340
  createdAt: Date;
7874
8341
  url: string;
@@ -7884,7 +8351,13 @@ declare const SCHEMAS: {
7884
8351
  };
7885
8352
  sha256: string;
7886
8353
  domStatus: "ok" | "unavailable" | "truncated";
8354
+ attempts: number;
7887
8355
  error?: string | undefined;
8356
+ missionId?: mongoose.Types.ObjectId | undefined;
8357
+ taskId?: mongoose.Types.ObjectId | undefined;
8358
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8359
+ sessionId?: mongoose.Types.ObjectId | undefined;
8360
+ userId?: string | undefined;
7888
8361
  region?: {
7889
8362
  x: number;
7890
8363
  y: number;
@@ -7907,10 +8380,10 @@ declare const SCHEMAS: {
7907
8380
  lang?: string | undefined;
7908
8381
  } | undefined;
7909
8382
  analysis?: unknown;
8383
+ claimedAt?: Date | undefined;
7910
8384
  }>, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord<{
7911
8385
  status: "failed" | "uploaded" | "analyzing" | "analyzed" | "expired";
7912
8386
  _id: mongoose.Types.ObjectId;
7913
- sessionId: mongoose.Types.ObjectId;
7914
8387
  orgId: string;
7915
8388
  createdAt: Date;
7916
8389
  url: string;
@@ -7926,7 +8399,13 @@ declare const SCHEMAS: {
7926
8399
  };
7927
8400
  sha256: string;
7928
8401
  domStatus: "ok" | "unavailable" | "truncated";
8402
+ attempts: number;
7929
8403
  error?: string | undefined;
8404
+ missionId?: mongoose.Types.ObjectId | undefined;
8405
+ taskId?: mongoose.Types.ObjectId | undefined;
8406
+ assignmentId?: mongoose.Types.ObjectId | undefined;
8407
+ sessionId?: mongoose.Types.ObjectId | undefined;
8408
+ userId?: string | undefined;
7930
8409
  region?: {
7931
8410
  x: number;
7932
8411
  y: number;
@@ -7949,6 +8428,7 @@ declare const SCHEMAS: {
7949
8428
  lang?: string | undefined;
7950
8429
  } | undefined;
7951
8430
  analysis?: unknown;
8431
+ claimedAt?: Date | undefined;
7952
8432
  }> & Required<{
7953
8433
  _id: mongoose.Types.ObjectId;
7954
8434
  }> & {
@@ -7958,7 +8438,7 @@ declare const SCHEMAS: {
7958
8438
  _id: mongoose.Types.ObjectId;
7959
8439
  createdAt: Date;
7960
8440
  updatedAt: Date;
7961
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8441
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
7962
8442
  capability: "plan" | "vision_extract" | "judge" | "chat";
7963
8443
  provider: "gemini" | "anthropic" | "openai";
7964
8444
  model: string;
@@ -7979,7 +8459,7 @@ declare const SCHEMAS: {
7979
8459
  _id: mongoose.Types.ObjectId;
7980
8460
  createdAt: Date;
7981
8461
  updatedAt: Date;
7982
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8462
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
7983
8463
  capability: "plan" | "vision_extract" | "judge" | "chat";
7984
8464
  provider: "gemini" | "anthropic" | "openai";
7985
8465
  model: string;
@@ -8000,7 +8480,7 @@ declare const SCHEMAS: {
8000
8480
  _id: mongoose.Types.ObjectId;
8001
8481
  createdAt: Date;
8002
8482
  updatedAt: Date;
8003
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8483
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8004
8484
  capability: "plan" | "vision_extract" | "judge" | "chat";
8005
8485
  provider: "gemini" | "anthropic" | "openai";
8006
8486
  model: string;
@@ -8021,7 +8501,7 @@ declare const SCHEMAS: {
8021
8501
  _id: mongoose.Types.ObjectId;
8022
8502
  createdAt: Date;
8023
8503
  updatedAt: Date;
8024
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8504
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8025
8505
  capability: "plan" | "vision_extract" | "judge" | "chat";
8026
8506
  provider: "gemini" | "anthropic" | "openai";
8027
8507
  model: string;
@@ -8046,7 +8526,7 @@ declare const SCHEMAS: {
8046
8526
  _id: mongoose.Types.ObjectId;
8047
8527
  createdAt: Date;
8048
8528
  updatedAt: Date;
8049
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8529
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8050
8530
  capability: "plan" | "vision_extract" | "judge" | "chat";
8051
8531
  provider: "gemini" | "anthropic" | "openai";
8052
8532
  model: string;
@@ -8067,7 +8547,7 @@ declare const SCHEMAS: {
8067
8547
  _id: mongoose.Types.ObjectId;
8068
8548
  createdAt: Date;
8069
8549
  updatedAt: Date;
8070
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8550
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8071
8551
  capability: "plan" | "vision_extract" | "judge" | "chat";
8072
8552
  provider: "gemini" | "anthropic" | "openai";
8073
8553
  model: string;
@@ -8088,7 +8568,7 @@ declare const SCHEMAS: {
8088
8568
  _id: mongoose.Types.ObjectId;
8089
8569
  createdAt: Date;
8090
8570
  updatedAt: Date;
8091
- outcome: "ok" | "invalid_output" | "timeout" | "rate_limited" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8571
+ outcome: "rate_limited" | "ok" | "invalid_output" | "timeout" | "server_error" | "safety_block" | "budget_exceeded" | "breaker_open" | "auth_error";
8092
8572
  capability: "plan" | "vision_extract" | "judge" | "chat";
8093
8573
  provider: "gemini" | "anthropic" | "openai";
8094
8574
  model: string;
@@ -8188,4 +8668,4 @@ type HarvesterModels = {
8188
8668
  */
8189
8669
  declare function registerModels(conn: Connection): HarvesterModels;
8190
8670
 
8191
- export { type AgentMessageDoc, type AgentMessageModel, type AgentSessionDoc, type AgentSessionModel, type AnalystProfileDoc, type AnalystProfileModel, type AssigneeLoadDoc, type AssigneeLoadModel, type AssignmentDoc, type AssignmentModel, type AuditLogDoc, type AuditLogModel, type CaptureDoc, type CaptureModel, CollectionName, type DataItemDoc, type DataItemModel, type DatabaseDoc, type DatabaseModel, type DeploymentDoc, type DeploymentModel, type HarvesterModels, type HoursLogDoc, type HoursLogModel, INDEXES, type IndexSpec, type LlmCallDoc, type LlmCallModel, MODEL_NAMES, type MissionDoc, type MissionModel, type ModelName, NOT_SOFT_DELETED_FILTER, type ObjectIdArrayKey, type ObjectIdKey, type OrgSettingsDoc, type OrgSettingsModel, SCHEMAS, type ScoutProfileDoc, type ScoutProfileModel, type ScoutRatingDoc, type ScoutRatingModel, type ScraperDoc, type ScraperMetricDoc, type ScraperMetricModel, type ScraperModel, type SourceDoc, type SourceImportDoc, type SourceImportModel, type SourceModel, TASK_VERSION_HOOK_OPS, type TaskDoc, type TaskModel, type ToDoc, agentMessageSchema, agentSessionBudgetSchema, agentSessionSchema, agentSessionStatsSchema, analystProfileSchema, applyIndexes, assigneeLoadSchema, assignmentSchema, auditLogSchema, auditTargetSchema, availabilityWindowSchema, blobRefSchema, captureDomSummarySchema, captureRegionSchema, captureSchema, collectorSchema, coverageWindowSchema, dataItemContentSchema, dataItemEntitySchema, dataItemSchema, databaseSchema, deploymentSchema, deploymentStepSchema, discoveredBySchema, geoSchema, hoursLogSchema, incrementTaskVersion, llmCallSchema, llmUsageSchema, missionSchema, objectIdsToStrings, orgSettingsSchema, platformAccessSchema, ratingSummarySchema, registerModels, scoutProfileSchema, scoutRatingSchema, scraperMetricSchema, scraperSchema, sourceImportRowErrorSchema, sourceImportSchema, sourceImportSummarySchema, sourceRatingSchema, sourceSchema, specialAccessSchema, systemRecommendationSchema, taskCriteriaSchema, taskSchema, toJSONOptions };
8671
+ export { type AgentMessageDoc, type AgentMessageModel, type AgentSessionDoc, type AgentSessionModel, type AnalystProfileDoc, type AnalystProfileModel, type AssigneeLoadDoc, type AssigneeLoadModel, type AssignmentDoc, type AssignmentModel, type AuditLogDoc, type AuditLogModel, type CaptureDoc, type CaptureModel, CollectionName, type DataItemDoc, type DataItemModel, type DatabaseDoc, type DatabaseModel, type DeploymentDoc, type DeploymentModel, type HarvesterModels, type HoursLogDoc, type HoursLogModel, INDEXES, type IndexSpec, type LlmCallDoc, type LlmCallModel, MODEL_NAMES, type MissionDoc, type MissionModel, type ModelName, NOT_SOFT_DELETED_FILTER, type ObjectIdArrayKey, type ObjectIdKey, type OrgSettingsDoc, type OrgSettingsModel, SCHEMAS, type ScoutProfileDoc, type ScoutProfileModel, type ScoutRatingDoc, type ScoutRatingModel, type ScraperDoc, type ScraperMetricDoc, type ScraperMetricModel, type ScraperModel, type SourceDoc, type SourceImportDoc, type SourceImportModel, type SourceModel, TASK_VERSION_HOOK_OPS, type TaskDoc, type TaskModel, type ToDoc, agentMessageSchema, agentSessionBudgetSchema, agentSessionSchema, agentSessionStatsSchema, analystProfileSchema, applyIndexes, assigneeLoadSchema, assignmentSchema, auditLogSchema, auditTargetSchema, availabilityWindowSchema, blobRefSchema, captureDomSummarySchema, captureRegionSchema, captureSchema, captureWindowSchema, collectorSchema, coverageWindowSchema, dataItemContentSchema, dataItemEntitySchema, dataItemSchema, databaseSchema, deploymentSchema, deploymentStepSchema, discoveredBySchema, geoSchema, hoursLogSchema, incrementTaskVersion, llmCallSchema, llmUsageSchema, missionSchema, objectIdsToStrings, orgSettingsSchema, platformAccessSchema, ratingSummarySchema, registerModels, scoutProfileSchema, scoutRatingSchema, scraperMetricSchema, scraperSchema, sourceImportRowErrorSchema, sourceImportSchema, sourceImportSummarySchema, sourceRatingSchema, sourceSchema, specialAccessSchema, systemRecommendationSchema, taskCriteriaSchema, taskSchema, taskTargetSchema, toJSONOptions };