@badger_badger/badger_hq 1.6.0 → 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.
package/dist/index.d.cts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
- export { A as ACCESS_ISSUE_VALUES, a as AGENT_CARD_KIND_VALUES, b as AGENT_MESSAGE_KIND_VALUES, c as AGENT_MESSAGE_ROLE_VALUES, d as AGENT_SESSION_MODE_VALUES, e as AGENT_SESSION_STATUS_VALUES, f as AGENT_SOURCE_OUTCOME_VALUES, g as ASSIGNEE_TYPE_VALUES, h as ASSIGNMENT_SOURCE_VALUES, i as ASSIGNMENT_STATUS_VALUES, j as AccessIssue, k as AgentCard, l as AgentCardKind, m as AgentCardSchema, n as AgentMessage, o as AgentMessageCreate, p as AgentMessageCreateInput, q as AgentMessageCreateSchema, r as AgentMessageKind, s as AgentMessageRole, t as AgentMessageSchema, u as AgentSession, v as AgentSessionBudget, w as AgentSessionBudgetSchema, x as AgentSessionCreate, y as AgentSessionCreateInput, z as AgentSessionCreateSchema, B as AgentSessionMode, C as AgentSessionSchema, D as AgentSessionStats, E as AgentSessionStatsSchema, F as AgentSessionStatus, G as AgentSessionUpdate, H as AgentSessionUpdateSchema, I as AgentSourceOutcome, J as AnalystProfile, K as AnalystProfileSchema, L as AnalystProfileUpdate, M as AnalystProfileUpdateInput, N as AnalystProfileUpdateSchema, O as AssigneeLoad, P as AssigneeLoadSchema, Q as AssigneeType, R as Assignment, S as AssignmentCreate, T as AssignmentCreateInput, U as AssignmentCreateSchema, V as AssignmentSchema, W as AssignmentSource, X as AssignmentStatus, Y as AssignmentUpdate, Z as AssignmentUpdateSchema, _ as AuditLog, $ as AuditLogCreate, a0 as AuditLogCreateSchema, a1 as AuditLogSchema, a2 as AuditLogUpdate, a3 as AuditLogUpdateSchema, a4 as AuditTarget, a5 as AuditTargetSchema, a6 as BlobRef, a7 as BlobRefSchema, a8 as CAPTURE_DOM_STATUS_VALUES, a9 as CAPTURE_STATUS_VALUES, aa as CAPTURE_WINDOW_MODE_VALUES, ab as COLLECTIONS, ac as COLLECTOR_TYPE_VALUES, ad as Capture, ae as CaptureCreate, af as CaptureCreateInput, ag as CaptureCreateSchema, ah as CaptureDomSnapshot, ai as CaptureDomSnapshotSchema, aj as CaptureDomStatus, ak as CaptureDomSummary, al as CaptureDomSummarySchema, am as CapturePromptCardSchema, an as CaptureRegion, ao as CaptureRegionSchema, ap as CaptureSchema, aq as CaptureStatus, ar as CaptureThumbCardSchema, as as CaptureWindowMode, at as CollectionName, au as Collector, av as CollectorSchema, aw as CollectorType, ax as ConnectionString, ay as DATABASE_COLLECTION_VALUES, az as DATABASE_STATUS_VALUES, aA as DEFAULT_ANALYST_TASK_LIMIT, aB as DEFAULT_SCOUT_TASK_LIMIT, aC as DEPLOYMENT_KIND_VALUES, aD as DEPLOYMENT_STATUS_VALUES, aE as DISCOVERED_BY_TYPE_VALUES, aF as DataItem, aG as DataItemContent, aH as DataItemContentSchema, aI as DataItemCreate, aJ as DataItemCreateInput, aK as DataItemCreateSchema, aL as DataItemEntity, aM as DataItemEntitySchema, aN as DataItemSchema, aO as DataItemUpdate, aP as DataItemUpdateSchema, aQ as Database, aR as DatabaseCollection, aS as DatabaseCreate, aT as DatabaseCreateInput, aU as DatabaseCreateSchema, aV as DatabaseName, aW as DatabaseSchema, aX as DatabaseStatus, aY as DatabaseUpdate, aZ as DatabaseUpdateSchema, a_ as Deployment, a$ as DeploymentCreate, b0 as DeploymentCreateSchema, b1 as DeploymentKind, b2 as DeploymentSchema, b3 as DeploymentStatus, b4 as DeploymentStep, b5 as DeploymentStepSchema, b6 as DeploymentUpdate, b7 as DeploymentUpdateSchema, b8 as DiscoveredBy, b9 as DiscoveredBySchema, ba as DiscoveredByType, bb as DomBlock, bc as DomBlockSchema, bd as DomLink, be as DomLinkSchema, bf as DomRect, bg as DomRectSchema, bh as Email, bi as GLOBAL_LOAD_SCOPE, bj as Geo, bk as GeoSchema, bl as HOURS_LOG_SOURCE_VALUES, bm as HoursLog, bn as HoursLogCreate, bo as HoursLogCreateSchema, bp as HoursLogSchema, bq as HoursLogSource, br as HoursLogUpdate, bs as HoursLogUpdateSchema, bt as HoursProposalCardSchema, bu as ItemResultCardSchema, bv as LLM_CAPABILITY_VALUES, bw as LLM_OUTCOME_VALUES, bx as LLM_PROVIDER_VALUES, by as LlmCall, bz as LlmCallCreate, bA as LlmCallCreateInput, bB as LlmCallCreateSchema, bC as LlmCallSchema, bD as LlmCapability, bE as LlmOutcome, bF as LlmProvider, bG as LlmUsage, bH as LlmUsageSchema, bI as LoadScope, bJ as MAX_AGENT_MESSAGE_TEXT_LENGTH, bK as MAX_RATING_COMMENT_LENGTH, bL as MAX_SOURCE_IMPORT_ROW_ERRORS, bM as MISSION_PRIORITY_VALUES, bN as MISSION_STATUS_VALUES, bO as Mission, bP as MissionCreate, bQ as MissionCreateInput, bR as MissionCreateSchema, bS as MissionPriority, bT as MissionSchema, bU as MissionStatus, bV as MissionUpdate, bW as MissionUpdateSchema, bX as OpenLinkCardSchema, bY as OrgSettings, bZ as OrgSettingsSchema, b_ as OrgSettingsUpdate, b$ as OrgSettingsUpdateSchema, c0 as PLATFORM_VALUES, c1 as Platform, c2 as QuickRepliesCardSchema, c3 as QuickReplyOption, c4 as QuickReplyOptionSchema, c5 as RATER_TYPE_VALUES, c6 as REGION_MODE_VALUES, c7 as RaterType, c8 as RatingScore, c9 as RatingSummary, ca as RatingSummarySchema, cb as RegionMode, cc as SCOUT_STATUS_VALUES, cd as SCRAPER_STATUS_VALUES, ce as SOURCE_ACCESS_VALUES, cf as SOURCE_IMPORT_KIND_VALUES, cg as SOURCE_IMPORT_STATUS_VALUES, ch as SOURCE_INTAKE_OUTCOME_VALUES, ci as SOURCE_ROUTE_VALUES, cj as SOURCE_STATUS_VALUES, ck as SOURCE_TYPE_VALUES, cl as ScoutProfile, cm as ScoutProfileCreate, cn as ScoutProfileCreateInput, co as ScoutProfileCreateSchema, cp as ScoutProfileSchema, cq as ScoutProfileUpdate, cr as ScoutProfileUpdateInput, cs as ScoutProfileUpdateSchema, ct as ScoutRating, cu as ScoutRatingInput, cv as ScoutRatingInputSchema, cw as ScoutRatingSchema, cx as ScoutSelfUpdate, cy as ScoutSelfUpdateSchema, cz as ScoutStatus, cA as Scraper, cB as ScraperCreate, cC as ScraperCreateSchema, cD as ScraperMetric, cE as ScraperMetricCreate, cF as ScraperMetricCreateSchema, cG as ScraperMetricSchema, cH as ScraperMetricUpdate, cI as ScraperMetricUpdateSchema, cJ as ScraperSchema, cK as ScraperStatus, cL as ScraperUpdate, cM as ScraperUpdateSchema, cN as Source, cO as SourceAccess, cP as SourceCreate, cQ as SourceCreateInput, cR as SourceCreateSchema, cS as SourceImport, cT as SourceImportCreate, cU as SourceImportCreateSchema, cV as SourceImportKind, cW as SourceImportRowError, cX as SourceImportRowErrorSchema, cY as SourceImportSchema, cZ as SourceImportStatus, c_ as SourceImportSummary, c$ as SourceImportSummarySchema, d0 as SourceImportUpdate, d1 as SourceImportUpdateSchema, d2 as SourceIntakeOutcome, d3 as SourceRating, d4 as SourceRatingSchema, d5 as SourceResultCardSchema, d6 as SourceRoute, d7 as SourceSchema, d8 as SourceStatus, d9 as SourceType, da as SourceUpdate, db as SourceUpdateSchema, dc as SystemRecommendation, dd as SystemRecommendationInput, de as SystemRecommendationInputSchema, df as SystemRecommendationSchema, dg as TASK_KIND_VALUES, dh as TASK_ORIGIN_VALUES, di as TASK_STATUS_VALUES, dj as Task, dk as TaskCreate, dl as TaskCreateInput, dm as TaskCreateSchema, dn as TaskKind, dp as TaskOrigin, dq as TaskSchema, dr as TaskStatus, ds as TaskUpdate, dt as TaskUpdateSchema, du as VETTING_STATUS_VALUES, dv as VettingStatus } from './agent-session-oZI9RyQ_.cjs';
2
+ import { M as MissionPriority, S as SourceStatus } from './agent-session-BKq7mARI.cjs';
3
+ export { A as ACCESS_ISSUE_VALUES, a as AGENT_CARD_KIND_VALUES, b as AGENT_MESSAGE_KIND_VALUES, c as AGENT_MESSAGE_ROLE_VALUES, d as AGENT_SESSION_MODE_VALUES, e as AGENT_SESSION_STATUS_VALUES, f as AGENT_SOURCE_OUTCOME_VALUES, g as ASSIGNEE_TYPE_VALUES, h as ASSIGNMENT_SOURCE_VALUES, i as ASSIGNMENT_STATUS_VALUES, j as AccessIssue, k as AgentCard, l as AgentCardKind, m as AgentCardSchema, n as AgentMessage, o as AgentMessageCreate, p as AgentMessageCreateInput, q as AgentMessageCreateSchema, r as AgentMessageKind, s as AgentMessageRole, t as AgentMessageSchema, u as AgentSession, v as AgentSessionBudget, w as AgentSessionBudgetSchema, x as AgentSessionCreate, y as AgentSessionCreateInput, z as AgentSessionCreateSchema, B as AgentSessionMode, C as AgentSessionSchema, D as AgentSessionStats, E as AgentSessionStatsSchema, F as AgentSessionStatus, G as AgentSessionUpdate, H as AgentSessionUpdateSchema, I as AgentSourceOutcome, J as AnalystProfile, K as AnalystProfileSchema, L as AnalystProfileUpdate, N as AnalystProfileUpdateInput, O as AnalystProfileUpdateSchema, P as AssigneeLoad, Q as AssigneeLoadSchema, R as AssigneeType, T as Assignment, U as AssignmentCreate, V as AssignmentCreateInput, W as AssignmentCreateSchema, X as AssignmentSchema, Y as AssignmentSource, Z as AssignmentStatus, _ as AssignmentUpdate, $ as AssignmentUpdateSchema, a0 as AuditLog, a1 as AuditLogCreate, a2 as AuditLogCreateSchema, a3 as AuditLogSchema, a4 as AuditLogUpdate, a5 as AuditLogUpdateSchema, a6 as AuditTarget, a7 as AuditTargetSchema, a8 as BlobRef, a9 as BlobRefSchema, aa as CAPTURE_DOM_STATUS_VALUES, ab as CAPTURE_STATUS_VALUES, ac as CAPTURE_WINDOW_MODE_VALUES, ad as COLLECTIONS, ae as COLLECTOR_TYPE_VALUES, af as Capture, ag as CaptureCreate, ah as CaptureCreateInput, ai as CaptureCreateSchema, aj as CaptureDomSnapshot, ak as CaptureDomSnapshotSchema, al as CaptureDomStatus, am as CaptureDomSummary, an as CaptureDomSummarySchema, ao as CapturePromptCardSchema, ap as CaptureRegion, aq as CaptureRegionSchema, ar as CaptureSchema, as as CaptureStatus, at as CaptureThumbCardSchema, au as CaptureWindowMode, av as CollectionName, aw as Collector, ax as CollectorSchema, ay as CollectorType, az as ConnectionString, aA as DATABASE_COLLECTION_VALUES, aB as DATABASE_STATUS_VALUES, aC as DEFAULT_ANALYST_TASK_LIMIT, aD as DEFAULT_SCOUT_TASK_LIMIT, aE as DEPLOYMENT_KIND_VALUES, aF as DEPLOYMENT_STATUS_VALUES, aG as DISCOVERED_BY_TYPE_VALUES, aH as DataItem, aI as DataItemContent, aJ as DataItemContentSchema, aK as DataItemCreate, aL as DataItemCreateInput, aM as DataItemCreateSchema, aN as DataItemEntity, aO as DataItemEntitySchema, aP as DataItemSchema, aQ as DataItemUpdate, aR as DataItemUpdateSchema, aS as Database, aT as DatabaseCollection, aU as DatabaseCreate, aV as DatabaseCreateInput, aW as DatabaseCreateSchema, aX as DatabaseName, aY as DatabaseSchema, aZ as DatabaseStatus, a_ as DatabaseUpdate, a$ as DatabaseUpdateSchema, b0 as Deployment, b1 as DeploymentCreate, b2 as DeploymentCreateSchema, b3 as DeploymentKind, b4 as DeploymentSchema, b5 as DeploymentStatus, b6 as DeploymentStep, b7 as DeploymentStepSchema, b8 as DeploymentUpdate, b9 as DeploymentUpdateSchema, ba as DiscoveredBy, bb as DiscoveredBySchema, bc as DiscoveredByType, bd as DomBlock, be as DomBlockSchema, bf as DomLink, bg as DomLinkSchema, bh as DomRect, bi as DomRectSchema, bj as Email, bk as GLOBAL_LOAD_SCOPE, bl as Geo, bm as GeoSchema, bn as HOURS_LOG_SOURCE_VALUES, bo as HoursLog, bp as HoursLogCreate, bq as HoursLogCreateSchema, br as HoursLogSchema, bs as HoursLogSource, bt as HoursLogUpdate, bu as HoursLogUpdateSchema, bv as HoursProposalCardSchema, bw as ItemResultCardSchema, bx as LLM_CAPABILITY_VALUES, by as LLM_OUTCOME_VALUES, bz as LLM_PROVIDER_VALUES, bA as LlmCall, bB as LlmCallCreate, bC as LlmCallCreateInput, bD as LlmCallCreateSchema, bE as LlmCallSchema, bF as LlmCapability, bG as LlmOutcome, bH as LlmProvider, bI as LlmUsage, bJ as LlmUsageSchema, bK as LoadScope, bL as MAX_AGENT_MESSAGE_TEXT_LENGTH, bM as MAX_RATING_COMMENT_LENGTH, bN as MAX_SOURCE_IMPORT_ROW_ERRORS, bO as MISSION_PRIORITY_VALUES, bP as MISSION_STATUS_VALUES, bQ as Mission, bR as MissionCreate, bS as MissionCreateInput, bT as MissionCreateSchema, bU as MissionSchema, bV as MissionStatus, bW as MissionUpdate, bX as MissionUpdateSchema, bY as OpenLinkCardSchema, bZ as OrgSettings, b_ as OrgSettingsSchema, b$ as OrgSettingsUpdate, c0 as OrgSettingsUpdateSchema, c1 as PLATFORM_VALUES, c2 as Platform, c3 as QuickRepliesCardSchema, c4 as QuickReplyOption, c5 as QuickReplyOptionSchema, c6 as RATER_TYPE_VALUES, c7 as REGION_MODE_VALUES, c8 as RaterType, c9 as RatingScore, ca as RatingSummary, cb as RatingSummarySchema, cc as RegionMode, cd as SCOUT_STATUS_VALUES, ce as SCRAPER_STATUS_VALUES, cf as SOURCE_ACCESS_VALUES, cg as SOURCE_IMPORT_KIND_VALUES, ch as SOURCE_IMPORT_STATUS_VALUES, ci as SOURCE_INTAKE_OUTCOME_VALUES, cj as SOURCE_ROUTE_VALUES, ck as SOURCE_STATUS_VALUES, cl as SOURCE_TYPE_VALUES, cm as ScoutProfile, cn as ScoutProfileCreate, co as ScoutProfileCreateInput, cp as ScoutProfileCreateSchema, cq as ScoutProfileSchema, cr as ScoutProfileUpdate, cs as ScoutProfileUpdateInput, ct as ScoutProfileUpdateSchema, cu as ScoutRating, cv as ScoutRatingInput, cw as ScoutRatingInputSchema, cx as ScoutRatingSchema, cy as ScoutSelfUpdate, cz as ScoutSelfUpdateSchema, cA as ScoutStatus, cB as Scraper, cC as ScraperCreate, cD as ScraperCreateSchema, cE as ScraperMetric, cF as ScraperMetricCreate, cG as ScraperMetricCreateSchema, cH as ScraperMetricSchema, cI as ScraperMetricUpdate, cJ as ScraperMetricUpdateSchema, cK as ScraperSchema, cL as ScraperStatus, cM as ScraperUpdate, cN as ScraperUpdateSchema, cO as Source, cP as SourceAccess, cQ as SourceCreate, cR as SourceCreateInput, cS as SourceCreateSchema, cT as SourceImport, cU as SourceImportCreate, cV as SourceImportCreateSchema, cW as SourceImportKind, cX as SourceImportRowError, cY as SourceImportRowErrorSchema, cZ as SourceImportSchema, c_ as SourceImportStatus, c$ as SourceImportSummary, d0 as SourceImportSummarySchema, d1 as SourceImportUpdate, d2 as SourceImportUpdateSchema, d3 as SourceIntakeOutcome, d4 as SourceRating, d5 as SourceRatingSchema, d6 as SourceResultCardSchema, d7 as SourceRoute, d8 as SourceSchema, d9 as SourceType, da as SourceUpdate, db as SourceUpdateSchema, dc as SystemRecommendation, dd as SystemRecommendationInput, de as SystemRecommendationInputSchema, df as SystemRecommendationSchema, dg as TASK_KIND_VALUES, dh as TASK_ORIGIN_VALUES, di as TASK_STATUS_VALUES, dj as Task, dk as TaskCreate, dl as TaskCreateInput, dm as TaskCreateSchema, dn as TaskKind, dp as TaskOrigin, dq as TaskSchema, dr as TaskStatus, ds as TaskUpdate, dt as TaskUpdateSchema, du as VETTING_STATUS_VALUES, dv as VettingStatus } from './agent-session-BKq7mARI.cjs';
3
4
 
