@aventurevc/api-schemas 0.8.70 → 0.8.71

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.
@@ -38,6 +38,36 @@ declare const AgentHelpSchemaDefinition: z.ZodObject<{
38
38
  }>;
39
39
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
+ catalogRevision: z.ZodInt;
43
+ input: z.ZodArray<z.ZodType<{
44
+ description: string;
45
+ key: string;
46
+ type: "ENTITY" | "TEXT";
47
+ }, unknown, z.core.$ZodTypeInternals<{
48
+ description: string;
49
+ key: string;
50
+ type: "ENTITY" | "TEXT";
51
+ }, unknown>>>;
52
+ step: z.ZodArray<z.ZodType<{
53
+ cliCommand: string;
54
+ mcpTool?: string | null | undefined;
55
+ step: {
56
+ instruction: string;
57
+ operationId: string;
58
+ stepKey: string;
59
+ };
60
+ }, unknown, z.core.$ZodTypeInternals<{
61
+ cliCommand: string;
62
+ mcpTool?: string | null | undefined;
63
+ step: {
64
+ instruction: string;
65
+ operationId: string;
66
+ stepKey: string;
67
+ };
68
+ }, unknown>>>;
69
+ taskKey: z.ZodString;
70
+ }, z.core.$strip>>>;
41
71
  }, z.core.$strip>>>;
42
72
  }, z.core.$strip>;
43
73
  type AgentHelpDefinition = z.infer<typeof AgentHelpSchemaDefinition>;
@@ -4188,6 +4188,33 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4188
4188
  totalElements: number;
4189
4189
  totalPages: number;
4190
4190
  }, unknown>>;
