@aventurevc/api-schemas 0.8.64 → 0.8.65

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.
@@ -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 { EntityListSchema } from "../entity/list.js";
4
+ const SearchJudgmentSchemaDefinition = z.object({
5
+ /** The answering entity. */
6
+ entity: EntityListSchema,
7
+ /** Judged probability, 0 to 1, that the entity answers the question. */
8
+ probability: z.number(),
9
+ /** Stored web search result pages that name the entity; empty without `web`. */
10
+ webUrl: z.array(z.string()),
11
+ });
12
+ /**
13
+ * An entity that answers a competitor, market, or provider question, with the judged probability that it does.
14
+ *
15
+ * @openapiSchema SearchJudgment
16
+ * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema NaturalSearchResultSchema
21
+ * @contractShape search.judgment
22
+ * @contractRole canonical
23
+ */
24
+ export const SearchJudgmentSchema = SearchJudgmentSchemaDefinition;
25
+ //# sourceMappingURL=judgment.js.map
@@ -1,6 +1,6 @@
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`.
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 stored web search evidence before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
4
4
  *
5
5
  * @openapiSchema SearchLayer
6
6
  * @endpoint POST /v1/search/natural/entities
@@ -8,8 +8,10 @@ import { z } from "zod/v4";
8
8
  * @contractRole canonical
9
9
  */
10
10
  export declare const SearchLayerSchema: z.ZodEnum<{
11
+ judgment: "judgment";
11
12
  passage: "passage";
12
13
  synthesis: "synthesis";
14
+ web: "web";
13
15
  }>;
14
16
  export type SearchLayer = z.infer<typeof SearchLayerSchema>;
15
17
  //# sourceMappingURL=layer.d.ts.map
@@ -1,12 +1,12 @@
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`.
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 stored web search evidence before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
5
5
  *
6
6
  * @openapiSchema SearchLayer
7
7
  * @endpoint POST /v1/search/natural/entities
8
8
  * @contractShape search.layer
9
9
  * @contractRole canonical
10
10
  */
11
- export const SearchLayerSchema = z.enum(["passage", "synthesis"]);
11
+ export const SearchLayerSchema = z.enum(["passage", "synthesis", "judgment", "web"]);
12
12
  //# sourceMappingURL=layer.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.64",
3
+ "version": "0.8.65",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",