@badger_badger/badger_hq 1.7.0 → 1.8.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/CHANGELOG.md +11 -0
- package/dist/{agent-session-BKq7mARI.d.cts → agent-session-C7C0Z1e1.d.cts} +139 -14
- package/dist/{agent-session-BKq7mARI.d.ts → agent-session-C7C0Z1e1.d.ts} +139 -14
- package/dist/index.cjs +22 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +34 -26
- package/dist/index.d.ts +34 -26
- package/dist/index.js +22 -1
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.cjs +16 -0
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.d.cts +229 -17
- package/dist/mongo/index.d.ts +229 -17
- package/dist/mongo/index.js +16 -1
- package/dist/mongo/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MissionPriority, S as SourceStatus } from './agent-session-
|
|
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
|
|
2
|
+
import { M as MissionPriority, S as SourceStatus } from './agent-session-C7C0Z1e1.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 SourceDiscovery, cU as SourceDiscoverySchema, cV as SourceImport, cW as SourceImportCreate, cX as SourceImportCreateSchema, cY as SourceImportKind, cZ as SourceImportRowError, c_ as SourceImportRowErrorSchema, c$ as SourceImportSchema, d0 as SourceImportStatus, d1 as SourceImportSummary, d2 as SourceImportSummarySchema, d3 as SourceImportUpdate, d4 as SourceImportUpdateSchema, d5 as SourceIntakeOutcome, d6 as SourceRating, d7 as SourceRatingSchema, d8 as SourceResultCardSchema, d9 as SourceRoute, da as SourceSchema, db as SourceType, dc as SourceUpdate, dd as SourceUpdateSchema, de as SystemRecommendation, df as SystemRecommendationInput, dg as SystemRecommendationInputSchema, dh as SystemRecommendationSchema, di as TASK_KIND_VALUES, dj as TASK_ORIGIN_VALUES, dk as TASK_STATUS_VALUES, dl as Task, dm as TaskCreate, dn as TaskCreateInput, dp as TaskCreateSchema, dq as TaskKind, dr as TaskOrigin, ds as TaskSchema, dt as TaskStatus, du as TaskUpdate, dv as TaskUpdateSchema, dw as VETTING_STATUS_VALUES, dx as VettingStatus } from './agent-session-C7C0Z1e1.cjs';
|
|
4
4
|
|
|
5
5
|
/** 24-char hex string: the wire representation of a Mongo ObjectId. */
|
|
6
6
|
declare const ObjectIdString: z.ZodString;
|
|
@@ -1884,16 +1884,16 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1884
1884
|
name: string;
|
|
1885
1885
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1886
1886
|
kind: "source_result";
|
|
1887
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1888
1887
|
reason: string;
|
|
1888
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1889
1889
|
url?: string | undefined;
|
|
1890
1890
|
score?: number | undefined;
|
|
1891
1891
|
}, {
|
|
1892
1892
|
name: string;
|
|
1893
1893
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1894
1894
|
kind: "source_result";
|
|
1895
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1896
1895
|
reason: string;
|
|
1896
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1897
1897
|
url?: string | undefined;
|
|
1898
1898
|
score?: number | undefined;
|
|
1899
1899
|
}>, z.ZodObject<{
|
|
@@ -1983,8 +1983,8 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1983
1983
|
name: string;
|
|
1984
1984
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1985
1985
|
kind: "source_result";
|
|
1986
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1987
1986
|
reason: string;
|
|
1987
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1988
1988
|
url?: string | undefined;
|
|
1989
1989
|
score?: number | undefined;
|
|
1990
1990
|
} | {
|
|
@@ -2027,8 +2027,8 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
2027
2027
|
name: string;
|
|
2028
2028
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2029
2029
|
kind: "source_result";
|
|
2030
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2031
2030
|
reason: string;
|
|
2031
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2032
2032
|
url?: string | undefined;
|
|
2033
2033
|
score?: number | undefined;
|
|
2034
2034
|
} | {
|
|
@@ -2841,16 +2841,16 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2841
2841
|
name: string;
|
|
2842
2842
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2843
2843
|
kind: "source_result";
|
|
2844
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2845
2844
|
reason: string;
|
|
2845
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2846
2846
|
url?: string | undefined;
|
|
2847
2847
|
score?: number | undefined;
|
|
2848
2848
|
}, {
|
|
2849
2849
|
name: string;
|
|
2850
2850
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2851
2851
|
kind: "source_result";
|
|
2852
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2853
2852
|
reason: string;
|
|
2853
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2854
2854
|
url?: string | undefined;
|
|
2855
2855
|
score?: number | undefined;
|
|
2856
2856
|
}>, z.ZodObject<{
|
|
@@ -2940,8 +2940,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2940
2940
|
name: string;
|
|
2941
2941
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2942
2942
|
kind: "source_result";
|
|
2943
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2944
2943
|
reason: string;
|
|
2944
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2945
2945
|
url?: string | undefined;
|
|
2946
2946
|
score?: number | undefined;
|
|
2947
2947
|
} | {
|
|
@@ -2984,8 +2984,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2984
2984
|
name: string;
|
|
2985
2985
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2986
2986
|
kind: "source_result";
|
|
2987
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2988
2987
|
reason: string;
|
|
2988
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2989
2989
|
url?: string | undefined;
|
|
2990
2990
|
score?: number | undefined;
|
|
2991
2991
|
} | {
|
|
@@ -3030,8 +3030,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
3030
3030
|
name: string;
|
|
3031
3031
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3032
3032
|
kind: "source_result";
|
|
3033
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3034
3033
|
reason: string;
|
|
3034
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3035
3035
|
url?: string | undefined;
|
|
3036
3036
|
score?: number | undefined;
|
|
3037
3037
|
} | {
|
|
@@ -3076,8 +3076,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
3076
3076
|
name: string;
|
|
3077
3077
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3078
3078
|
kind: "source_result";
|
|
3079
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3080
3079
|
reason: string;
|
|
3080
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3081
3081
|
url?: string | undefined;
|
|
3082
3082
|
score?: number | undefined;
|
|
3083
3083
|
} | {
|
|
@@ -3275,16 +3275,16 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3275
3275
|
name: string;
|
|
3276
3276
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3277
3277
|
kind: "source_result";
|
|
3278
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3279
3278
|
reason: string;
|
|
3279
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3280
3280
|
url?: string | undefined;
|
|
3281
3281
|
score?: number | undefined;
|
|
3282
3282
|
}, {
|
|
3283
3283
|
name: string;
|
|
3284
3284
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3285
3285
|
kind: "source_result";
|
|
3286
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3287
3286
|
reason: string;
|
|
3287
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3288
3288
|
url?: string | undefined;
|
|
3289
3289
|
score?: number | undefined;
|
|
3290
3290
|
}>, z.ZodObject<{
|
|
@@ -3374,8 +3374,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3374
3374
|
name: string;
|
|
3375
3375
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3376
3376
|
kind: "source_result";
|
|
3377
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3378
3377
|
reason: string;
|
|
3378
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3379
3379
|
url?: string | undefined;
|
|
3380
3380
|
score?: number | undefined;
|
|
3381
3381
|
} | {
|
|
@@ -3418,8 +3418,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3418
3418
|
name: string;
|
|
3419
3419
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3420
3420
|
kind: "source_result";
|
|
3421
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3422
3421
|
reason: string;
|
|
3422
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3423
3423
|
url?: string | undefined;
|
|
3424
3424
|
score?: number | undefined;
|
|
3425
3425
|
} | {
|
|
@@ -3464,8 +3464,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3464
3464
|
name: string;
|
|
3465
3465
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3466
3466
|
kind: "source_result";
|
|
3467
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3468
3467
|
reason: string;
|
|
3468
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3469
3469
|
url?: string | undefined;
|
|
3470
3470
|
score?: number | undefined;
|
|
3471
3471
|
} | {
|
|
@@ -3511,8 +3511,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3511
3511
|
name: string;
|
|
3512
3512
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3513
3513
|
kind: "source_result";
|
|
3514
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3515
3514
|
reason: string;
|
|
3515
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3516
3516
|
url?: string | undefined;
|
|
3517
3517
|
score?: number | undefined;
|
|
3518
3518
|
} | {
|
|
@@ -3544,12 +3544,12 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3544
3544
|
captureId: z.ZodNullable<z.ZodString>;
|
|
3545
3545
|
}, "strip", z.ZodTypeAny, {
|
|
3546
3546
|
type: "status";
|
|
3547
|
-
text: string;
|
|
3548
3547
|
captureId: string | null;
|
|
3548
|
+
text: string;
|
|
3549
3549
|
}, {
|
|
3550
3550
|
type: "status";
|
|
3551
|
-
text: string;
|
|
3552
3551
|
captureId: string | null;
|
|
3552
|
+
text: string;
|
|
3553
3553
|
}>, z.ZodObject<{
|
|
3554
3554
|
type: z.ZodLiteral<"typing">;
|
|
3555
3555
|
on: z.ZodBoolean;
|
|
@@ -3842,9 +3842,9 @@ declare const SourceIntakeCandidateSchema: z.ZodObject<{
|
|
|
3842
3842
|
name: string;
|
|
3843
3843
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3844
3844
|
url: string;
|
|
3845
|
-
access: "public" | "gated";
|
|
3846
3845
|
reason: string;
|
|
3847
3846
|
relevanceScore: number;
|
|
3847
|
+
access: "public" | "gated";
|
|
3848
3848
|
description?: string | undefined;
|
|
3849
3849
|
language?: string | undefined;
|
|
3850
3850
|
handle?: string | undefined;
|
|
@@ -3853,9 +3853,9 @@ declare const SourceIntakeCandidateSchema: z.ZodObject<{
|
|
|
3853
3853
|
name: string;
|
|
3854
3854
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3855
3855
|
url: string;
|
|
3856
|
-
access: "public" | "gated";
|
|
3857
3856
|
reason: string;
|
|
3858
3857
|
relevanceScore: number;
|
|
3858
|
+
access: "public" | "gated";
|
|
3859
3859
|
description?: string | undefined;
|
|
3860
3860
|
language?: string | undefined;
|
|
3861
3861
|
handle?: string | undefined;
|
|
@@ -3867,6 +3867,10 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3867
3867
|
/** The discovery task the session works; its mission's monitor task receives gated sources. */
|
|
3868
3868
|
taskId: z.ZodString;
|
|
3869
3869
|
discoveredByUserId: z.ZodString;
|
|
3870
|
+
/** agent-service capture the candidates came from (task-tagged captures). */
|
|
3871
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
3872
|
+
/** The page that capture was taken on. */
|
|
3873
|
+
capturedUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3870
3874
|
candidates: z.ZodArray<z.ZodObject<{
|
|
3871
3875
|
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
3872
3876
|
url: z.ZodString;
|
|
@@ -3884,9 +3888,9 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3884
3888
|
name: string;
|
|
3885
3889
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3886
3890
|
url: string;
|
|
3887
|
-
access: "public" | "gated";
|
|
3888
3891
|
reason: string;
|
|
3889
3892
|
relevanceScore: number;
|
|
3893
|
+
access: "public" | "gated";
|
|
3890
3894
|
description?: string | undefined;
|
|
3891
3895
|
language?: string | undefined;
|
|
3892
3896
|
handle?: string | undefined;
|
|
@@ -3895,9 +3899,9 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3895
3899
|
name: string;
|
|
3896
3900
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3897
3901
|
url: string;
|
|
3898
|
-
access: "public" | "gated";
|
|
3899
3902
|
reason: string;
|
|
3900
3903
|
relevanceScore: number;
|
|
3904
|
+
access: "public" | "gated";
|
|
3901
3905
|
description?: string | undefined;
|
|
3902
3906
|
language?: string | undefined;
|
|
3903
3907
|
handle?: string | undefined;
|
|
@@ -3911,13 +3915,15 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3911
3915
|
name: string;
|
|
3912
3916
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3913
3917
|
url: string;
|
|
3914
|
-
access: "public" | "gated";
|
|
3915
3918
|
reason: string;
|
|
3916
3919
|
relevanceScore: number;
|
|
3920
|
+
access: "public" | "gated";
|
|
3917
3921
|
description?: string | undefined;
|
|
3918
3922
|
language?: string | undefined;
|
|
3919
3923
|
handle?: string | undefined;
|
|
3920
3924
|
}[];
|
|
3925
|
+
captureId?: string | undefined;
|
|
3926
|
+
capturedUrl?: string | undefined;
|
|
3921
3927
|
}, {
|
|
3922
3928
|
orgId: string;
|
|
3923
3929
|
taskId: string;
|
|
@@ -3927,13 +3933,15 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3927
3933
|
name: string;
|
|
3928
3934
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3929
3935
|
url: string;
|
|
3930
|
-
access: "public" | "gated";
|
|
3931
3936
|
reason: string;
|
|
3932
3937
|
relevanceScore: number;
|
|
3938
|
+
access: "public" | "gated";
|
|
3933
3939
|
description?: string | undefined;
|
|
3934
3940
|
language?: string | undefined;
|
|
3935
3941
|
handle?: string | undefined;
|
|
3936
3942
|
}[];
|
|
3943
|
+
captureId?: string | undefined;
|
|
3944
|
+
capturedUrl?: string | undefined;
|
|
3937
3945
|
}>;
|
|
3938
3946
|
type SourceIntakeBody = z.infer<typeof SourceIntakeBodySchema>;
|
|
3939
3947
|
declare const SourceIntakeResultSchema: z.ZodObject<{
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { M as MissionPriority, S as SourceStatus } from './agent-session-
|
|
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
|
|
2
|
+
import { M as MissionPriority, S as SourceStatus } from './agent-session-C7C0Z1e1.js';
|
|
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 SourceDiscovery, cU as SourceDiscoverySchema, cV as SourceImport, cW as SourceImportCreate, cX as SourceImportCreateSchema, cY as SourceImportKind, cZ as SourceImportRowError, c_ as SourceImportRowErrorSchema, c$ as SourceImportSchema, d0 as SourceImportStatus, d1 as SourceImportSummary, d2 as SourceImportSummarySchema, d3 as SourceImportUpdate, d4 as SourceImportUpdateSchema, d5 as SourceIntakeOutcome, d6 as SourceRating, d7 as SourceRatingSchema, d8 as SourceResultCardSchema, d9 as SourceRoute, da as SourceSchema, db as SourceType, dc as SourceUpdate, dd as SourceUpdateSchema, de as SystemRecommendation, df as SystemRecommendationInput, dg as SystemRecommendationInputSchema, dh as SystemRecommendationSchema, di as TASK_KIND_VALUES, dj as TASK_ORIGIN_VALUES, dk as TASK_STATUS_VALUES, dl as Task, dm as TaskCreate, dn as TaskCreateInput, dp as TaskCreateSchema, dq as TaskKind, dr as TaskOrigin, ds as TaskSchema, dt as TaskStatus, du as TaskUpdate, dv as TaskUpdateSchema, dw as VETTING_STATUS_VALUES, dx as VettingStatus } from './agent-session-C7C0Z1e1.js';
|
|
4
4
|
|
|
5
5
|
/** 24-char hex string: the wire representation of a Mongo ObjectId. */
|
|
6
6
|
declare const ObjectIdString: z.ZodString;
|
|
@@ -1884,16 +1884,16 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1884
1884
|
name: string;
|
|
1885
1885
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1886
1886
|
kind: "source_result";
|
|
1887
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1888
1887
|
reason: string;
|
|
1888
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1889
1889
|
url?: string | undefined;
|
|
1890
1890
|
score?: number | undefined;
|
|
1891
1891
|
}, {
|
|
1892
1892
|
name: string;
|
|
1893
1893
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1894
1894
|
kind: "source_result";
|
|
1895
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1896
1895
|
reason: string;
|
|
1896
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1897
1897
|
url?: string | undefined;
|
|
1898
1898
|
score?: number | undefined;
|
|
1899
1899
|
}>, z.ZodObject<{
|
|
@@ -1983,8 +1983,8 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1983
1983
|
name: string;
|
|
1984
1984
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1985
1985
|
kind: "source_result";
|
|
1986
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1987
1986
|
reason: string;
|
|
1987
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1988
1988
|
url?: string | undefined;
|
|
1989
1989
|
score?: number | undefined;
|
|
1990
1990
|
} | {
|
|
@@ -2027,8 +2027,8 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
2027
2027
|
name: string;
|
|
2028
2028
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2029
2029
|
kind: "source_result";
|
|
2030
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2031
2030
|
reason: string;
|
|
2031
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2032
2032
|
url?: string | undefined;
|
|
2033
2033
|
score?: number | undefined;
|
|
2034
2034
|
} | {
|
|
@@ -2841,16 +2841,16 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2841
2841
|
name: string;
|
|
2842
2842
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2843
2843
|
kind: "source_result";
|
|
2844
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2845
2844
|
reason: string;
|
|
2845
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2846
2846
|
url?: string | undefined;
|
|
2847
2847
|
score?: number | undefined;
|
|
2848
2848
|
}, {
|
|
2849
2849
|
name: string;
|
|
2850
2850
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2851
2851
|
kind: "source_result";
|
|
2852
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2853
2852
|
reason: string;
|
|
2853
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2854
2854
|
url?: string | undefined;
|
|
2855
2855
|
score?: number | undefined;
|
|
2856
2856
|
}>, z.ZodObject<{
|
|
@@ -2940,8 +2940,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2940
2940
|
name: string;
|
|
2941
2941
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2942
2942
|
kind: "source_result";
|
|
2943
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2944
2943
|
reason: string;
|
|
2944
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2945
2945
|
url?: string | undefined;
|
|
2946
2946
|
score?: number | undefined;
|
|
2947
2947
|
} | {
|
|
@@ -2984,8 +2984,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2984
2984
|
name: string;
|
|
2985
2985
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2986
2986
|
kind: "source_result";
|
|
2987
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2988
2987
|
reason: string;
|
|
2988
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2989
2989
|
url?: string | undefined;
|
|
2990
2990
|
score?: number | undefined;
|
|
2991
2991
|
} | {
|
|
@@ -3030,8 +3030,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
3030
3030
|
name: string;
|
|
3031
3031
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3032
3032
|
kind: "source_result";
|
|
3033
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3034
3033
|
reason: string;
|
|
3034
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3035
3035
|
url?: string | undefined;
|
|
3036
3036
|
score?: number | undefined;
|
|
3037
3037
|
} | {
|
|
@@ -3076,8 +3076,8 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
3076
3076
|
name: string;
|
|
3077
3077
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3078
3078
|
kind: "source_result";
|
|
3079
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3080
3079
|
reason: string;
|
|
3080
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3081
3081
|
url?: string | undefined;
|
|
3082
3082
|
score?: number | undefined;
|
|
3083
3083
|
} | {
|
|
@@ -3275,16 +3275,16 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3275
3275
|
name: string;
|
|
3276
3276
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3277
3277
|
kind: "source_result";
|
|
3278
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3279
3278
|
reason: string;
|
|
3279
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3280
3280
|
url?: string | undefined;
|
|
3281
3281
|
score?: number | undefined;
|
|
3282
3282
|
}, {
|
|
3283
3283
|
name: string;
|
|
3284
3284
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3285
3285
|
kind: "source_result";
|
|
3286
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3287
3286
|
reason: string;
|
|
3287
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3288
3288
|
url?: string | undefined;
|
|
3289
3289
|
score?: number | undefined;
|
|
3290
3290
|
}>, z.ZodObject<{
|
|
@@ -3374,8 +3374,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3374
3374
|
name: string;
|
|
3375
3375
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3376
3376
|
kind: "source_result";
|
|
3377
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3378
3377
|
reason: string;
|
|
3378
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3379
3379
|
url?: string | undefined;
|
|
3380
3380
|
score?: number | undefined;
|
|
3381
3381
|
} | {
|
|
@@ -3418,8 +3418,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3418
3418
|
name: string;
|
|
3419
3419
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3420
3420
|
kind: "source_result";
|
|
3421
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3422
3421
|
reason: string;
|
|
3422
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3423
3423
|
url?: string | undefined;
|
|
3424
3424
|
score?: number | undefined;
|
|
3425
3425
|
} | {
|
|
@@ -3464,8 +3464,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3464
3464
|
name: string;
|
|
3465
3465
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3466
3466
|
kind: "source_result";
|
|
3467
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3468
3467
|
reason: string;
|
|
3468
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3469
3469
|
url?: string | undefined;
|
|
3470
3470
|
score?: number | undefined;
|
|
3471
3471
|
} | {
|
|
@@ -3511,8 +3511,8 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3511
3511
|
name: string;
|
|
3512
3512
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3513
3513
|
kind: "source_result";
|
|
3514
|
-
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3515
3514
|
reason: string;
|
|
3515
|
+
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
3516
3516
|
url?: string | undefined;
|
|
3517
3517
|
score?: number | undefined;
|
|
3518
3518
|
} | {
|
|
@@ -3544,12 +3544,12 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
3544
3544
|
captureId: z.ZodNullable<z.ZodString>;
|
|
3545
3545
|
}, "strip", z.ZodTypeAny, {
|
|
3546
3546
|
type: "status";
|
|
3547
|
-
text: string;
|
|
3548
3547
|
captureId: string | null;
|
|
3548
|
+
text: string;
|
|
3549
3549
|
}, {
|
|
3550
3550
|
type: "status";
|
|
3551
|
-
text: string;
|
|
3552
3551
|
captureId: string | null;
|
|
3552
|
+
text: string;
|
|
3553
3553
|
}>, z.ZodObject<{
|
|
3554
3554
|
type: z.ZodLiteral<"typing">;
|
|
3555
3555
|
on: z.ZodBoolean;
|
|
@@ -3842,9 +3842,9 @@ declare const SourceIntakeCandidateSchema: z.ZodObject<{
|
|
|
3842
3842
|
name: string;
|
|
3843
3843
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3844
3844
|
url: string;
|
|
3845
|
-
access: "public" | "gated";
|
|
3846
3845
|
reason: string;
|
|
3847
3846
|
relevanceScore: number;
|
|
3847
|
+
access: "public" | "gated";
|
|
3848
3848
|
description?: string | undefined;
|
|
3849
3849
|
language?: string | undefined;
|
|
3850
3850
|
handle?: string | undefined;
|
|
@@ -3853,9 +3853,9 @@ declare const SourceIntakeCandidateSchema: z.ZodObject<{
|
|
|
3853
3853
|
name: string;
|
|
3854
3854
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3855
3855
|
url: string;
|
|
3856
|
-
access: "public" | "gated";
|
|
3857
3856
|
reason: string;
|
|
3858
3857
|
relevanceScore: number;
|
|
3858
|
+
access: "public" | "gated";
|
|
3859
3859
|
description?: string | undefined;
|
|
3860
3860
|
language?: string | undefined;
|
|
3861
3861
|
handle?: string | undefined;
|
|
@@ -3867,6 +3867,10 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3867
3867
|
/** The discovery task the session works; its mission's monitor task receives gated sources. */
|
|
3868
3868
|
taskId: z.ZodString;
|
|
3869
3869
|
discoveredByUserId: z.ZodString;
|
|
3870
|
+
/** agent-service capture the candidates came from (task-tagged captures). */
|
|
3871
|
+
captureId: z.ZodOptional<z.ZodString>;
|
|
3872
|
+
/** The page that capture was taken on. */
|
|
3873
|
+
capturedUrl: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
3870
3874
|
candidates: z.ZodArray<z.ZodObject<{
|
|
3871
3875
|
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
3872
3876
|
url: z.ZodString;
|
|
@@ -3884,9 +3888,9 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3884
3888
|
name: string;
|
|
3885
3889
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3886
3890
|
url: string;
|
|
3887
|
-
access: "public" | "gated";
|
|
3888
3891
|
reason: string;
|
|
3889
3892
|
relevanceScore: number;
|
|
3893
|
+
access: "public" | "gated";
|
|
3890
3894
|
description?: string | undefined;
|
|
3891
3895
|
language?: string | undefined;
|
|
3892
3896
|
handle?: string | undefined;
|
|
@@ -3895,9 +3899,9 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3895
3899
|
name: string;
|
|
3896
3900
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3897
3901
|
url: string;
|
|
3898
|
-
access: "public" | "gated";
|
|
3899
3902
|
reason: string;
|
|
3900
3903
|
relevanceScore: number;
|
|
3904
|
+
access: "public" | "gated";
|
|
3901
3905
|
description?: string | undefined;
|
|
3902
3906
|
language?: string | undefined;
|
|
3903
3907
|
handle?: string | undefined;
|
|
@@ -3911,13 +3915,15 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3911
3915
|
name: string;
|
|
3912
3916
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3913
3917
|
url: string;
|
|
3914
|
-
access: "public" | "gated";
|
|
3915
3918
|
reason: string;
|
|
3916
3919
|
relevanceScore: number;
|
|
3920
|
+
access: "public" | "gated";
|
|
3917
3921
|
description?: string | undefined;
|
|
3918
3922
|
language?: string | undefined;
|
|
3919
3923
|
handle?: string | undefined;
|
|
3920
3924
|
}[];
|
|
3925
|
+
captureId?: string | undefined;
|
|
3926
|
+
capturedUrl?: string | undefined;
|
|
3921
3927
|
}, {
|
|
3922
3928
|
orgId: string;
|
|
3923
3929
|
taskId: string;
|
|
@@ -3927,13 +3933,15 @@ declare const SourceIntakeBodySchema: z.ZodObject<{
|
|
|
3927
3933
|
name: string;
|
|
3928
3934
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3929
3935
|
url: string;
|
|
3930
|
-
access: "public" | "gated";
|
|
3931
3936
|
reason: string;
|
|
3932
3937
|
relevanceScore: number;
|
|
3938
|
+
access: "public" | "gated";
|
|
3933
3939
|
description?: string | undefined;
|
|
3934
3940
|
language?: string | undefined;
|
|
3935
3941
|
handle?: string | undefined;
|
|
3936
3942
|
}[];
|
|
3943
|
+
captureId?: string | undefined;
|
|
3944
|
+
capturedUrl?: string | undefined;
|
|
3937
3945
|
}>;
|
|
3938
3946
|
type SourceIntakeBody = z.infer<typeof SourceIntakeBodySchema>;
|
|
3939
3947
|
declare const SourceIntakeResultSchema: z.ZodObject<{
|