@aventurevc/api-schemas 0.7.291 → 0.7.296
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/federated/search.d.ts +2 -0
- package/dist/harness/run-lane.d.ts +17 -0
- package/dist/harness/run-lane.js +14 -0
- package/dist/harness/run.d.ts +4 -0
- package/dist/harness/run.js +3 -0
- package/dist/link/search.d.ts +2 -0
- package/dist/natural/search.js +1 -1
- package/dist/openapi-component-manifest.js +1 -0
- package/dist/person/filter.d.ts +1 -0
- package/dist/person/filter.js +2 -0
- package/dist/person/natural-search-result.d.ts +2 -0
- package/dist/person/natural-search.d.ts +1 -0
- package/dist/person/search-interpretation.d.ts +1 -0
- package/dist/person/search-param.d.ts +1 -0
- package/dist/person/search-param.js +2 -0
- package/dist/search/mode.d.ts +1 -1
- package/dist/search/mode.js +1 -1
- package/package.json +1 -1
|
@@ -1292,6 +1292,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1292
1292
|
isCurrent?: boolean | null | undefined;
|
|
1293
1293
|
lastName?: string | null | undefined;
|
|
1294
1294
|
letter?: string | null | undefined;
|
|
1295
|
+
personName?: string[] | undefined;
|
|
1295
1296
|
role?: string | null | undefined;
|
|
1296
1297
|
search?: string | null | undefined;
|
|
1297
1298
|
semanticQuery?: string | null | undefined;
|
|
@@ -1421,6 +1422,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1421
1422
|
isCurrent?: boolean | null | undefined;
|
|
1422
1423
|
lastName?: string | null | undefined;
|
|
1423
1424
|
letter?: string | null | undefined;
|
|
1425
|
+
personName?: string[] | undefined;
|
|
1424
1426
|
role?: string | null | undefined;
|
|
1425
1427
|
search?: string | null | undefined;
|
|
1426
1428
|
semanticQuery?: string | null | undefined;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Queue lane for admission priority: interactive client work vs background backlog
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessRunLane
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @contractShape harness.run-lane
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessRunLaneSchema: z.ZodEnum<{
|
|
13
|
+
background: "background";
|
|
14
|
+
interactive: "interactive";
|
|
15
|
+
}>;
|
|
16
|
+
export type HarnessRunLane = z.infer<typeof HarnessRunLaneSchema>;
|
|
17
|
+
//# sourceMappingURL=run-lane.d.ts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
* Queue lane for admission priority: interactive client work vs background backlog
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessRunLane
|
|
7
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
9
|
+
* @usedBySchema HarnessRunSchema
|
|
10
|
+
* @contractShape harness.run-lane
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessRunLaneSchema = z.enum(["interactive", "background"]);
|
|
14
|
+
//# sourceMappingURL=run-lane.js.map
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -15,6 +15,10 @@ declare const HarnessRunSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
hasSourceDocument: z.ZodBoolean;
|
|
16
16
|
id: z.ZodUUID;
|
|
17
17
|
iteration: z.ZodInt;
|
|
18
|
+
lane: z.ZodEnum<{
|
|
19
|
+
background: "background";
|
|
20
|
+
interactive: "interactive";
|
|
21
|
+
}>;
|
|
18
22
|
latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
23
|
maxIteration: z.ZodInt;
|
|
20
24
|
maxScoutConcurrent: z.ZodInt;
|
package/dist/harness/run.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
4
|
import { HarnessRunEnvironmentSchema } from "./run-environment.js";
|
|
5
|
+
import { HarnessRunLaneSchema } from "./run-lane.js";
|
|
5
6
|
import { HarnessRunStatusSchema } from "./run-status.js";
|
|
6
7
|
import { HarnessRunTypeSchema } from "./run-type.js";
|
|
7
8
|
const HarnessRunSchemaDefinition = z.object({
|
|
@@ -25,6 +26,8 @@ const HarnessRunSchemaDefinition = z.object({
|
|
|
25
26
|
id: z.uuid(),
|
|
26
27
|
/** Current loop iteration */
|
|
27
28
|
iteration: z.int(),
|
|
29
|
+
/** Queue lane for admission priority */
|
|
30
|
+
lane: HarnessRunLaneSchema,
|
|
28
31
|
/** Latest enrich-loop status as an opaque JSON string */
|
|
29
32
|
latestStatus: z.string().nullish(),
|
|
30
33
|
/** Loop iteration cap */
|
package/dist/link/search.d.ts
CHANGED
|
@@ -678,6 +678,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
678
678
|
isCurrent?: boolean | null | undefined;
|
|
679
679
|
lastName?: string | null | undefined;
|
|
680
680
|
letter?: string | null | undefined;
|
|
681
|
+
personName?: string[] | undefined;
|
|
681
682
|
role?: string | null | undefined;
|
|
682
683
|
search?: string | null | undefined;
|
|
683
684
|
semanticQuery?: string | null | undefined;
|
|
@@ -1441,6 +1442,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1441
1442
|
isCurrent?: boolean | null | undefined;
|
|
1442
1443
|
lastName?: string | null | undefined;
|
|
1443
1444
|
letter?: string | null | undefined;
|
|
1445
|
+
personName?: string[] | undefined;
|
|
1444
1446
|
role?: string | null | undefined;
|
|
1445
1447
|
search?: string | null | undefined;
|
|
1446
1448
|
semanticQuery?: string | null | undefined;
|
package/dist/natural/search.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { SearchModeSchema } from "../search/mode.js";
|
|
4
4
|
const NaturalSearchSchemaDefinition = z.object({
|
|
5
|
-
/** Search strategy to run.
|
|
5
|
+
/** Search strategy to run. Defaults to `auto`: the fast name layer runs first (a single-token query as keyword search, a multiword query as an exact normalized name) and the language-model planner runs only on a miss, so name lookups never pay for planning. Any other value forces exactly that strategy: `exact` and `keyword` skip planner model resolution and its rate limit. Entity and person natural-search take every value; news and federated search accept only `auto` and `keyword`; content search accepts only `auto`. */
|
|
6
6
|
mode: SearchModeSchema.default("auto").optional(),
|
|
7
7
|
/** Optional chat model for planning; null uses the configured natural-search default. CLIENT_SECRET callers may only choose client-secret-eligible models; admin keys are unrestricted. */
|
|
8
8
|
model: z.string().nullish(),
|
|
@@ -485,6 +485,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
485
485
|
modulePath: "harness/run-environment",
|
|
486
486
|
schemaName: "HarnessRunEnvironmentSchema",
|
|
487
487
|
},
|
|
488
|
+
HarnessRunLane: { modulePath: "harness/run-lane", schemaName: "HarnessRunLaneSchema" },
|
|
488
489
|
HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
|
|
489
490
|
HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
|
|
490
491
|
HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
|
package/dist/person/filter.d.ts
CHANGED
|
@@ -97,6 +97,7 @@ export declare const PersonFilterSchema: z.ZodObject<{
|
|
|
97
97
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
98
|
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
personName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
101
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
102
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
103
|
semanticQuery: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
package/dist/person/filter.js
CHANGED
|
@@ -37,6 +37,8 @@ export const PersonFilterSchema = z.object({
|
|
|
37
37
|
lastName: z.string().nullish(),
|
|
38
38
|
/** First-name initial. */
|
|
39
39
|
letter: z.string().nullish(),
|
|
40
|
+
/** Exact normalized match against a person's full name or slug. */
|
|
41
|
+
personName: z.array(z.string()).optional(),
|
|
40
42
|
/** Associated entity role or title. */
|
|
41
43
|
role: z.string().nullish(),
|
|
42
44
|
/** Search keyword or phrase. Single characters valid; stop words rejected. */
|
|
@@ -57,6 +57,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
57
57
|
isCurrent?: boolean | null | undefined;
|
|
58
58
|
lastName?: string | null | undefined;
|
|
59
59
|
letter?: string | null | undefined;
|
|
60
|
+
personName?: string[] | undefined;
|
|
60
61
|
role?: string | null | undefined;
|
|
61
62
|
search?: string | null | undefined;
|
|
62
63
|
semanticQuery?: string | null | undefined;
|
|
@@ -128,6 +129,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
128
129
|
isCurrent?: boolean | null | undefined;
|
|
129
130
|
lastName?: string | null | undefined;
|
|
130
131
|
letter?: string | null | undefined;
|
|
132
|
+
personName?: string[] | undefined;
|
|
131
133
|
role?: string | null | undefined;
|
|
132
134
|
search?: string | null | undefined;
|
|
133
135
|
semanticQuery?: string | null | undefined;
|
|
@@ -84,6 +84,7 @@ declare const PersonNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
84
84
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
85
85
|
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
86
|
letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
personName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
88
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
89
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
89
90
|
semanticQuery: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -97,6 +97,7 @@ declare const PersonSearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
97
97
|
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
98
|
lastName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
99
|
letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
100
|
+
personName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
101
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
102
|
search: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
103
|
semanticQuery: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14,6 +14,7 @@ export declare const PersonSearchParamSchema: z.ZodObject<{
|
|
|
14
14
|
size: z.ZodOptional<z.ZodInt>;
|
|
15
15
|
sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
16
16
|
countOnly: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
17
18
|
hasImageFirst: z.ZodOptional<z.ZodBoolean>;
|
|
18
19
|
includePrivate: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
permitMonogram: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -14,6 +14,8 @@ export const PERSON_SEARCH_ENDPOINT = "/v1/people/search";
|
|
|
14
14
|
export const PersonSearchParamSchema = PageParamSchema.extend({
|
|
15
15
|
/** When true, return only the page total in the body and skip the content payload. */
|
|
16
16
|
countOnly: z.boolean().optional(),
|
|
17
|
+
/** Opaque semantic-search continuation from X-Next-Cursor. Repeat the same filters, sort, and size. */
|
|
18
|
+
cursor: z.string().optional(),
|
|
17
19
|
/** When true, sort people who have a photo before those who do not. */
|
|
18
20
|
hasImageFirst: z.boolean().optional(),
|
|
19
21
|
/** Privileged read scope for admin callers. Bypasses the public visibility filter so hidden, unverified, and not-yet-published records are returned instead of being silently dropped. Defaults to private for admin API key or ROLE_ADMIN callers; client-secret/client-read callers stay public. */
|
package/dist/search/mode.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity natural-search
|
|
3
|
+
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts only `auto`.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema SearchMode
|
|
6
6
|
* @endpoint GET /v1/search/link
|
package/dist/search/mode.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity natural-search
|
|
4
|
+
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts only `auto`.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema SearchMode
|
|
7
7
|
* @endpoint GET /v1/search/link
|