@aventurevc/api-schemas 0.7.288 → 0.7.295
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/enrichment/mode.d.ts +17 -0
- package/dist/enrichment/mode.js +14 -0
- package/dist/entity/filter-search.d.ts +1 -0
- package/dist/entity/filter.d.ts +1 -0
- package/dist/entity/filter.js +2 -0
- package/dist/entity/list-filter.d.ts +1 -0
- package/dist/entity/list-filter.js +2 -0
- package/dist/entity/natural-search.d.ts +1 -0
- package/dist/federated/search.d.ts +4 -0
- package/dist/harness/run-environment.d.ts +19 -0
- package/dist/harness/run-environment.js +19 -0
- package/dist/harness/run-lane.d.ts +17 -0
- package/dist/harness/run-lane.js +14 -0
- package/dist/harness/run-status.d.ts +20 -0
- package/dist/harness/run-status.js +20 -0
- package/dist/harness/run-type.d.ts +17 -0
- package/dist/harness/run-type.js +14 -0
- package/dist/harness/run.d.ts +63 -0
- package/dist/harness/run.js +72 -0
- package/dist/link/search.d.ts +4 -0
- package/dist/natural/search-result.d.ts +2 -0
- package/dist/natural/search.js +1 -1
- package/dist/openapi-component-manifest.js +9 -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/interpretation.d.ts +2 -0
- package/dist/search/mode.d.ts +1 -1
- package/dist/search/mode.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EnrichmentMode
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @contractShape enrichment.mode
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EnrichmentModeSchema: z.ZodEnum<{
|
|
13
|
+
COMPREHENSIVE: "COMPREHENSIVE";
|
|
14
|
+
INDIVIDUAL: "INDIVIDUAL";
|
|
15
|
+
}>;
|
|
16
|
+
export type EnrichmentMode = z.infer<typeof EnrichmentModeSchema>;
|
|
17
|
+
//# sourceMappingURL=mode.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
|
+
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema EnrichmentMode
|
|
7
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
9
|
+
* @usedBySchema HarnessRunSchema
|
|
10
|
+
* @contractShape enrichment.mode
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const EnrichmentModeSchema = z.enum(["COMPREHENSIVE", "INDIVIDUAL"]);
|
|
14
|
+
//# sourceMappingURL=mode.js.map
|
|
@@ -111,6 +111,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
111
111
|
}, z.core.$strip>>;
|
|
112
112
|
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
113
|
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
114
115
|
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
116
|
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
116
117
|
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -120,6 +120,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
120
120
|
}, z.core.$strip>>;
|
|
121
121
|
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
122
|
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
124
|
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
125
|
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
126
|
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/entity/filter.js
CHANGED
|
@@ -61,6 +61,8 @@ export const EntityFilterSchema = z.strictObject({
|
|
|
61
61
|
mainProduct: z.array(z.string()).optional(),
|
|
62
62
|
/** Operating status values. */
|
|
63
63
|
operatingStatus: z.array(z.string()).optional(),
|
|
64
|
+
/** Associated person, matched by name. */
|
|
65
|
+
person: z.array(z.string()).optional(),
|
|
64
66
|
/** Portfolio-company headquarters city values. */
|
|
65
67
|
portfolioHeadquartersCity: z.array(z.string()).optional(),
|
|
66
68
|
/** Portfolio-company headquarters country values. */
|
|
@@ -107,6 +107,7 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
|
|
|
107
107
|
}, z.core.$strip>>;
|
|
108
108
|
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
109
|
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
111
|
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
112
|
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
113
|
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -48,6 +48,8 @@ const EntityListFilterSchemaDefinition = z.strictObject({
|
|
|
48
48
|
mainProduct: z.array(z.string()).optional(),
|
|
49
49
|
/** Operating status values. */
|
|
50
50
|
operatingStatus: z.array(z.string()).optional(),
|
|
51
|
+
/** Associated person, matched by name. */
|
|
52
|
+
person: z.array(z.string()).optional(),
|
|
51
53
|
/** Portfolio-company headquarters city values. */
|
|
52
54
|
portfolioHeadquartersCity: z.array(z.string()).optional(),
|
|
53
55
|
/** Portfolio-company headquarters country values. */
|
|
@@ -108,6 +108,7 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
108
108
|
}, z.core.$strip>>;
|
|
109
109
|
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
110
110
|
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
111
112
|
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
113
|
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
114
|
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -79,6 +79,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
79
79
|
} | undefined;
|
|
80
80
|
mainProduct?: string[] | undefined;
|
|
81
81
|
operatingStatus?: string[] | undefined;
|
|
82
|
+
person?: string[] | undefined;
|
|
82
83
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
83
84
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
84
85
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -673,6 +674,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
673
674
|
} | undefined;
|
|
674
675
|
mainProduct?: string[] | undefined;
|
|
675
676
|
operatingStatus?: string[] | undefined;
|
|
677
|
+
person?: string[] | undefined;
|
|
676
678
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
677
679
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
678
680
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -1290,6 +1292,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1290
1292
|
isCurrent?: boolean | null | undefined;
|
|
1291
1293
|
lastName?: string | null | undefined;
|
|
1292
1294
|
letter?: string | null | undefined;
|
|
1295
|
+
personName?: string[] | undefined;
|
|
1293
1296
|
role?: string | null | undefined;
|
|
1294
1297
|
search?: string | null | undefined;
|
|
1295
1298
|
semanticQuery?: string | null | undefined;
|
|
@@ -1419,6 +1422,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
1419
1422
|
isCurrent?: boolean | null | undefined;
|
|
1420
1423
|
lastName?: string | null | undefined;
|
|
1421
1424
|
letter?: string | null | undefined;
|
|
1425
|
+
personName?: string[] | undefined;
|
|
1422
1426
|
role?: string | null | undefined;
|
|
1423
1427
|
search?: string | null | undefined;
|
|
1424
1428
|
semanticQuery?: string | null | undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Owning API environment
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessRunEnvironment
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @contractShape harness.run-environment
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessRunEnvironmentSchema: z.ZodEnum<{
|
|
13
|
+
development: "development";
|
|
14
|
+
production: "production";
|
|
15
|
+
staging: "staging";
|
|
16
|
+
unassigned: "unassigned";
|
|
17
|
+
}>;
|
|
18
|
+
export type HarnessRunEnvironment = z.infer<typeof HarnessRunEnvironmentSchema>;
|
|
19
|
+
//# sourceMappingURL=run-environment.d.ts.map
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
* Owning API environment
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessRunEnvironment
|
|
7
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
9
|
+
* @usedBySchema HarnessRunSchema
|
|
10
|
+
* @contractShape harness.run-environment
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessRunEnvironmentSchema = z.enum([
|
|
14
|
+
"unassigned",
|
|
15
|
+
"development",
|
|
16
|
+
"staging",
|
|
17
|
+
"production",
|
|
18
|
+
]);
|
|
19
|
+
//# sourceMappingURL=run-environment.js.map
|
|
@@ -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
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Harness run lifecycle state
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessRunStatus
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @contractShape harness.run-status
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessRunStatusSchema: z.ZodEnum<{
|
|
13
|
+
completed: "completed";
|
|
14
|
+
failed: "failed";
|
|
15
|
+
queued: "queued";
|
|
16
|
+
running: "running";
|
|
17
|
+
stopped: "stopped";
|
|
18
|
+
}>;
|
|
19
|
+
export type HarnessRunStatus = z.infer<typeof HarnessRunStatusSchema>;
|
|
20
|
+
//# sourceMappingURL=run-status.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
|
+
/**
|
|
4
|
+
* Harness run lifecycle state
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessRunStatus
|
|
7
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
9
|
+
* @usedBySchema HarnessRunSchema
|
|
10
|
+
* @contractShape harness.run-status
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessRunStatusSchema = z.enum([
|
|
14
|
+
"queued",
|
|
15
|
+
"running",
|
|
16
|
+
"completed",
|
|
17
|
+
"failed",
|
|
18
|
+
"stopped",
|
|
19
|
+
]);
|
|
20
|
+
//# sourceMappingURL=run-status.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Harness run kind: full enrichment loop or bounded micro-task
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessRunType
|
|
6
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
7
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
8
|
+
* @usedBySchema HarnessRunSchema
|
|
9
|
+
* @contractShape harness.run-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessRunTypeSchema: z.ZodEnum<{
|
|
13
|
+
ENRICHMENT: "ENRICHMENT";
|
|
14
|
+
TASK: "TASK";
|
|
15
|
+
}>;
|
|
16
|
+
export type HarnessRunType = z.infer<typeof HarnessRunTypeSchema>;
|
|
17
|
+
//# sourceMappingURL=run-type.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
|
+
* Harness run kind: full enrichment loop or bounded micro-task
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessRunType
|
|
7
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
8
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
9
|
+
* @usedBySchema HarnessRunSchema
|
|
10
|
+
* @contractShape harness.run-type
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessRunTypeSchema = z.enum(["ENRICHMENT", "TASK"]);
|
|
14
|
+
//# sourceMappingURL=run-type.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const HarnessRunSchemaDefinition: z.ZodObject<{
|
|
3
|
+
attempt: z.ZodInt;
|
|
4
|
+
createdAt: z.ZodISODateTime;
|
|
5
|
+
entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
environment: z.ZodEnum<{
|
|
7
|
+
development: "development";
|
|
8
|
+
production: "production";
|
|
9
|
+
staging: "staging";
|
|
10
|
+
unassigned: "unassigned";
|
|
11
|
+
}>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
failureClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
15
|
+
hasSourceDocument: z.ZodBoolean;
|
|
16
|
+
id: z.ZodUUID;
|
|
17
|
+
iteration: z.ZodInt;
|
|
18
|
+
lane: z.ZodEnum<{
|
|
19
|
+
background: "background";
|
|
20
|
+
interactive: "interactive";
|
|
21
|
+
}>;
|
|
22
|
+
latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
maxIteration: z.ZodInt;
|
|
24
|
+
maxScoutConcurrent: z.ZodInt;
|
|
25
|
+
mode: z.ZodEnum<{
|
|
26
|
+
COMPREHENSIVE: "COMPREHENSIVE";
|
|
27
|
+
INDIVIDUAL: "INDIVIDUAL";
|
|
28
|
+
}>;
|
|
29
|
+
model: z.ZodString;
|
|
30
|
+
nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
31
|
+
resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
32
|
+
startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
33
|
+
status: z.ZodEnum<{
|
|
34
|
+
completed: "completed";
|
|
35
|
+
failed: "failed";
|
|
36
|
+
queued: "queued";
|
|
37
|
+
running: "running";
|
|
38
|
+
stopped: "stopped";
|
|
39
|
+
}>;
|
|
40
|
+
subagentModel: z.ZodString;
|
|
41
|
+
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
42
|
+
type: z.ZodEnum<{
|
|
43
|
+
ENRICHMENT: "ENRICHMENT";
|
|
44
|
+
TASK: "TASK";
|
|
45
|
+
}>;
|
|
46
|
+
updatedAt: z.ZodISODateTime;
|
|
47
|
+
url: z.ZodString;
|
|
48
|
+
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
type HarnessRunDefinition = z.infer<typeof HarnessRunSchemaDefinition>;
|
|
51
|
+
/**
|
|
52
|
+
* One harness enrichment run
|
|
53
|
+
*
|
|
54
|
+
* @openapiSchema HarnessRun
|
|
55
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
56
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
57
|
+
* @contractShape harness.run
|
|
58
|
+
* @contractRole canonical
|
|
59
|
+
*/
|
|
60
|
+
export declare const HarnessRunSchema: z.ZodType<HarnessRunDefinition>;
|
|
61
|
+
export type HarnessRun = z.infer<typeof HarnessRunSchema>;
|
|
62
|
+
export {};
|
|
63
|
+
//# sourceMappingURL=run.d.ts.map
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
|
+
import { HarnessRunEnvironmentSchema } from "./run-environment.js";
|
|
5
|
+
import { HarnessRunLaneSchema } from "./run-lane.js";
|
|
6
|
+
import { HarnessRunStatusSchema } from "./run-status.js";
|
|
7
|
+
import { HarnessRunTypeSchema } from "./run-type.js";
|
|
8
|
+
const HarnessRunSchemaDefinition = z.object({
|
|
9
|
+
/** Retry attempt counter */
|
|
10
|
+
attempt: z.int(),
|
|
11
|
+
/** Creation timestamp */
|
|
12
|
+
createdAt: z.iso.datetime({ offset: true }),
|
|
13
|
+
/** Canonical slug of the entity the run produced */
|
|
14
|
+
entitySlug: z.string().nullish(),
|
|
15
|
+
/** API environment */
|
|
16
|
+
environment: HarnessRunEnvironmentSchema,
|
|
17
|
+
/** Terminal failure reason, when failed */
|
|
18
|
+
error: z.string().nullish(),
|
|
19
|
+
/** Typed terminal-failure class from the harness retry classifier (e.g. runtime_cap, escalated, provider_capacity, context_overflow); null unless failed */
|
|
20
|
+
failureClass: z.string().nullish(),
|
|
21
|
+
/** Run completion timestamp */
|
|
22
|
+
finishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
23
|
+
/** Whether this run consumes an immutable private source document */
|
|
24
|
+
hasSourceDocument: z.boolean(),
|
|
25
|
+
/** Run id */
|
|
26
|
+
id: z.uuid(),
|
|
27
|
+
/** Current loop iteration */
|
|
28
|
+
iteration: z.int(),
|
|
29
|
+
/** Queue lane for admission priority */
|
|
30
|
+
lane: HarnessRunLaneSchema,
|
|
31
|
+
/** Latest enrich-loop status as an opaque JSON string */
|
|
32
|
+
latestStatus: z.string().nullish(),
|
|
33
|
+
/** Loop iteration cap */
|
|
34
|
+
maxIteration: z.int(),
|
|
35
|
+
/** Parallel read-only scout fan-out width N */
|
|
36
|
+
maxScoutConcurrent: z.int(),
|
|
37
|
+
/** Enrichment breadth selected for this run */
|
|
38
|
+
mode: EnrichmentModeSchema,
|
|
39
|
+
/** Orchestrator model id */
|
|
40
|
+
model: z.string(),
|
|
41
|
+
/** Earliest re-claim time when waiting on retry backoff */
|
|
42
|
+
nextAttemptAt: z.iso.datetime({ offset: true }).nullish(),
|
|
43
|
+
/** Instant past which a warm resume is no longer guaranteed; the harness writes it with session_resume from the model's cache window. Warm-resumable now iff failed/stopped and this is in the future. Null when there is no resume window. */
|
|
44
|
+
resumeSafeUntil: z.iso.datetime({ offset: true }).nullish(),
|
|
45
|
+
/** Run start timestamp */
|
|
46
|
+
startedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
47
|
+
/** Current lifecycle state */
|
|
48
|
+
status: HarnessRunStatusSchema,
|
|
49
|
+
/** Read-only research, cohort, and completion sub-agent model id */
|
|
50
|
+
subagentModel: z.string(),
|
|
51
|
+
/** Selected task preset keys filed with the run */
|
|
52
|
+
taskPresetKey: z.array(z.string()).nullish(),
|
|
53
|
+
/** Run kind derived from task-key presence: ENRICHMENT for a client-submitted comprehensive or preset-scoped run, TASK for a platform-scheduled micro-task execution */
|
|
54
|
+
type: HarnessRunTypeSchema,
|
|
55
|
+
/** Last update timestamp */
|
|
56
|
+
updatedAt: z.iso.datetime({ offset: true }),
|
|
57
|
+
/** Company URL under enrichment */
|
|
58
|
+
url: z.string(),
|
|
59
|
+
/** Optional steering prompt filed with the run */
|
|
60
|
+
userPrompt: z.string().nullish(),
|
|
61
|
+
});
|
|
62
|
+
/**
|
|
63
|
+
* One harness enrichment run
|
|
64
|
+
*
|
|
65
|
+
* @openapiSchema HarnessRun
|
|
66
|
+
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
67
|
+
* @endpoint POST /v1/people/{personId}/enrichments
|
|
68
|
+
* @contractShape harness.run
|
|
69
|
+
* @contractRole canonical
|
|
70
|
+
*/
|
|
71
|
+
export const HarnessRunSchema = HarnessRunSchemaDefinition;
|
|
72
|
+
//# sourceMappingURL=run.js.map
|
package/dist/link/search.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
81
81
|
} | undefined;
|
|
82
82
|
mainProduct?: string[] | undefined;
|
|
83
83
|
operatingStatus?: string[] | undefined;
|
|
84
|
+
person?: string[] | undefined;
|
|
84
85
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
85
86
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
86
87
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -677,6 +678,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
677
678
|
isCurrent?: boolean | null | undefined;
|
|
678
679
|
lastName?: string | null | undefined;
|
|
679
680
|
letter?: string | null | undefined;
|
|
681
|
+
personName?: string[] | undefined;
|
|
680
682
|
role?: string | null | undefined;
|
|
681
683
|
search?: string | null | undefined;
|
|
682
684
|
semanticQuery?: string | null | undefined;
|
|
@@ -843,6 +845,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
843
845
|
} | undefined;
|
|
844
846
|
mainProduct?: string[] | undefined;
|
|
845
847
|
operatingStatus?: string[] | undefined;
|
|
848
|
+
person?: string[] | undefined;
|
|
846
849
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
847
850
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
848
851
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -1439,6 +1442,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
1439
1442
|
isCurrent?: boolean | null | undefined;
|
|
1440
1443
|
lastName?: string | null | undefined;
|
|
1441
1444
|
letter?: string | null | undefined;
|
|
1445
|
+
personName?: string[] | undefined;
|
|
1442
1446
|
role?: string | null | undefined;
|
|
1443
1447
|
search?: string | null | undefined;
|
|
1444
1448
|
semanticQuery?: string | null | undefined;
|
|
@@ -78,6 +78,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
78
78
|
} | undefined;
|
|
79
79
|
mainProduct?: string[] | undefined;
|
|
80
80
|
operatingStatus?: string[] | undefined;
|
|
81
|
+
person?: string[] | undefined;
|
|
81
82
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
82
83
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
83
84
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -191,6 +192,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
191
192
|
} | undefined;
|
|
192
193
|
mainProduct?: string[] | undefined;
|
|
193
194
|
operatingStatus?: string[] | undefined;
|
|
195
|
+
person?: string[] | undefined;
|
|
194
196
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
195
197
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
196
198
|
portfolioHeadquartersState?: string[] | 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(),
|
|
@@ -195,6 +195,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
195
195
|
schemaName: "DuplicateCreateReviewSchema",
|
|
196
196
|
},
|
|
197
197
|
EmployeeCount: { modulePath: "employee/count", schemaName: "EmployeeCountSchema" },
|
|
198
|
+
EnrichmentMode: { modulePath: "enrichment/mode", schemaName: "EnrichmentModeSchema" },
|
|
198
199
|
Entity: { modulePath: "entity/entity", schemaName: "EntitySchema" },
|
|
199
200
|
EntityAcceleratorParticipation: {
|
|
200
201
|
modulePath: "entity/accelerator-participation",
|
|
@@ -479,6 +480,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
479
480
|
schemaName: "FundraiseTransactionStatusSchema",
|
|
480
481
|
},
|
|
481
482
|
GithubRepo: { modulePath: "github/repo", schemaName: "GithubRepoSchema" },
|
|
483
|
+
HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
|
|
484
|
+
HarnessRunEnvironment: {
|
|
485
|
+
modulePath: "harness/run-environment",
|
|
486
|
+
schemaName: "HarnessRunEnvironmentSchema",
|
|
487
|
+
},
|
|
488
|
+
HarnessRunLane: { modulePath: "harness/run-lane", schemaName: "HarnessRunLaneSchema" },
|
|
489
|
+
HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
|
|
490
|
+
HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
|
|
482
491
|
HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
|
|
483
492
|
HelpScope: { modulePath: "help/scope", schemaName: "HelpScopeSchema" },
|
|
484
493
|
HelpSourceType: { modulePath: "help/source-type", schemaName: "HelpSourceTypeSchema" },
|
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. */
|
|
@@ -84,6 +84,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
84
84
|
} | undefined;
|
|
85
85
|
mainProduct?: string[] | undefined;
|
|
86
86
|
operatingStatus?: string[] | undefined;
|
|
87
|
+
person?: string[] | undefined;
|
|
87
88
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
88
89
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
89
90
|
portfolioHeadquartersState?: string[] | undefined;
|
|
@@ -180,6 +181,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
180
181
|
} | undefined;
|
|
181
182
|
mainProduct?: string[] | undefined;
|
|
182
183
|
operatingStatus?: string[] | undefined;
|
|
184
|
+
person?: string[] | undefined;
|
|
183
185
|
portfolioHeadquartersCity?: string[] | undefined;
|
|
184
186
|
portfolioHeadquartersCountry?: string[] | undefined;
|
|
185
187
|
portfolioHeadquartersState?: string[] | undefined;
|
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
|