@aventurevc/api-schemas 0.8.158 → 0.8.160

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.
@@ -875,6 +875,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
875
875
  schemaName: "SearchAiOverviewReferenceSchema",
876
876
  },
877
877
  SearchAnswer: { modulePath: "search/answer", schemaName: "SearchAnswerSchema" },
878
+ SearchAnswerBox: { modulePath: "search/answer-box", schemaName: "SearchAnswerBoxSchema" },
878
879
  SearchAnswerCitation: {
879
880
  modulePath: "search/answer-citation",
880
881
  schemaName: "SearchAnswerCitationSchema",
@@ -900,6 +901,18 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
900
901
  },
901
902
  SearchInvestment: { modulePath: "search/investment", schemaName: "SearchInvestmentSchema" },
902
903
  SearchJudgment: { modulePath: "search/judgment", schemaName: "SearchJudgmentSchema" },
904
+ SearchKnowledgeGraph: {
905
+ modulePath: "search/knowledge-graph",
906
+ schemaName: "SearchKnowledgeGraphSchema",
907
+ },
908
+ SearchKnowledgeGraphAttribute: {
909
+ modulePath: "search/knowledge-graph-attribute",
910
+ schemaName: "SearchKnowledgeGraphAttributeSchema",
911
+ },
912
+ SearchKnowledgeGraphFact: {
913
+ modulePath: "search/knowledge-graph-fact",
914
+ schemaName: "SearchKnowledgeGraphFactSchema",
915
+ },
903
916
  SearchLayer: { modulePath: "search/layer", schemaName: "SearchLayerSchema" },
904
917
  SearchMode: { modulePath: "search/mode", schemaName: "SearchModeSchema" },
905
918
  SearchModeExecution: {
@@ -920,7 +933,16 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
920
933
  modulePath: "search/qualifier-option",
921
934
  schemaName: "SearchQualifierOptionSchema",
922
935
  },
936
+ SearchRelatedQuestion: {
937
+ modulePath: "search/related-question",
938
+ schemaName: "SearchRelatedQuestionSchema",
939
+ },
923
940
  SearchRelevance: { modulePath: "search/relevance", schemaName: "SearchRelevanceSchema" },
941
+ SearchSportsResult: {
942
+ modulePath: "search/sports-result",
943
+ schemaName: "SearchSportsResultSchema",
944
+ },
945
+ SearchSportsTeam: { modulePath: "search/sports-team", schemaName: "SearchSportsTeamSchema" },
924
946
  SecCompany: { modulePath: "sec/company", schemaName: "SecCompanySchema" },