4
5
  /** 24-char hex string: the wire representation of a Mongo ObjectId. */
5
6
  declare const ObjectIdString: z.ZodString;
@@ -105,6 +106,60 @@ declare const ApiErrorSchema: z.ZodObject<{
105
106
  }>;
106
107
  type ApiError = z.infer<typeof ApiErrorSchema>;
107
108
 
109
+ /** Bounds of a source's visit interval, whatever the urgency. */
110
+ declare const VISIT_INTERVAL_MIN_MS: number;
111
+ declare const VISIT_INTERVAL_MAX_MS: number;
112
+ /**
113
+ * How current urgency scales a source's base visit interval. Applied when the due time is
114
+ * read, not when the visit is recorded, so raising a mission's priority or switching a task
115
+ * to emergency brings every source's next visit forward at once. Factors multiply.
116
+ */
117
+ declare const URGENCY_FACTOR: {
118
+ readonly emergency: 0.5;
119
+ readonly missionPriority: {
120
+ critical: number;
121
+ high: number;
122
+ medium: number;
123
+ low: number;
124
+ };
125
+ };
126
+ type SourceScheduleFields = {
127
+ status?: SourceStatus;
128
+ lastCollectedAt?: Date | null;
129
+ nextVisitAt?: Date | null;
130
+ /** The activity-based wait set by the last visit, before urgency. */
131
+ visitIntervalMs?: number | null;
132
+ };
133
+ type ScheduleUrgency = {
134
+ emergency: boolean;
135
+ missionPriority?: MissionPriority | undefined;
136
+ };
137
+ declare const OverdueLevelSchema: z.ZodEnum<["none", "late", "missed"]>;
138
+ type OverdueLevel = z.infer<typeof OverdueLevelSchema>;
139
+ /**
140
+ * The source's last known interval: stored, else derived from its last schedule, else none.
141
+ * A derived interval already includes the urgency of its visit; use `effectiveInterval` for
142
+ * the interval under current urgency.
143
+ */
144
+ declare function baseVisitInterval(source: SourceScheduleFields): number | undefined;
145
+ declare function urgencyFactor(urgency: ScheduleUrgency): number;
146
+ declare function clampInterval(ms: number): number;
147
+ /**
148
+ * The source's visit interval under current urgency, clamped; `undefined` when unknown. A
149
+ * derived interval (no `visitIntervalMs`) is used as it was scheduled, not scaled again.
150
+ */
151
+ declare function effectiveInterval(source: SourceScheduleFields, urgency: ScheduleUrgency): number | undefined;
152
+ /**
153
+ * When the source should be captured again, under the urgency as it is now. `undefined` for a
154
+ * source parked on an access problem (an analyst reviews it); `now` when it was never visited.
155
+ */
156
+ declare function effectiveDueAt(source: SourceScheduleFields, urgency: ScheduleUrgency, now?: Date): Date | undefined;
157
+ /**
158
+ * How late a due source is: `late` once past due, `missed` when more than one full interval
159
+ * (under current urgency) has gone by since it was due.
160
+ */
161
+ declare function overdueLevel(dueAt: Date | undefined, intervalMs: number | undefined, now?: Date): OverdueLevel;
162
+
108
163
  /** Time window a task should be covered. `end` must be after `start`. */
