@aventurevc/api-schemas 0.8.254 → 0.8.256
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/cursor/slice-harness-run-event.d.ts +32 -0
- package/dist/cursor/slice-harness-run-event.js +15 -0
- package/dist/enrichment/mode.d.ts +1 -0
- package/dist/enrichment/mode.js +1 -0
- package/dist/entity/analysis-citation.d.ts +22 -0
- package/dist/entity/analysis-citation.js +20 -0
- package/dist/entity/analysis-draft.d.ts +71 -0
- package/dist/entity/analysis-draft.js +24 -0
- package/dist/entity/analysis-figure-cell.d.ts +22 -0
- package/dist/entity/analysis-figure-cell.js +20 -0
- package/dist/entity/analysis-figure-entry.d.ts +28 -0
- package/dist/entity/analysis-figure-entry.js +21 -0
- package/dist/entity/analysis-figure-type.d.ts +26 -0
- package/dist/entity/analysis-figure-type.js +20 -0
- package/dist/entity/analysis-figure.d.ts +48 -0
- package/dist/entity/analysis-figure.js +26 -0
- package/dist/entity/analysis-invocation.d.ts +20 -0
- package/dist/entity/analysis-invocation.js +21 -0
- package/dist/entity/analysis-paragraph.d.ts +22 -0
- package/dist/entity/analysis-paragraph.js +20 -0
- package/dist/entity/analysis-section-origin.d.ts +22 -0
- package/dist/entity/analysis-section-origin.js +15 -0
- package/dist/entity/analysis-section.d.ts +68 -0
- package/dist/entity/analysis-section.js +32 -0
- package/dist/entity/analysis-source.d.ts +25 -0
- package/dist/entity/analysis-source.js +19 -0
- package/dist/entity/analysis-tool.d.ts +16 -0
- package/dist/entity/analysis-tool.js +13 -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/fundraise-rounds-param.d.ts +2 -0
- package/dist/entity/fundraise-rounds-param.js +7 -0
- package/dist/entity/fundraise-transaction.js +1 -1
- package/dist/entity/investments-param.d.ts +2 -0
- package/dist/entity/investments-param.js +7 -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/entity/person-association-filter.d.ts +1 -0
- package/dist/entity/research-public-source.d.ts +3 -1
- package/dist/entity/research-public-source.js +3 -1
- package/dist/federated/natural-search.d.ts +1 -0
- package/dist/federated/natural-search.js +3 -3
- package/dist/federated/search.d.ts +10 -0
- package/dist/fundraise/investment-attribution.d.ts +1 -1
- package/dist/fundraise/investment-attribution.js +3 -3
- package/dist/harness/chassis.d.ts +1 -0
- package/dist/harness/chassis.js +1 -0
- package/dist/harness/llm-api.d.ts +1 -0
- package/dist/harness/llm-api.js +1 -0
- package/dist/harness/run-environment.d.ts +1 -0
- package/dist/harness/run-environment.js +1 -0
- package/dist/harness/run-event.d.ts +3 -0
- package/dist/harness/run-event.js +3 -0
- package/dist/harness/run-follow-up-admission.d.ts +1 -0
- package/dist/harness/run-follow-up-admission.js +1 -0
- package/dist/harness/run-lane.d.ts +1 -0
- package/dist/harness/run-lane.js +1 -0
- package/dist/harness/run-status.d.ts +1 -0
- package/dist/harness/run-status.js +1 -0
- package/dist/harness/run-turn.d.ts +28 -0
- package/dist/harness/run-turn.js +21 -0
- package/dist/harness/run-type.d.ts +1 -0
- package/dist/harness/run-type.js +1 -0
- package/dist/harness/run.d.ts +2 -0
- package/dist/harness/run.js +2 -0
- package/dist/link/search.d.ts +10 -0
- package/dist/natural/search-result.d.ts +6 -0
- package/dist/openapi-component-manifest.js +54 -0
- package/dist/pageable/object.d.ts +2 -0
- package/dist/pageable/object.js +2 -0
- package/dist/pagination/schemas.d.ts +120 -0
- package/dist/pagination/schemas.js +22 -0
- package/dist/person/filter.d.ts +2 -0
- package/dist/person/natural-search-result.d.ts +4 -0
- package/dist/person/natural-search.d.ts +2 -0
- package/dist/person/search-interpretation.d.ts +2 -0
- package/dist/search/interpretation.d.ts +3 -0
- package/dist/shared/directory-mutation.d.ts +3 -0
- package/dist/shared/directory.d.ts +3 -0
- package/dist/shared/search.d.ts +10 -0
- package/dist/sort/object.d.ts +2 -0
- package/dist/sort/object.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const CursorSliceHarnessRunEventSchemaDefinition: z.ZodObject<{
|
|
3
|
+
content: z.ZodArray<z.ZodType<{
|
|
4
|
+
createdAt: string;
|
|
5
|
+
id: number;
|
|
6
|
+
payload: string;
|
|
7
|
+
runId: string;
|
|
8
|
+
seq: number;
|
|
9
|
+
type: string;
|
|
10
|
+
}, import("../harness/run-event.ts").HarnessRunEventSchemaInput, z.core.$ZodTypeInternals<{
|
|
11
|
+
createdAt: string;
|
|
12
|
+
id: number;
|
|
13
|
+
payload: string;
|
|
14
|
+
runId: string;
|
|
15
|
+
seq: number;
|
|
16
|
+
type: string;
|
|
17
|
+
}, import("../harness/run-event.ts").HarnessRunEventSchemaInput>>>;
|
|
18
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
type CursorSliceHarnessRunEventDefinition = z.infer<typeof CursorSliceHarnessRunEventSchemaDefinition>;
|
|
21
|
+
export interface CursorSliceHarnessRunEventSchemaInput extends z.input<typeof CursorSliceHarnessRunEventSchemaDefinition> {
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @openapiSchema CursorSliceHarnessRunEvent
|
|
25
|
+
* @endpoint GET /v1/research-runs/{runId}/events
|
|
26
|
+
* @contractShape cursor.slice-harness-run-event
|
|
27
|
+
* @contractRole canonical
|
|
28
|
+
*/
|
|
29
|
+
export declare const CursorSliceHarnessRunEventSchema: z.ZodType<CursorSliceHarnessRunEventDefinition, CursorSliceHarnessRunEventSchemaInput>;
|
|
30
|
+
export type CursorSliceHarnessRunEvent = z.infer<typeof CursorSliceHarnessRunEventSchema>;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=slice-harness-run-event.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { HarnessRunEventSchema } from "../harness/run-event.js";
|
|
4
|
+
const CursorSliceHarnessRunEventSchemaDefinition = z.object({
|
|
5
|
+
content: z.array(HarnessRunEventSchema),
|
|
6
|
+
nextCursor: z.string().nullish(),
|
|
7
|
+
});
|
|
8
|
+
/**
|
|
9
|
+
* @openapiSchema CursorSliceHarnessRunEvent
|
|
10
|
+
* @endpoint GET /v1/research-runs/{runId}/events
|
|
11
|
+
* @contractShape cursor.slice-harness-run-event
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const CursorSliceHarnessRunEventSchema = CursorSliceHarnessRunEventSchemaDefinition;
|
|
15
|
+
//# sourceMappingURL=slice-harness-run-event.js.map
|
|
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EnrichmentMode
|
|
6
|
+
* @endpoint GET /v1/research-runs
|
|
6
7
|
* @endpoint GET /v1/research-runs/{runId}
|
|
7
8
|
* @endpoint POST /v1/enrichments
|
|
8
9
|
* @endpoint POST /v1/entities/{entityId}/enrichments
|
package/dist/enrichment/mode.js
CHANGED
|
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* Whether the run performs comprehensive enrichment or only selected tasks
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema EnrichmentMode
|
|
7
|
+
* @endpoint GET /v1/research-runs
|
|
7
8
|
* @endpoint GET /v1/research-runs/{runId}
|
|
8
9
|
* @endpoint POST /v1/enrichments
|
|
9
10
|
* @endpoint POST /v1/entities/{entityId}/enrichments
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisCitationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
quote: z.ZodString;
|
|
4
|
+
sourceDocumentId: z.ZodUUID;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type EntityAnalysisCitationDefinition = z.infer<typeof EntityAnalysisCitationSchemaDefinition>;
|
|
7
|
+
export interface EntityAnalysisCitationSchemaInput extends z.input<typeof EntityAnalysisCitationSchemaDefinition> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Verbatim evidence from an archived source document.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisCitation
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
16
|
+
* @contractShape entity.analysis-citation
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export declare const EntityAnalysisCitationSchema: z.ZodType<EntityAnalysisCitationDefinition, EntityAnalysisCitationSchemaInput>;
|
|
20
|
+
export type EntityAnalysisCitation = z.infer<typeof EntityAnalysisCitationSchema>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=analysis-citation.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 EntityAnalysisCitationSchemaDefinition = z.object({
|
|
4
|
+
/** Nonempty verbatim quote to verify against the archived document. */
|
|
5
|
+
quote: z.string(),
|
|
6
|
+
/** Canonical archived source document UUID. */
|
|
7
|
+
sourceDocumentId: z.uuid(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* Verbatim evidence from an archived source document.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisCitation
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
16
|
+
* @contractShape entity.analysis-citation
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export const EntityAnalysisCitationSchema = EntityAnalysisCitationSchemaDefinition;
|
|
20
|
+
//# sourceMappingURL=analysis-citation.js.map
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisDraftSchemaDefinition: z.ZodObject<{
|
|
3
|
+
entityId: z.ZodUUID;
|
|
4
|
+
runId: z.ZodUUID;
|
|
5
|
+
section: z.ZodArray<z.ZodType<{
|
|
6
|
+
citation: {
|
|
7
|
+
quote: string;
|
|
8
|
+
sourceDocumentId: string;
|
|
9
|
+
}[];
|
|
10
|
+
figure?: {
|
|
11
|
+
column?: string[] | undefined;
|
|
12
|
+
entry: {
|
|
13
|
+
cell: {
|
|
14
|
+
citation: number;
|
|
15
|
+
excerpt: string;
|
|
16
|
+
}[];
|
|
17
|
+
label: string;
|
|
18
|
+
}[];
|
|
19
|
+
title: string;
|
|
20
|
+
type: string;
|
|
21
|
+
}[] | undefined;
|
|
22
|
+
key: string;
|
|
23
|
+
origin: string;
|
|
24
|
+
paragraph: {
|
|
25
|
+
label?: string | null | undefined;
|
|
26
|
+
text: string;
|
|
27
|
+
}[];
|
|
28
|
+
title: string;
|
|
29
|
+
}, import("./analysis-section.ts").EntityAnalysisSectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
30
|
+
citation: {
|
|
31
|
+
quote: string;
|
|
32
|
+
sourceDocumentId: string;
|
|
33
|
+
}[];
|
|
34
|
+
figure?: {
|
|
35
|
+
column?: string[] | undefined;
|
|
36
|
+
entry: {
|
|
37
|
+
cell: {
|
|
38
|
+
citation: number;
|
|
39
|
+
excerpt: string;
|
|
40
|
+
}[];
|
|
41
|
+
label: string;
|
|
42
|
+
}[];
|
|
43
|
+
title: string;
|
|
44
|
+
type: string;
|
|
45
|
+
}[] | undefined;
|
|
46
|
+
key: string;
|
|
47
|
+
origin: string;
|
|
48
|
+
paragraph: {
|
|
49
|
+
label?: string | null | undefined;
|
|
50
|
+
text: string;
|
|
51
|
+
}[];
|
|
52
|
+
title: string;
|
|
53
|
+
}, import("./analysis-section.ts").EntityAnalysisSectionSchemaInput>>>;
|
|
54
|
+
version: z.ZodInt;
|
|
55
|
+
}, z.core.$strip>;
|
|
56
|
+
type EntityAnalysisDraftDefinition = z.infer<typeof EntityAnalysisDraftSchemaDefinition>;
|
|
57
|
+
export interface EntityAnalysisDraftSchemaInput extends z.input<typeof EntityAnalysisDraftSchemaDefinition> {
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Private, unverified analysis for one research run.
|
|
61
|
+
*
|
|
62
|
+
* @openapiSchema EntityAnalysisDraft
|
|
63
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
64
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
65
|
+
* @contractShape entity.analysis-draft
|
|
66
|
+
* @contractRole canonical
|
|
67
|
+
*/
|
|
68
|
+
export declare const EntityAnalysisDraftSchema: z.ZodType<EntityAnalysisDraftDefinition, EntityAnalysisDraftSchemaInput>;
|
|
69
|
+
export type EntityAnalysisDraft = z.infer<typeof EntityAnalysisDraftSchema>;
|
|
70
|
+
export {};
|
|
71
|
+
//# sourceMappingURL=analysis-draft.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 { EntityAnalysisSectionSchema } from "./analysis-section.js";
|
|
4
|
+
const EntityAnalysisDraftSchemaDefinition = z.object({
|
|
5
|
+
/** Entity researched by this run. */
|
|
6
|
+
entityId: z.uuid(),
|
|
7
|
+
/** Run that owns this private draft. */
|
|
8
|
+
runId: z.uuid(),
|
|
9
|
+
/** Current sections, each identified by its snippet type key. */
|
|
10
|
+
section: z.array(EntityAnalysisSectionSchema),
|
|
11
|
+
/** Latest analysis-section event sequence; zero before the first section. */
|
|
12
|
+
version: z.int().min(0),
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* Private, unverified analysis for one research run.
|
|
16
|
+
*
|
|
17
|
+
* @openapiSchema EntityAnalysisDraft
|
|
18
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
19
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
20
|
+
* @contractShape entity.analysis-draft
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export const EntityAnalysisDraftSchema = EntityAnalysisDraftSchemaDefinition;
|
|
24
|
+
//# sourceMappingURL=analysis-draft.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisFigureCellSchemaDefinition: z.ZodObject<{
|
|
3
|
+
citation: z.ZodInt;
|
|
4
|
+
excerpt: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type EntityAnalysisFigureCellDefinition = z.infer<typeof EntityAnalysisFigureCellSchemaDefinition>;
|
|
7
|
+
export interface EntityAnalysisFigureCellSchemaInput extends z.input<typeof EntityAnalysisFigureCellSchemaDefinition> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A verbatim excerpt of one section citation's quote.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisFigureCell
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisFigureEntrySchema
|
|
16
|
+
* @contractShape entity.analysis-figure-cell
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export declare const EntityAnalysisFigureCellSchema: z.ZodType<EntityAnalysisFigureCellDefinition, EntityAnalysisFigureCellSchemaInput>;
|
|
20
|
+
export type EntityAnalysisFigureCell = z.infer<typeof EntityAnalysisFigureCellSchema>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=analysis-figure-cell.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 EntityAnalysisFigureCellSchemaDefinition = z.object({
|
|
4
|
+
/** Position of the cited quote in the section's citation list, from 1. */
|
|
5
|
+
citation: z.int().min(1),
|
|
6
|
+
/** Exact text copied from that quote; the figure displays it as is. */
|
|
7
|
+
excerpt: z.string().min(1).max(200),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* A verbatim excerpt of one section citation's quote.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisFigureCell
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisFigureEntrySchema
|
|
16
|
+
* @contractShape entity.analysis-figure-cell
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export const EntityAnalysisFigureCellSchema = EntityAnalysisFigureCellSchemaDefinition;
|
|
20
|
+
//# sourceMappingURL=analysis-figure-cell.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisFigureEntrySchemaDefinition: z.ZodObject<{
|
|
3
|
+
cell: z.ZodArray<z.ZodType<{
|
|
4
|
+
citation: number;
|
|
5
|
+
excerpt: string;
|
|
6
|
+
}, import("./analysis-figure-cell.ts").EntityAnalysisFigureCellSchemaInput, z.core.$ZodTypeInternals<{
|
|
7
|
+
citation: number;
|
|
8
|
+
excerpt: string;
|
|
9
|
+
}, import("./analysis-figure-cell.ts").EntityAnalysisFigureCellSchemaInput>>>;
|
|
10
|
+
label: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type EntityAnalysisFigureEntryDefinition = z.infer<typeof EntityAnalysisFigureEntrySchemaDefinition>;
|
|
13
|
+
export interface EntityAnalysisFigureEntrySchemaInput extends z.input<typeof EntityAnalysisFigureEntrySchemaDefinition> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* One labeled entry of excerpt cells.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema EntityAnalysisFigureEntry
|
|
19
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
20
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
21
|
+
* @usedBySchema EntityAnalysisFigureSchema
|
|
22
|
+
* @contractShape entity.analysis-figure-entry
|
|
23
|
+
* @contractRole canonical
|
|
24
|
+
*/
|
|
25
|
+
export declare const EntityAnalysisFigureEntrySchema: z.ZodType<EntityAnalysisFigureEntryDefinition, EntityAnalysisFigureEntrySchemaInput>;
|
|
26
|
+
export type EntityAnalysisFigureEntry = z.infer<typeof EntityAnalysisFigureEntrySchema>;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=analysis-figure-entry.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 { EntityAnalysisFigureCellSchema } from "./analysis-figure-cell.js";
|
|
4
|
+
const EntityAnalysisFigureEntrySchemaDefinition = z.object({
|
|
5
|
+
/** One cell per COMPARISON column; exactly one cell for every other type. */
|
|
6
|
+
cell: z.array(EntityAnalysisFigureCellSchema),
|
|
7
|
+
/** Entry heading: the party (COMPARISON), the date as its quote states it (TIMELINE), the step (FLOW), or the measure and period (METRIC). */
|
|
8
|
+
label: z.string().min(1).max(48),
|
|
9
|
+
});
|
|
10
|
+
/**
|
|
11
|
+
* One labeled entry of excerpt cells.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema EntityAnalysisFigureEntry
|
|
14
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
15
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
16
|
+
* @usedBySchema EntityAnalysisFigureSchema
|
|
17
|
+
* @contractShape entity.analysis-figure-entry
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export const EntityAnalysisFigureEntrySchema = EntityAnalysisFigureEntrySchemaDefinition;
|
|
21
|
+
//# sourceMappingURL=analysis-figure-entry.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Figure layout: COMPARISON matrix of parties by attribute, dated TIMELINE, ordered FLOW of steps, or METRIC key figures.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityAnalysisFigureType
|
|
6
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
7
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
8
|
+
* @usedBySchema EntityAnalysisFigureSchema
|
|
9
|
+
* @contractShape entity.analysis-figure-type
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EntityAnalysisFigureTypeSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
COMPARISON: "COMPARISON";
|
|
14
|
+
FLOW: "FLOW";
|
|
15
|
+
METRIC: "METRIC";
|
|
16
|
+
TIMELINE: "TIMELINE";
|
|
17
|
+
}>, z.ZodString]> & {
|
|
18
|
+
enum: {
|
|
19
|
+
COMPARISON: "COMPARISON";
|
|
20
|
+
FLOW: "FLOW";
|
|
21
|
+
METRIC: "METRIC";
|
|
22
|
+
TIMELINE: "TIMELINE";
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export type EntityAnalysisFigureType = z.infer<typeof EntityAnalysisFigureTypeSchema>;
|
|
26
|
+
//# sourceMappingURL=analysis-figure-type.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 EntityAnalysisFigureTypeSchemaKnownMembers = z.enum([
|
|
4
|
+
"COMPARISON",
|
|
5
|
+
"TIMELINE",
|
|
6
|
+
"FLOW",
|
|
7
|
+
"METRIC",
|
|
8
|
+
]);
|
|
9
|
+
/**
|
|
10
|
+
* Figure layout: COMPARISON matrix of parties by attribute, dated TIMELINE, ordered FLOW of steps, or METRIC key figures.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisFigureType
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisFigureSchema
|
|
16
|
+
* @contractShape entity.analysis-figure-type
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export const EntityAnalysisFigureTypeSchema = Object.assign(z.union([EntityAnalysisFigureTypeSchemaKnownMembers, z.string()]), { enum: EntityAnalysisFigureTypeSchemaKnownMembers.enum });
|
|
20
|
+
//# sourceMappingURL=analysis-figure-type.js.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisFigureSchemaDefinition: z.ZodObject<{
|
|
3
|
+
column: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4
|
+
entry: z.ZodArray<z.ZodType<{
|
|
5
|
+
cell: {
|
|
6
|
+
citation: number;
|
|
7
|
+
excerpt: string;
|
|
8
|
+
}[];
|
|
9
|
+
label: string;
|
|
10
|
+
}, import("./analysis-figure-entry.ts").EntityAnalysisFigureEntrySchemaInput, z.core.$ZodTypeInternals<{
|
|
11
|
+
cell: {
|
|
12
|
+
citation: number;
|
|
13
|
+
excerpt: string;
|
|
14
|
+
}[];
|
|
15
|
+
label: string;
|
|
16
|
+
}, import("./analysis-figure-entry.ts").EntityAnalysisFigureEntrySchemaInput>>>;
|
|
17
|
+
title: z.ZodString;
|
|
18
|
+
type: z.ZodUnion<readonly [z.ZodEnum<{
|
|
19
|
+
COMPARISON: "COMPARISON";
|
|
20
|
+
FLOW: "FLOW";
|
|
21
|
+
METRIC: "METRIC";
|
|
22
|
+
TIMELINE: "TIMELINE";
|
|
23
|
+
}>, z.ZodString]> & {
|
|
24
|
+
enum: {
|
|
25
|
+
COMPARISON: "COMPARISON";
|
|
26
|
+
FLOW: "FLOW";
|
|
27
|
+
METRIC: "METRIC";
|
|
28
|
+
TIMELINE: "TIMELINE";
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
type EntityAnalysisFigureDefinition = z.infer<typeof EntityAnalysisFigureSchemaDefinition>;
|
|
33
|
+
export interface EntityAnalysisFigureSchemaInput extends z.input<typeof EntityAnalysisFigureSchemaDefinition> {
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* One figure illustrating its section; every cell is a verbatim excerpt of a section quote.
|
|
37
|
+
*
|
|
38
|
+
* @openapiSchema EntityAnalysisFigure
|
|
39
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
40
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
41
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
42
|
+
* @contractShape entity.analysis-figure
|
|
43
|
+
* @contractRole canonical
|
|
44
|
+
*/
|
|
45
|
+
export declare const EntityAnalysisFigureSchema: z.ZodType<EntityAnalysisFigureDefinition, EntityAnalysisFigureSchemaInput>;
|
|
46
|
+
export type EntityAnalysisFigure = z.infer<typeof EntityAnalysisFigureSchema>;
|
|
47
|
+
export {};
|
|
48
|
+
//# sourceMappingURL=analysis-figure.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 { EntityAnalysisFigureEntrySchema } from "./analysis-figure-entry.js";
|
|
4
|
+
import { EntityAnalysisFigureTypeSchema } from "./analysis-figure-type.js";
|
|
5
|
+
const EntityAnalysisFigureSchemaDefinition = z.object({
|
|
6
|
+
/** COMPARISON column headings (1-4, each 1-48 characters), one per cell in every entry; empty otherwise. */
|
|
7
|
+
column: z.array(z.string()).optional(),
|
|
8
|
+
/** Entries in display order: 2-8, or 1-8 for METRIC. */
|
|
9
|
+
entry: z.array(EntityAnalysisFigureEntrySchema),
|
|
10
|
+
/** Caption stating what the figure shows. */
|
|
11
|
+
title: z.string().min(1).max(100),
|
|
12
|
+
/** Layout that decides how entries and columns render. */
|
|
13
|
+
type: EntityAnalysisFigureTypeSchema,
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* One figure illustrating its section; every cell is a verbatim excerpt of a section quote.
|
|
17
|
+
*
|
|
18
|
+
* @openapiSchema EntityAnalysisFigure
|
|
19
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
20
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
21
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
22
|
+
* @contractShape entity.analysis-figure
|
|
23
|
+
* @contractRole canonical
|
|
24
|
+
*/
|
|
25
|
+
export const EntityAnalysisFigureSchema = EntityAnalysisFigureSchemaDefinition;
|
|
26
|
+
//# sourceMappingURL=analysis-figure.js.map
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* One analysis tool invocation
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityAnalysisInvocation
|
|
6
|
+
* @endpoint POST /v1/research-runs/{runId}/turns
|
|
7
|
+
* @usedBySchema HarnessRunTurnSchema
|
|
8
|
+
* @contractShape entity.analysis-invocation
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export declare const EntityAnalysisInvocationSchema: z.ZodObject<{
|
|
12
|
+
instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
sectionKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
tool: z.ZodEnum<{
|
|
15
|
+
LIST_SECTION: "LIST_SECTION";
|
|
16
|
+
RENDER_SECTION: "RENDER_SECTION";
|
|
17
|
+
}>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export type EntityAnalysisInvocation = z.infer<typeof EntityAnalysisInvocationSchema>;
|
|
20
|
+
//# sourceMappingURL=analysis-invocation.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 { EntityAnalysisToolSchema } from "./analysis-tool.js";
|
|
4
|
+
/**
|
|
5
|
+
* One analysis tool invocation
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityAnalysisInvocation
|
|
8
|
+
* @endpoint POST /v1/research-runs/{runId}/turns
|
|
9
|
+
* @usedBySchema HarnessRunTurnSchema
|
|
10
|
+
* @contractShape entity.analysis-invocation
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const EntityAnalysisInvocationSchema = z.object({
|
|
14
|
+
/** Instruction for the tool within the conversation turn character limit */
|
|
15
|
+
instruction: z.string().nullish(),
|
|
16
|
+
/** Exact snippet catalog typeValue; required for RENDER_SECTION */
|
|
17
|
+
sectionKey: z.string().nullish(),
|
|
18
|
+
/** Analysis tool to invoke */
|
|
19
|
+
tool: EntityAnalysisToolSchema,
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=analysis-invocation.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisParagraphSchemaDefinition: z.ZodObject<{
|
|
3
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
text: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
type EntityAnalysisParagraphDefinition = z.infer<typeof EntityAnalysisParagraphSchemaDefinition>;
|
|
7
|
+
export interface EntityAnalysisParagraphSchemaInput extends z.input<typeof EntityAnalysisParagraphSchemaDefinition> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A single paragraph of analysis.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisParagraph
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
16
|
+
* @contractShape entity.analysis-paragraph
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export declare const EntityAnalysisParagraphSchema: z.ZodType<EntityAnalysisParagraphDefinition, EntityAnalysisParagraphSchemaInput>;
|
|
20
|
+
export type EntityAnalysisParagraph = z.infer<typeof EntityAnalysisParagraphSchema>;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=analysis-paragraph.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 EntityAnalysisParagraphSchemaDefinition = z.object({
|
|
4
|
+
/** Catalog analysisSectionLabel at this position; null for ordinary prose. */
|
|
5
|
+
label: z.string().nullish(),
|
|
6
|
+
/** One nonempty paragraph without embedded line breaks. */
|
|
7
|
+
text: z.string(),
|
|
8
|
+
});
|
|
9
|
+
/**
|
|
10
|
+
* A single paragraph of analysis.
|
|
11
|
+
*
|
|
12
|
+
* @openapiSchema EntityAnalysisParagraph
|
|
13
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
16
|
+
* @contractShape entity.analysis-paragraph
|
|
17
|
+
* @contractRole canonical
|
|
18
|
+
*/
|
|
19
|
+
export const EntityAnalysisParagraphSchema = EntityAnalysisParagraphSchemaDefinition;
|
|
20
|
+
//# sourceMappingURL=analysis-paragraph.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Author of a draft section: the run's agent or its signed-in owner.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityAnalysisSectionOrigin
|
|
6
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
7
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
8
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
9
|
+
* @contractShape entity.analysis-section-origin
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EntityAnalysisSectionOriginSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
13
|
+
AGENT: "AGENT";
|
|
14
|
+
USER: "USER";
|
|
15
|
+
}>, z.ZodString]> & {
|
|
16
|
+
enum: {
|
|
17
|
+
AGENT: "AGENT";
|
|
18
|
+
USER: "USER";
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type EntityAnalysisSectionOrigin = z.infer<typeof EntityAnalysisSectionOriginSchema>;
|
|
22
|
+
//# sourceMappingURL=analysis-section-origin.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
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 EntityAnalysisSectionOriginSchemaKnownMembers = z.enum(["AGENT", "USER"]);
|
|
4
|
+
/**
|
|
5
|
+
* Author of a draft section: the run's agent or its signed-in owner.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityAnalysisSectionOrigin
|
|
8
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
9
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
10
|
+
* @usedBySchema EntityAnalysisSectionSchema
|
|
11
|
+
* @contractShape entity.analysis-section-origin
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const EntityAnalysisSectionOriginSchema = Object.assign(z.union([EntityAnalysisSectionOriginSchemaKnownMembers, z.string()]), { enum: EntityAnalysisSectionOriginSchemaKnownMembers.enum });
|
|
15
|
+
//# sourceMappingURL=analysis-section-origin.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisSectionSchemaDefinition: z.ZodObject<{
|
|
3
|
+
citation: z.ZodArray<z.ZodType<{
|
|
4
|
+
quote: string;
|
|
5
|
+
sourceDocumentId: string;
|
|
6
|
+
}, import("./analysis-citation.ts").EntityAnalysisCitationSchemaInput, z.core.$ZodTypeInternals<{
|
|
7
|
+
quote: string;
|
|
8
|
+
sourceDocumentId: string;
|
|
9
|
+
}, import("./analysis-citation.ts").EntityAnalysisCitationSchemaInput>>>;
|
|
10
|
+
figure: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
11
|
+
column?: string[] | undefined;
|
|
12
|
+
entry: {
|
|
13
|
+
cell: {
|
|
14
|
+
citation: number;
|
|
15
|
+
excerpt: string;
|
|
16
|
+
}[];
|
|
17
|
+
label: string;
|
|
18
|
+
}[];
|
|
19
|
+
title: string;
|
|
20
|
+
type: string;
|
|
21
|
+
}, import("./analysis-figure.ts").EntityAnalysisFigureSchemaInput, z.core.$ZodTypeInternals<{
|
|
22
|
+
column?: string[] | undefined;
|
|
23
|
+
entry: {
|
|
24
|
+
cell: {
|
|
25
|
+
citation: number;
|
|
26
|
+
excerpt: string;
|
|
27
|
+
}[];
|
|
28
|
+
label: string;
|
|
29
|
+
}[];
|
|
30
|
+
title: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}, import("./analysis-figure.ts").EntityAnalysisFigureSchemaInput>>>>;
|
|
33
|
+
key: z.ZodString;
|
|
34
|
+
origin: z.ZodUnion<readonly [z.ZodEnum<{
|
|
35
|
+
AGENT: "AGENT";
|
|
36
|
+
USER: "USER";
|
|
37
|
+
}>, z.ZodString]> & {
|
|
38
|
+
enum: {
|
|
39
|
+
AGENT: "AGENT";
|
|
40
|
+
USER: "USER";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
paragraph: z.ZodArray<z.ZodType<{
|
|
44
|
+
label?: string | null | undefined;
|
|
45
|
+
text: string;
|
|
46
|
+
}, import("./analysis-paragraph.ts").EntityAnalysisParagraphSchemaInput, z.core.$ZodTypeInternals<{
|
|
47
|
+
label?: string | null | undefined;
|
|
48
|
+
text: string;
|
|
49
|
+
}, import("./analysis-paragraph.ts").EntityAnalysisParagraphSchemaInput>>>;
|
|
50
|
+
title: z.ZodString;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
type EntityAnalysisSectionDefinition = z.infer<typeof EntityAnalysisSectionSchemaDefinition>;
|
|
53
|
+
export interface EntityAnalysisSectionSchemaInput extends z.input<typeof EntityAnalysisSectionSchemaDefinition> {
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* One unverified analysis section; replace it by its snippet type key.
|
|
57
|
+
*
|
|
58
|
+
* @openapiSchema EntityAnalysisSection
|
|
59
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
60
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
61
|
+
* @usedBySchema EntityAnalysisDraftSchema
|
|
62
|
+
* @contractShape entity.analysis-section
|
|
63
|
+
* @contractRole canonical
|
|
64
|
+
*/
|
|
65
|
+
export declare const EntityAnalysisSectionSchema: z.ZodType<EntityAnalysisSectionDefinition, EntityAnalysisSectionSchemaInput>;
|
|
66
|
+
export type EntityAnalysisSection = z.infer<typeof EntityAnalysisSectionSchema>;
|
|
67
|
+
export {};
|
|
68
|
+
//# sourceMappingURL=analysis-section.d.ts.map
|