925
947
  SecListingProspectus: {
926
948
  modulePath: "sec/listing-prospectus",
@@ -0,0 +1,20 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Google's direct answer shown above the results
4
+ *
5
+ * @openapiSchema SearchAnswerBox
6
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
7
+ * @endpoint POST /v1/web/search
8
+ * @usedBySchema WebSearchSchema
9
+ * @contractShape search.answer-box
10
+ * @contractRole canonical
11
+ */
12
+ export declare const SearchAnswerBoxSchema: z.ZodObject<{
13
+ answer: z.ZodString;
14
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$strip>;
19
+ export type SearchAnswerBox = z.infer<typeof SearchAnswerBoxSchema>;
20
+ //# sourceMappingURL=answer-box.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
+ /**
4
+ * Google's direct answer shown above the results
5
+ *
6
+ * @openapiSchema SearchAnswerBox
7
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
8
+ * @endpoint POST /v1/web/search
9
+ * @usedBySchema WebSearchSchema
10
+ * @contractShape search.answer-box
11
+ * @contractRole canonical
12
+ */
13
+ export const SearchAnswerBoxSchema = z.object({
14
+ /** Direct answer text; Google's snippet when the box states no separate answer */
15
+ answer: z.string(),
16
+ /** Supporting snippet the box shows */
17
+ snippet: z.string().nullish(),
18
+ /** Title of the page the answer comes from */
19
+ title: z.string().nullish(),
20
+ /** Google's answer-box kind */
21
+ type: z.string().nullish(),
22
+ /** URL of the page the answer comes from */
23
+ url: z.string().nullish(),
24
+ });
25
+ //# sourceMappingURL=answer-box.js.map
@@ -0,0 +1,26 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchKnowledgeGraphAttributeSchemaDefinition: z.ZodObject<{
3
+ name: z.ZodUnion<readonly [z.ZodEnum<{
4
+ ceo: "ceo";
5
+ founded: "founded";
6
+ headquarters: "headquarters";
7
+ }>, z.ZodString]>;
8
+ value: z.ZodString;
9
+ }, z.core.$strip>;
10
+ type SearchKnowledgeGraphAttributeDefinition = z.infer<typeof SearchKnowledgeGraphAttributeSchemaDefinition>;
11
+ export interface SearchKnowledgeGraphAttributeSchemaInput extends z.input<typeof SearchKnowledgeGraphAttributeSchemaDefinition> {
12
+ }
13
+ /**
14
+ * One fact Google's knowledge panel states
15
+ *
16
+ * @openapiSchema SearchKnowledgeGraphAttribute
17
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
18
+ * @endpoint POST /v1/web/search
19
+ * @usedBySchema SearchKnowledgeGraphSchema
20
+ * @contractShape search.knowledge-graph-attribute
21
+ * @contractRole canonical
22
+ */
23
+ export declare const SearchKnowledgeGraphAttributeSchema: z.ZodType<SearchKnowledgeGraphAttributeDefinition, SearchKnowledgeGraphAttributeSchemaInput>;
24
+ export type SearchKnowledgeGraphAttribute = z.infer<typeof SearchKnowledgeGraphAttributeSchema>;
25
+ export {};
26
+ //# sourceMappingURL=knowledge-graph-attribute.d.ts.map
@@ -0,0 +1,21 @@
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 { SearchKnowledgeGraphFactSchema } from "./knowledge-graph-fact.js";
4
+ const SearchKnowledgeGraphAttributeSchemaDefinition = z.object({
5
+ /** Fact the panel labels */
6
+ name: SearchKnowledgeGraphFactSchema,
7
+ /** Value as the panel states it */
8
+ value: z.string(),
9
+ });
10
+ /**
11
+ * One fact Google's knowledge panel states
12
+ *
13
+ * @openapiSchema SearchKnowledgeGraphAttribute
14
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
15
+ * @endpoint POST /v1/web/search
16
+ * @usedBySchema SearchKnowledgeGraphSchema
17
+ * @contractShape search.knowledge-graph-attribute
18
+ * @contractRole canonical
19
+ */
20
+ export const SearchKnowledgeGraphAttributeSchema = SearchKnowledgeGraphAttributeSchemaDefinition;
21
+ //# sourceMappingURL=knowledge-graph-attribute.js.map
@@ -0,0 +1,18 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Knowledge panel fact name
4
+ *
5
+ * @openapiSchema SearchKnowledgeGraphFact
6
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
7
+ * @endpoint POST /v1/web/search
8
+ * @usedBySchema SearchKnowledgeGraphAttributeSchema
9
+ * @contractShape search.knowledge-graph-fact
10
+ * @contractRole canonical
11
+ */
12
+ export declare const SearchKnowledgeGraphFactSchema: z.ZodUnion<readonly [z.ZodEnum<{
13
+ ceo: "ceo";
14
+ founded: "founded";
15
+ headquarters: "headquarters";
16
+ }>, z.ZodString]>;
17
+ export type SearchKnowledgeGraphFact = z.infer<typeof SearchKnowledgeGraphFactSchema>;
18
+ //# sourceMappingURL=knowledge-graph-fact.d.ts.map
@@ -0,0 +1,17 @@
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
+ * Knowledge panel fact name
5
+ *
6
+ * @openapiSchema SearchKnowledgeGraphFact
7
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
8
+ * @endpoint POST /v1/web/search
9
+ * @usedBySchema SearchKnowledgeGraphAttributeSchema
10
+ * @contractShape search.knowledge-graph-fact
11
+ * @contractRole canonical
12
+ */
13
+ export const SearchKnowledgeGraphFactSchema = z.union([
14
+ z.enum(["founded", "ceo", "headquarters"]),
15
+ z.string(),
16
+ ]);
17
+ //# sourceMappingURL=knowledge-graph-fact.js.map
@@ -0,0 +1,26 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Google's knowledge panel for the entity the query names
4
+ *
5
+ * @openapiSchema SearchKnowledgeGraph
6
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
7
+ * @endpoint POST /v1/web/search
8
+ * @usedBySchema WebSearchSchema
9
+ * @contractShape search.knowledge-graph
10
+ * @contractRole canonical
11
+ */
12
+ export declare const SearchKnowledgeGraphSchema: z.ZodObject<{
13
+ attribute: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
14
+ name: string;
15
+ value: string;
16
+ }, import("./knowledge-graph-attribute.ts").SearchKnowledgeGraphAttributeSchemaInput, z.core.$ZodTypeInternals<{
17
+ name: string;
18
+ value: string;
19
+ }, import("./knowledge-graph-attribute.ts").SearchKnowledgeGraphAttributeSchemaInput>>>>>;
20
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ }, z.core.$strip>;
25
+ export type SearchKnowledgeGraph = z.infer<typeof SearchKnowledgeGraphSchema>;
26
+ //# sourceMappingURL=knowledge-graph.d.ts.map
@@ -0,0 +1,26 @@
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 { SearchKnowledgeGraphAttributeSchema } from "./knowledge-graph-attribute.js";
4
+ /**
5
+ * Google's knowledge panel for the entity the query names
6
+ *
7
+ * @openapiSchema SearchKnowledgeGraph
8
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
9
+ * @endpoint POST /v1/web/search
10
+ * @usedBySchema WebSearchSchema
11
+ * @contractShape search.knowledge-graph
12
+ * @contractRole canonical
13
+ */
14
+ export const SearchKnowledgeGraphSchema = z.object({
15
+ /** Facts the panel states, such as founding date, CEO, and headquarters */
16
+ attribute: z.array(SearchKnowledgeGraphAttributeSchema).nullish(),
17
+ /** Entity description the panel shows */
18
+ description: z.string().nullish(),
19
+ /** Entity name the panel shows */
20
+ title: z.string().nullish(),
21
+ /** Entity kind Google states */
22
+ type: z.string().nullish(),
23
+ /** Official website the panel links */
24
+ website: z.string().nullish(),
25
+ });
26
+ //# sourceMappingURL=knowledge-graph.js.map
@@ -0,0 +1,24 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchRelatedQuestionSchemaDefinition: z.ZodObject<{
3
+ question: z.ZodString;
4
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ }, z.core.$strip>;
8
+ type SearchRelatedQuestionDefinition = z.infer<typeof SearchRelatedQuestionSchemaDefinition>;
9
+ export interface SearchRelatedQuestionSchemaInput extends z.input<typeof SearchRelatedQuestionSchemaDefinition> {
10
+ }
11
+ /**
12
+ * One "People also ask" question Google shows for the query
13
+ *
14
+ * @openapiSchema SearchRelatedQuestion
15
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
16
+ * @endpoint POST /v1/web/search
17
+ * @usedBySchema WebSearchSchema
18
+ * @contractShape search.related-question
19
+ * @contractRole canonical
20
+ */
21
+ export declare const SearchRelatedQuestionSchema: z.ZodType<SearchRelatedQuestionDefinition, SearchRelatedQuestionSchemaInput>;
22
+ export type SearchRelatedQuestion = z.infer<typeof SearchRelatedQuestionSchema>;
23
+ export {};
24
+ //# sourceMappingURL=related-question.d.ts.map
@@ -0,0 +1,24 @@
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 SearchRelatedQuestionSchemaDefinition = z.object({
4
+ /** Question text */
5
+ question: z.string(),
6
+ /** Answer snippet; null when Google answers the question with an AI Overview */
7
+ snippet: z.string().nullish(),
8
+ /** Title of the page the snippet comes from */
9
+ title: z.string().nullish(),
10
+ /** URL of the page the snippet comes from */
11
+ url: z.string().nullish(),
12
+ });
13
+ /**
14
+ * One "People also ask" question Google shows for the query
15
+ *
16
+ * @openapiSchema SearchRelatedQuestion
17
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
18
+ * @endpoint POST /v1/web/search
19
+ * @usedBySchema WebSearchSchema
20
+ * @contractShape search.related-question
21
+ * @contractRole canonical
22
+ */
23
+ export const SearchRelatedQuestionSchema = SearchRelatedQuestionSchemaDefinition;
24
+ //# sourceMappingURL=related-question.js.map
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Google's spotlight for one game the query names
4
+ *
5
+ * @openapiSchema SearchSportsResult
6
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
7
+ * @endpoint POST /v1/web/search
8
+ * @usedBySchema WebSearchSchema
9
+ * @contractShape search.sports-result
10
+ * @contractRole canonical
11
+ */
12
+ export declare const SearchSportsResultSchema: z.ZodObject<{
13
+ league: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ team: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
16
+ name: string;
17
+ seeding?: number | null | undefined;
18
+ }, import("./sports-team.ts").SearchSportsTeamSchemaInput, z.core.$ZodTypeInternals<{
19
+ name: string;
20
+ seeding?: number | null | undefined;
21
+ }, import("./sports-team.ts").SearchSportsTeamSchemaInput>>>>>;
22
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
24
+ export type SearchSportsResult = z.infer<typeof SearchSportsResultSchema>;
25
+ //# sourceMappingURL=sports-result.d.ts.map
@@ -0,0 +1,24 @@
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 { SearchSportsTeamSchema } from "./sports-team.js";
4
+ /**
5
+ * Google's spotlight for one game the query names
6
+ *
7
+ * @openapiSchema SearchSportsResult
8
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
9
+ * @endpoint POST /v1/web/search
10
+ * @usedBySchema WebSearchSchema
11
+ * @contractShape search.sports-result
12
+ * @contractRole canonical
13
+ */
14
+ export const SearchSportsResultSchema = z.object({
15
+ /** League or tournament */
16
+ league: z.string().nullish(),
17
+ /** Stage of the competition */
18
+ stage: z.string().nullish(),
19
+ /** Teams in the game */
20
+ team: z.array(SearchSportsTeamSchema).nullish(),
21
+ /** Venue or stadium */
22
+ venue: z.string().nullish(),
23
+ });
24
+ //# sourceMappingURL=sports-result.js.map
@@ -0,0 +1,22 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchSportsTeamSchemaDefinition: z.ZodObject<{
3
+ name: z.ZodString;
4
+ seeding: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5
+ }, z.core.$strip>;
6
+ type SearchSportsTeamDefinition = z.infer<typeof SearchSportsTeamSchemaDefinition>;
7
+ export interface SearchSportsTeamSchemaInput extends z.input<typeof SearchSportsTeamSchemaDefinition> {
8
+ }
9
+ /**
10
+ * One team in a spotlighted game
11
+ *
12
+ * @openapiSchema SearchSportsTeam
13
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
14
+ * @endpoint POST /v1/web/search
15
+ * @usedBySchema SearchSportsResultSchema
16
+ * @contractShape search.sports-team
17
+ * @contractRole canonical
18
+ */
19
+ export declare const SearchSportsTeamSchema: z.ZodType<SearchSportsTeamDefinition, SearchSportsTeamSchemaInput>;
20
+ export type SearchSportsTeam = z.infer<typeof SearchSportsTeamSchema>;
21
+ export {};
22
+ //# sourceMappingURL=sports-team.d.ts.map
@@ -0,0 +1,20 @@
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 SearchSportsTeamSchemaDefinition = z.object({
4
+ /** Team name */
5
+ name: z.string(),
6
+ /** Tournament seeding when Google states one */
7
+ seeding: z.int().nullish(),
8
+ });
9
+ /**
10
+ * One team in a spotlighted game
11
+ *
12
+ * @openapiSchema SearchSportsTeam
13
+ * @endpoint GET /v1/web/searches/jobs/{jobId}
14
+ * @endpoint POST /v1/web/search
15
+ * @usedBySchema SearchSportsResultSchema
16
+ * @contractShape search.sports-team
17
+ * @contractRole canonical
18
+ */
19
+ export const SearchSportsTeamSchema = SearchSportsTeamSchemaDefinition;
20
+ //# sourceMappingURL=sports-team.js.map
@@ -16,6 +16,13 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
16
16
  }, import("../search/ai-overview-reference.ts").SearchAiOverviewReferenceSchemaInput>>>;