4191
+ newsEntityMention: z.ZodArray<z.ZodType<{
4192
+ entity: {
4193
+ createdAt: string;
4194
+ entityId: string;
4195
+ href?: string | null | undefined;
4196
+ internal: boolean;
4197
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4198
+ mention?: string | null | undefined;
4199
+ slug?: string | null | undefined;
4200
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4201
+ updatedAt: string;
4202
+ }[];
4203
+ newsId: number;
4204
+ }, unknown, z.core.$ZodTypeInternals<{
4205
+ entity: {
4206
+ createdAt: string;
4207
+ entityId: string;
4208
+ href?: string | null | undefined;
4209
+ internal: boolean;
4210
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4211
+ mention?: string | null | undefined;
4212
+ slug?: string | null | undefined;
4213
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4214
+ updatedAt: string;
4215
+ }[];
4216
+ newsId: number;
4217
+ }, unknown>>>;
4191
4218
  person: z.ZodType<{
4192
4219
  interpretation: {
4193
4220
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -2,6 +2,7 @@
2
2
  import { z } from "zod/v4";
3
3
  import { FederatedSearchProvenanceSchema } from "./search-provenance.js";
4
4
  import { NaturalSearchResultSchema } from "../natural/search-result.js";
5
+ import { NewsEntityMentionSchema } from "../news/entity-mention.js";
5
6
  import { PageResultNewsSchema } from "../pagination/schemas.js";
6
7
  import { PersonNaturalSearchResultSchema } from "../person/natural-search-result.js";
7
8
  const FederatedSearchSchemaDefinition = z.object({
@@ -9,6 +10,8 @@ const FederatedSearchSchemaDefinition = z.object({
9
10
  entity: NaturalSearchResultSchema,
10
11
  /** Canonical news page returned by the keyword list engine. */
11
12
  news: PageResultNewsSchema,
13
+ /** Public entities each news row on the page links to, in news page order; a row with no public entity link has no entry. */
14
+ newsEntityMention: z.array(NewsEntityMentionSchema),
12
15
  /** Canonical person natural-search result. */
13
16
  person: PersonNaturalSearchResultSchema,
14
17
  /** Requested and executed strategy for each search scope. */
@@ -0,0 +1,17 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
4
+ *
5
+ * @openapiSchema HarnessTaskInputType
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema HarnessTaskSchema
9
+ * @contractShape harness.task-input-type
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessTaskInputTypeSchema: z.ZodEnum<{
13
+ ENTITY: "ENTITY";
14
+ TEXT: "TEXT";
15
+ }>;
16
+ export type HarnessTaskInputType = z.infer<typeof HarnessTaskInputTypeSchema>;
17
+ //# sourceMappingURL=task-input-type.d.ts.map
@@ -0,0 +1,14 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ /**
4
+ * ENTITY binds a target entity to its canonical id through entity identification; TEXT is a literal value the request states.
5
+ *
6
+ * @openapiSchema HarnessTaskInputType
7
+ * @endpoint POST /v1/agents/help
8
+ * @endpoint POST /v1/help
9
+ * @usedBySchema HarnessTaskSchema
10
+ * @contractShape harness.task-input-type
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessTaskInputTypeSchema = z.enum(["ENTITY", "TEXT"]);
14
+ //# sourceMappingURL=task-input-type.js.map
@@ -0,0 +1,29 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskPlanStepSchemaDefinition: z.ZodObject<{
3
+ cliCommand: z.ZodString;
4
+ mcpTool: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ step: z.ZodType<{
6
+ instruction: string;
7
+ operationId: string;
8
+ stepKey: string;
9
+ }, unknown, z.core.$ZodTypeInternals<{
10
+ instruction: string;
11
+ operationId: string;
12
+ stepKey: string;
13
+ }, unknown>>;
14
+ }, z.core.$strip>;
15
+ type HarnessTaskPlanStepDefinition = z.infer<typeof HarnessTaskPlanStepSchemaDefinition>;
16
+ /**
17
+ * One task step with the CLI command and MCP tool that run its operation.
18
+ *
19
+ * @openapiSchema HarnessTaskPlanStep
20
+ * @endpoint POST /v1/agents/help
21
+ * @endpoint POST /v1/help
22
+ * @usedBySchema HarnessTaskPlanSchema
23
+ * @contractShape harness.task-plan-step
24
+ * @contractRole canonical
25
+ */
26
+ export declare const HarnessTaskPlanStepSchema: z.ZodType<HarnessTaskPlanStepDefinition>;
27
+ export type HarnessTaskPlanStep = z.infer<typeof HarnessTaskPlanStepSchema>;
28
+ export {};
29
+ //# sourceMappingURL=task-plan-step.d.ts.map
@@ -0,0 +1,23 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { HarnessTaskStepSchema } from "./task-step.js";
4
+ const HarnessTaskPlanStepSchemaDefinition = z.object({
5
+ /** CLI command path that runs the step's operation; the caller supplies required flags. */
6
+ cliCommand: z.string(),
7
+ /** MCP tool that runs the step's operation; null for CLI-only operations. Supply arguments matching the tool's schema. */
8
+ mcpTool: z.string().nullish(),
9
+ /** The stored step. */
10
+ step: HarnessTaskStepSchema,
11
+ });
12
+ /**
13
+ * One task step with the CLI command and MCP tool that run its operation.
14
+ *
15
+ * @openapiSchema HarnessTaskPlanStep
16
+ * @endpoint POST /v1/agents/help
17
+ * @endpoint POST /v1/help
18
+ * @usedBySchema HarnessTaskPlanSchema
19
+ * @contractShape harness.task-plan-step
20
+ * @contractRole canonical
21
+ */
22
+ export const HarnessTaskPlanStepSchema = HarnessTaskPlanStepSchemaDefinition;
23
+ //# sourceMappingURL=task-plan-step.js.map
@@ -0,0 +1,43 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * One catalog task's typed inputs and ordered steps with derived CLI commands and MCP tools, read from the stated catalog revision.
4
+ *
5
+ * @openapiSchema HarnessTaskPlan
6
+ * @endpoint POST /v1/agents/help
7
+ * @endpoint POST /v1/help
8
+ * @usedBySchema HelpResolutionSchema
9
+ * @contractShape harness.task-plan
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessTaskPlanSchema: z.ZodObject<{
13
+ catalogRevision: z.ZodInt;
14
+ input: z.ZodArray<z.ZodType<{
15
+ description: string;
16
+ key: string;
17
+ type: "ENTITY" | "TEXT";
18
+ }, unknown, z.core.$ZodTypeInternals<{
19
+ description: string;
20
+ key: string;
21
+ type: "ENTITY" | "TEXT";
22
+ }, unknown>>>;
23
+ step: z.ZodArray<z.ZodType<{
24
+ cliCommand: string;
25
+ mcpTool?: string | null | undefined;
26
+ step: {
27
+ instruction: string;
28
+ operationId: string;
29
+ stepKey: string;
30
+ };
31
+ }, unknown, z.core.$ZodTypeInternals<{
32
+ cliCommand: string;
33
+ mcpTool?: string | null | undefined;
34
+ step: {
35
+ instruction: string;
36
+ operationId: string;
37
+ stepKey: string;
38
+ };
39
+ }, unknown>>>;
40
+ taskKey: z.ZodString;
41
+ }, z.core.$strip>;
42
+ export type HarnessTaskPlan = z.infer<typeof HarnessTaskPlanSchema>;
43
+ //# sourceMappingURL=task-plan.d.ts.map
@@ -0,0 +1,25 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { HarnessTaskPlanStepSchema } from "./task-plan-step.js";
4
+ import { HarnessTaskSchema } from "./task.js";
5
+ /**
6
+ * One catalog task's typed inputs and ordered steps with derived CLI commands and MCP tools, read from the stated catalog revision.
7
+ *
8
+ * @openapiSchema HarnessTaskPlan
9
+ * @endpoint POST /v1/agents/help
10
+ * @endpoint POST /v1/help
11
+ * @usedBySchema HelpResolutionSchema
12
+ * @contractShape harness.task-plan
13
+ * @contractRole canonical
14
+ */
15
+ export const HarnessTaskPlanSchema = z.object({
16
+ /** Stored catalog revision this plan was read from. */
17
+ catalogRevision: z.int(),
18
+ /** Typed inputs the task needs before it runs. */
19
+ input: z.array(HarnessTaskSchema),
20
+ /** Steps in run order; an empty list means this catalog task is unplanned. */
21
+ step: z.array(HarnessTaskPlanStepSchema),
22
+ /** Agent-task catalog key. */
23
+ taskKey: z.string(),
24
+ });
25
+ //# sourceMappingURL=task-plan.js.map
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskStepSchemaDefinition: z.ZodObject<{
3
+ instruction: z.ZodString;
4
+ operationId: z.ZodString;
5
+ stepKey: z.ZodString;
6
+ }, z.core.$strip>;
7
+ type HarnessTaskStepDefinition = z.infer<typeof HarnessTaskStepSchemaDefinition>;
8
+ /**
9
+ * One ordered task step: its key, instruction, and the operation that runs it.
10
+ *
11
+ * @openapiSchema HarnessTaskStep
12
+ * @endpoint POST /v1/agents/help
13
+ * @endpoint POST /v1/help
14
+ * @usedBySchema HarnessTaskPlanStepSchema
15
+ * @contractShape harness.task-step
16
+ * @contractRole canonical
17
+ */
18
+ export declare const HarnessTaskStepSchema: z.ZodType<HarnessTaskStepDefinition>;
19
+ export type HarnessTaskStep = z.infer<typeof HarnessTaskStepSchema>;
20
+ export {};
21
+ //# sourceMappingURL=task-step.d.ts.map
@@ -0,0 +1,22 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ const HarnessTaskStepSchemaDefinition = z.object({
4
+ /** What this step does, written for the agent that runs it. */
5
+ instruction: z.string(),
6
+ /** OpenAPI operationId this step calls; it must be in the task's operation list. */
7
+ operationId: z.string(),
8
+ /** Step key, unique within its task. */
9
+ stepKey: z.string(),
10
+ });
11
+ /**
12
+ * One ordered task step: its key, instruction, and the operation that runs it.
13
+ *
14
+ * @openapiSchema HarnessTaskStep
15
+ * @endpoint POST /v1/agents/help
16
+ * @endpoint POST /v1/help
17
+ * @usedBySchema HarnessTaskPlanStepSchema
18
+ * @contractShape harness.task-step
19
+ * @contractRole canonical
20
+ */
21
+ export const HarnessTaskStepSchema = HarnessTaskStepSchemaDefinition;
22
+ //# sourceMappingURL=task-step.js.map
@@ -0,0 +1,24 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessTaskSchemaDefinition: z.ZodObject<{
3
+ description: z.ZodString;
4
+ key: z.ZodString;
5
+ type: z.ZodEnum<{
6
+ ENTITY: "ENTITY";
7
+ TEXT: "TEXT";
8
+ }>;
9
+ }, z.core.$strip>;
10
+ type HarnessTaskDefinition = z.infer<typeof HarnessTaskSchemaDefinition>;
11
+ /**
12
+ * One typed task input that must be bound before a run starts.
13
+ *
14
+ * @openapiSchema HarnessTaskInput
15
+ * @endpoint POST /v1/agents/help
16
+ * @endpoint POST /v1/help
17
+ * @usedBySchema HarnessTaskPlanSchema
18
+ * @contractShape harness.task
19
+ * @contractRole canonical
20
+ */
21
+ export declare const HarnessTaskSchema: z.ZodType<HarnessTaskDefinition>;
22
+ export type HarnessTask = z.infer<typeof HarnessTaskSchema>;
23
+ export {};
24
+ //# sourceMappingURL=task.d.ts.map
@@ -0,0 +1,23 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { HarnessTaskInputTypeSchema } from "./task-input-type.js";
4
+ const HarnessTaskSchemaDefinition = z.object({
5
+ /** What the value is, written for the caller that supplies it. */
6
+ description: z.string(),
7
+ /** Input key, unique within its task. */
8
+ key: z.string(),
9
+ /** How the value is bound. */
10
+ type: HarnessTaskInputTypeSchema,
11
+ });
12
+ /**
13
+ * One typed task input that must be bound before a run starts.
14
+ *
15
+ * @openapiSchema HarnessTaskInput
16
+ * @endpoint POST /v1/agents/help
17
+ * @endpoint POST /v1/help
18
+ * @usedBySchema HarnessTaskPlanSchema
19
+ * @contractShape harness.task
20
+ * @contractRole canonical
21
+ */
22
+ export const HarnessTaskSchema = HarnessTaskSchemaDefinition;
23
+ //# sourceMappingURL=task.js.map
@@ -30,6 +30,36 @@ export declare const HelpResolutionSchema: z.ZodObject<{
30
30
  }>;
31
31
  probability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  taskKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ taskPlan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ catalogRevision: z.ZodInt;
35
+ input: z.ZodArray<z.ZodType<{
36
+ description: string;
37
+ key: string;
38
+ type: "ENTITY" | "TEXT";
39
+ }, unknown, z.core.$ZodTypeInternals<{
40
+ description: string;
41
+ key: string;
42
+ type: "ENTITY" | "TEXT";
43
+ }, unknown>>>;
44
+ step: z.ZodArray<z.ZodType<{
45
+ cliCommand: string;
46
+ mcpTool?: string | null | undefined;
47
+ step: {
48
+ instruction: string;
49
+ operationId: string;
50
+ stepKey: string;
51
+ };
52
+ }, unknown, z.core.$ZodTypeInternals<{
53
+ cliCommand: string;
54
+ mcpTool?: string | null | undefined;
55
+ step: {
56
+ instruction: string;
57
+ operationId: string;
58
+ stepKey: string;
59
+ };
60
+ }, unknown>>>;
61
+ taskKey: z.ZodString;
62
+ }, z.core.$strip>>>;
33
63
  }, z.core.$strip>;
34
64
  export type HelpResolution = z.infer<typeof HelpResolutionSchema>;
35
65
  //# sourceMappingURL=resolution.d.ts.map
@@ -1,5 +1,6 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
+ import { HarnessTaskPlanSchema } from "../harness/task-plan.js";
3
4
  import { HelpCitationSchema } from "./citation.js";
4
5
  import { HelpResolutionOutcomeSchema } from "./resolution-outcome.js";
5
6
  /**
@@ -21,7 +22,9 @@ export const HelpResolutionSchema = z.object({
21
22
  outcome: HelpResolutionOutcomeSchema,
22
23
  /** Probability the decision model gave its chosen option (an operation, a task, several, or none); informational, the choice alone decides the outcome. */
23
24
  probability: z.number().nullish(),
24
- /** The chosen catalog task for TASK_PLAN, or the task leading a CLARIFY; getHarnessTaskPlan reads its plan. */
25
+ /** The chosen catalog task for TASK_PLAN, or the task leading a CLARIFY. */
25
26
  taskKey: z.string().nullish(),
27
+ /** The chosen task's plan for TASK_PLAN when the caller may read catalog task plans; absent otherwise. */
28
+ taskPlan: HarnessTaskPlanSchema.nullish(),
26
29
  });
27
30
  //# sourceMappingURL=resolution.js.map
@@ -18,6 +18,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
18
18
  INFERENCE_PROVIDER_RESPONSE_EMPTY: "INFERENCE_PROVIDER_RESPONSE_EMPTY";
19
19
  JOBRUNR_DISABLED: "JOBRUNR_DISABLED";
20
20
  JOBRUNR_STORAGE_UNAVAILABLE: "JOBRUNR_STORAGE_UNAVAILABLE";
21
+ account_exists: "account_exists";
21
22
  billing_additional_usage_cap_reached: "billing_additional_usage_cap_reached";
22
23
  billing_allowance_exhausted: "billing_allowance_exhausted";
23
24
  callback_challenge_failed: "callback_challenge_failed";
@@ -33,6 +33,8 @@ const ProblemDetailSchemaDefinition = z.object({
33
33
  "billing_allowance_exhausted",
34
34
  /** The caller's monthly allowance is spent and the next additional-usage unit would pass the monthly spend cap or the prepaid credit left. Agent action: stop and report ProblemDetail.allowanceType, limit, used, remaining, and resetAt; raise the cap or buy credit through /v1/billing/additional-usage, or wait for resetAt. */
35
35
  "billing_additional_usage_cap_reached",
36
+ /** A signed-out purchase named an email that already belongs to an account. Agent action: sign that account in with its email code, then subscribe signed in; never retry the signed-out purchase for that email. */
37
+ "account_exists",
36
38
  /** Detail-origin cold-miss coalescing is saturated. Agent action: treat as backend capacity impairment, back off, and inspect backend pool/bulkhead metrics; this is not a caller throttle. */
37
39
  "origin_detail_capacity",
38
40
  /** Detail-origin cold-miss scheduler rejected work because this instance is shutting down for a redeploy. Agent action: retry shortly; the platform routes the retry to a healthy instance. This is deploy-window noise, not a capacity defect — do not treat it as backend saturation. */
@@ -2097,6 +2097,20 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2097
2097
  totalElements: number;
2098
2098
  totalPages: number;
2099
2099
  };
2100
+ newsEntityMention: {
2101
+ entity: {
2102
+ createdAt: string;
2103
+ entityId: string;
2104
+ href?: string | null | undefined;
2105
+ internal: boolean;
2106
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
2107
+ mention?: string | null | undefined;
2108
+ slug?: string | null | undefined;
2109
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
2110
+ updatedAt: string;
2111
+ }[];
2112
+ newsId: number;
2113
+ }[];
2100
2114
  person: {
2101
2115
  interpretation: {
2102
2116
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -4330,6 +4344,20 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4330
4344
  totalElements: number;
4331
4345
  totalPages: number;
4332
4346
  };
4347
+ newsEntityMention: {
4348
+ entity: {
4349
+ createdAt: string;
4350
+ entityId: string;
4351
+ href?: string | null | undefined;
4352
+ internal: boolean;
4353
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
4354
+ mention?: string | null | undefined;
4355
+ slug?: string | null | undefined;
4356
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
4357
+ updatedAt: string;
4358
+ }[];
4359
+ newsId: number;
4360
+ }[];
4333
4361
  person: {
4334
4362
  interpretation: {
4335
4363
  confidence: "HIGH" | "LOW" | "MEDIUM";
@@ -0,0 +1,41 @@
1
+ import { z } from "zod/v4";
2
+ declare const NewsEntityMentionSchemaDefinition: z.ZodObject<{
3
+ entity: z.ZodArray<z.ZodType<{
4
+ createdAt: string;
5
+ entityId: string;
6
+ href?: string | null | undefined;
7
+ internal: boolean;
8
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
9
+ mention?: string | null | undefined;
10
+ slug?: string | null | undefined;
11
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
12
+ updatedAt: string;
13
+ }, unknown, z.core.$ZodTypeInternals<{
14
+ createdAt: string;
15
+ entityId: string;
16
+ href?: string | null | undefined;
17
+ internal: boolean;
18
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
19
+ mention?: string | null | undefined;
20
+ slug?: string | null | undefined;
21
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
22
+ updatedAt: string;
23
+ }, unknown>>>;
24
+ newsId: z.ZodInt;
25
+ }, z.core.$strip>;
26
+ type NewsEntityMentionDefinition = z.infer<typeof NewsEntityMentionSchemaDefinition>;
27
+ /**
28
+ * Public entities one news article links to, in link order.
29
+ *
30
+ * @openapiSchema NewsEntityMention
31
+ * @endpoint GET /v1/search/link
32
+ * @endpoint GET /v1/search/link/jobs/{jobId}
33
+ * @endpoint POST /v1/search
34
+ * @usedBySchema FederatedSearchSchema
35
+ * @contractShape news.entity-mention
36
+ * @contractRole canonical
37
+ */
38
+ export declare const NewsEntityMentionSchema: z.ZodType<NewsEntityMentionDefinition>;
39
+ export type NewsEntityMention = z.infer<typeof NewsEntityMentionSchema>;
40
+ export {};
41
+ //# sourceMappingURL=entity-mention.d.ts.map
@@ -0,0 +1,22 @@
1
+ // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
+ import { z } from "zod/v4";
3
+ import { NewsResolvedEntityLinkSchema } from "./resolved-entity-link.js";
4
+ const NewsEntityMentionSchemaDefinition = z.object({
5
+ /** Public entities the article links to. */
6
+ entity: z.array(NewsResolvedEntityLinkSchema),
7
+ /** News article id. */
8
+ newsId: z.int(),
9
+ });
10
+ /**
11
+ * Public entities one news article links to, in link order.
12
+ *
13
+ * @openapiSchema NewsEntityMention
14
+ * @endpoint GET /v1/search/link
15
+ * @endpoint GET /v1/search/link/jobs/{jobId}
16
+ * @endpoint POST /v1/search
17
+ * @usedBySchema FederatedSearchSchema
18
+ * @contractShape news.entity-mention
19
+ * @contractRole canonical
20
+ */
21
+ export const NewsEntityMentionSchema = NewsEntityMentionSchemaDefinition;
22
+ //# sourceMappingURL=entity-mention.js.map
@@ -4,7 +4,10 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema NewsMatchStatus
6
6
  * @endpoint GET /v1/news/lookup
7
+ * @endpoint GET /v1/search/link
7
8
  * @endpoint GET /v1/news/{newsId}
9
+ * @endpoint GET /v1/search/link/jobs/{jobId}
10
+ * @endpoint POST /v1/search
8
11
  * @usedBySchema NewsResolvedEntityLinkSchema
9
12
  * @usedBySchema NewsResolvedPersonLinkSchema
10
13
  * @contractShape news.match-status
@@ -5,7 +5,10 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema NewsMatchStatus
7
7
  * @endpoint GET /v1/news/lookup
8
+ * @endpoint GET /v1/search/link
8
9
  * @endpoint GET /v1/news/{newsId}
10
+ * @endpoint GET /v1/search/link/jobs/{jobId}
11
+ * @endpoint POST /v1/search
9
12
  * @usedBySchema NewsResolvedEntityLinkSchema
10
13
  * @usedBySchema NewsResolvedPersonLinkSchema
11
14
  * @contractShape news.match-status
@@ -31,8 +31,12 @@ type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSch
31
31
  *
32
32
  * @openapiSchema NewsResolvedEntityLink
33
33
  * @endpoint GET /v1/news/lookup
34
+ * @endpoint GET /v1/search/link
34
35
  * @endpoint GET /v1/news/{newsId}
36
+ * @endpoint GET /v1/search/link/jobs/{jobId}
37
+ * @endpoint POST /v1/search
35
38
  * @usedBySchema NewsDetailSchema
39
+ * @usedBySchema NewsEntityMentionSchema
36
40
  * @contractShape news.resolved-entity-link
37
41
  * @contractRole canonical
38
42
  */
@@ -24,8 +24,12 @@ const NewsResolvedEntityLinkSchemaDefinition = z.object({
24
24
  *
25
25
  * @openapiSchema NewsResolvedEntityLink
26
26
  * @endpoint GET /v1/news/lookup
27
+ * @endpoint GET /v1/search/link
27
28
  * @endpoint GET /v1/news/{newsId}
29
+ * @endpoint GET /v1/search/link/jobs/{jobId}
30
+ * @endpoint POST /v1/search
28
31
  * @usedBySchema NewsDetailSchema
32
+ * @usedBySchema NewsEntityMentionSchema
29
33
  * @contractShape news.resolved-entity-link
30
34
  * @contractRole canonical
31
35
  */
@@ -486,6 +486,17 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
486
486
  },
487
487
  HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
488
488
  HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
489
+ HarnessTaskInput: { modulePath: "harness/task", schemaName: "HarnessTaskSchema" },
490
+ HarnessTaskInputType: {
491
+ modulePath: "harness/task-input-type",
492
+ schemaName: "HarnessTaskInputTypeSchema",
493
+ },
494
+ HarnessTaskPlan: { modulePath: "harness/task-plan", schemaName: "HarnessTaskPlanSchema" },
495
+ HarnessTaskPlanStep: {
496
+ modulePath: "harness/task-plan-step",
497
+ schemaName: "HarnessTaskPlanStepSchema",
498
+ },
499
+ HarnessTaskStep: { modulePath: "harness/task-step", schemaName: "HarnessTaskStepSchema" },
489
500
  HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
490
501
  HelpResolution: { modulePath: "help/resolution", schemaName: "HelpResolutionSchema" },
491
502
  HelpResolutionOutcome: {
@@ -538,6 +549,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
538
549
  schemaName: "NewsCandidateScoreSchema",
539
550
  },
540
551
  NewsDetail: { modulePath: "news/detail", schemaName: "NewsDetailSchema" },
552
+ NewsEntityMention: { modulePath: "news/entity-mention", schemaName: "NewsEntityMentionSchema" },
541
553
  NewsFeedback: { modulePath: "news/feedback", schemaName: "NewsFeedbackSchema" },
542
554
  NewsFeedbackAcknowledgement: {
543
555
  modulePath: "news/feedback-acknowledgement",
@@ -20,7 +20,7 @@ export const SearchAnswerSchema = z.object({
20
20
  citation: z.array(SearchAnswerCitationSchema),
21
21
  /** How fully the cited evidence answers the question. */
22
22
  confidence: ConfidenceSchema,
23
- /** The answer's paragraphs in reading order, each citing the evidence it rests on; empty when the answer abstains. */
23
+ /** The answer's paragraphs in reading order, each citing the evidence it rests on; empty when the answer abstains. A first paragraph without `topic` is the lead, written as a standalone answer of one or two sentences that reads complete when shown alone; later paragraphs expand it by topic without restating it. */
24
24
  paragraph: z.array(SearchAnswerParagraphSchema),
25
25
  /** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
26
26
  relatedQuery: z.array(z.string()),
@@ -1,8 +1,9 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
3
+ * Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. A competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") is always ranked by the judged probability that each entity answers it, so `judgment` adds nothing beyond that; `web` adds web search evidence, and the companies those results name, before judging. Other questions ignore `judgment` and `web`.
4
4
  *
5
5
  * @openapiSchema SearchLayer
6
+ * @endpoint POST /v1/search
6
7
  * @endpoint POST /v1/search/natural/entities
7
8
  * @contractShape search.layer
8
9
  * @contractRole canonical
@@ -1,9 +1,10 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
3
  /**
4
- * Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds web search evidence, and the companies those results name, before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
4
+ * Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. A competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") is always ranked by the judged probability that each entity answers it, so `judgment` adds nothing beyond that; `web` adds web search evidence, and the companies those results name, before judging. Other questions ignore `judgment` and `web`.
5
5
  *
6
6
  * @openapiSchema SearchLayer
7
+ * @endpoint POST /v1/search
7
8
  * @endpoint POST /v1/search/natural/entities
8
9
  * @contractShape search.layer
9
10
  * @contractRole canonical
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.70",
3
+ "version": "0.8.71",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",