@aventurevc/api-schemas 0.8.159 → 0.8.161
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/dist/openapi-component-manifest.js +8 -0
- package/dist/search/knowledge-graph-attribute.d.ts +26 -0
- package/dist/search/knowledge-graph-attribute.js +21 -0
- package/dist/search/knowledge-graph-fact.d.ts +18 -0
- package/dist/search/knowledge-graph-fact.js +17 -0
- package/dist/search/knowledge-graph.d.ts +7 -0
- package/dist/search/knowledge-graph.js +3 -0
- package/dist/search/sports-result.d.ts +0 -1
- package/dist/search/sports-result.js +0 -2
- package/dist/web/search.d.ts +7 -1
- package/package.json +1 -1
|
@@ -905,6 +905,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
905
905
|
modulePath: "search/knowledge-graph",
|
|
906
906
|
schemaName: "SearchKnowledgeGraphSchema",
|
|
907
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
|
+
},
|
|
908
916
|
SearchLayer: { modulePath: "search/layer", schemaName: "SearchLayerSchema" },
|
|
909
917
|
SearchMode: { modulePath: "search/mode", schemaName: "SearchModeSchema" },
|
|
910
918
|
SearchModeExecution: {
|
|
@@ -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
|
|
@@ -10,6 +10,13 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
|
12
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>>>>>;
|
|
13
20
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
21
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
22
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -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 { SearchKnowledgeGraphAttributeSchema } from "./knowledge-graph-attribute.js";
|
|
3
4
|
/**
|
|
4
5
|
* Google's knowledge panel for the entity the query names
|
|
5
6
|
*
|
|
@@ -11,6 +12,8 @@ import { z } from "zod/v4";
|
|
|
11
12
|
* @contractRole canonical
|
|
12
13
|
*/
|
|
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(),
|
|
14
17
|
/** Entity description the panel shows */
|
|
15
18
|
description: z.string().nullish(),
|
|
16
19
|
/** Entity name the panel shows */
|
|
@@ -10,7 +10,6 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @contractRole canonical
|
|
11
11
|
*/
|
|
12
12
|
export declare const SearchSportsResultSchema: z.ZodObject<{
|
|
13
|
-
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
13
|
league: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
14
|
stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
15
|
team: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|
|
@@ -12,8 +12,6 @@ import { SearchSportsTeamSchema } from "./sports-team.js";
|
|
|
12
12
|
* @contractRole canonical
|
|
13
13
|
*/
|
|
14
14
|
export const SearchSportsResultSchema = z.object({
|
|
15
|
-
/** Game date as Google states it */
|
|
16
|
-
date: z.string().nullish(),
|
|
17
15
|
/** League or tournament */
|
|
18
16
|
league: z.string().nullish(),
|
|
19
17
|
/** Stage of the competition */
|
package/dist/web/search.d.ts
CHANGED
|
@@ -55,6 +55,13 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
55
55
|
upstreamContentEncoding?: string | null | undefined;
|
|
56
56
|
}, import("../source/document-list.ts").SourceDocumentListSchemaInput>>;
|
|
57
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>>>>>;
|
|
58
65
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
66
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
67
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -123,7 +130,6 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
123
130
|
tenantPolicyRevision?: number | null | undefined;
|
|
124
131
|
}, import("../search/search.ts").SearchSchemaInput>>;
|
|
125
132
|
sportsResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
126
|
-
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
127
133
|
league: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
128
134
|
stage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
129
135
|
team: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
|