17
17
  text: z.ZodString;
18
18
  }, z.core.$strip>>>;
19
+ answerBox: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ answer: z.ZodString;
21
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$strip>>>;
19
26
  document: z.ZodType<{
20
27
  cacheHitCount: number;
21
28
  createdAt: string;
@@ -47,6 +54,31 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
47
54
  sourceKey: string;
48
55
  upstreamContentEncoding?: string | null | undefined;
49
56
  }, import("../source/document-list.ts").SourceDocumentListSchemaInput>>;
57
+ knowledgeGraph: z.ZodOptional<z.ZodNullable<z.ZodObject<{
58
+ attribute: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
59
+ name: string;
60
+ value: string;
61
+ }, import("../search/knowledge-graph-attribute.ts").SearchKnowledgeGraphAttributeSchemaInput, z.core.$ZodTypeInternals<{
62
+ name: string;
63
+ value: string;
64
+ }, import("../search/knowledge-graph-attribute.ts").SearchKnowledgeGraphAttributeSchemaInput>>>>>;
65
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$strip>>>;
70
+ relatedQuestion: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
71
+ question: string;
72
+ snippet?: string | null | undefined;
73
+ title?: string | null | undefined;
74
+ url?: string | null | undefined;
75
+ }, import("../search/related-question.ts").SearchRelatedQuestionSchemaInput, z.core.$ZodTypeInternals<{
76
+ question: string;
77
+ snippet?: string | null | undefined;
78
+ title?: string | null | undefined;
79
+ url?: string | null | undefined;
80
+ }, import("../search/related-question.ts").SearchRelatedQuestionSchemaInput>>>>>;
81
+ relatedSearch: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
50
82
  result: z.ZodArray<z.ZodType<{
51
83
  relevanceScore: number;
52
84
  snippet: string;
@@ -97,6 +129,18 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
97
129
  tenant?: "development" | "production" | "staging" | "unassigned" | null | undefined;
98
130
  tenantPolicyRevision?: number | null | undefined;
99
131
  }, import("../search/search.ts").SearchSchemaInput>>;
