@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.
@@ -5,16 +5,21 @@ import { EntitySimilarityResultSchema } from "../entity/similarity-result.js";
5
5
  import { PageResultEntityListSchema } from "../pagination/schemas.js";
6
6
  import { SearchAnswerSchema } from "../search/answer.js";
7
7
  import { SearchInterpretationSchema } from "../search/interpretation.js";
8
+ import { SearchJudgmentSchema } from "../search/judgment.js";
8
9
  import { SearchPassageSchema } from "../search/passage.js";
9
10
  const NaturalSearchResultSchemaDefinition = z.object({
10
11
  /** Written answer grounded in the subject, peer, and result records and the passages; null unless the request asks for the `synthesis` layer. */
11
12
  answer: SearchAnswerSchema.nullish(),
12
13
  /** Structured interpretation used to run the entity list query. */
13
14
  interpretation: SearchInterpretationSchema,
15
+ /** Judged answer to a competitor, market, or provider question, most probable first; empty unless the request asks for the `judgment` or `web` layer and the question has one of those shapes. */
16
+ judgment: z.array(SearchJudgmentSchema),
14
17
  /** Passages that best answer the question, ranked by score; empty unless the request asks for the `passage` layer. */
15
18
  passage: z.array(SearchPassageSchema),
16
19
  /** Curated competitors of the single subject entity for `peer` questions; semantic look-alikes are the result page. Empty otherwise. */
17
20
  peer: z.array(EntitySimilarityResultSchema),
21
+ /** Web searches for this question not yet stored; their evidence joins a later request. Empty without the `web` layer. */
22
+ pendingWebQuery: z.array(z.string()),
18
23
  /** Entity list page returned by the canonical entity list engine. */
19
24
  result: PageResultEntityListSchema,
20
25
  /** Entities the question is about, one per resolved subject name, in query order; empty when the question names none or none resolves. */
@@ -487,6 +487,11 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
487
487
  HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
488
488
  HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
489
489
  HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
490
+ HelpResolution: { modulePath: "help/resolution", schemaName: "HelpResolutionSchema" },
491
+ HelpResolutionOutcome: {
492
+ modulePath: "help/resolution-outcome",
493
+ schemaName: "HelpResolutionOutcomeSchema",
494
+ },
490
495
  HelpScope: { modulePath: "help/scope", schemaName: "HelpScopeSchema" },
491
496
  HelpSourceType: { modulePath: "help/source-type", schemaName: "HelpSourceTypeSchema" },
492
497
  Identification: {
@@ -808,6 +813,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
808
813
  modulePath: "search/interpretation",
809
814
  schemaName: "SearchInterpretationSchema",
810
815
  },
816
+ SearchJudgment: { modulePath: "search/judgment", schemaName: "SearchJudgmentSchema" },
811
817
  SearchLayer: { modulePath: "search/layer", schemaName: "SearchLayerSchema" },
812
818
  SearchMode: { modulePath: "search/mode", schemaName: "SearchModeSchema" },
813
819
  SearchModeExecution: {