109
164
  declare const CoverageWindowSchema: z.ZodEffects<z.ZodObject<{
110
165
  start: z.ZodDate;
@@ -174,11 +229,14 @@ type TaskCriteria = z.infer<typeof TaskCriteriaSchema>;
174
229
  type TaskCriteriaInput = z.input<typeof TaskCriteriaSchema>;
175
230
 
176
231
  declare const MAX_CAPTURE_WINDOW_DAYS = 90;
232
+ /** At most this many sources are attached to one Monitor task (a batch one person works through). */
233
+ declare const MONITOR_TASK_MAX_SOURCES = 20;
177
234
  /** True for an absolute `http:` / `https:` URL. Anything else (`javascript:`, `data:`, `file:`, `chrome:`) is not a source. */
178
235
  declare function isHttpUrl(value: string): boolean;
179
236
  /**
180
- * The one source a task points at. Required on Monitor tasks (go into this source);
181
- * optional on Discovery tasks (search inside this source). `sourceId` is set when the
237
+ * The one source a task points at. A Monitor task has this or attached sources
238
+ * (`Source.taskIds`, at most `MONITOR_TASK_MAX_SOURCES`); optional on Discovery tasks
239
+ * (search inside this source). `sourceId` is set when the
182
240
  * source is already in `sources`; a pasted URL may not be.
183
241
  */
184
242
  declare const TaskTargetSchema: z.ZodObject<{
@@ -497,6 +555,32 @@ declare const AgentTaskTargetSchema: z.ZodObject<Omit<{
497
555
  note?: string | undefined;
498
556
  }>;
499
557
  type AgentTaskTarget = z.infer<typeof AgentTaskTargetSchema>;
558
+ /** One source attached to a Monitor task (a batch to work through): no internal source id. */
559
+ declare const AgentTaskSourceSchema: z.ZodObject<{
560
+ platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
561
+ url: z.ZodEffects<z.ZodString, string, string>;
562
+ label: z.ZodOptional<z.ZodString>;
563
+ lastCapturedAt: z.ZodOptional<z.ZodDate>;
564
+ /** When to capture it again, under current urgency (absent: parked on an access problem). */
565
+ dueAt: z.ZodOptional<z.ZodDate>;
566
+ /** Parked: a person couldn't get in; an analyst reviews it. */
567
+ accessProblem: z.ZodOptional<z.ZodBoolean>;
568
+ }, "strip", z.ZodTypeAny, {
569
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
570
+ url: string;
571
+ label?: string | undefined;
572
+ lastCapturedAt?: Date | undefined;
573
+ dueAt?: Date | undefined;
574
+ accessProblem?: boolean | undefined;
575
+ }, {
576
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
577
+ url: string;
578
+ label?: string | undefined;
579
+ lastCapturedAt?: Date | undefined;
580
+ dueAt?: Date | undefined;
581
+ accessProblem?: boolean | undefined;
582
+ }>;
583
+ type AgentTaskSource = z.infer<typeof AgentTaskSourceSchema>;
500
584
  /** Subset of Task exposed to agents. */
501
585
  declare const AgentTaskSchema: z.ZodObject<{
502
586
  id: z.ZodString;
@@ -565,6 +649,31 @@ declare const AgentTaskSchema: z.ZodObject<{
565
649
  accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
566
650
  note?: string | undefined;
567
651
  }>>;
652
+ /** Monitor: the attached sources other than `target`, sorted by platform then URL. */
653
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
654
+ platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
655
+ url: z.ZodEffects<z.ZodString, string, string>;
656
+ label: z.ZodOptional<z.ZodString>;
657
+ lastCapturedAt: z.ZodOptional<z.ZodDate>;
658
+ /** When to capture it again, under current urgency (absent: parked on an access problem). */
659
+ dueAt: z.ZodOptional<z.ZodDate>;
660
+ /** Parked: a person couldn't get in; an analyst reviews it. */
661
+ accessProblem: z.ZodOptional<z.ZodBoolean>;
662
+ }, "strip", z.ZodTypeAny, {
663
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
664
+ url: string;
665
+ label?: string | undefined;
666
+ lastCapturedAt?: Date | undefined;
667
+ dueAt?: Date | undefined;
668
+ accessProblem?: boolean | undefined;
669
+ }, {
670
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
671
+ url: string;
672
+ label?: string | undefined;
673
+ lastCapturedAt?: Date | undefined;
674
+ dueAt?: Date | undefined;
675
+ accessProblem?: boolean | undefined;
676
+ }>, "many">>;
568
677
  captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
569
678
  mode: z.ZodLiteral<"last_days">;
570
679
  days: z.ZodNumber;
@@ -607,6 +716,14 @@ declare const AgentTaskSchema: z.ZodObject<{
607
716
  }, "strip", z.ZodTypeAny, {
608
717
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
609
718
  updatedAt: Date;
719
+ sources: {
720
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
721
+ url: string;
722
+ label?: string | undefined;
723
+ lastCapturedAt?: Date | undefined;
724
+ dueAt?: Date | undefined;
725
+ accessProblem?: boolean | undefined;
726
+ }[];
610
727
  title: string;
611
728
  description: string;
612
729
  keywords: string[];
@@ -659,6 +776,14 @@ declare const AgentTaskSchema: z.ZodObject<{
659
776
  };
660
777
  version: number;
661
778
  id: string;
779
+ sources?: {
780
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
781
+ url: string;
782
+ label?: string | undefined;
783
+ lastCapturedAt?: Date | undefined;
784
+ dueAt?: Date | undefined;
785
+ accessProblem?: boolean | undefined;
786
+ }[] | undefined;
662
787
  target?: {
663
788
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
664
789
  url: string;
@@ -759,6 +884,31 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
759
884
  accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
760
885
  note?: string | undefined;
761
886
  }>>;
887
+ /** Monitor: the attached sources other than `target`, sorted by platform then URL. */
888
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
889
+ platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
890
+ url: z.ZodEffects<z.ZodString, string, string>;
891
+ label: z.ZodOptional<z.ZodString>;
892
+ lastCapturedAt: z.ZodOptional<z.ZodDate>;
893
+ /** When to capture it again, under current urgency (absent: parked on an access problem). */
894
+ dueAt: z.ZodOptional<z.ZodDate>;
895
+ /** Parked: a person couldn't get in; an analyst reviews it. */
896
+ accessProblem: z.ZodOptional<z.ZodBoolean>;
897
+ }, "strip", z.ZodTypeAny, {
898
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
899
+ url: string;
900
+ label?: string | undefined;
901
+ lastCapturedAt?: Date | undefined;
902
+ dueAt?: Date | undefined;
903
+ accessProblem?: boolean | undefined;
904
+ }, {
905
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
906
+ url: string;
907
+ label?: string | undefined;
908
+ lastCapturedAt?: Date | undefined;
909
+ dueAt?: Date | undefined;
910
+ accessProblem?: boolean | undefined;
911
+ }>, "many">>;
762
912
  captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
763
913
  mode: z.ZodLiteral<"last_days">;
764
914
  days: z.ZodNumber;
@@ -801,6 +951,14 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
801
951
  }, "strip", z.ZodTypeAny, {
802
952
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
803
953
  updatedAt: Date;
954
+ sources: {
955
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
956
+ url: string;
957
+ label?: string | undefined;
958
+ lastCapturedAt?: Date | undefined;
959
+ dueAt?: Date | undefined;
960
+ accessProblem?: boolean | undefined;
961
+ }[];
804
962
  title: string;
805
963
  description: string;
806
964
  keywords: string[];
@@ -853,6 +1011,14 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
853
1011
  };
854
1012
  version: number;
855
1013
  id: string;
1014
+ sources?: {
1015
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1016
+ url: string;
1017
+ label?: string | undefined;
1018
+ lastCapturedAt?: Date | undefined;
1019
+ dueAt?: Date | undefined;
1020
+ accessProblem?: boolean | undefined;
1021
+ }[] | undefined;
856
1022
  target?: {
857
1023
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
858
1024
  url: string;
@@ -886,6 +1052,14 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
886
1052
  task: {
887
1053
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
888
1054
  updatedAt: Date;
1055
+ sources: {
1056
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1057
+ url: string;
1058
+ label?: string | undefined;
1059
+ lastCapturedAt?: Date | undefined;
1060
+ dueAt?: Date | undefined;
1061
+ accessProblem?: boolean | undefined;
1062
+ }[];
889
1063
  title: string;
890
1064
  description: string;
891
1065
  keywords: string[];
@@ -947,6 +1121,14 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
947
1121
  };
948
1122
  version: number;
949
1123
  id: string;
1124
+ sources?: {
1125
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1126
+ url: string;
1127
+ label?: string | undefined;
1128
+ lastCapturedAt?: Date | undefined;
1129
+ dueAt?: Date | undefined;
1130
+ accessProblem?: boolean | undefined;
1131
+ }[] | undefined;
950
1132
  target?: {
951
1133
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
952
1134
  url: string;
@@ -1041,6 +1223,31 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1041
1223
  accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
1042
1224
  note?: string | undefined;
1043
1225
  }>>;
1226
+ /** Monitor: the attached sources other than `target`, sorted by platform then URL. */
1227
+ sources: z.ZodDefault<z.ZodArray<z.ZodObject<{
1228
+ platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
1229
+ url: z.ZodEffects<z.ZodString, string, string>;
1230
+ label: z.ZodOptional<z.ZodString>;
1231
+ lastCapturedAt: z.ZodOptional<z.ZodDate>;
1232
+ /** When to capture it again, under current urgency (absent: parked on an access problem). */
1233
+ dueAt: z.ZodOptional<z.ZodDate>;
1234
+ /** Parked: a person couldn't get in; an analyst reviews it. */
1235
+ accessProblem: z.ZodOptional<z.ZodBoolean>;
1236
+ }, "strip", z.ZodTypeAny, {
1237
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1238
+ url: string;
1239
+ label?: string | undefined;
1240
+ lastCapturedAt?: Date | undefined;
1241
+ dueAt?: Date | undefined;
1242
+ accessProblem?: boolean | undefined;
1243
+ }, {
1244
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1245
+ url: string;
1246
+ label?: string | undefined;
1247
+ lastCapturedAt?: Date | undefined;
1248
+ dueAt?: Date | undefined;
1249
+ accessProblem?: boolean | undefined;
1250
+ }>, "many">>;
1044
1251
  captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
1045
1252
  mode: z.ZodLiteral<"last_days">;
1046
1253
  days: z.ZodNumber;
@@ -1083,6 +1290,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1083
1290
  }, "strip", z.ZodTypeAny, {
1084
1291
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
1085
1292
  updatedAt: Date;
1293
+ sources: {
1294
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1295
+ url: string;
1296
+ label?: string | undefined;
1297
+ lastCapturedAt?: Date | undefined;
1298
+ dueAt?: Date | undefined;
1299
+ accessProblem?: boolean | undefined;
1300
+ }[];
1086
1301
  title: string;
1087
1302
  description: string;
1088
1303
  keywords: string[];
@@ -1135,6 +1350,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1135
1350
  };
1136
1351
  version: number;
1137
1352
  id: string;
1353
+ sources?: {
1354
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1355
+ url: string;
1356
+ label?: string | undefined;
1357
+ lastCapturedAt?: Date | undefined;
1358
+ dueAt?: Date | undefined;
1359
+ accessProblem?: boolean | undefined;
1360
+ }[] | undefined;
1138
1361
  target?: {
1139
1362
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1140
1363
  url: string;
@@ -1168,6 +1391,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1168
1391
  task: {
1169
1392
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
1170
1393
  updatedAt: Date;
1394
+ sources: {
1395
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1396
+ url: string;
1397
+ label?: string | undefined;
1398
+ lastCapturedAt?: Date | undefined;
1399
+ dueAt?: Date | undefined;
1400
+ accessProblem?: boolean | undefined;
1401
+ }[];
1171
1402
  title: string;
1172
1403
  description: string;
1173
1404
  keywords: string[];
@@ -1229,6 +1460,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1229
1460
  };
1230
1461
  version: number;
1231
1462
  id: string;
1463
+ sources?: {
1464
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1465
+ url: string;
1466
+ label?: string | undefined;
1467
+ lastCapturedAt?: Date | undefined;
1468
+ dueAt?: Date | undefined;
1469
+ accessProblem?: boolean | undefined;
1470
+ }[] | undefined;
1232
1471
  target?: {
1233
1472
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1234
1473
  url: string;
@@ -1258,6 +1497,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1258
1497
  task: {
1259
1498
  status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
1260
1499
  updatedAt: Date;
1500
+ sources: {
1501
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1502
+ url: string;
1503
+ label?: string | undefined;
1504
+ lastCapturedAt?: Date | undefined;
1505
+ dueAt?: Date | undefined;
1506
+ accessProblem?: boolean | undefined;
1507
+ }[];
1261
1508
  title: string;
1262
1509
  description: string;
1263
1510
  keywords: string[];
@@ -1321,6 +1568,14 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
1321
1568
  };
1322
1569
  version: number;
1323
1570
  id: string;
1571
+ sources?: {
1572
+ platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1573
+ url: string;
1574
+ label?: string | undefined;
1575
+ lastCapturedAt?: Date | undefined;
1576
+ dueAt?: Date | undefined;
1577
+ accessProblem?: boolean | undefined;
1578
+ }[] | undefined;
1324
1579
  target?: {
1325
1580
  platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
1326
1581
  url: string;
@@ -1349,34 +1604,44 @@ type AgentAssignmentsResponse = z.infer<typeof AgentAssignmentsResponseSchema>;
1349
1604
  declare const AgentAssignmentVersionSchema: z.ZodObject<{
1350
1605
  assignmentId: z.ZodString;
1351
1606
  taskVersion: z.ZodNumber;
1607
+ /** Monitor: the latest change to any attached source (a visit moves it; the task version doesn't). */
1608
+ sourcesUpdatedAt: z.ZodOptional<z.ZodDate>;
1352
1609
  }, "strip", z.ZodTypeAny, {
1353
1610
  assignmentId: string;
1354
1611
  taskVersion: number;
1612
+ sourcesUpdatedAt?: Date | undefined;
1355
1613
  }, {
1356
1614
  assignmentId: string;
1357
1615
  taskVersion: number;
1616
+ sourcesUpdatedAt?: Date | undefined;
1358
1617
  }>;
1359
1618
  type AgentAssignmentVersion = z.infer<typeof AgentAssignmentVersionSchema>;
1360
1619
  declare const AgentAssignmentVersionsResponseSchema: z.ZodObject<{
1361
1620
  items: z.ZodArray<z.ZodObject<{
1362
1621
  assignmentId: z.ZodString;
1363
1622
  taskVersion: z.ZodNumber;
1623
+ /** Monitor: the latest change to any attached source (a visit moves it; the task version doesn't). */
1624
+ sourcesUpdatedAt: z.ZodOptional<z.ZodDate>;
1364
1625
  }, "strip", z.ZodTypeAny, {
1365
1626
  assignmentId: string;
1366
1627
  taskVersion: number;
1628
+ sourcesUpdatedAt?: Date | undefined;
1367
1629
  }, {
1368
1630
  assignmentId: string;
1369
1631
  taskVersion: number;
1632
+ sourcesUpdatedAt?: Date | undefined;
1370
1633
  }>, "many">;
1371
1634
  }, "strip", z.ZodTypeAny, {
1372
1635
  items: {
1373
1636
  assignmentId: string;
1374
1637
  taskVersion: number;
1638
+ sourcesUpdatedAt?: Date | undefined;
1375
1639
  }[];
1376
1640
  }, {
1377
1641
  items: {
1378
1642
  assignmentId: string;
1379
1643
  taskVersion: number;
1644
+ sourcesUpdatedAt?: Date | undefined;
1380
1645
  }[];
1381
1646
  }>;
1382
1647
  type AgentAssignmentVersionsResponse = z.infer<typeof AgentAssignmentVersionsResponseSchema>;
@@ -3822,4 +4087,4 @@ declare const INTERNAL_ERROR_CODE_VALUES: readonly ["UNAUTHENTICATED", "NOT_FOUN
3822
4087
  declare const InternalErrorCode: z.ZodEnum<["UNAUTHENTICATED", "NOT_FOUND", "VALIDATION_ERROR", "INTERNAL"]>;
3823
4088
  type InternalErrorCode = z.infer<typeof InternalErrorCode>;
3824
4089
 
3825
- export { AGENT_ERROR_CODE_VALUES, AGENT_ROLE_VALUES, type AgentActiveSessionResponse, AgentActiveSessionResponseSchema, type AgentAssignmentItem, AgentAssignmentItemSchema, type AgentAssignmentVersion, AgentAssignmentVersionSchema, type AgentAssignmentVersionsResponse, AgentAssignmentVersionsResponseSchema, type AgentAssignmentsResponse, AgentAssignmentsResponseSchema, type AgentCaptureFields, AgentCaptureFieldsSchema, type AgentCaptureResponse, AgentCaptureResponseSchema, type AgentError, AgentErrorCode, AgentErrorSchema, type AgentMe, AgentMeSchema, type AgentMessageView, AgentMessageViewSchema, type AgentMessagesQuery, AgentMessagesQuerySchema, type AgentMessagesResponse, AgentMessagesResponseSchema, type AgentOrgRef, AgentOrgRefSchema, type AgentReplyBody, AgentReplyBodySchema, AgentRole, type AgentSessionResponse, AgentSessionResponseSchema, type AgentSessionStartBody, AgentSessionStartBodySchema, type AgentSessionStartResponse, AgentSessionStartResponseSchema, type AgentSessionView, AgentSessionViewSchema, type AgentStreamEvent, AgentStreamEventSchema, type AgentTask, type AgentTaskCriteria, AgentTaskCriteriaSchema, AgentTaskSchema, type AgentTaskTarget, AgentTaskTargetSchema, type ApiError, ApiErrorSchema, type AvailabilityWindow, AvailabilityWindowSchema, type CaptureWindow, type CaptureWindowInput, CaptureWindowSchema, ClerkOrgId, ClerkUserId, type CoverageWindow, CoverageWindowSchema, DatabaseId, HHmm, INTERNAL_ERROR_CODE_VALUES, InternalErrorCode, LanguageCode, MAX_CAPTURE_WINDOW_DAYS, MAX_SOURCE_INTAKE_CANDIDATES, type MatchingFields, MatchingFieldsSchema, ObjectIdString, type Paginated, PaginatedSchema, type PaginationQuery, type PaginationQueryInput, PaginationQuerySchema, type PlatformAccess, type PlatformAccessInput, PlatformAccessSchema, type PriorityAlertBody, PriorityAlertBodySchema, type PriorityAlertResponse, PriorityAlertResponseSchema, SERVER_MANAGED_KEYS, type SoftDelete, SoftDeleteSchema, type SourceIntakeBody, SourceIntakeBodySchema, type SourceIntakeCandidate, SourceIntakeCandidateSchema, type SourceIntakeResponse, SourceIntakeResponseSchema, type SourceIntakeResult, SourceIntakeResultSchema, type SourceVisitBody, type SourceVisitBodyInput, SourceVisitBodySchema, type SourceVisitResponse, SourceVisitResponseSchema, type SpecialAccess, SpecialAccessSchema, type TaskCriteria, type TaskCriteriaInput, TaskCriteriaSchema, type TaskTarget, TaskTargetSchema, TimeZone, type Timestamps, TimestampsSchema, isHttpUrl };
4090
+ export { AGENT_ERROR_CODE_VALUES, AGENT_ROLE_VALUES, type AgentActiveSessionResponse, AgentActiveSessionResponseSchema, type AgentAssignmentItem, AgentAssignmentItemSchema, type AgentAssignmentVersion, AgentAssignmentVersionSchema, type AgentAssignmentVersionsResponse, AgentAssignmentVersionsResponseSchema, type AgentAssignmentsResponse, AgentAssignmentsResponseSchema, type AgentCaptureFields, AgentCaptureFieldsSchema, type AgentCaptureResponse, AgentCaptureResponseSchema, type AgentError, AgentErrorCode, AgentErrorSchema, type AgentMe, AgentMeSchema, type AgentMessageView, AgentMessageViewSchema, type AgentMessagesQuery, AgentMessagesQuerySchema, type AgentMessagesResponse, AgentMessagesResponseSchema, type AgentOrgRef, AgentOrgRefSchema, type AgentReplyBody, AgentReplyBodySchema, AgentRole, type AgentSessionResponse, AgentSessionResponseSchema, type AgentSessionStartBody, AgentSessionStartBodySchema, type AgentSessionStartResponse, AgentSessionStartResponseSchema, type AgentSessionView, AgentSessionViewSchema, type AgentStreamEvent, AgentStreamEventSchema, type AgentTask, type AgentTaskCriteria, AgentTaskCriteriaSchema, AgentTaskSchema, type AgentTaskSource, AgentTaskSourceSchema, type AgentTaskTarget, AgentTaskTargetSchema, type ApiError, ApiErrorSchema, type AvailabilityWindow, AvailabilityWindowSchema, type CaptureWindow, type CaptureWindowInput, CaptureWindowSchema, ClerkOrgId, ClerkUserId, type CoverageWindow, CoverageWindowSchema, DatabaseId, HHmm, INTERNAL_ERROR_CODE_VALUES, InternalErrorCode, LanguageCode, MAX_CAPTURE_WINDOW_DAYS, MAX_SOURCE_INTAKE_CANDIDATES, MONITOR_TASK_MAX_SOURCES, type MatchingFields, MatchingFieldsSchema, MissionPriority, ObjectIdString, type OverdueLevel, OverdueLevelSchema, type Paginated, PaginatedSchema, type PaginationQuery, type PaginationQueryInput, PaginationQuerySchema, type PlatformAccess, type PlatformAccessInput, PlatformAccessSchema, type PriorityAlertBody, PriorityAlertBodySchema, type PriorityAlertResponse, PriorityAlertResponseSchema, SERVER_MANAGED_KEYS, type ScheduleUrgency, type SoftDelete, SoftDeleteSchema, type SourceIntakeBody, SourceIntakeBodySchema, type SourceIntakeCandidate, SourceIntakeCandidateSchema, type SourceIntakeResponse, SourceIntakeResponseSchema, type SourceIntakeResult, SourceIntakeResultSchema, type SourceScheduleFields, SourceStatus, type SourceVisitBody, type SourceVisitBodyInput, SourceVisitBodySchema, type SourceVisitResponse, SourceVisitResponseSchema, type SpecialAccess, SpecialAccessSchema, type TaskCriteria, type TaskCriteriaInput, TaskCriteriaSchema, type TaskTarget, TaskTargetSchema, TimeZone, type Timestamps, TimestampsSchema, URGENCY_FACTOR, VISIT_INTERVAL_MAX_MS, VISIT_INTERVAL_MIN_MS, baseVisitInterval, clampInterval, effectiveDueAt, effectiveInterval, isHttpUrl, overdueLevel, urgencyFactor };