132
+ sportsResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
133
+ league: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
+ stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
135
+ team: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
136
+ name: string;
137
+ seeding?: number | null | undefined;
138
+ }, import("../search/sports-team.ts").SearchSportsTeamSchemaInput, z.core.$ZodTypeInternals<{
139
+ name: string;
140
+ seeding?: number | null | undefined;
141
+ }, import("../search/sports-team.ts").SearchSportsTeamSchemaInput>>>>>;
142
+ venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
+ }, z.core.$strip>>>;
100
144
  }, z.core.$strip>;
101
145
  type WebSearchDefinition = z.infer<typeof WebSearchSchemaDefinition>;
102
146
  export interface WebSearchSchemaInput extends z.input<typeof WebSearchSchemaDefinition> {
@@ -1,18 +1,32 @@
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
  import { SearchAiOverviewSchema } from "../search/ai-overview.js";
4
+ import { SearchAnswerBoxSchema } from "../search/answer-box.js";
4
5
  import { SearchHitSchema } from "../search/hit.js";
6
+ import { SearchKnowledgeGraphSchema } from "../search/knowledge-graph.js";
7
+ import { SearchRelatedQuestionSchema } from "../search/related-question.js";
5
8
  import { SearchSchema } from "../search/search.js";
9
+ import { SearchSportsResultSchema } from "../search/sports-result.js";
6
10
  import { SourceDocumentListSchema } from "../source/document-list.js";
7
11
  const WebSearchSchemaDefinition = z.object({
8
12
  /** Google's AI Overview: returned whenever Google answers inline or its deferred overview is stored (fetched by this or an earlier search that set `deferredAiOverview`); null when Google produced none or no such fetch stored its deferred overview */
9
13
  aiOverview: SearchAiOverviewSchema.nullish(),
14
+ /** Google's direct answer box; null when the page shows none */
15
+ answerBox: SearchAnswerBoxSchema.nullish(),
10
16
  /** Source-document ledger row backing this result */
11
17
  document: SourceDocumentListSchema,
18
+ /** Google's knowledge panel; null when the page shows none */
19
+ knowledgeGraph: SearchKnowledgeGraphSchema.nullish(),
20
+ /** Google's "People also ask" questions; null when the page shows none */
21
+ relatedQuestion: z.array(SearchRelatedQuestionSchema).nullish(),
22
+ /** Google's related searches; null when the page shows none */
23
+ relatedSearch: z.array(z.string()).nullish(),
12
24
  /** Normalized result items in provider rank order */
13
25
  result: z.array(SearchHitSchema),
14
26
  /** Web search request represented by this result */
15
27
  search: SearchSchema,
28
+ /** Google's game spotlight; null when the page shows none */
29
+ sportsResult: SearchSportsResultSchema.nullish(),
16
30
  });
17
31
  /**
18
32
  * Live web search result with its backing source-document row and normalized items
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.158",
3
+ "version": "0.8.160",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",