@badger_badger/badger_hq 1.5.1 → 1.6.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 +27 -0
- package/README.md +16 -12
- package/dist/{agent-session-Bsn8W7Xv.d.cts → agent-session-oZI9RyQ_.d.cts} +618 -188
- package/dist/{agent-session-Bsn8W7Xv.d.ts → agent-session-oZI9RyQ_.d.ts} +618 -188
- package/dist/index.cjs +102 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +982 -148
- package/dist/index.d.ts +982 -148
- package/dist/index.js +92 -4
- package/dist/index.js.map +1 -1
- package/dist/mongo/index.cjs +171 -6
- package/dist/mongo/index.cjs.map +1 -1
- package/dist/mongo/index.d.cts +567 -101
- package/dist/mongo/index.d.ts +567 -101
- package/dist/mongo/index.js +170 -7
- package/dist/mongo/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { A as
|
|
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_.js';
|
|
3
3
|
|
|
4
4
|
/** 24-char hex string: the wire representation of a Mongo ObjectId. */
|
|
5
5
|
declare const ObjectIdString: z.ZodString;
|
|
@@ -173,6 +173,82 @@ declare const TaskCriteriaSchema: z.ZodObject<{
|
|
|
173
173
|
type TaskCriteria = z.infer<typeof TaskCriteriaSchema>;
|
|
174
174
|
type TaskCriteriaInput = z.input<typeof TaskCriteriaSchema>;
|
|
175
175
|
|
|
176
|
+
declare const MAX_CAPTURE_WINDOW_DAYS = 90;
|
|
177
|
+
/** True for an absolute `http:` / `https:` URL. Anything else (`javascript:`, `data:`, `file:`, `chrome:`) is not a source. */
|
|
178
|
+
declare function isHttpUrl(value: string): boolean;
|
|
179
|
+
/**
|
|
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
|
|
182
|
+
* source is already in `sources`; a pasted URL may not be.
|
|
183
|
+
*/
|
|
184
|
+
declare const TaskTargetSchema: z.ZodObject<{
|
|
185
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
186
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
187
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
188
|
+
label: z.ZodOptional<z.ZodString>;
|
|
189
|
+
/** Why a person collects it instead of a scraper. */
|
|
190
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
191
|
+
note: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, "strip", z.ZodTypeAny, {
|
|
193
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
194
|
+
url: string;
|
|
195
|
+
sourceId?: string | undefined;
|
|
196
|
+
label?: string | undefined;
|
|
197
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
198
|
+
note?: string | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
201
|
+
url: string;
|
|
202
|
+
sourceId?: string | undefined;
|
|
203
|
+
label?: string | undefined;
|
|
204
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
205
|
+
note?: string | undefined;
|
|
206
|
+
}>;
|
|
207
|
+
type TaskTarget = z.infer<typeof TaskTargetSchema>;
|
|
208
|
+
/**
|
|
209
|
+
* What a Monitor task should capture. `last_days` is counted back from when the person
|
|
210
|
+
* starts working the task; `range` is fixed: `[start, end)`, `end` exclusive and after `start`,
|
|
211
|
+
* at most `MAX_CAPTURE_WINDOW_DAYS` long.
|
|
212
|
+
*/
|
|
213
|
+
declare const CaptureWindowSchema: z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
214
|
+
mode: z.ZodLiteral<"last_days">;
|
|
215
|
+
days: z.ZodNumber;
|
|
216
|
+
}, "strip", z.ZodTypeAny, {
|
|
217
|
+
mode: "last_days";
|
|
218
|
+
days: number;
|
|
219
|
+
}, {
|
|
220
|
+
mode: "last_days";
|
|
221
|
+
days: number;
|
|
222
|
+
}>, z.ZodObject<{
|
|
223
|
+
mode: z.ZodLiteral<"range">;
|
|
224
|
+
start: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
225
|
+
end: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
226
|
+
}, "strip", z.ZodTypeAny, {
|
|
227
|
+
start: Date;
|
|
228
|
+
end: Date;
|
|
229
|
+
mode: "range";
|
|
230
|
+
}, {
|
|
231
|
+
start: string | Date;
|
|
232
|
+
end: string | Date;
|
|
233
|
+
mode: "range";
|
|
234
|
+
}>]>, {
|
|
235
|
+
mode: "last_days";
|
|
236
|
+
days: number;
|
|
237
|
+
} | {
|
|
238
|
+
start: Date;
|
|
239
|
+
end: Date;
|
|
240
|
+
mode: "range";
|
|
241
|
+
}, {
|
|
242
|
+
mode: "last_days";
|
|
243
|
+
days: number;
|
|
244
|
+
} | {
|
|
245
|
+
start: string | Date;
|
|
246
|
+
end: string | Date;
|
|
247
|
+
mode: "range";
|
|
248
|
+
}>;
|
|
249
|
+
type CaptureWindow = z.infer<typeof CaptureWindowSchema>;
|
|
250
|
+
type CaptureWindowInput = z.input<typeof CaptureWindowSchema>;
|
|
251
|
+
|
|
176
252
|
/**
|
|
177
253
|
* Fragments shared by `ScoutProfile` and `AnalystProfile`: the data the
|
|
178
254
|
* matching engine reads. Identity lives in Clerk; these hold skills only.
|
|
@@ -197,11 +273,11 @@ declare const SpecialAccessSchema: z.ZodObject<{
|
|
|
197
273
|
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
198
274
|
note: z.ZodString;
|
|
199
275
|
}, "strip", z.ZodTypeAny, {
|
|
200
|
-
note: string;
|
|
201
276
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
202
|
-
}, {
|
|
203
277
|
note: string;
|
|
278
|
+
}, {
|
|
204
279
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
280
|
+
note: string;
|
|
205
281
|
}>;
|
|
206
282
|
type SpecialAccess = z.infer<typeof SpecialAccessSchema>;
|
|
207
283
|
declare const PlatformAccessSchema: z.ZodObject<{
|
|
@@ -212,25 +288,25 @@ declare const PlatformAccessSchema: z.ZodObject<{
|
|
|
212
288
|
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
213
289
|
note: z.ZodString;
|
|
214
290
|
}, "strip", z.ZodTypeAny, {
|
|
215
|
-
note: string;
|
|
216
291
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
217
|
-
}, {
|
|
218
292
|
note: string;
|
|
293
|
+
}, {
|
|
219
294
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
295
|
+
note: string;
|
|
220
296
|
}>, "many">>;
|
|
221
297
|
}, "strip", z.ZodTypeAny, {
|
|
222
298
|
platforms: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[];
|
|
223
299
|
all: boolean;
|
|
224
300
|
special: {
|
|
225
|
-
note: string;
|
|
226
301
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
302
|
+
note: string;
|
|
227
303
|
}[];
|
|
228
304
|
}, {
|
|
229
305
|
platforms?: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[] | undefined;
|
|
230
306
|
all?: boolean | undefined;
|
|
231
307
|
special?: {
|
|
232
|
-
note: string;
|
|
233
308
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
309
|
+
note: string;
|
|
234
310
|
}[] | undefined;
|
|
235
311
|
}>;
|
|
236
312
|
type PlatformAccess = z.infer<typeof PlatformAccessSchema>;
|
|
@@ -265,25 +341,25 @@ declare const MatchingFieldsSchema: z.ZodObject<{
|
|
|
265
341
|
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
266
342
|
note: z.ZodString;
|
|
267
343
|
}, "strip", z.ZodTypeAny, {
|
|
268
|
-
note: string;
|
|
269
344
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
270
|
-
}, {
|
|
271
345
|
note: string;
|
|
346
|
+
}, {
|
|
272
347
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
348
|
+
note: string;
|
|
273
349
|
}>, "many">>;
|
|
274
350
|
}, "strip", z.ZodTypeAny, {
|
|
275
351
|
platforms: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[];
|
|
276
352
|
all: boolean;
|
|
277
353
|
special: {
|
|
278
|
-
note: string;
|
|
279
354
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
355
|
+
note: string;
|
|
280
356
|
}[];
|
|
281
357
|
}, {
|
|
282
358
|
platforms?: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[] | undefined;
|
|
283
359
|
all?: boolean | undefined;
|
|
284
360
|
special?: {
|
|
285
|
-
note: string;
|
|
286
361
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
362
|
+
note: string;
|
|
287
363
|
}[] | undefined;
|
|
288
364
|
}>>;
|
|
289
365
|
profession: z.ZodOptional<z.ZodString>;
|
|
@@ -302,8 +378,8 @@ declare const MatchingFieldsSchema: z.ZodObject<{
|
|
|
302
378
|
platforms: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[];
|
|
303
379
|
all: boolean;
|
|
304
380
|
special: {
|
|
305
|
-
note: string;
|
|
306
381
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
382
|
+
note: string;
|
|
307
383
|
}[];
|
|
308
384
|
};
|
|
309
385
|
profession?: string | undefined;
|
|
@@ -322,8 +398,8 @@ declare const MatchingFieldsSchema: z.ZodObject<{
|
|
|
322
398
|
platforms?: ("telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web")[] | undefined;
|
|
323
399
|
all?: boolean | undefined;
|
|
324
400
|
special?: {
|
|
325
|
-
note: string;
|
|
326
401
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
402
|
+
note: string;
|
|
327
403
|
}[] | undefined;
|
|
328
404
|
} | undefined;
|
|
329
405
|
taskLimit?: number | undefined;
|
|
@@ -399,6 +475,28 @@ declare const AgentTaskCriteriaSchema: z.ZodObject<{
|
|
|
399
475
|
} | undefined;
|
|
400
476
|
}>;
|
|
401
477
|
type AgentTaskCriteria = z.infer<typeof AgentTaskCriteriaSchema>;
|
|
478
|
+
/** The task's source as shown to agents: no internal source id. */
|
|
479
|
+
declare const AgentTaskTargetSchema: z.ZodObject<Omit<{
|
|
480
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
481
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
482
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
483
|
+
label: z.ZodOptional<z.ZodString>;
|
|
484
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
485
|
+
note: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
487
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
488
|
+
url: string;
|
|
489
|
+
label?: string | undefined;
|
|
490
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
491
|
+
note?: string | undefined;
|
|
492
|
+
}, {
|
|
493
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
494
|
+
url: string;
|
|
495
|
+
label?: string | undefined;
|
|
496
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
497
|
+
note?: string | undefined;
|
|
498
|
+
}>;
|
|
499
|
+
type AgentTaskTarget = z.infer<typeof AgentTaskTargetSchema>;
|
|
402
500
|
/** Subset of Task exposed to agents. */
|
|
403
501
|
declare const AgentTaskSchema: z.ZodObject<{
|
|
404
502
|
id: z.ZodString;
|
|
@@ -447,6 +545,62 @@ declare const AgentTaskSchema: z.ZodObject<{
|
|
|
447
545
|
end: Date;
|
|
448
546
|
} | undefined;
|
|
449
547
|
}>;
|
|
548
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
549
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
550
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
551
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
552
|
+
label: z.ZodOptional<z.ZodString>;
|
|
553
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
554
|
+
note: z.ZodOptional<z.ZodString>;
|
|
555
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
556
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
557
|
+
url: string;
|
|
558
|
+
label?: string | undefined;
|
|
559
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
560
|
+
note?: string | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
563
|
+
url: string;
|
|
564
|
+
label?: string | undefined;
|
|
565
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
566
|
+
note?: string | undefined;
|
|
567
|
+
}>>;
|
|
568
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
569
|
+
mode: z.ZodLiteral<"last_days">;
|
|
570
|
+
days: z.ZodNumber;
|
|
571
|
+
}, "strip", z.ZodTypeAny, {
|
|
572
|
+
mode: "last_days";
|
|
573
|
+
days: number;
|
|
574
|
+
}, {
|
|
575
|
+
mode: "last_days";
|
|
576
|
+
days: number;
|
|
577
|
+
}>, z.ZodObject<{
|
|
578
|
+
mode: z.ZodLiteral<"range">;
|
|
579
|
+
start: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
580
|
+
end: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
|
582
|
+
start: Date;
|
|
583
|
+
end: Date;
|
|
584
|
+
mode: "range";
|
|
585
|
+
}, {
|
|
586
|
+
start: string | Date;
|
|
587
|
+
end: string | Date;
|
|
588
|
+
mode: "range";
|
|
589
|
+
}>]>, {
|
|
590
|
+
mode: "last_days";
|
|
591
|
+
days: number;
|
|
592
|
+
} | {
|
|
593
|
+
start: Date;
|
|
594
|
+
end: Date;
|
|
595
|
+
mode: "range";
|
|
596
|
+
}, {
|
|
597
|
+
mode: "last_days";
|
|
598
|
+
days: number;
|
|
599
|
+
} | {
|
|
600
|
+
start: string | Date;
|
|
601
|
+
end: string | Date;
|
|
602
|
+
mode: "range";
|
|
603
|
+
}>>;
|
|
450
604
|
status: z.ZodEnum<["draft", "pending_approval", "approved", "in_progress", "paused", "done"]>;
|
|
451
605
|
version: z.ZodNumber;
|
|
452
606
|
updatedAt: z.ZodDate;
|
|
@@ -470,6 +624,21 @@ declare const AgentTaskSchema: z.ZodObject<{
|
|
|
470
624
|
};
|
|
471
625
|
version: number;
|
|
472
626
|
id: string;
|
|
627
|
+
target?: {
|
|
628
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
629
|
+
url: string;
|
|
630
|
+
label?: string | undefined;
|
|
631
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
632
|
+
note?: string | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
captureWindow?: {
|
|
635
|
+
mode: "last_days";
|
|
636
|
+
days: number;
|
|
637
|
+
} | {
|
|
638
|
+
start: Date;
|
|
639
|
+
end: Date;
|
|
640
|
+
mode: "range";
|
|
641
|
+
} | undefined;
|
|
473
642
|
}, {
|
|
474
643
|
status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
|
|
475
644
|
updatedAt: Date;
|
|
@@ -490,6 +659,21 @@ declare const AgentTaskSchema: z.ZodObject<{
|
|
|
490
659
|
};
|
|
491
660
|
version: number;
|
|
492
661
|
id: string;
|
|
662
|
+
target?: {
|
|
663
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
664
|
+
url: string;
|
|
665
|
+
label?: string | undefined;
|
|
666
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
667
|
+
note?: string | undefined;
|
|
668
|
+
} | undefined;
|
|
669
|
+
captureWindow?: {
|
|
670
|
+
mode: "last_days";
|
|
671
|
+
days: number;
|
|
672
|
+
} | {
|
|
673
|
+
start: string | Date;
|
|
674
|
+
end: string | Date;
|
|
675
|
+
mode: "range";
|
|
676
|
+
} | undefined;
|
|
493
677
|
}>;
|
|
494
678
|
type AgentTask = z.infer<typeof AgentTaskSchema>;
|
|
495
679
|
/** Org reference; present only for analysts. */
|
|
@@ -555,6 +739,62 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
|
|
|
555
739
|
end: Date;
|
|
556
740
|
} | undefined;
|
|
557
741
|
}>;
|
|
742
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
743
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
744
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
745
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
746
|
+
label: z.ZodOptional<z.ZodString>;
|
|
747
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
748
|
+
note: z.ZodOptional<z.ZodString>;
|
|
749
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
750
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
751
|
+
url: string;
|
|
752
|
+
label?: string | undefined;
|
|
753
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
754
|
+
note?: string | undefined;
|
|
755
|
+
}, {
|
|
756
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
757
|
+
url: string;
|
|
758
|
+
label?: string | undefined;
|
|
759
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
760
|
+
note?: string | undefined;
|
|
761
|
+
}>>;
|
|
762
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
763
|
+
mode: z.ZodLiteral<"last_days">;
|
|
764
|
+
days: z.ZodNumber;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
mode: "last_days";
|
|
767
|
+
days: number;
|
|
768
|
+
}, {
|
|
769
|
+
mode: "last_days";
|
|
770
|
+
days: number;
|
|
771
|
+
}>, z.ZodObject<{
|
|
772
|
+
mode: z.ZodLiteral<"range">;
|
|
773
|
+
start: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
774
|
+
end: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
775
|
+
}, "strip", z.ZodTypeAny, {
|
|
776
|
+
start: Date;
|
|
777
|
+
end: Date;
|
|
778
|
+
mode: "range";
|
|
779
|
+
}, {
|
|
780
|
+
start: string | Date;
|
|
781
|
+
end: string | Date;
|
|
782
|
+
mode: "range";
|
|
783
|
+
}>]>, {
|
|
784
|
+
mode: "last_days";
|
|
785
|
+
days: number;
|
|
786
|
+
} | {
|
|
787
|
+
start: Date;
|
|
788
|
+
end: Date;
|
|
789
|
+
mode: "range";
|
|
790
|
+
}, {
|
|
791
|
+
mode: "last_days";
|
|
792
|
+
days: number;
|
|
793
|
+
} | {
|
|
794
|
+
start: string | Date;
|
|
795
|
+
end: string | Date;
|
|
796
|
+
mode: "range";
|
|
797
|
+
}>>;
|
|
558
798
|
status: z.ZodEnum<["draft", "pending_approval", "approved", "in_progress", "paused", "done"]>;
|
|
559
799
|
version: z.ZodNumber;
|
|
560
800
|
updatedAt: z.ZodDate;
|
|
@@ -578,6 +818,21 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
|
|
|
578
818
|
};
|
|
579
819
|
version: number;
|
|
580
820
|
id: string;
|
|
821
|
+
target?: {
|
|
822
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
823
|
+
url: string;
|
|
824
|
+
label?: string | undefined;
|
|
825
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
826
|
+
note?: string | undefined;
|
|
827
|
+
} | undefined;
|
|
828
|
+
captureWindow?: {
|
|
829
|
+
mode: "last_days";
|
|
830
|
+
days: number;
|
|
831
|
+
} | {
|
|
832
|
+
start: Date;
|
|
833
|
+
end: Date;
|
|
834
|
+
mode: "range";
|
|
835
|
+
} | undefined;
|
|
581
836
|
}, {
|
|
582
837
|
status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
|
|
583
838
|
updatedAt: Date;
|
|
@@ -598,6 +853,21 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
|
|
|
598
853
|
};
|
|
599
854
|
version: number;
|
|
600
855
|
id: string;
|
|
856
|
+
target?: {
|
|
857
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
858
|
+
url: string;
|
|
859
|
+
label?: string | undefined;
|
|
860
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
861
|
+
note?: string | undefined;
|
|
862
|
+
} | undefined;
|
|
863
|
+
captureWindow?: {
|
|
864
|
+
mode: "last_days";
|
|
865
|
+
days: number;
|
|
866
|
+
} | {
|
|
867
|
+
start: string | Date;
|
|
868
|
+
end: string | Date;
|
|
869
|
+
mode: "range";
|
|
870
|
+
} | undefined;
|
|
601
871
|
}>;
|
|
602
872
|
missionTitle: z.ZodString;
|
|
603
873
|
org: z.ZodOptional<z.ZodObject<{
|
|
@@ -633,6 +903,21 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
|
|
|
633
903
|
};
|
|
634
904
|
version: number;
|
|
635
905
|
id: string;
|
|
906
|
+
target?: {
|
|
907
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
908
|
+
url: string;
|
|
909
|
+
label?: string | undefined;
|
|
910
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
911
|
+
note?: string | undefined;
|
|
912
|
+
} | undefined;
|
|
913
|
+
captureWindow?: {
|
|
914
|
+
mode: "last_days";
|
|
915
|
+
days: number;
|
|
916
|
+
} | {
|
|
917
|
+
start: Date;
|
|
918
|
+
end: Date;
|
|
919
|
+
mode: "range";
|
|
920
|
+
} | undefined;
|
|
636
921
|
};
|
|
637
922
|
missionTitle: string;
|
|
638
923
|
org?: {
|
|
@@ -662,6 +947,21 @@ declare const AgentAssignmentItemSchema: z.ZodObject<{
|
|
|
662
947
|
};
|
|
663
948
|
version: number;
|
|
664
949
|
id: string;
|
|
950
|
+
target?: {
|
|
951
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
952
|
+
url: string;
|
|
953
|
+
label?: string | undefined;
|
|
954
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
955
|
+
note?: string | undefined;
|
|
956
|
+
} | undefined;
|
|
957
|
+
captureWindow?: {
|
|
958
|
+
mode: "last_days";
|
|
959
|
+
days: number;
|
|
960
|
+
} | {
|
|
961
|
+
start: string | Date;
|
|
962
|
+
end: string | Date;
|
|
963
|
+
mode: "range";
|
|
964
|
+
} | undefined;
|
|
665
965
|
};
|
|
666
966
|
missionTitle: string;
|
|
667
967
|
org?: {
|
|
@@ -721,6 +1021,62 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
721
1021
|
end: Date;
|
|
722
1022
|
} | undefined;
|
|
723
1023
|
}>;
|
|
1024
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
1025
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
1027
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
1028
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1029
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
1030
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1031
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
1032
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1033
|
+
url: string;
|
|
1034
|
+
label?: string | undefined;
|
|
1035
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1036
|
+
note?: string | undefined;
|
|
1037
|
+
}, {
|
|
1038
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1039
|
+
url: string;
|
|
1040
|
+
label?: string | undefined;
|
|
1041
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1042
|
+
note?: string | undefined;
|
|
1043
|
+
}>>;
|
|
1044
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodDiscriminatedUnion<"mode", [z.ZodObject<{
|
|
1045
|
+
mode: z.ZodLiteral<"last_days">;
|
|
1046
|
+
days: z.ZodNumber;
|
|
1047
|
+
}, "strip", z.ZodTypeAny, {
|
|
1048
|
+
mode: "last_days";
|
|
1049
|
+
days: number;
|
|
1050
|
+
}, {
|
|
1051
|
+
mode: "last_days";
|
|
1052
|
+
days: number;
|
|
1053
|
+
}>, z.ZodObject<{
|
|
1054
|
+
mode: z.ZodLiteral<"range">;
|
|
1055
|
+
start: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
1056
|
+
end: z.ZodPipeline<z.ZodUnion<[z.ZodDate, z.ZodString]>, z.ZodDate>;
|
|
1057
|
+
}, "strip", z.ZodTypeAny, {
|
|
1058
|
+
start: Date;
|
|
1059
|
+
end: Date;
|
|
1060
|
+
mode: "range";
|
|
1061
|
+
}, {
|
|
1062
|
+
start: string | Date;
|
|
1063
|
+
end: string | Date;
|
|
1064
|
+
mode: "range";
|
|
1065
|
+
}>]>, {
|
|
1066
|
+
mode: "last_days";
|
|
1067
|
+
days: number;
|
|
1068
|
+
} | {
|
|
1069
|
+
start: Date;
|
|
1070
|
+
end: Date;
|
|
1071
|
+
mode: "range";
|
|
1072
|
+
}, {
|
|
1073
|
+
mode: "last_days";
|
|
1074
|
+
days: number;
|
|
1075
|
+
} | {
|
|
1076
|
+
start: string | Date;
|
|
1077
|
+
end: string | Date;
|
|
1078
|
+
mode: "range";
|
|
1079
|
+
}>>;
|
|
724
1080
|
status: z.ZodEnum<["draft", "pending_approval", "approved", "in_progress", "paused", "done"]>;
|
|
725
1081
|
version: z.ZodNumber;
|
|
726
1082
|
updatedAt: z.ZodDate;
|
|
@@ -744,6 +1100,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
744
1100
|
};
|
|
745
1101
|
version: number;
|
|
746
1102
|
id: string;
|
|
1103
|
+
target?: {
|
|
1104
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1105
|
+
url: string;
|
|
1106
|
+
label?: string | undefined;
|
|
1107
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1108
|
+
note?: string | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
captureWindow?: {
|
|
1111
|
+
mode: "last_days";
|
|
1112
|
+
days: number;
|
|
1113
|
+
} | {
|
|
1114
|
+
start: Date;
|
|
1115
|
+
end: Date;
|
|
1116
|
+
mode: "range";
|
|
1117
|
+
} | undefined;
|
|
747
1118
|
}, {
|
|
748
1119
|
status: "draft" | "paused" | "pending_approval" | "approved" | "in_progress" | "done";
|
|
749
1120
|
updatedAt: Date;
|
|
@@ -764,6 +1135,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
764
1135
|
};
|
|
765
1136
|
version: number;
|
|
766
1137
|
id: string;
|
|
1138
|
+
target?: {
|
|
1139
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1140
|
+
url: string;
|
|
1141
|
+
label?: string | undefined;
|
|
1142
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1143
|
+
note?: string | undefined;
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
captureWindow?: {
|
|
1146
|
+
mode: "last_days";
|
|
1147
|
+
days: number;
|
|
1148
|
+
} | {
|
|
1149
|
+
start: string | Date;
|
|
1150
|
+
end: string | Date;
|
|
1151
|
+
mode: "range";
|
|
1152
|
+
} | undefined;
|
|
767
1153
|
}>;
|
|
768
1154
|
missionTitle: z.ZodString;
|
|
769
1155
|
org: z.ZodOptional<z.ZodObject<{
|
|
@@ -799,6 +1185,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
799
1185
|
};
|
|
800
1186
|
version: number;
|
|
801
1187
|
id: string;
|
|
1188
|
+
target?: {
|
|
1189
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1190
|
+
url: string;
|
|
1191
|
+
label?: string | undefined;
|
|
1192
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1193
|
+
note?: string | undefined;
|
|
1194
|
+
} | undefined;
|
|
1195
|
+
captureWindow?: {
|
|
1196
|
+
mode: "last_days";
|
|
1197
|
+
days: number;
|
|
1198
|
+
} | {
|
|
1199
|
+
start: Date;
|
|
1200
|
+
end: Date;
|
|
1201
|
+
mode: "range";
|
|
1202
|
+
} | undefined;
|
|
802
1203
|
};
|
|
803
1204
|
missionTitle: string;
|
|
804
1205
|
org?: {
|
|
@@ -828,6 +1229,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
828
1229
|
};
|
|
829
1230
|
version: number;
|
|
830
1231
|
id: string;
|
|
1232
|
+
target?: {
|
|
1233
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1234
|
+
url: string;
|
|
1235
|
+
label?: string | undefined;
|
|
1236
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1237
|
+
note?: string | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
captureWindow?: {
|
|
1240
|
+
mode: "last_days";
|
|
1241
|
+
days: number;
|
|
1242
|
+
} | {
|
|
1243
|
+
start: string | Date;
|
|
1244
|
+
end: string | Date;
|
|
1245
|
+
mode: "range";
|
|
1246
|
+
} | undefined;
|
|
831
1247
|
};
|
|
832
1248
|
missionTitle: string;
|
|
833
1249
|
org?: {
|
|
@@ -859,6 +1275,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
859
1275
|
};
|
|
860
1276
|
version: number;
|
|
861
1277
|
id: string;
|
|
1278
|
+
target?: {
|
|
1279
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1280
|
+
url: string;
|
|
1281
|
+
label?: string | undefined;
|
|
1282
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1283
|
+
note?: string | undefined;
|
|
1284
|
+
} | undefined;
|
|
1285
|
+
captureWindow?: {
|
|
1286
|
+
mode: "last_days";
|
|
1287
|
+
days: number;
|
|
1288
|
+
} | {
|
|
1289
|
+
start: Date;
|
|
1290
|
+
end: Date;
|
|
1291
|
+
mode: "range";
|
|
1292
|
+
} | undefined;
|
|
862
1293
|
};
|
|
863
1294
|
missionTitle: string;
|
|
864
1295
|
org?: {
|
|
@@ -890,6 +1321,21 @@ declare const AgentAssignmentsResponseSchema: z.ZodObject<{
|
|
|
890
1321
|
};
|
|
891
1322
|
version: number;
|
|
892
1323
|
id: string;
|
|
1324
|
+
target?: {
|
|
1325
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1326
|
+
url: string;
|
|
1327
|
+
label?: string | undefined;
|
|
1328
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1329
|
+
note?: string | undefined;
|
|
1330
|
+
} | undefined;
|
|
1331
|
+
captureWindow?: {
|
|
1332
|
+
mode: "last_days";
|
|
1333
|
+
days: number;
|
|
1334
|
+
} | {
|
|
1335
|
+
start: string | Date;
|
|
1336
|
+
end: string | Date;
|
|
1337
|
+
mode: "range";
|
|
1338
|
+
} | undefined;
|
|
893
1339
|
};
|
|
894
1340
|
missionTitle: string;
|
|
895
1341
|
org?: {
|
|
@@ -1019,13 +1465,51 @@ declare const AgentSessionViewSchema: z.ZodObject<{
|
|
|
1019
1465
|
sourcesVisited?: number | undefined;
|
|
1020
1466
|
sourcesRemaining?: number | undefined;
|
|
1021
1467
|
}>;
|
|
1468
|
+
/** The task's source (no internal id), when it has one. */
|
|
1469
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
1470
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
1472
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
1473
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1474
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
1475
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1476
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
1477
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1478
|
+
url: string;
|
|
1479
|
+
label?: string | undefined;
|
|
1480
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1481
|
+
note?: string | undefined;
|
|
1482
|
+
}, {
|
|
1483
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1484
|
+
url: string;
|
|
1485
|
+
label?: string | undefined;
|
|
1486
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1487
|
+
note?: string | undefined;
|
|
1488
|
+
}>>;
|
|
1489
|
+
/** The capture window resolved to dates when the session started. */
|
|
1490
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1491
|
+
start: z.ZodDate;
|
|
1492
|
+
end: z.ZodDate;
|
|
1493
|
+
}, "strip", z.ZodTypeAny, {
|
|
1494
|
+
start: Date;
|
|
1495
|
+
end: Date;
|
|
1496
|
+
}, {
|
|
1497
|
+
start: Date;
|
|
1498
|
+
end: Date;
|
|
1499
|
+
}>, {
|
|
1500
|
+
start: Date;
|
|
1501
|
+
end: Date;
|
|
1502
|
+
}, {
|
|
1503
|
+
start: Date;
|
|
1504
|
+
end: Date;
|
|
1505
|
+
}>>;
|
|
1022
1506
|
}, "strip", z.ZodTypeAny, {
|
|
1023
1507
|
status: "active" | "paused" | "ended";
|
|
1508
|
+
mode: "monitor" | "discovery";
|
|
1024
1509
|
taskId: string;
|
|
1025
1510
|
endedAt: Date | null;
|
|
1026
1511
|
assignmentId: string;
|
|
1027
1512
|
id: string;
|
|
1028
|
-
mode: "monitor" | "discovery";
|
|
1029
1513
|
startedAt: Date;
|
|
1030
1514
|
activeMinutes: number;
|
|
1031
1515
|
lastSeq: number;
|
|
@@ -1044,13 +1528,24 @@ declare const AgentSessionViewSchema: z.ZodObject<{
|
|
|
1044
1528
|
};
|
|
1045
1529
|
missionTitle: string;
|
|
1046
1530
|
taskTitle: string;
|
|
1531
|
+
target?: {
|
|
1532
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1533
|
+
url: string;
|
|
1534
|
+
label?: string | undefined;
|
|
1535
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1536
|
+
note?: string | undefined;
|
|
1537
|
+
} | undefined;
|
|
1538
|
+
captureWindow?: {
|
|
1539
|
+
start: Date;
|
|
1540
|
+
end: Date;
|
|
1541
|
+
} | undefined;
|
|
1047
1542
|
}, {
|
|
1048
1543
|
status: "active" | "paused" | "ended";
|
|
1544
|
+
mode: "monitor" | "discovery";
|
|
1049
1545
|
taskId: string;
|
|
1050
1546
|
endedAt: Date | null;
|
|
1051
1547
|
assignmentId: string;
|
|
1052
1548
|
id: string;
|
|
1053
|
-
mode: "monitor" | "discovery";
|
|
1054
1549
|
startedAt: Date;
|
|
1055
1550
|
activeMinutes: number;
|
|
1056
1551
|
lastSeq: number;
|
|
@@ -1069,6 +1564,17 @@ declare const AgentSessionViewSchema: z.ZodObject<{
|
|
|
1069
1564
|
};
|
|
1070
1565
|
missionTitle: string;
|
|
1071
1566
|
taskTitle: string;
|
|
1567
|
+
target?: {
|
|
1568
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1569
|
+
url: string;
|
|
1570
|
+
label?: string | undefined;
|
|
1571
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1572
|
+
note?: string | undefined;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
captureWindow?: {
|
|
1575
|
+
start: Date;
|
|
1576
|
+
end: Date;
|
|
1577
|
+
} | undefined;
|
|
1072
1578
|
}>;
|
|
1073
1579
|
type AgentSessionView = z.infer<typeof AgentSessionViewSchema>;
|
|
1074
1580
|
declare const AgentMessageViewSchema: z.ZodObject<{
|
|
@@ -1083,14 +1589,14 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1083
1589
|
label: z.ZodString;
|
|
1084
1590
|
platform: z.ZodOptional<z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>>;
|
|
1085
1591
|
}, "strip", z.ZodTypeAny, {
|
|
1086
|
-
kind: "open_link";
|
|
1087
1592
|
url: string;
|
|
1088
1593
|
label: string;
|
|
1594
|
+
kind: "open_link";
|
|
1089
1595
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1090
1596
|
}, {
|
|
1091
|
-
kind: "open_link";
|
|
1092
1597
|
url: string;
|
|
1093
1598
|
label: string;
|
|
1599
|
+
kind: "open_link";
|
|
1094
1600
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1095
1601
|
}>, z.ZodObject<{
|
|
1096
1602
|
kind: z.ZodLiteral<"capture_prompt">;
|
|
@@ -1111,20 +1617,20 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1111
1617
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1112
1618
|
}, "strip", z.ZodTypeAny, {
|
|
1113
1619
|
name: string;
|
|
1114
|
-
kind: "source_result";
|
|
1115
1620
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1621
|
+
kind: "source_result";
|
|
1116
1622
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1117
1623
|
reason: string;
|
|
1118
|
-
score?: number | undefined;
|
|
1119
1624
|
url?: string | undefined;
|
|
1625
|
+
score?: number | undefined;
|
|
1120
1626
|
}, {
|
|
1121
1627
|
name: string;
|
|
1122
|
-
kind: "source_result";
|
|
1123
1628
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1629
|
+
kind: "source_result";
|
|
1124
1630
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1125
1631
|
reason: string;
|
|
1126
|
-
score?: number | undefined;
|
|
1127
1632
|
url?: string | undefined;
|
|
1633
|
+
score?: number | undefined;
|
|
1128
1634
|
}>, z.ZodObject<{
|
|
1129
1635
|
kind: z.ZodLiteral<"item_result">;
|
|
1130
1636
|
excerpt: z.ZodString;
|
|
@@ -1132,15 +1638,15 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1132
1638
|
priority: z.ZodBoolean;
|
|
1133
1639
|
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1134
1640
|
}, "strip", z.ZodTypeAny, {
|
|
1641
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1135
1642
|
priority: boolean;
|
|
1136
1643
|
kind: "item_result";
|
|
1137
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1138
1644
|
excerpt: string;
|
|
1139
1645
|
publishedAt?: Date | undefined;
|
|
1140
1646
|
}, {
|
|
1647
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1141
1648
|
priority: boolean;
|
|
1142
1649
|
kind: "item_result";
|
|
1143
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1144
1650
|
excerpt: string;
|
|
1145
1651
|
publishedAt?: Date | undefined;
|
|
1146
1652
|
}>, z.ZodObject<{
|
|
@@ -1150,23 +1656,23 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1150
1656
|
id: z.ZodString;
|
|
1151
1657
|
label: z.ZodString;
|
|
1152
1658
|
}, "strip", z.ZodTypeAny, {
|
|
1153
|
-
id: string;
|
|
1154
1659
|
label: string;
|
|
1155
|
-
}, {
|
|
1156
1660
|
id: string;
|
|
1661
|
+
}, {
|
|
1157
1662
|
label: string;
|
|
1663
|
+
id: string;
|
|
1158
1664
|
}>, "many">;
|
|
1159
1665
|
}, "strip", z.ZodTypeAny, {
|
|
1160
1666
|
options: {
|
|
1161
|
-
id: string;
|
|
1162
1667
|
label: string;
|
|
1668
|
+
id: string;
|
|
1163
1669
|
}[];
|
|
1164
1670
|
kind: "quick_replies";
|
|
1165
1671
|
questionId: string;
|
|
1166
1672
|
}, {
|
|
1167
1673
|
options: {
|
|
1168
|
-
id: string;
|
|
1169
1674
|
label: string;
|
|
1675
|
+
id: string;
|
|
1170
1676
|
}[];
|
|
1171
1677
|
kind: "quick_replies";
|
|
1172
1678
|
questionId: string;
|
|
@@ -1175,13 +1681,13 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1175
1681
|
minutes: z.ZodNumber;
|
|
1176
1682
|
note: z.ZodString;
|
|
1177
1683
|
}, "strip", z.ZodTypeAny, {
|
|
1684
|
+
note: string;
|
|
1178
1685
|
kind: "hours_proposal";
|
|
1179
1686
|
minutes: number;
|
|
1180
|
-
note: string;
|
|
1181
1687
|
}, {
|
|
1688
|
+
note: string;
|
|
1182
1689
|
kind: "hours_proposal";
|
|
1183
1690
|
minutes: number;
|
|
1184
|
-
note: string;
|
|
1185
1691
|
}>, z.ZodObject<{
|
|
1186
1692
|
kind: z.ZodLiteral<"capture_thumb">;
|
|
1187
1693
|
captureId: z.ZodString;
|
|
@@ -1201,38 +1707,38 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1201
1707
|
seq: number;
|
|
1202
1708
|
role: "system" | "agent" | "person";
|
|
1203
1709
|
cards: ({
|
|
1204
|
-
kind: "open_link";
|
|
1205
1710
|
url: string;
|
|
1206
1711
|
label: string;
|
|
1712
|
+
kind: "open_link";
|
|
1207
1713
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1208
1714
|
} | {
|
|
1209
1715
|
kind: "capture_prompt";
|
|
1210
1716
|
hint: string;
|
|
1211
1717
|
} | {
|
|
1212
1718
|
name: string;
|
|
1213
|
-
kind: "source_result";
|
|
1214
1719
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1720
|
+
kind: "source_result";
|
|
1215
1721
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1216
1722
|
reason: string;
|
|
1217
|
-
score?: number | undefined;
|
|
1218
1723
|
url?: string | undefined;
|
|
1724
|
+
score?: number | undefined;
|
|
1219
1725
|
} | {
|
|
1726
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1220
1727
|
priority: boolean;
|
|
1221
1728
|
kind: "item_result";
|
|
1222
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1223
1729
|
excerpt: string;
|
|
1224
1730
|
publishedAt?: Date | undefined;
|
|
1225
1731
|
} | {
|
|
1226
1732
|
options: {
|
|
1227
|
-
id: string;
|
|
1228
1733
|
label: string;
|
|
1734
|
+
id: string;
|
|
1229
1735
|
}[];
|
|
1230
1736
|
kind: "quick_replies";
|
|
1231
1737
|
questionId: string;
|
|
1232
1738
|
} | {
|
|
1739
|
+
note: string;
|
|
1233
1740
|
kind: "hours_proposal";
|
|
1234
1741
|
minutes: number;
|
|
1235
|
-
note: string;
|
|
1236
1742
|
} | {
|
|
1237
1743
|
kind: "capture_thumb";
|
|
1238
1744
|
captureId: string;
|
|
@@ -1245,38 +1751,38 @@ declare const AgentMessageViewSchema: z.ZodObject<{
|
|
|
1245
1751
|
seq: number;
|
|
1246
1752
|
role: "system" | "agent" | "person";
|
|
1247
1753
|
cards: ({
|
|
1248
|
-
kind: "open_link";
|
|
1249
1754
|
url: string;
|
|
1250
1755
|
label: string;
|
|
1756
|
+
kind: "open_link";
|
|
1251
1757
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1252
1758
|
} | {
|
|
1253
1759
|
kind: "capture_prompt";
|
|
1254
1760
|
hint: string;
|
|
1255
1761
|
} | {
|
|
1256
1762
|
name: string;
|
|
1257
|
-
kind: "source_result";
|
|
1258
1763
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1764
|
+
kind: "source_result";
|
|
1259
1765
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1260
1766
|
reason: string;
|
|
1261
|
-
score?: number | undefined;
|
|
1262
1767
|
url?: string | undefined;
|
|
1768
|
+
score?: number | undefined;
|
|
1263
1769
|
} | {
|
|
1770
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1264
1771
|
priority: boolean;
|
|
1265
1772
|
kind: "item_result";
|
|
1266
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1267
1773
|
excerpt: string;
|
|
1268
1774
|
publishedAt?: Date | undefined;
|
|
1269
1775
|
} | {
|
|
1270
1776
|
options: {
|
|
1271
|
-
id: string;
|
|
1272
1777
|
label: string;
|
|
1778
|
+
id: string;
|
|
1273
1779
|
}[];
|
|
1274
1780
|
kind: "quick_replies";
|
|
1275
1781
|
questionId: string;
|
|
1276
1782
|
} | {
|
|
1783
|
+
note: string;
|
|
1277
1784
|
kind: "hours_proposal";
|
|
1278
1785
|
minutes: number;
|
|
1279
|
-
note: string;
|
|
1280
1786
|
} | {
|
|
1281
1787
|
kind: "capture_thumb";
|
|
1282
1788
|
captureId: string;
|
|
@@ -1343,13 +1849,51 @@ declare const AgentSessionStartResponseSchema: z.ZodObject<{
|
|
|
1343
1849
|
sourcesVisited?: number | undefined;
|
|
1344
1850
|
sourcesRemaining?: number | undefined;
|
|
1345
1851
|
}>;
|
|
1852
|
+
/** The task's source (no internal id), when it has one. */
|
|
1853
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
1854
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
1855
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
1856
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
1857
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1858
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
1859
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1860
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
1861
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1862
|
+
url: string;
|
|
1863
|
+
label?: string | undefined;
|
|
1864
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1865
|
+
note?: string | undefined;
|
|
1866
|
+
}, {
|
|
1867
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1868
|
+
url: string;
|
|
1869
|
+
label?: string | undefined;
|
|
1870
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1871
|
+
note?: string | undefined;
|
|
1872
|
+
}>>;
|
|
1873
|
+
/** The capture window resolved to dates when the session started. */
|
|
1874
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1875
|
+
start: z.ZodDate;
|
|
1876
|
+
end: z.ZodDate;
|
|
1877
|
+
}, "strip", z.ZodTypeAny, {
|
|
1878
|
+
start: Date;
|
|
1879
|
+
end: Date;
|
|
1880
|
+
}, {
|
|
1881
|
+
start: Date;
|
|
1882
|
+
end: Date;
|
|
1883
|
+
}>, {
|
|
1884
|
+
start: Date;
|
|
1885
|
+
end: Date;
|
|
1886
|
+
}, {
|
|
1887
|
+
start: Date;
|
|
1888
|
+
end: Date;
|
|
1889
|
+
}>>;
|
|
1346
1890
|
}, "strip", z.ZodTypeAny, {
|
|
1347
1891
|
status: "active" | "paused" | "ended";
|
|
1892
|
+
mode: "monitor" | "discovery";
|
|
1348
1893
|
taskId: string;
|
|
1349
1894
|
endedAt: Date | null;
|
|
1350
1895
|
assignmentId: string;
|
|
1351
1896
|
id: string;
|
|
1352
|
-
mode: "monitor" | "discovery";
|
|
1353
1897
|
startedAt: Date;
|
|
1354
1898
|
activeMinutes: number;
|
|
1355
1899
|
lastSeq: number;
|
|
@@ -1368,13 +1912,24 @@ declare const AgentSessionStartResponseSchema: z.ZodObject<{
|
|
|
1368
1912
|
};
|
|
1369
1913
|
missionTitle: string;
|
|
1370
1914
|
taskTitle: string;
|
|
1915
|
+
target?: {
|
|
1916
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1917
|
+
url: string;
|
|
1918
|
+
label?: string | undefined;
|
|
1919
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1920
|
+
note?: string | undefined;
|
|
1921
|
+
} | undefined;
|
|
1922
|
+
captureWindow?: {
|
|
1923
|
+
start: Date;
|
|
1924
|
+
end: Date;
|
|
1925
|
+
} | undefined;
|
|
1371
1926
|
}, {
|
|
1372
1927
|
status: "active" | "paused" | "ended";
|
|
1928
|
+
mode: "monitor" | "discovery";
|
|
1373
1929
|
taskId: string;
|
|
1374
1930
|
endedAt: Date | null;
|
|
1375
1931
|
assignmentId: string;
|
|
1376
1932
|
id: string;
|
|
1377
|
-
mode: "monitor" | "discovery";
|
|
1378
1933
|
startedAt: Date;
|
|
1379
1934
|
activeMinutes: number;
|
|
1380
1935
|
lastSeq: number;
|
|
@@ -1393,16 +1948,27 @@ declare const AgentSessionStartResponseSchema: z.ZodObject<{
|
|
|
1393
1948
|
};
|
|
1394
1949
|
missionTitle: string;
|
|
1395
1950
|
taskTitle: string;
|
|
1951
|
+
target?: {
|
|
1952
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1953
|
+
url: string;
|
|
1954
|
+
label?: string | undefined;
|
|
1955
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1956
|
+
note?: string | undefined;
|
|
1957
|
+
} | undefined;
|
|
1958
|
+
captureWindow?: {
|
|
1959
|
+
start: Date;
|
|
1960
|
+
end: Date;
|
|
1961
|
+
} | undefined;
|
|
1396
1962
|
}>;
|
|
1397
1963
|
resumed: z.ZodBoolean;
|
|
1398
1964
|
}, "strip", z.ZodTypeAny, {
|
|
1399
1965
|
session: {
|
|
1400
1966
|
status: "active" | "paused" | "ended";
|
|
1967
|
+
mode: "monitor" | "discovery";
|
|
1401
1968
|
taskId: string;
|
|
1402
1969
|
endedAt: Date | null;
|
|
1403
1970
|
assignmentId: string;
|
|
1404
1971
|
id: string;
|
|
1405
|
-
mode: "monitor" | "discovery";
|
|
1406
1972
|
startedAt: Date;
|
|
1407
1973
|
activeMinutes: number;
|
|
1408
1974
|
lastSeq: number;
|
|
@@ -1421,16 +1987,27 @@ declare const AgentSessionStartResponseSchema: z.ZodObject<{
|
|
|
1421
1987
|
};
|
|
1422
1988
|
missionTitle: string;
|
|
1423
1989
|
taskTitle: string;
|
|
1990
|
+
target?: {
|
|
1991
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1992
|
+
url: string;
|
|
1993
|
+
label?: string | undefined;
|
|
1994
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
1995
|
+
note?: string | undefined;
|
|
1996
|
+
} | undefined;
|
|
1997
|
+
captureWindow?: {
|
|
1998
|
+
start: Date;
|
|
1999
|
+
end: Date;
|
|
2000
|
+
} | undefined;
|
|
1424
2001
|
};
|
|
1425
2002
|
resumed: boolean;
|
|
1426
2003
|
}, {
|
|
1427
2004
|
session: {
|
|
1428
2005
|
status: "active" | "paused" | "ended";
|
|
2006
|
+
mode: "monitor" | "discovery";
|
|
1429
2007
|
taskId: string;
|
|
1430
2008
|
endedAt: Date | null;
|
|
1431
2009
|
assignmentId: string;
|
|
1432
2010
|
id: string;
|
|
1433
|
-
mode: "monitor" | "discovery";
|
|
1434
2011
|
startedAt: Date;
|
|
1435
2012
|
activeMinutes: number;
|
|
1436
2013
|
lastSeq: number;
|
|
@@ -1449,6 +2026,17 @@ declare const AgentSessionStartResponseSchema: z.ZodObject<{
|
|
|
1449
2026
|
};
|
|
1450
2027
|
missionTitle: string;
|
|
1451
2028
|
taskTitle: string;
|
|
2029
|
+
target?: {
|
|
2030
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2031
|
+
url: string;
|
|
2032
|
+
label?: string | undefined;
|
|
2033
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2034
|
+
note?: string | undefined;
|
|
2035
|
+
} | undefined;
|
|
2036
|
+
captureWindow?: {
|
|
2037
|
+
start: Date;
|
|
2038
|
+
end: Date;
|
|
2039
|
+
} | undefined;
|
|
1452
2040
|
};
|
|
1453
2041
|
resumed: boolean;
|
|
1454
2042
|
}>;
|
|
@@ -1504,13 +2092,51 @@ declare const AgentSessionResponseSchema: z.ZodObject<{
|
|
|
1504
2092
|
sourcesVisited?: number | undefined;
|
|
1505
2093
|
sourcesRemaining?: number | undefined;
|
|
1506
2094
|
}>;
|
|
2095
|
+
/** The task's source (no internal id), when it has one. */
|
|
2096
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
2097
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
2098
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
2099
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
2100
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2101
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
2102
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2103
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
2104
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2105
|
+
url: string;
|
|
2106
|
+
label?: string | undefined;
|
|
2107
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2108
|
+
note?: string | undefined;
|
|
2109
|
+
}, {
|
|
2110
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2111
|
+
url: string;
|
|
2112
|
+
label?: string | undefined;
|
|
2113
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2114
|
+
note?: string | undefined;
|
|
2115
|
+
}>>;
|
|
2116
|
+
/** The capture window resolved to dates when the session started. */
|
|
2117
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2118
|
+
start: z.ZodDate;
|
|
2119
|
+
end: z.ZodDate;
|
|
2120
|
+
}, "strip", z.ZodTypeAny, {
|
|
2121
|
+
start: Date;
|
|
2122
|
+
end: Date;
|
|
2123
|
+
}, {
|
|
2124
|
+
start: Date;
|
|
2125
|
+
end: Date;
|
|
2126
|
+
}>, {
|
|
2127
|
+
start: Date;
|
|
2128
|
+
end: Date;
|
|
2129
|
+
}, {
|
|
2130
|
+
start: Date;
|
|
2131
|
+
end: Date;
|
|
2132
|
+
}>>;
|
|
1507
2133
|
}, "strip", z.ZodTypeAny, {
|
|
1508
2134
|
status: "active" | "paused" | "ended";
|
|
2135
|
+
mode: "monitor" | "discovery";
|
|
1509
2136
|
taskId: string;
|
|
1510
2137
|
endedAt: Date | null;
|
|
1511
2138
|
assignmentId: string;
|
|
1512
2139
|
id: string;
|
|
1513
|
-
mode: "monitor" | "discovery";
|
|
1514
2140
|
startedAt: Date;
|
|
1515
2141
|
activeMinutes: number;
|
|
1516
2142
|
lastSeq: number;
|
|
@@ -1529,13 +2155,24 @@ declare const AgentSessionResponseSchema: z.ZodObject<{
|
|
|
1529
2155
|
};
|
|
1530
2156
|
missionTitle: string;
|
|
1531
2157
|
taskTitle: string;
|
|
2158
|
+
target?: {
|
|
2159
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2160
|
+
url: string;
|
|
2161
|
+
label?: string | undefined;
|
|
2162
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2163
|
+
note?: string | undefined;
|
|
2164
|
+
} | undefined;
|
|
2165
|
+
captureWindow?: {
|
|
2166
|
+
start: Date;
|
|
2167
|
+
end: Date;
|
|
2168
|
+
} | undefined;
|
|
1532
2169
|
}, {
|
|
1533
2170
|
status: "active" | "paused" | "ended";
|
|
2171
|
+
mode: "monitor" | "discovery";
|
|
1534
2172
|
taskId: string;
|
|
1535
2173
|
endedAt: Date | null;
|
|
1536
2174
|
assignmentId: string;
|
|
1537
2175
|
id: string;
|
|
1538
|
-
mode: "monitor" | "discovery";
|
|
1539
2176
|
startedAt: Date;
|
|
1540
2177
|
activeMinutes: number;
|
|
1541
2178
|
lastSeq: number;
|
|
@@ -1554,15 +2191,26 @@ declare const AgentSessionResponseSchema: z.ZodObject<{
|
|
|
1554
2191
|
};
|
|
1555
2192
|
missionTitle: string;
|
|
1556
2193
|
taskTitle: string;
|
|
2194
|
+
target?: {
|
|
2195
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2196
|
+
url: string;
|
|
2197
|
+
label?: string | undefined;
|
|
2198
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2199
|
+
note?: string | undefined;
|
|
2200
|
+
} | undefined;
|
|
2201
|
+
captureWindow?: {
|
|
2202
|
+
start: Date;
|
|
2203
|
+
end: Date;
|
|
2204
|
+
} | undefined;
|
|
1557
2205
|
}>;
|
|
1558
2206
|
}, "strip", z.ZodTypeAny, {
|
|
1559
2207
|
session: {
|
|
1560
2208
|
status: "active" | "paused" | "ended";
|
|
2209
|
+
mode: "monitor" | "discovery";
|
|
1561
2210
|
taskId: string;
|
|
1562
2211
|
endedAt: Date | null;
|
|
1563
2212
|
assignmentId: string;
|
|
1564
2213
|
id: string;
|
|
1565
|
-
mode: "monitor" | "discovery";
|
|
1566
2214
|
startedAt: Date;
|
|
1567
2215
|
activeMinutes: number;
|
|
1568
2216
|
lastSeq: number;
|
|
@@ -1581,15 +2229,26 @@ declare const AgentSessionResponseSchema: z.ZodObject<{
|
|
|
1581
2229
|
};
|
|
1582
2230
|
missionTitle: string;
|
|
1583
2231
|
taskTitle: string;
|
|
2232
|
+
target?: {
|
|
2233
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2234
|
+
url: string;
|
|
2235
|
+
label?: string | undefined;
|
|
2236
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2237
|
+
note?: string | undefined;
|
|
2238
|
+
} | undefined;
|
|
2239
|
+
captureWindow?: {
|
|
2240
|
+
start: Date;
|
|
2241
|
+
end: Date;
|
|
2242
|
+
} | undefined;
|
|
1584
2243
|
};
|
|
1585
2244
|
}, {
|
|
1586
2245
|
session: {
|
|
1587
2246
|
status: "active" | "paused" | "ended";
|
|
2247
|
+
mode: "monitor" | "discovery";
|
|
1588
2248
|
taskId: string;
|
|
1589
2249
|
endedAt: Date | null;
|
|
1590
2250
|
assignmentId: string;
|
|
1591
2251
|
id: string;
|
|
1592
|
-
mode: "monitor" | "discovery";
|
|
1593
2252
|
startedAt: Date;
|
|
1594
2253
|
activeMinutes: number;
|
|
1595
2254
|
lastSeq: number;
|
|
@@ -1608,6 +2267,17 @@ declare const AgentSessionResponseSchema: z.ZodObject<{
|
|
|
1608
2267
|
};
|
|
1609
2268
|
missionTitle: string;
|
|
1610
2269
|
taskTitle: string;
|
|
2270
|
+
target?: {
|
|
2271
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2272
|
+
url: string;
|
|
2273
|
+
label?: string | undefined;
|
|
2274
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2275
|
+
note?: string | undefined;
|
|
2276
|
+
} | undefined;
|
|
2277
|
+
captureWindow?: {
|
|
2278
|
+
start: Date;
|
|
2279
|
+
end: Date;
|
|
2280
|
+
} | undefined;
|
|
1611
2281
|
};
|
|
1612
2282
|
}>;
|
|
1613
2283
|
type AgentSessionResponse = z.infer<typeof AgentSessionResponseSchema>;
|
|
@@ -1662,13 +2332,51 @@ declare const AgentActiveSessionResponseSchema: z.ZodObject<{
|
|
|
1662
2332
|
sourcesVisited?: number | undefined;
|
|
1663
2333
|
sourcesRemaining?: number | undefined;
|
|
1664
2334
|
}>;
|
|
2335
|
+
/** The task's source (no internal id), when it has one. */
|
|
2336
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
2337
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
2338
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
2339
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
2340
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2341
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
2342
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2343
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
2344
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2345
|
+
url: string;
|
|
2346
|
+
label?: string | undefined;
|
|
2347
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2348
|
+
note?: string | undefined;
|
|
2349
|
+
}, {
|
|
2350
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2351
|
+
url: string;
|
|
2352
|
+
label?: string | undefined;
|
|
2353
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2354
|
+
note?: string | undefined;
|
|
2355
|
+
}>>;
|
|
2356
|
+
/** The capture window resolved to dates when the session started. */
|
|
2357
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
2358
|
+
start: z.ZodDate;
|
|
2359
|
+
end: z.ZodDate;
|
|
2360
|
+
}, "strip", z.ZodTypeAny, {
|
|
2361
|
+
start: Date;
|
|
2362
|
+
end: Date;
|
|
2363
|
+
}, {
|
|
2364
|
+
start: Date;
|
|
2365
|
+
end: Date;
|
|
2366
|
+
}>, {
|
|
2367
|
+
start: Date;
|
|
2368
|
+
end: Date;
|
|
2369
|
+
}, {
|
|
2370
|
+
start: Date;
|
|
2371
|
+
end: Date;
|
|
2372
|
+
}>>;
|
|
1665
2373
|
}, "strip", z.ZodTypeAny, {
|
|
1666
2374
|
status: "active" | "paused" | "ended";
|
|
2375
|
+
mode: "monitor" | "discovery";
|
|
1667
2376
|
taskId: string;
|
|
1668
2377
|
endedAt: Date | null;
|
|
1669
2378
|
assignmentId: string;
|
|
1670
2379
|
id: string;
|
|
1671
|
-
mode: "monitor" | "discovery";
|
|
1672
2380
|
startedAt: Date;
|
|
1673
2381
|
activeMinutes: number;
|
|
1674
2382
|
lastSeq: number;
|
|
@@ -1687,13 +2395,24 @@ declare const AgentActiveSessionResponseSchema: z.ZodObject<{
|
|
|
1687
2395
|
};
|
|
1688
2396
|
missionTitle: string;
|
|
1689
2397
|
taskTitle: string;
|
|
2398
|
+
target?: {
|
|
2399
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2400
|
+
url: string;
|
|
2401
|
+
label?: string | undefined;
|
|
2402
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2403
|
+
note?: string | undefined;
|
|
2404
|
+
} | undefined;
|
|
2405
|
+
captureWindow?: {
|
|
2406
|
+
start: Date;
|
|
2407
|
+
end: Date;
|
|
2408
|
+
} | undefined;
|
|
1690
2409
|
}, {
|
|
1691
2410
|
status: "active" | "paused" | "ended";
|
|
2411
|
+
mode: "monitor" | "discovery";
|
|
1692
2412
|
taskId: string;
|
|
1693
2413
|
endedAt: Date | null;
|
|
1694
2414
|
assignmentId: string;
|
|
1695
2415
|
id: string;
|
|
1696
|
-
mode: "monitor" | "discovery";
|
|
1697
2416
|
startedAt: Date;
|
|
1698
2417
|
activeMinutes: number;
|
|
1699
2418
|
lastSeq: number;
|
|
@@ -1712,15 +2431,26 @@ declare const AgentActiveSessionResponseSchema: z.ZodObject<{
|
|
|
1712
2431
|
};
|
|
1713
2432
|
missionTitle: string;
|
|
1714
2433
|
taskTitle: string;
|
|
2434
|
+
target?: {
|
|
2435
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2436
|
+
url: string;
|
|
2437
|
+
label?: string | undefined;
|
|
2438
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2439
|
+
note?: string | undefined;
|
|
2440
|
+
} | undefined;
|
|
2441
|
+
captureWindow?: {
|
|
2442
|
+
start: Date;
|
|
2443
|
+
end: Date;
|
|
2444
|
+
} | undefined;
|
|
1715
2445
|
}>>;
|
|
1716
2446
|
}, "strip", z.ZodTypeAny, {
|
|
1717
2447
|
session: {
|
|
1718
2448
|
status: "active" | "paused" | "ended";
|
|
2449
|
+
mode: "monitor" | "discovery";
|
|
1719
2450
|
taskId: string;
|
|
1720
2451
|
endedAt: Date | null;
|
|
1721
2452
|
assignmentId: string;
|
|
1722
2453
|
id: string;
|
|
1723
|
-
mode: "monitor" | "discovery";
|
|
1724
2454
|
startedAt: Date;
|
|
1725
2455
|
activeMinutes: number;
|
|
1726
2456
|
lastSeq: number;
|
|
@@ -1739,15 +2469,26 @@ declare const AgentActiveSessionResponseSchema: z.ZodObject<{
|
|
|
1739
2469
|
};
|
|
1740
2470
|
missionTitle: string;
|
|
1741
2471
|
taskTitle: string;
|
|
2472
|
+
target?: {
|
|
2473
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2474
|
+
url: string;
|
|
2475
|
+
label?: string | undefined;
|
|
2476
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2477
|
+
note?: string | undefined;
|
|
2478
|
+
} | undefined;
|
|
2479
|
+
captureWindow?: {
|
|
2480
|
+
start: Date;
|
|
2481
|
+
end: Date;
|
|
2482
|
+
} | undefined;
|
|
1742
2483
|
} | null;
|
|
1743
2484
|
}, {
|
|
1744
2485
|
session: {
|
|
1745
2486
|
status: "active" | "paused" | "ended";
|
|
2487
|
+
mode: "monitor" | "discovery";
|
|
1746
2488
|
taskId: string;
|
|
1747
2489
|
endedAt: Date | null;
|
|
1748
2490
|
assignmentId: string;
|
|
1749
2491
|
id: string;
|
|
1750
|
-
mode: "monitor" | "discovery";
|
|
1751
2492
|
startedAt: Date;
|
|
1752
2493
|
activeMinutes: number;
|
|
1753
2494
|
lastSeq: number;
|
|
@@ -1766,6 +2507,17 @@ declare const AgentActiveSessionResponseSchema: z.ZodObject<{
|
|
|
1766
2507
|
};
|
|
1767
2508
|
missionTitle: string;
|
|
1768
2509
|
taskTitle: string;
|
|
2510
|
+
target?: {
|
|
2511
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2512
|
+
url: string;
|
|
2513
|
+
label?: string | undefined;
|
|
2514
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
2515
|
+
note?: string | undefined;
|
|
2516
|
+
} | undefined;
|
|
2517
|
+
captureWindow?: {
|
|
2518
|
+
start: Date;
|
|
2519
|
+
end: Date;
|
|
2520
|
+
} | undefined;
|
|
1769
2521
|
} | null;
|
|
1770
2522
|
}>;
|
|
1771
2523
|
type AgentActiveSessionResponse = z.infer<typeof AgentActiveSessionResponseSchema>;
|
|
@@ -1794,14 +2546,14 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1794
2546
|
label: z.ZodString;
|
|
1795
2547
|
platform: z.ZodOptional<z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>>;
|
|
1796
2548
|
}, "strip", z.ZodTypeAny, {
|
|
1797
|
-
kind: "open_link";
|
|
1798
2549
|
url: string;
|
|
1799
2550
|
label: string;
|
|
2551
|
+
kind: "open_link";
|
|
1800
2552
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1801
2553
|
}, {
|
|
1802
|
-
kind: "open_link";
|
|
1803
2554
|
url: string;
|
|
1804
2555
|
label: string;
|
|
2556
|
+
kind: "open_link";
|
|
1805
2557
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1806
2558
|
}>, z.ZodObject<{
|
|
1807
2559
|
kind: z.ZodLiteral<"capture_prompt">;
|
|
@@ -1822,20 +2574,20 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1822
2574
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1823
2575
|
}, "strip", z.ZodTypeAny, {
|
|
1824
2576
|
name: string;
|
|
1825
|
-
kind: "source_result";
|
|
1826
2577
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2578
|
+
kind: "source_result";
|
|
1827
2579
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1828
2580
|
reason: string;
|
|
1829
|
-
score?: number | undefined;
|
|
1830
2581
|
url?: string | undefined;
|
|
2582
|
+
score?: number | undefined;
|
|
1831
2583
|
}, {
|
|
1832
2584
|
name: string;
|
|
1833
|
-
kind: "source_result";
|
|
1834
2585
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2586
|
+
kind: "source_result";
|
|
1835
2587
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1836
2588
|
reason: string;
|
|
1837
|
-
score?: number | undefined;
|
|
1838
2589
|
url?: string | undefined;
|
|
2590
|
+
score?: number | undefined;
|
|
1839
2591
|
}>, z.ZodObject<{
|
|
1840
2592
|
kind: z.ZodLiteral<"item_result">;
|
|
1841
2593
|
excerpt: z.ZodString;
|
|
@@ -1843,15 +2595,15 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1843
2595
|
priority: z.ZodBoolean;
|
|
1844
2596
|
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
1845
2597
|
}, "strip", z.ZodTypeAny, {
|
|
2598
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1846
2599
|
priority: boolean;
|
|
1847
2600
|
kind: "item_result";
|
|
1848
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1849
2601
|
excerpt: string;
|
|
1850
2602
|
publishedAt?: Date | undefined;
|
|
1851
2603
|
}, {
|
|
2604
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1852
2605
|
priority: boolean;
|
|
1853
2606
|
kind: "item_result";
|
|
1854
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1855
2607
|
excerpt: string;
|
|
1856
2608
|
publishedAt?: Date | undefined;
|
|
1857
2609
|
}>, z.ZodObject<{
|
|
@@ -1861,23 +2613,23 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1861
2613
|
id: z.ZodString;
|
|
1862
2614
|
label: z.ZodString;
|
|
1863
2615
|
}, "strip", z.ZodTypeAny, {
|
|
1864
|
-
id: string;
|
|
1865
2616
|
label: string;
|
|
1866
|
-
}, {
|
|
1867
2617
|
id: string;
|
|
2618
|
+
}, {
|
|
1868
2619
|
label: string;
|
|
2620
|
+
id: string;
|
|
1869
2621
|
}>, "many">;
|
|
1870
2622
|
}, "strip", z.ZodTypeAny, {
|
|
1871
2623
|
options: {
|
|
1872
|
-
id: string;
|
|
1873
2624
|
label: string;
|
|
2625
|
+
id: string;
|
|
1874
2626
|
}[];
|
|
1875
2627
|
kind: "quick_replies";
|
|
1876
2628
|
questionId: string;
|
|
1877
2629
|
}, {
|
|
1878
2630
|
options: {
|
|
1879
|
-
id: string;
|
|
1880
2631
|
label: string;
|
|
2632
|
+
id: string;
|
|
1881
2633
|
}[];
|
|
1882
2634
|
kind: "quick_replies";
|
|
1883
2635
|
questionId: string;
|
|
@@ -1886,13 +2638,13 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1886
2638
|
minutes: z.ZodNumber;
|
|
1887
2639
|
note: z.ZodString;
|
|
1888
2640
|
}, "strip", z.ZodTypeAny, {
|
|
2641
|
+
note: string;
|
|
1889
2642
|
kind: "hours_proposal";
|
|
1890
2643
|
minutes: number;
|
|
1891
|
-
note: string;
|
|
1892
2644
|
}, {
|
|
2645
|
+
note: string;
|
|
1893
2646
|
kind: "hours_proposal";
|
|
1894
2647
|
minutes: number;
|
|
1895
|
-
note: string;
|
|
1896
2648
|
}>, z.ZodObject<{
|
|
1897
2649
|
kind: z.ZodLiteral<"capture_thumb">;
|
|
1898
2650
|
captureId: z.ZodString;
|
|
@@ -1912,38 +2664,38 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1912
2664
|
seq: number;
|
|
1913
2665
|
role: "system" | "agent" | "person";
|
|
1914
2666
|
cards: ({
|
|
1915
|
-
kind: "open_link";
|
|
1916
2667
|
url: string;
|
|
1917
2668
|
label: string;
|
|
2669
|
+
kind: "open_link";
|
|
1918
2670
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1919
2671
|
} | {
|
|
1920
2672
|
kind: "capture_prompt";
|
|
1921
2673
|
hint: string;
|
|
1922
2674
|
} | {
|
|
1923
2675
|
name: string;
|
|
1924
|
-
kind: "source_result";
|
|
1925
2676
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2677
|
+
kind: "source_result";
|
|
1926
2678
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1927
2679
|
reason: string;
|
|
1928
|
-
score?: number | undefined;
|
|
1929
2680
|
url?: string | undefined;
|
|
2681
|
+
score?: number | undefined;
|
|
1930
2682
|
} | {
|
|
2683
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1931
2684
|
priority: boolean;
|
|
1932
2685
|
kind: "item_result";
|
|
1933
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1934
2686
|
excerpt: string;
|
|
1935
2687
|
publishedAt?: Date | undefined;
|
|
1936
2688
|
} | {
|
|
1937
2689
|
options: {
|
|
1938
|
-
id: string;
|
|
1939
2690
|
label: string;
|
|
2691
|
+
id: string;
|
|
1940
2692
|
}[];
|
|
1941
2693
|
kind: "quick_replies";
|
|
1942
2694
|
questionId: string;
|
|
1943
2695
|
} | {
|
|
2696
|
+
note: string;
|
|
1944
2697
|
kind: "hours_proposal";
|
|
1945
2698
|
minutes: number;
|
|
1946
|
-
note: string;
|
|
1947
2699
|
} | {
|
|
1948
2700
|
kind: "capture_thumb";
|
|
1949
2701
|
captureId: string;
|
|
@@ -1956,38 +2708,38 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
1956
2708
|
seq: number;
|
|
1957
2709
|
role: "system" | "agent" | "person";
|
|
1958
2710
|
cards: ({
|
|
1959
|
-
kind: "open_link";
|
|
1960
2711
|
url: string;
|
|
1961
2712
|
label: string;
|
|
2713
|
+
kind: "open_link";
|
|
1962
2714
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
1963
2715
|
} | {
|
|
1964
2716
|
kind: "capture_prompt";
|
|
1965
2717
|
hint: string;
|
|
1966
2718
|
} | {
|
|
1967
2719
|
name: string;
|
|
1968
|
-
kind: "source_result";
|
|
1969
2720
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2721
|
+
kind: "source_result";
|
|
1970
2722
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
1971
2723
|
reason: string;
|
|
1972
|
-
score?: number | undefined;
|
|
1973
2724
|
url?: string | undefined;
|
|
2725
|
+
score?: number | undefined;
|
|
1974
2726
|
} | {
|
|
2727
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1975
2728
|
priority: boolean;
|
|
1976
2729
|
kind: "item_result";
|
|
1977
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
1978
2730
|
excerpt: string;
|
|
1979
2731
|
publishedAt?: Date | undefined;
|
|
1980
2732
|
} | {
|
|
1981
2733
|
options: {
|
|
1982
|
-
id: string;
|
|
1983
2734
|
label: string;
|
|
2735
|
+
id: string;
|
|
1984
2736
|
}[];
|
|
1985
2737
|
kind: "quick_replies";
|
|
1986
2738
|
questionId: string;
|
|
1987
2739
|
} | {
|
|
2740
|
+
note: string;
|
|
1988
2741
|
kind: "hours_proposal";
|
|
1989
2742
|
minutes: number;
|
|
1990
|
-
note: string;
|
|
1991
2743
|
} | {
|
|
1992
2744
|
kind: "capture_thumb";
|
|
1993
2745
|
captureId: string;
|
|
@@ -2002,38 +2754,38 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2002
2754
|
seq: number;
|
|
2003
2755
|
role: "system" | "agent" | "person";
|
|
2004
2756
|
cards: ({
|
|
2005
|
-
kind: "open_link";
|
|
2006
2757
|
url: string;
|
|
2007
2758
|
label: string;
|
|
2759
|
+
kind: "open_link";
|
|
2008
2760
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2009
2761
|
} | {
|
|
2010
2762
|
kind: "capture_prompt";
|
|
2011
2763
|
hint: string;
|
|
2012
2764
|
} | {
|
|
2013
2765
|
name: string;
|
|
2014
|
-
kind: "source_result";
|
|
2015
2766
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2767
|
+
kind: "source_result";
|
|
2016
2768
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2017
2769
|
reason: string;
|
|
2018
|
-
score?: number | undefined;
|
|
2019
2770
|
url?: string | undefined;
|
|
2771
|
+
score?: number | undefined;
|
|
2020
2772
|
} | {
|
|
2773
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2021
2774
|
priority: boolean;
|
|
2022
2775
|
kind: "item_result";
|
|
2023
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2024
2776
|
excerpt: string;
|
|
2025
2777
|
publishedAt?: Date | undefined;
|
|
2026
2778
|
} | {
|
|
2027
2779
|
options: {
|
|
2028
|
-
id: string;
|
|
2029
2780
|
label: string;
|
|
2781
|
+
id: string;
|
|
2030
2782
|
}[];
|
|
2031
2783
|
kind: "quick_replies";
|
|
2032
2784
|
questionId: string;
|
|
2033
2785
|
} | {
|
|
2786
|
+
note: string;
|
|
2034
2787
|
kind: "hours_proposal";
|
|
2035
2788
|
minutes: number;
|
|
2036
|
-
note: string;
|
|
2037
2789
|
} | {
|
|
2038
2790
|
kind: "capture_thumb";
|
|
2039
2791
|
captureId: string;
|
|
@@ -2048,38 +2800,38 @@ declare const AgentMessagesResponseSchema: z.ZodObject<{
|
|
|
2048
2800
|
seq: number;
|
|
2049
2801
|
role: "system" | "agent" | "person";
|
|
2050
2802
|
cards: ({
|
|
2051
|
-
kind: "open_link";
|
|
2052
2803
|
url: string;
|
|
2053
2804
|
label: string;
|
|
2805
|
+
kind: "open_link";
|
|
2054
2806
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2055
2807
|
} | {
|
|
2056
2808
|
kind: "capture_prompt";
|
|
2057
2809
|
hint: string;
|
|
2058
2810
|
} | {
|
|
2059
2811
|
name: string;
|
|
2060
|
-
kind: "source_result";
|
|
2061
2812
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2813
|
+
kind: "source_result";
|
|
2062
2814
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2063
2815
|
reason: string;
|
|
2064
|
-
score?: number | undefined;
|
|
2065
2816
|
url?: string | undefined;
|
|
2817
|
+
score?: number | undefined;
|
|
2066
2818
|
} | {
|
|
2819
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2067
2820
|
priority: boolean;
|
|
2068
2821
|
kind: "item_result";
|
|
2069
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2070
2822
|
excerpt: string;
|
|
2071
2823
|
publishedAt?: Date | undefined;
|
|
2072
2824
|
} | {
|
|
2073
2825
|
options: {
|
|
2074
|
-
id: string;
|
|
2075
2826
|
label: string;
|
|
2827
|
+
id: string;
|
|
2076
2828
|
}[];
|
|
2077
2829
|
kind: "quick_replies";
|
|
2078
2830
|
questionId: string;
|
|
2079
2831
|
} | {
|
|
2832
|
+
note: string;
|
|
2080
2833
|
kind: "hours_proposal";
|
|
2081
2834
|
minutes: number;
|
|
2082
|
-
note: string;
|
|
2083
2835
|
} | {
|
|
2084
2836
|
kind: "capture_thumb";
|
|
2085
2837
|
captureId: string;
|
|
@@ -2122,12 +2874,12 @@ declare const AgentReplyBodySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
2122
2874
|
note: z.ZodString;
|
|
2123
2875
|
}, "strip", z.ZodTypeAny, {
|
|
2124
2876
|
type: "confirm_hours";
|
|
2125
|
-
minutes: number;
|
|
2126
2877
|
note: string;
|
|
2878
|
+
minutes: number;
|
|
2127
2879
|
}, {
|
|
2128
2880
|
type: "confirm_hours";
|
|
2129
|
-
minutes: number;
|
|
2130
2881
|
note: string;
|
|
2882
|
+
minutes: number;
|
|
2131
2883
|
}>, z.ZodObject<{
|
|
2132
2884
|
type: z.ZodLiteral<"decline_hours">;
|
|
2133
2885
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2171,8 +2923,8 @@ declare const AgentCaptureFieldsSchema: z.ZodObject<{
|
|
|
2171
2923
|
dpr: number;
|
|
2172
2924
|
}>>;
|
|
2173
2925
|
}, "strip", z.ZodTypeAny, {
|
|
2174
|
-
title: string;
|
|
2175
2926
|
url: string;
|
|
2927
|
+
title: string;
|
|
2176
2928
|
capturedAt: Date;
|
|
2177
2929
|
region?: {
|
|
2178
2930
|
x: number;
|
|
@@ -2184,8 +2936,8 @@ declare const AgentCaptureFieldsSchema: z.ZodObject<{
|
|
|
2184
2936
|
dpr: number;
|
|
2185
2937
|
} | undefined;
|
|
2186
2938
|
}, {
|
|
2187
|
-
title: string;
|
|
2188
2939
|
url: string;
|
|
2940
|
+
title: string;
|
|
2189
2941
|
capturedAt: Date;
|
|
2190
2942
|
region?: {
|
|
2191
2943
|
x: number;
|
|
@@ -2228,14 +2980,14 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2228
2980
|
label: z.ZodString;
|
|
2229
2981
|
platform: z.ZodOptional<z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>>;
|
|
2230
2982
|
}, "strip", z.ZodTypeAny, {
|
|
2231
|
-
kind: "open_link";
|
|
2232
2983
|
url: string;
|
|
2233
2984
|
label: string;
|
|
2985
|
+
kind: "open_link";
|
|
2234
2986
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2235
2987
|
}, {
|
|
2236
|
-
kind: "open_link";
|
|
2237
2988
|
url: string;
|
|
2238
2989
|
label: string;
|
|
2990
|
+
kind: "open_link";
|
|
2239
2991
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2240
2992
|
}>, z.ZodObject<{
|
|
2241
2993
|
kind: z.ZodLiteral<"capture_prompt">;
|
|
@@ -2256,20 +3008,20 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2256
3008
|
score: z.ZodOptional<z.ZodNumber>;
|
|
2257
3009
|
}, "strip", z.ZodTypeAny, {
|
|
2258
3010
|
name: string;
|
|
2259
|
-
kind: "source_result";
|
|
2260
3011
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3012
|
+
kind: "source_result";
|
|
2261
3013
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2262
3014
|
reason: string;
|
|
2263
|
-
score?: number | undefined;
|
|
2264
3015
|
url?: string | undefined;
|
|
3016
|
+
score?: number | undefined;
|
|
2265
3017
|
}, {
|
|
2266
3018
|
name: string;
|
|
2267
|
-
kind: "source_result";
|
|
2268
3019
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3020
|
+
kind: "source_result";
|
|
2269
3021
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2270
3022
|
reason: string;
|
|
2271
|
-
score?: number | undefined;
|
|
2272
3023
|
url?: string | undefined;
|
|
3024
|
+
score?: number | undefined;
|
|
2273
3025
|
}>, z.ZodObject<{
|
|
2274
3026
|
kind: z.ZodLiteral<"item_result">;
|
|
2275
3027
|
excerpt: z.ZodString;
|
|
@@ -2277,15 +3029,15 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2277
3029
|
priority: z.ZodBoolean;
|
|
2278
3030
|
publishedAt: z.ZodOptional<z.ZodDate>;
|
|
2279
3031
|
}, "strip", z.ZodTypeAny, {
|
|
3032
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2280
3033
|
priority: boolean;
|
|
2281
3034
|
kind: "item_result";
|
|
2282
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2283
3035
|
excerpt: string;
|
|
2284
3036
|
publishedAt?: Date | undefined;
|
|
2285
3037
|
}, {
|
|
3038
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2286
3039
|
priority: boolean;
|
|
2287
3040
|
kind: "item_result";
|
|
2288
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2289
3041
|
excerpt: string;
|
|
2290
3042
|
publishedAt?: Date | undefined;
|
|
2291
3043
|
}>, z.ZodObject<{
|
|
@@ -2295,23 +3047,23 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2295
3047
|
id: z.ZodString;
|
|
2296
3048
|
label: z.ZodString;
|
|
2297
3049
|
}, "strip", z.ZodTypeAny, {
|
|
2298
|
-
id: string;
|
|
2299
3050
|
label: string;
|
|
2300
|
-
}, {
|
|
2301
3051
|
id: string;
|
|
3052
|
+
}, {
|
|
2302
3053
|
label: string;
|
|
3054
|
+
id: string;
|
|
2303
3055
|
}>, "many">;
|
|
2304
3056
|
}, "strip", z.ZodTypeAny, {
|
|
2305
3057
|
options: {
|
|
2306
|
-
id: string;
|
|
2307
3058
|
label: string;
|
|
3059
|
+
id: string;
|
|
2308
3060
|
}[];
|
|
2309
3061
|
kind: "quick_replies";
|
|
2310
3062
|
questionId: string;
|
|
2311
3063
|
}, {
|
|
2312
3064
|
options: {
|
|
2313
|
-
id: string;
|
|
2314
3065
|
label: string;
|
|
3066
|
+
id: string;
|
|
2315
3067
|
}[];
|
|
2316
3068
|
kind: "quick_replies";
|
|
2317
3069
|
questionId: string;
|
|
@@ -2320,13 +3072,13 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2320
3072
|
minutes: z.ZodNumber;
|
|
2321
3073
|
note: z.ZodString;
|
|
2322
3074
|
}, "strip", z.ZodTypeAny, {
|
|
3075
|
+
note: string;
|
|
2323
3076
|
kind: "hours_proposal";
|
|
2324
3077
|
minutes: number;
|
|
2325
|
-
note: string;
|
|
2326
3078
|
}, {
|
|
3079
|
+
note: string;
|
|
2327
3080
|
kind: "hours_proposal";
|
|
2328
3081
|
minutes: number;
|
|
2329
|
-
note: string;
|
|
2330
3082
|
}>, z.ZodObject<{
|
|
2331
3083
|
kind: z.ZodLiteral<"capture_thumb">;
|
|
2332
3084
|
captureId: z.ZodString;
|
|
@@ -2346,38 +3098,38 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2346
3098
|
seq: number;
|
|
2347
3099
|
role: "system" | "agent" | "person";
|
|
2348
3100
|
cards: ({
|
|
2349
|
-
kind: "open_link";
|
|
2350
3101
|
url: string;
|
|
2351
3102
|
label: string;
|
|
3103
|
+
kind: "open_link";
|
|
2352
3104
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2353
3105
|
} | {
|
|
2354
3106
|
kind: "capture_prompt";
|
|
2355
3107
|
hint: string;
|
|
2356
3108
|
} | {
|
|
2357
3109
|
name: string;
|
|
2358
|
-
kind: "source_result";
|
|
2359
3110
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3111
|
+
kind: "source_result";
|
|
2360
3112
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2361
3113
|
reason: string;
|
|
2362
|
-
score?: number | undefined;
|
|
2363
3114
|
url?: string | undefined;
|
|
3115
|
+
score?: number | undefined;
|
|
2364
3116
|
} | {
|
|
3117
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2365
3118
|
priority: boolean;
|
|
2366
3119
|
kind: "item_result";
|
|
2367
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2368
3120
|
excerpt: string;
|
|
2369
3121
|
publishedAt?: Date | undefined;
|
|
2370
3122
|
} | {
|
|
2371
3123
|
options: {
|
|
2372
|
-
id: string;
|
|
2373
3124
|
label: string;
|
|
3125
|
+
id: string;
|
|
2374
3126
|
}[];
|
|
2375
3127
|
kind: "quick_replies";
|
|
2376
3128
|
questionId: string;
|
|
2377
3129
|
} | {
|
|
3130
|
+
note: string;
|
|
2378
3131
|
kind: "hours_proposal";
|
|
2379
3132
|
minutes: number;
|
|
2380
|
-
note: string;
|
|
2381
3133
|
} | {
|
|
2382
3134
|
kind: "capture_thumb";
|
|
2383
3135
|
captureId: string;
|
|
@@ -2390,38 +3142,38 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2390
3142
|
seq: number;
|
|
2391
3143
|
role: "system" | "agent" | "person";
|
|
2392
3144
|
cards: ({
|
|
2393
|
-
kind: "open_link";
|
|
2394
3145
|
url: string;
|
|
2395
3146
|
label: string;
|
|
3147
|
+
kind: "open_link";
|
|
2396
3148
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2397
3149
|
} | {
|
|
2398
3150
|
kind: "capture_prompt";
|
|
2399
3151
|
hint: string;
|
|
2400
3152
|
} | {
|
|
2401
3153
|
name: string;
|
|
2402
|
-
kind: "source_result";
|
|
2403
3154
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3155
|
+
kind: "source_result";
|
|
2404
3156
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2405
3157
|
reason: string;
|
|
2406
|
-
score?: number | undefined;
|
|
2407
3158
|
url?: string | undefined;
|
|
3159
|
+
score?: number | undefined;
|
|
2408
3160
|
} | {
|
|
3161
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2409
3162
|
priority: boolean;
|
|
2410
3163
|
kind: "item_result";
|
|
2411
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2412
3164
|
excerpt: string;
|
|
2413
3165
|
publishedAt?: Date | undefined;
|
|
2414
3166
|
} | {
|
|
2415
3167
|
options: {
|
|
2416
|
-
id: string;
|
|
2417
3168
|
label: string;
|
|
3169
|
+
id: string;
|
|
2418
3170
|
}[];
|
|
2419
3171
|
kind: "quick_replies";
|
|
2420
3172
|
questionId: string;
|
|
2421
3173
|
} | {
|
|
3174
|
+
note: string;
|
|
2422
3175
|
kind: "hours_proposal";
|
|
2423
3176
|
minutes: number;
|
|
2424
|
-
note: string;
|
|
2425
3177
|
} | {
|
|
2426
3178
|
kind: "capture_thumb";
|
|
2427
3179
|
captureId: string;
|
|
@@ -2436,38 +3188,38 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2436
3188
|
seq: number;
|
|
2437
3189
|
role: "system" | "agent" | "person";
|
|
2438
3190
|
cards: ({
|
|
2439
|
-
kind: "open_link";
|
|
2440
3191
|
url: string;
|
|
2441
3192
|
label: string;
|
|
3193
|
+
kind: "open_link";
|
|
2442
3194
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2443
3195
|
} | {
|
|
2444
3196
|
kind: "capture_prompt";
|
|
2445
3197
|
hint: string;
|
|
2446
3198
|
} | {
|
|
2447
3199
|
name: string;
|
|
2448
|
-
kind: "source_result";
|
|
2449
3200
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3201
|
+
kind: "source_result";
|
|
2450
3202
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2451
3203
|
reason: string;
|
|
2452
|
-
score?: number | undefined;
|
|
2453
3204
|
url?: string | undefined;
|
|
3205
|
+
score?: number | undefined;
|
|
2454
3206
|
} | {
|
|
3207
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2455
3208
|
priority: boolean;
|
|
2456
3209
|
kind: "item_result";
|
|
2457
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2458
3210
|
excerpt: string;
|
|
2459
3211
|
publishedAt?: Date | undefined;
|
|
2460
3212
|
} | {
|
|
2461
3213
|
options: {
|
|
2462
|
-
id: string;
|
|
2463
3214
|
label: string;
|
|
3215
|
+
id: string;
|
|
2464
3216
|
}[];
|
|
2465
3217
|
kind: "quick_replies";
|
|
2466
3218
|
questionId: string;
|
|
2467
3219
|
} | {
|
|
3220
|
+
note: string;
|
|
2468
3221
|
kind: "hours_proposal";
|
|
2469
3222
|
minutes: number;
|
|
2470
|
-
note: string;
|
|
2471
3223
|
} | {
|
|
2472
3224
|
kind: "capture_thumb";
|
|
2473
3225
|
captureId: string;
|
|
@@ -2483,38 +3235,38 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2483
3235
|
seq: number;
|
|
2484
3236
|
role: "system" | "agent" | "person";
|
|
2485
3237
|
cards: ({
|
|
2486
|
-
kind: "open_link";
|
|
2487
3238
|
url: string;
|
|
2488
3239
|
label: string;
|
|
3240
|
+
kind: "open_link";
|
|
2489
3241
|
platform?: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web" | undefined;
|
|
2490
3242
|
} | {
|
|
2491
3243
|
kind: "capture_prompt";
|
|
2492
3244
|
hint: string;
|
|
2493
3245
|
} | {
|
|
2494
3246
|
name: string;
|
|
2495
|
-
kind: "source_result";
|
|
2496
3247
|
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3248
|
+
kind: "source_result";
|
|
2497
3249
|
outcome: "waiting_for_scraper" | "access_problem" | "to_scraper" | "to_monitor" | "known" | "dropped";
|
|
2498
3250
|
reason: string;
|
|
2499
|
-
score?: number | undefined;
|
|
2500
3251
|
url?: string | undefined;
|
|
3252
|
+
score?: number | undefined;
|
|
2501
3253
|
} | {
|
|
3254
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2502
3255
|
priority: boolean;
|
|
2503
3256
|
kind: "item_result";
|
|
2504
|
-
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
2505
3257
|
excerpt: string;
|
|
2506
3258
|
publishedAt?: Date | undefined;
|
|
2507
3259
|
} | {
|
|
2508
3260
|
options: {
|
|
2509
|
-
id: string;
|
|
2510
3261
|
label: string;
|
|
3262
|
+
id: string;
|
|
2511
3263
|
}[];
|
|
2512
3264
|
kind: "quick_replies";
|
|
2513
3265
|
questionId: string;
|
|
2514
3266
|
} | {
|
|
3267
|
+
note: string;
|
|
2515
3268
|
kind: "hours_proposal";
|
|
2516
3269
|
minutes: number;
|
|
2517
|
-
note: string;
|
|
2518
3270
|
} | {
|
|
2519
3271
|
kind: "capture_thumb";
|
|
2520
3272
|
captureId: string;
|
|
@@ -2593,13 +3345,51 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2593
3345
|
sourcesVisited?: number | undefined;
|
|
2594
3346
|
sourcesRemaining?: number | undefined;
|
|
2595
3347
|
}>;
|
|
3348
|
+
/** The task's source (no internal id), when it has one. */
|
|
3349
|
+
target: z.ZodOptional<z.ZodObject<Omit<{
|
|
3350
|
+
sourceId: z.ZodOptional<z.ZodString>;
|
|
3351
|
+
platform: z.ZodEnum<["telegram", "facebook", "x", "tiktok", "instagram", "youtube", "whatsapp", "reddit", "discord", "linkedin", "threads", "vk", "snapchat", "web"]>;
|
|
3352
|
+
url: z.ZodEffects<z.ZodString, string, string>;
|
|
3353
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3354
|
+
accessIssue: z.ZodOptional<z.ZodEnum<["login_required", "private", "bot_detection", "captcha", "geo_blocked", "rate_limited", "not_found", "no_collector", "collector_full", "other"]>>;
|
|
3355
|
+
note: z.ZodOptional<z.ZodString>;
|
|
3356
|
+
}, "sourceId">, "strip", z.ZodTypeAny, {
|
|
3357
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3358
|
+
url: string;
|
|
3359
|
+
label?: string | undefined;
|
|
3360
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3361
|
+
note?: string | undefined;
|
|
3362
|
+
}, {
|
|
3363
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3364
|
+
url: string;
|
|
3365
|
+
label?: string | undefined;
|
|
3366
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3367
|
+
note?: string | undefined;
|
|
3368
|
+
}>>;
|
|
3369
|
+
/** The capture window resolved to dates when the session started. */
|
|
3370
|
+
captureWindow: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
3371
|
+
start: z.ZodDate;
|
|
3372
|
+
end: z.ZodDate;
|
|
3373
|
+
}, "strip", z.ZodTypeAny, {
|
|
3374
|
+
start: Date;
|
|
3375
|
+
end: Date;
|
|
3376
|
+
}, {
|
|
3377
|
+
start: Date;
|
|
3378
|
+
end: Date;
|
|
3379
|
+
}>, {
|
|
3380
|
+
start: Date;
|
|
3381
|
+
end: Date;
|
|
3382
|
+
}, {
|
|
3383
|
+
start: Date;
|
|
3384
|
+
end: Date;
|
|
3385
|
+
}>>;
|
|
2596
3386
|
}, "strip", z.ZodTypeAny, {
|
|
2597
3387
|
status: "active" | "paused" | "ended";
|
|
3388
|
+
mode: "monitor" | "discovery";
|
|
2598
3389
|
taskId: string;
|
|
2599
3390
|
endedAt: Date | null;
|
|
2600
3391
|
assignmentId: string;
|
|
2601
3392
|
id: string;
|
|
2602
|
-
mode: "monitor" | "discovery";
|
|
2603
3393
|
startedAt: Date;
|
|
2604
3394
|
activeMinutes: number;
|
|
2605
3395
|
lastSeq: number;
|
|
@@ -2618,13 +3408,24 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2618
3408
|
};
|
|
2619
3409
|
missionTitle: string;
|
|
2620
3410
|
taskTitle: string;
|
|
3411
|
+
target?: {
|
|
3412
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3413
|
+
url: string;
|
|
3414
|
+
label?: string | undefined;
|
|
3415
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3416
|
+
note?: string | undefined;
|
|
3417
|
+
} | undefined;
|
|
3418
|
+
captureWindow?: {
|
|
3419
|
+
start: Date;
|
|
3420
|
+
end: Date;
|
|
3421
|
+
} | undefined;
|
|
2621
3422
|
}, {
|
|
2622
3423
|
status: "active" | "paused" | "ended";
|
|
3424
|
+
mode: "monitor" | "discovery";
|
|
2623
3425
|
taskId: string;
|
|
2624
3426
|
endedAt: Date | null;
|
|
2625
3427
|
assignmentId: string;
|
|
2626
3428
|
id: string;
|
|
2627
|
-
mode: "monitor" | "discovery";
|
|
2628
3429
|
startedAt: Date;
|
|
2629
3430
|
activeMinutes: number;
|
|
2630
3431
|
lastSeq: number;
|
|
@@ -2643,16 +3444,27 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2643
3444
|
};
|
|
2644
3445
|
missionTitle: string;
|
|
2645
3446
|
taskTitle: string;
|
|
3447
|
+
target?: {
|
|
3448
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3449
|
+
url: string;
|
|
3450
|
+
label?: string | undefined;
|
|
3451
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3452
|
+
note?: string | undefined;
|
|
3453
|
+
} | undefined;
|
|
3454
|
+
captureWindow?: {
|
|
3455
|
+
start: Date;
|
|
3456
|
+
end: Date;
|
|
3457
|
+
} | undefined;
|
|
2646
3458
|
}>;
|
|
2647
3459
|
}, "strip", z.ZodTypeAny, {
|
|
2648
3460
|
type: "session";
|
|
2649
3461
|
session: {
|
|
2650
3462
|
status: "active" | "paused" | "ended";
|
|
3463
|
+
mode: "monitor" | "discovery";
|
|
2651
3464
|
taskId: string;
|
|
2652
3465
|
endedAt: Date | null;
|
|
2653
3466
|
assignmentId: string;
|
|
2654
3467
|
id: string;
|
|
2655
|
-
mode: "monitor" | "discovery";
|
|
2656
3468
|
startedAt: Date;
|
|
2657
3469
|
activeMinutes: number;
|
|
2658
3470
|
lastSeq: number;
|
|
@@ -2671,16 +3483,27 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2671
3483
|
};
|
|
2672
3484
|
missionTitle: string;
|
|
2673
3485
|
taskTitle: string;
|
|
3486
|
+
target?: {
|
|
3487
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3488
|
+
url: string;
|
|
3489
|
+
label?: string | undefined;
|
|
3490
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3491
|
+
note?: string | undefined;
|
|
3492
|
+
} | undefined;
|
|
3493
|
+
captureWindow?: {
|
|
3494
|
+
start: Date;
|
|
3495
|
+
end: Date;
|
|
3496
|
+
} | undefined;
|
|
2674
3497
|
};
|
|
2675
3498
|
}, {
|
|
2676
3499
|
type: "session";
|
|
2677
3500
|
session: {
|
|
2678
3501
|
status: "active" | "paused" | "ended";
|
|
3502
|
+
mode: "monitor" | "discovery";
|
|
2679
3503
|
taskId: string;
|
|
2680
3504
|
endedAt: Date | null;
|
|
2681
3505
|
assignmentId: string;
|
|
2682
3506
|
id: string;
|
|
2683
|
-
mode: "monitor" | "discovery";
|
|
2684
3507
|
startedAt: Date;
|
|
2685
3508
|
activeMinutes: number;
|
|
2686
3509
|
lastSeq: number;
|
|
@@ -2699,6 +3522,17 @@ declare const AgentStreamEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2699
3522
|
};
|
|
2700
3523
|
missionTitle: string;
|
|
2701
3524
|
taskTitle: string;
|
|
3525
|
+
target?: {
|
|
3526
|
+
platform: "telegram" | "facebook" | "x" | "tiktok" | "instagram" | "youtube" | "whatsapp" | "reddit" | "discord" | "linkedin" | "threads" | "vk" | "snapchat" | "web";
|
|
3527
|
+
url: string;
|
|
3528
|
+
label?: string | undefined;
|
|
3529
|
+
accessIssue?: "login_required" | "private" | "bot_detection" | "captcha" | "geo_blocked" | "rate_limited" | "not_found" | "no_collector" | "collector_full" | "other" | undefined;
|
|
3530
|
+
note?: string | undefined;
|
|
3531
|
+
} | undefined;
|
|
3532
|
+
captureWindow?: {
|
|
3533
|
+
start: Date;
|
|
3534
|
+
end: Date;
|
|
3535
|
+
} | undefined;
|
|
2702
3536
|
};
|
|
2703
3537
|
}>, z.ZodObject<{
|
|
2704
3538
|
type: z.ZodLiteral<"error">;
|
|
@@ -2847,14 +3681,14 @@ declare const SourceIntakeResultSchema: z.ZodObject<{
|
|
|
2847
3681
|
url: string;
|
|
2848
3682
|
outcome: "known" | "created" | "invalid";
|
|
2849
3683
|
message?: string | undefined;
|
|
2850
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2851
3684
|
sourceId?: string | undefined;
|
|
3685
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2852
3686
|
}, {
|
|
2853
3687
|
url: string;
|
|
2854
3688
|
outcome: "known" | "created" | "invalid";
|
|
2855
3689
|
message?: string | undefined;
|
|
2856
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2857
3690
|
sourceId?: string | undefined;
|
|
3691
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2858
3692
|
}>;
|
|
2859
3693
|
type SourceIntakeResult = z.infer<typeof SourceIntakeResultSchema>;
|
|
2860
3694
|
declare const SourceIntakeResponseSchema: z.ZodObject<{
|
|
@@ -2868,30 +3702,30 @@ declare const SourceIntakeResponseSchema: z.ZodObject<{
|
|
|
2868
3702
|
url: string;
|
|
2869
3703
|
outcome: "known" | "created" | "invalid";
|
|
2870
3704
|
message?: string | undefined;
|
|
2871
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2872
3705
|
sourceId?: string | undefined;
|
|
3706
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2873
3707
|
}, {
|
|
2874
3708
|
url: string;
|
|
2875
3709
|
outcome: "known" | "created" | "invalid";
|
|
2876
3710
|
message?: string | undefined;
|
|
2877
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2878
3711
|
sourceId?: string | undefined;
|
|
3712
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2879
3713
|
}>, "many">;
|
|
2880
3714
|
}, "strip", z.ZodTypeAny, {
|
|
2881
3715
|
results: {
|
|
2882
3716
|
url: string;
|
|
2883
3717
|
outcome: "known" | "created" | "invalid";
|
|
2884
3718
|
message?: string | undefined;
|
|
2885
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2886
3719
|
sourceId?: string | undefined;
|
|
3720
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2887
3721
|
}[];
|
|
2888
3722
|
}, {
|
|
2889
3723
|
results: {
|
|
2890
3724
|
url: string;
|
|
2891
3725
|
outcome: "known" | "created" | "invalid";
|
|
2892
3726
|
message?: string | undefined;
|
|
2893
|
-
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2894
3727
|
sourceId?: string | undefined;
|
|
3728
|
+
route?: "monitor" | "scraper" | "waiting_for_scraper" | undefined;
|
|
2895
3729
|
}[];
|
|
2896
3730
|
}>;
|
|
2897
3731
|
type SourceIntakeResponse = z.infer<typeof SourceIntakeResponseSchema>;
|
|
@@ -2938,14 +3772,14 @@ declare const SourceVisitResponseSchema: z.ZodObject<{
|
|
|
2938
3772
|
nextVisitAt: z.ZodNullable<z.ZodDate>;
|
|
2939
3773
|
}, "strip", z.ZodTypeAny, {
|
|
2940
3774
|
status: "active" | "paused" | "closed" | "access_problem";
|
|
3775
|
+
sourceId: string;
|
|
2941
3776
|
lastCollectedAt: Date;
|
|
2942
3777
|
nextVisitAt: Date | null;
|
|
2943
|
-
sourceId: string;
|
|
2944
3778
|
}, {
|
|
2945
3779
|
status: "active" | "paused" | "closed" | "access_problem";
|
|
3780
|
+
sourceId: string;
|
|
2946
3781
|
lastCollectedAt: Date;
|
|
2947
3782
|
nextVisitAt: Date | null;
|
|
2948
|
-
sourceId: string;
|
|
2949
3783
|
}>;
|
|
2950
3784
|
type SourceVisitResponse = z.infer<typeof SourceVisitResponseSchema>;
|
|
2951
3785
|
declare const PriorityAlertBodySchema: z.ZodObject<{
|
|
@@ -2959,16 +3793,16 @@ declare const PriorityAlertBodySchema: z.ZodObject<{
|
|
|
2959
3793
|
summary: z.ZodOptional<z.ZodString>;
|
|
2960
3794
|
}, "strip", z.ZodTypeAny, {
|
|
2961
3795
|
orgId: string;
|
|
2962
|
-
taskId: string;
|
|
2963
3796
|
sourceId: string;
|
|
3797
|
+
taskId: string;
|
|
2964
3798
|
dataItemIds: string[];
|
|
2965
3799
|
raisedByUserId: string;
|
|
2966
3800
|
summary?: string | undefined;
|
|
2967
3801
|
sessionId?: string | undefined;
|
|
2968
3802
|
}, {
|
|
2969
3803
|
orgId: string;
|
|
2970
|
-
taskId: string;
|
|
2971
3804
|
sourceId: string;
|
|
3805
|
+
taskId: string;
|
|
2972
3806
|
dataItemIds: string[];
|
|
2973
3807
|
raisedByUserId: string;
|
|
2974
3808
|
summary?: string | undefined;
|
|
@@ -2988,4 +3822,4 @@ declare const INTERNAL_ERROR_CODE_VALUES: readonly ["UNAUTHENTICATED", "NOT_FOUN
|
|
|
2988
3822
|
declare const InternalErrorCode: z.ZodEnum<["UNAUTHENTICATED", "NOT_FOUND", "VALIDATION_ERROR", "INTERNAL"]>;
|
|
2989
3823
|
type InternalErrorCode = z.infer<typeof InternalErrorCode>;
|
|
2990
3824
|
|
|
2991
|
-
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 ApiError, ApiErrorSchema, type AvailabilityWindow, AvailabilityWindowSchema, ClerkOrgId, ClerkUserId, type CoverageWindow, CoverageWindowSchema, DatabaseId, HHmm, INTERNAL_ERROR_CODE_VALUES, InternalErrorCode, LanguageCode, 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, TimeZone, type Timestamps, TimestampsSchema };
|
|
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 };
|