@aventurevc/api-schemas 0.8.79 → 0.8.80
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.
|
@@ -61,7 +61,7 @@ const EntityListFilterSchemaDefinition = z.strictObject({
|
|
|
61
61
|
portfolioHeadquartersState: z.array(z.string()).optional(),
|
|
62
62
|
/** Named server-owned list quality gate. */
|
|
63
63
|
qualityGate: EntityListQualityGateSchema.optional(),
|
|
64
|
-
/** Semantic entity search phrase. Executable on POST /v1/entities/search; saved views persist it for replay. */
|
|
64
|
+
/** Semantic entity search phrase. Executable on POST /v1/entities/search; saved views persist it for replay. A semantic page ranks a bounded nearest-neighbor window: totalElements counts the ranked candidates reachable through continuation, not every matching entity. */
|
|
65
65
|
semanticQuery: z.string().nullish(),
|
|
66
66
|
/** Restrict results to entity slugs. */
|
|
67
67
|
slug: z
|
|
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @usedBySchema IdentificationCandidateSchema
|
|
13
13
|
* @usedBySchema LookupJobMentionSchema
|
|
14
14
|
* @usedBySchema ResolvedHandleSchema
|
|
15
|
+
* @usedBySchema SearchSchema
|
|
15
16
|
* @usedBySchema UniqueIdSchema
|
|
16
17
|
* @usedBySchema UrlDuplicateConflictSchema
|
|
17
18
|
* @usedBySchema UrlDuplicateJoinSchema
|
|
@@ -13,6 +13,7 @@ import { z } from "zod/v4";
|
|
|
13
13
|
* @usedBySchema IdentificationCandidateSchema
|
|
14
14
|
* @usedBySchema LookupJobMentionSchema
|
|
15
15
|
* @usedBySchema ResolvedHandleSchema
|
|
16
|
+
* @usedBySchema SearchSchema
|
|
16
17
|
* @usedBySchema UniqueIdSchema
|
|
17
18
|
* @usedBySchema UrlDuplicateConflictSchema
|
|
18
19
|
* @usedBySchema UrlDuplicateJoinSchema
|
package/dist/person/filter.js
CHANGED
|
@@ -45,7 +45,7 @@ export const PersonFilterSchema = z.object({
|
|
|
45
45
|
role: z.string().nullish(),
|
|
46
46
|
/** Search keyword or phrase. Single characters valid; stop words rejected. */
|
|
47
47
|
search: z.string().nullish(),
|
|
48
|
-
/** Semantic person search phrase. */
|
|
48
|
+
/** Semantic person search phrase. A semantic page ranks a bounded nearest-neighbor window: totalElements counts the ranked candidates reachable through continuation, not every matching person. */
|
|
49
49
|
semanticQuery: z.string().nullish(),
|
|
50
50
|
/** Person workflow status. */
|
|
51
51
|
status: z.string().nullish(),
|
package/dist/search/search.d.ts
CHANGED
|
@@ -3,11 +3,13 @@ declare const SearchSchemaDefinition: z.ZodObject<{
|
|
|
3
3
|
allowSuspectedShellStrip: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
4
4
|
bypassCache: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
5
5
|
cacheKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
-
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
7
6
|
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
-
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
9
7
|
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
8
|
resultLimit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9
|
+
retrievedFor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
11
|
+
personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
11
13
|
search: z.ZodString;
|
|
12
14
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$strip>;
|
package/dist/search/search.js
CHANGED
|
@@ -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 { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
3
4
|
const SearchSchemaDefinition = z.object({
|
|
4
5
|
/** Allow intentional money-like text without a currency marker; prefer --from-file. */
|
|
5
6
|
allowSuspectedShellStrip: z.boolean().nullish(),
|
|
@@ -7,16 +8,14 @@ const SearchSchemaDefinition = z.object({
|
|
|
7
8
|
bypassCache: z.boolean().default(false).optional(),
|
|
8
9
|
/** Stable lookup text for cache keying when generated search text varies between runs */
|
|
9
10
|
cacheKey: z.string().nullish(),
|
|
10
|
-
/** Entity this search was retrieved for: its stored result lists under that entity (`GET /v1/research/source-documents?entityId=`) on a fetch or a cache hit */
|
|
11
|
-
entityId: z.uuid().nullish(),
|
|
12
11
|
/** Search language code */
|
|
13
12
|
language: z.string().nullish(),
|
|
14
|
-
/** Person this search was retrieved for: its stored result lists under that person (`GET /v1/research/source-documents?personId=`) on a fetch or a cache hit */
|
|
15
|
-
personId: z.uuid().nullish(),
|
|
16
13
|
/** Search region code */
|
|
17
14
|
region: z.string().nullish(),
|
|
18
15
|
/** Maximum number of normalized results to keep */
|
|
19
16
|
resultLimit: z.int().nullish(),
|
|
17
|
+
/** Entity or person this search was retrieved for: its stored result lists under that subject (`GET /v1/research/source-documents?entityId=` or `?personId=`) on a fetch or a cache hit */
|
|
18
|
+
retrievedFor: EntityPersonOwnerSchema.nullish(),
|
|
20
19
|
/** Search text sent to the upstream web search provider */
|
|
21
20
|
search: z.string(),
|
|
22
21
|
/** Optional caller identity, up to 64 characters, persisted for source-document attribution and abuse triage. Agent requests derive `<agentModel>-<agentChassis>` from the validated provenance actor instead of this field. */
|
package/dist/web/search.d.ts
CHANGED
|
@@ -46,22 +46,26 @@ declare const WebSearchSchemaDefinition: z.ZodObject<{
|
|
|
46
46
|
allowSuspectedShellStrip?: boolean | null | undefined;
|
|
47
47
|
bypassCache?: boolean | undefined;
|
|
48
48
|
cacheKey?: string | null | undefined;
|
|
49
|
-
entityId?: string | null | undefined;
|
|
50
49
|
language?: string | null | undefined;
|
|
51
|
-
personId?: string | null | undefined;
|
|
52
50
|
region?: string | null | undefined;
|
|
53
51
|
resultLimit?: number | null | undefined;
|
|
52
|
+
retrievedFor?: {
|
|
53
|
+
entityId?: string | null | undefined;
|
|
54
|
+
personId?: string | null | undefined;
|
|
55
|
+
} | null | undefined;
|
|
54
56
|
search: string;
|
|
55
57
|
source?: string | null | undefined;
|
|
56
58
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
57
59
|
allowSuspectedShellStrip?: boolean | null | undefined;
|
|
58
60
|
bypassCache?: boolean | undefined;
|
|
59
61
|
cacheKey?: string | null | undefined;
|
|
60
|
-
entityId?: string | null | undefined;
|
|
61
62
|
language?: string | null | undefined;
|
|
62
|
-
personId?: string | null | undefined;
|
|
63
63
|
region?: string | null | undefined;
|
|
64
64
|
resultLimit?: number | null | undefined;
|
|
65
|
+
retrievedFor?: {
|
|
66
|
+
entityId?: string | null | undefined;
|
|
67
|
+
personId?: string | null | undefined;
|
|
68
|
+
} | null | undefined;
|
|
65
69
|
search: string;
|
|
66
70
|
source?: string | null | undefined;
|
|
67
71
|
}, unknown>>;
|