@aventurevc/api-schemas 0.8.324 → 0.8.326

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.
@@ -0,0 +1,100 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Finished entity-text research analysis and section-free paragraph plan.
4
+ *
5
+ * @openapiSchema EntityWriterBrief
6
+ * @endpoint POST /v1/research-runs
7
+ * @endpoint POST /v1/research/runs
8
+ * @usedBySchema HarnessTaskInputBindingSchema
9
+ * @contractShape entity.writer-brief
10
+ * @contractRole canonical
11
+ */
12
+ export declare const EntityWriterBriefSchema: z.ZodObject<{
13
+ claim: z.ZodArray<z.ZodType<{
14
+ end?: number | null | undefined;
15
+ gateId?: string | null | undefined;
16
+ quote?: string | undefined;
17
+ sourceDocumentId?: string | null | undefined;
18
+ sourceUrl: string;
19
+ start?: number | null | undefined;
20
+ statement?: string | undefined;
21
+ writerSurface?: string | null | undefined;
22
+ }, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
23
+ end?: number | null | undefined;
24
+ gateId?: string | null | undefined;
25
+ quote?: string | undefined;
26
+ sourceDocumentId?: string | null | undefined;
27
+ sourceUrl: string;
28
+ start?: number | null | undefined;
29
+ statement?: string | undefined;
30
+ writerSurface?: string | null | undefined;
31
+ }, import("../research/finding.ts").ResearchFindingSchemaInput>>>;
32
+ metaAnalysis: z.ZodType<{
33
+ answer: {
34
+ claim: number[];
35
+ statement: string;
36
+ };
37
+ asOfDate: string;
38
+ changeSignal: {
39
+ claim: number[];
40
+ statement: string;
41
+ }[];
42
+ gap: {
43
+ claim: number[];
44
+ reason: string;
45
+ statement: string;
46
+ }[];
47
+ question: string;
48
+ scope: {
49
+ boundary: string;
50
+ geography?: string | null | undefined;
51
+ period?: string | null | undefined;
52
+ };
53
+ }, import("./writer-meta-analysis.ts").EntityWriterMetaAnalysisSchemaInput, z.core.$ZodTypeInternals<{
54
+ answer: {
55
+ claim: number[];
56
+ statement: string;
57
+ };
58
+ asOfDate: string;
59
+ changeSignal: {
60
+ claim: number[];
61
+ statement: string;
62
+ }[];
63
+ gap: {
64
+ claim: number[];
65
+ reason: string;
66
+ statement: string;
67
+ }[];
68
+ question: string;
69
+ scope: {
70
+ boundary: string;
71
+ geography?: string | null | undefined;
72
+ period?: string | null | undefined;
73
+ };
74
+ }, import("./writer-meta-analysis.ts").EntityWriterMetaAnalysisSchemaInput>>;
75
+ outputClaim: z.ZodOptional<z.ZodArray<z.ZodInt>>;
76
+ paragraph: z.ZodArray<z.ZodType<{
77
+ analysis: {
78
+ answer: boolean;
79
+ };
80
+ claim: number[];
81
+ positioning: string[];
82
+ }, import("./writer-paragraph.ts").EntityWriterParagraphSchemaInput, z.core.$ZodTypeInternals<{
83
+ analysis: {
84
+ answer: boolean;
85
+ };
86
+ claim: number[];
87
+ positioning: string[];
88
+ }, import("./writer-paragraph.ts").EntityWriterParagraphSchemaInput>>>;
89
+ positioning: z.ZodArray<z.ZodType<{
90
+ claim: number[];
91
+ element: string;
92
+ statement: string;
93
+ }, import("../writer/positioning.ts").WriterPositioningSchemaInput, z.core.$ZodTypeInternals<{
94
+ claim: number[];
95
+ element: string;
96
+ statement: string;
97
+ }, import("../writer/positioning.ts").WriterPositioningSchemaInput>>>;
98
+ }, z.core.$strip>;
99
+ export type EntityWriterBrief = z.infer<typeof EntityWriterBriefSchema>;
100
+ //# sourceMappingURL=writer-brief.d.ts.map
@@ -0,0 +1,29 @@
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 { EntityWriterMetaAnalysisSchema } from "./writer-meta-analysis.js";
4
+ import { EntityWriterParagraphSchema } from "./writer-paragraph.js";
5
+ import { ResearchFindingSchema } from "../research/finding.js";
6
+ import { WriterPositioningSchema } from "../writer/positioning.js";
7
+ /**
8
+ * Finished entity-text research analysis and section-free paragraph plan.
9
+ *
10
+ * @openapiSchema EntityWriterBrief
11
+ * @endpoint POST /v1/research-runs
12
+ * @endpoint POST /v1/research/runs
13
+ * @usedBySchema HarnessTaskInputBindingSchema
14
+ * @contractShape entity.writer-brief
15
+ * @contractRole canonical
16
+ */
17
+ export const EntityWriterBriefSchema = z.object({
18
+ /** Complete evidence ledger with source page and verbatim quote. */
19
+ claim: z.array(ResearchFindingSchema),
20
+ /** Finished research question, answer, gaps, and change signals. */
21
+ metaAnalysis: EntityWriterMetaAnalysisSchema,
22
+ /** Evidence claims this output states: paragraph.claim in paragraph order. Derived by the server; a sent value is ignored. */
23
+ outputClaim: z.array(z.int()).optional(),
24
+ /** Paragraph plan; each paragraph states the listed claims and judgments, and paragraph order is the output order; only the first paragraph consumes the answer. */
25
+ paragraph: z.array(EntityWriterParagraphSchema),
26
+ /** Positioning decisions selected by research. Put each decision and all its cited claims in one paragraph. A listed decision stays in that paragraph; an unlisted decision goes to the paragraph of its first cited claim. */
27
+ positioning: z.array(WriterPositioningSchema),
28
+ });
29
+ //# sourceMappingURL=writer-brief.js.map
@@ -0,0 +1,54 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityWriterMetaAnalysisSchemaDefinition: z.ZodObject<{
3
+ answer: z.ZodType<{
4
+ claim: number[];
5
+ statement: string;
6
+ }, import("../writer/judgment.ts").WriterJudgmentSchemaInput, z.core.$ZodTypeInternals<{
7
+ claim: number[];
8
+ statement: string;
9
+ }, import("../writer/judgment.ts").WriterJudgmentSchemaInput>>;
10
+ asOfDate: z.ZodISODate;
11
+ changeSignal: z.ZodArray<z.ZodType<{
12
+ claim: number[];
13
+ statement: string;
14
+ }, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput, z.core.$ZodTypeInternals<{
15
+ claim: number[];
16
+ statement: string;
17
+ }, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput>>>;
18
+ gap: z.ZodArray<z.ZodType<{
19
+ claim: number[];
20
+ reason: string;
21
+ statement: string;
22
+ }, import("../writer/gap.ts").WriterGapSchemaInput, z.core.$ZodTypeInternals<{
23
+ claim: number[];
24
+ reason: string;
25
+ statement: string;
26
+ }, import("../writer/gap.ts").WriterGapSchemaInput>>>;
27
+ question: z.ZodString;
28
+ scope: z.ZodType<{
29
+ boundary: string;
30
+ geography?: string | null | undefined;
31
+ period?: string | null | undefined;
32
+ }, import("../writer/scope.ts").WriterScopeSchemaInput, z.core.$ZodTypeInternals<{
33
+ boundary: string;
34
+ geography?: string | null | undefined;
35
+ period?: string | null | undefined;
36
+ }, import("../writer/scope.ts").WriterScopeSchemaInput>>;
37
+ }, z.core.$strip>;
38
+ type EntityWriterMetaAnalysisDefinition = z.infer<typeof EntityWriterMetaAnalysisSchemaDefinition>;
39
+ export interface EntityWriterMetaAnalysisSchemaInput extends z.input<typeof EntityWriterMetaAnalysisSchemaDefinition> {
40
+ }
41
+ /**
42
+ * Entity-text research judgment without framework sections.
43
+ *
44
+ * @openapiSchema EntityWriterMetaAnalysis
45
+ * @endpoint POST /v1/research-runs
46
+ * @endpoint POST /v1/research/runs
47
+ * @usedBySchema EntityWriterBriefSchema
48
+ * @contractShape entity.writer-meta-analysis
49
+ * @contractRole canonical
50
+ */
51
+ export declare const EntityWriterMetaAnalysisSchema: z.ZodType<EntityWriterMetaAnalysisDefinition, EntityWriterMetaAnalysisSchemaInput>;
52
+ export type EntityWriterMetaAnalysis = z.infer<typeof EntityWriterMetaAnalysisSchema>;
53
+ export {};
54
+ //# sourceMappingURL=writer-meta-analysis.d.ts.map
@@ -0,0 +1,32 @@
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 { WriterChangeSignalSchema } from "../writer/change-signal.js";
4
+ import { WriterGapSchema } from "../writer/gap.js";
5
+ import { WriterJudgmentSchema } from "../writer/judgment.js";
6
+ import { WriterScopeSchema } from "../writer/scope.js";
7
+ const EntityWriterMetaAnalysisSchemaDefinition = z.object({
8
+ /** Overall answer to the research question. */
9
+ answer: WriterJudgmentSchema,
10
+ /** Date through which the judgment is current. */
11
+ asOfDate: z.iso.date(),
12
+ /** Evidence that would change the supplied view. */
13
+ changeSignal: z.array(WriterChangeSignalSchema),
14
+ /** Known gaps or conflicts that must not become invented facts. */
15
+ gap: z.array(WriterGapSchema),
16
+ /** Question the research answered. */
17
+ question: z.string(),
18
+ /** Boundary and period used by the research. */
19
+ scope: WriterScopeSchema,
20
+ });
21
+ /**
22
+ * Entity-text research judgment without framework sections.
23
+ *
24
+ * @openapiSchema EntityWriterMetaAnalysis
25
+ * @endpoint POST /v1/research-runs
26
+ * @endpoint POST /v1/research/runs
27
+ * @usedBySchema EntityWriterBriefSchema
28
+ * @contractShape entity.writer-meta-analysis
29
+ * @contractRole canonical
30
+ */
31
+ export const EntityWriterMetaAnalysisSchema = EntityWriterMetaAnalysisSchemaDefinition;
32
+ //# sourceMappingURL=writer-meta-analysis.js.map
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityWriterParagraphAnalysisSchemaDefinition: z.ZodObject<{
3
+ answer: z.ZodBoolean;
4
+ }, z.core.$strip>;
5
+ type EntityWriterParagraphAnalysisDefinition = z.infer<typeof EntityWriterParagraphAnalysisSchemaDefinition>;
6
+ export interface EntityWriterParagraphAnalysisSchemaInput extends z.input<typeof EntityWriterParagraphAnalysisSchemaDefinition> {
7
+ }
8
+ /**
9
+ * Overall research answer assignment for entity text.
10
+ *
11
+ * @openapiSchema EntityWriterParagraphAnalysis
12
+ * @endpoint POST /v1/research-runs
13
+ * @endpoint POST /v1/research/runs
14
+ * @usedBySchema EntityWriterParagraphSchema
15
+ * @contractShape entity.writer-paragraph-analysis
16
+ * @contractRole canonical
17
+ */
18
+ export declare const EntityWriterParagraphAnalysisSchema: z.ZodType<EntityWriterParagraphAnalysisDefinition, EntityWriterParagraphAnalysisSchemaInput>;
19
+ export type EntityWriterParagraphAnalysis = z.infer<typeof EntityWriterParagraphAnalysisSchema>;
20
+ export {};
21
+ //# sourceMappingURL=writer-paragraph-analysis.d.ts.map
@@ -0,0 +1,18 @@
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 EntityWriterParagraphAnalysisSchemaDefinition = z.object({
4
+ /** Whether this paragraph states the overall research answer; true on the first paragraph only. */
5
+ answer: z.boolean(),
6
+ });
7
+ /**
8
+ * Overall research answer assignment for entity text.
9
+ *
10
+ * @openapiSchema EntityWriterParagraphAnalysis
11
+ * @endpoint POST /v1/research-runs
12
+ * @endpoint POST /v1/research/runs
13
+ * @usedBySchema EntityWriterParagraphSchema
14
+ * @contractShape entity.writer-paragraph-analysis
15
+ * @contractRole canonical
16
+ */
17
+ export const EntityWriterParagraphAnalysisSchema = EntityWriterParagraphAnalysisSchemaDefinition;
18
+ //# sourceMappingURL=writer-paragraph-analysis.js.map
@@ -0,0 +1,41 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityWriterParagraphSchemaDefinition: z.ZodObject<{
3
+ analysis: z.ZodType<{
4
+ answer: boolean;
5
+ }, import("./writer-paragraph-analysis.ts").EntityWriterParagraphAnalysisSchemaInput, z.core.$ZodTypeInternals<{
6
+ answer: boolean;
7
+ }, import("./writer-paragraph-analysis.ts").EntityWriterParagraphAnalysisSchemaInput>>;
8
+ claim: z.ZodArray<z.ZodInt>;
9
+ positioning: z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
10
+ ALTERNATIVE: "ALTERNATIVE";
11
+ APPROACH: "APPROACH";
12
+ BUYER: "BUYER";
13
+ CATEGORY: "CATEGORY";
14
+ DIFFERENTIATION: "DIFFERENTIATION";
15
+ }>, z.ZodString]> & {
16
+ enum: {
17
+ ALTERNATIVE: "ALTERNATIVE";
18
+ APPROACH: "APPROACH";
19
+ BUYER: "BUYER";
20
+ CATEGORY: "CATEGORY";
21
+ DIFFERENTIATION: "DIFFERENTIATION";
22
+ };
23
+ }>;
24
+ }, z.core.$strip>;
25
+ type EntityWriterParagraphDefinition = z.infer<typeof EntityWriterParagraphSchemaDefinition>;
26
+ export interface EntityWriterParagraphSchemaInput extends z.input<typeof EntityWriterParagraphSchemaDefinition> {
27
+ }
28
+ /**
29
+ * One planned entity-text paragraph without framework sections.
30
+ *
31
+ * @openapiSchema EntityWriterParagraph
32
+ * @endpoint POST /v1/research-runs
33
+ * @endpoint POST /v1/research/runs
34
+ * @usedBySchema EntityWriterBriefSchema
35
+ * @contractShape entity.writer-paragraph
36
+ * @contractRole canonical
37
+ */
38
+ export declare const EntityWriterParagraphSchema: z.ZodType<EntityWriterParagraphDefinition, EntityWriterParagraphSchemaInput>;
39
+ export type EntityWriterParagraph = z.infer<typeof EntityWriterParagraphSchema>;
40
+ export {};
41
+ //# sourceMappingURL=writer-paragraph.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 { EntityWriterParagraphAnalysisSchema } from "./writer-paragraph-analysis.js";
4
+ import { WriterPositioningElementSchema } from "../writer/positioning-element.js";
5
+ const EntityWriterParagraphSchemaDefinition = z.object({
6
+ /** Overall research answer assigned to this paragraph. */
7
+ analysis: EntityWriterParagraphAnalysisSchema,
8
+ /** Output claims this paragraph states, in order. */
9
+ claim: z.array(z.int()),
10
+ /** Positioning decisions this paragraph must consume. */
11
+ positioning: z.array(WriterPositioningElementSchema),
12
+ });
13
+ /**
14
+ * One planned entity-text paragraph without framework sections.
15
+ *
16
+ * @openapiSchema EntityWriterParagraph
17
+ * @endpoint POST /v1/research-runs
18
+ * @endpoint POST /v1/research/runs
19
+ * @usedBySchema EntityWriterBriefSchema
20
+ * @contractShape entity.writer-paragraph
21
+ * @contractRole canonical
22
+ */
23
+ export const EntityWriterParagraphSchema = EntityWriterParagraphSchemaDefinition;
24
+ //# sourceMappingURL=writer-paragraph.js.map
@@ -27,6 +27,53 @@ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
27
27
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  taskInput: z.ZodOptional<z.ZodArray<z.ZodType<{
29
29
  entityId?: string | null | undefined;
30
+ entityWriterBrief?: {
31
+ claim: {
32
+ end?: number | null | undefined;
33
+ gateId?: string | null | undefined;
34
+ quote?: string | undefined;
35
+ sourceDocumentId?: string | null | undefined;
36
+ sourceUrl: string;
37
+ start?: number | null | undefined;
38
+ statement?: string | undefined;
39
+ writerSurface?: string | null | undefined;
40
+ }[];
41
+ metaAnalysis: {
42
+ answer: {
43
+ claim: number[];
44
+ statement: string;
45
+ };
46
+ asOfDate: string;
47
+ changeSignal: {
48
+ claim: number[];
49
+ statement: string;
50
+ }[];
51
+ gap: {
52
+ claim: number[];
53
+ reason: string;
54
+ statement: string;
55
+ }[];
56
+ question: string;
57
+ scope: {
58
+ boundary: string;
59
+ geography?: string | null | undefined;
60
+ period?: string | null | undefined;
61
+ };
62
+ };
63
+ outputClaim?: number[] | undefined;
64
+ paragraph: {
65
+ analysis: {
66
+ answer: boolean;
67
+ };
68
+ claim: number[];
69
+ positioning: string[];
70
+ }[];
71
+ positioning: {
72
+ claim: number[];
73
+ element: string;
74
+ statement: string;
75
+ }[];
76
+ } | null | undefined;
30
77
  fact?: {
31
78
  eventDate?: string | null | undefined;
32
79
  sourceUrl: string;
@@ -92,6 +139,53 @@ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
92
139
  } | null | undefined;
93
140
  }, import("./task-input-binding.ts").HarnessTaskInputBindingSchemaInput, z.core.$ZodTypeInternals<{
94
141
  entityId?: string | null | undefined;
142
+ entityWriterBrief?: {
143
+ claim: {
144
+ end?: number | null | undefined;
145
+ gateId?: string | null | undefined;
146
+ quote?: string | undefined;
147
+ sourceDocumentId?: string | null | undefined;
148
+ sourceUrl: string;
149
+ start?: number | null | undefined;
150
+ statement?: string | undefined;
151
+ writerSurface?: string | null | undefined;
152
+ }[];
153
+ metaAnalysis: {
154
+ answer: {
155
+ claim: number[];
156
+ statement: string;
157
+ };
158
+ asOfDate: string;
159
+ changeSignal: {
160
+ claim: number[];
161
+ statement: string;
162
+ }[];
163
+ gap: {
164
+ claim: number[];
165
+ reason: string;
166
+ statement: string;
167
+ }[];
168
+ question: string;
169
+ scope: {
170
+ boundary: string;
171
+ geography?: string | null | undefined;
172
+ period?: string | null | undefined;
173
+ };
174
+ };
175
+ outputClaim?: number[] | undefined;
176
+ paragraph: {
177
+ analysis: {
178
+ answer: boolean;
179
+ };
180
+ claim: number[];
181
+ positioning: string[];
182
+ }[];
183
+ positioning: {
184
+ claim: number[];
185
+ element: string;
186
+ statement: string;
187
+ }[];
188
+ } | null | undefined;
95
189
  fact?: {
96
190
  eventDate?: string | null | undefined;
97
191
  sourceUrl: string;
@@ -1,6 +1,93 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const HarnessTaskInputBindingSchemaDefinition: z.ZodObject<{
3
3
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
4
+ entityWriterBrief: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ claim: z.ZodArray<z.ZodType<{
6
+ end?: number | null | undefined;
7
+ gateId?: string | null | undefined;
8
+ quote?: string | undefined;
9
+ sourceDocumentId?: string | null | undefined;
10
+ sourceUrl: string;
11
+ start?: number | null | undefined;
12
+ statement?: string | undefined;
13
+ writerSurface?: string | null | undefined;
14
+ }, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
15
+ end?: number | null | undefined;
16
+ gateId?: string | null | undefined;
17
+ quote?: string | undefined;
18
+ sourceDocumentId?: string | null | undefined;
19
+ sourceUrl: string;
20
+ start?: number | null | undefined;
21
+ statement?: string | undefined;
22
+ writerSurface?: string | null | undefined;
23
+ }, import("../research/finding.ts").ResearchFindingSchemaInput>>>;
24
+ metaAnalysis: z.ZodType<{
25
+ answer: {
26
+ claim: number[];
27
+ statement: string;
28
+ };
29
+ asOfDate: string;
30
+ changeSignal: {
31
+ claim: number[];
32
+ statement: string;
33
+ }[];
34
+ gap: {
35
+ claim: number[];
36
+ reason: string;
37
+ statement: string;
38
+ }[];
39
+ question: string;
40
+ scope: {
41
+ boundary: string;
42
+ geography?: string | null | undefined;
43
+ period?: string | null | undefined;
44
+ };
45
+ }, import("../entity/writer-meta-analysis.ts").EntityWriterMetaAnalysisSchemaInput, z.core.$ZodTypeInternals<{
46
+ answer: {
47
+ claim: number[];
48
+ statement: string;
49
+ };
50
+ asOfDate: string;
51
+ changeSignal: {
52
+ claim: number[];
53
+ statement: string;
54
+ }[];
55
+ gap: {
56
+ claim: number[];
57
+ reason: string;
58
+ statement: string;
59
+ }[];
60
+ question: string;
61
+ scope: {
62
+ boundary: string;
63
+ geography?: string | null | undefined;
64
+ period?: string | null | undefined;
65
+ };
66
+ }, import("../entity/writer-meta-analysis.ts").EntityWriterMetaAnalysisSchemaInput>>;
67
+ outputClaim: z.ZodOptional<z.ZodArray<z.ZodInt>>;
68
+ paragraph: z.ZodArray<z.ZodType<{
69
+ analysis: {
70
+ answer: boolean;
71
+ };
72
+ claim: number[];
73
+ positioning: string[];
74
+ }, import("../entity/writer-paragraph.ts").EntityWriterParagraphSchemaInput, z.core.$ZodTypeInternals<{
75
+ analysis: {
76
+ answer: boolean;
77
+ };
78
+ claim: number[];
79
+ positioning: string[];
80
+ }, import("../entity/writer-paragraph.ts").EntityWriterParagraphSchemaInput>>>;
81
+ positioning: z.ZodArray<z.ZodType<{
82
+ claim: number[];
83
+ element: string;
84
+ statement: string;
85
+ }, import("../writer/positioning.ts").WriterPositioningSchemaInput, z.core.$ZodTypeInternals<{
86
+ claim: number[];
87
+ element: string;
88
+ statement: string;
89
+ }, import("../writer/positioning.ts").WriterPositioningSchemaInput>>>;
90
+ }, z.core.$strip>>>;
4
91
  fact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
92
  eventDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6
93
  sourceUrl: z.ZodString;
@@ -1,10 +1,13 @@
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 { EntityWriterBriefSchema } from "../entity/writer-brief.js";
3
4
  import { HarnessTaskFactSchema } from "./task-fact.js";
4
5
  import { WriterBriefSchema } from "../writer/brief.js";
5
6
  const HarnessTaskInputBindingSchemaDefinition = z.object({
6
7
  /** Canonical entity UUID; exclusive with newsId, text, writerBrief and fact. */
7
8
  entityId: z.uuid().nullish(),
9
+ /** Section-free entity or person text brief for a WRITER_BRIEF input; exclusive with writerBrief, entityId, newsId, text and fact. The task must create entity or person text. Use this typed value only with compatible Harness readers; legacy writerBrief remains supported. */
10
+ entityWriterBrief: EntityWriterBriefSchema.nullish(),
8
11
  /** One source-bound fact for a FACT input; exclusive with entityId, newsId, text and writerBrief. */
9
12
  fact: HarnessTaskFactSchema.nullish(),
10
13
  /** Catalog input key; omit it to bind the task's only declared input of the value's type. */
@@ -634,6 +634,19 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
634
634
  modulePath: "entity/valuation-time-series-point",
635
635
  schemaName: "EntityValuationTimeSeriesPointSchema",
636
636
  },
637
+ EntityWriterBrief: { modulePath: "entity/writer-brief", schemaName: "EntityWriterBriefSchema" },
638
+ EntityWriterMetaAnalysis: {
639
+ modulePath: "entity/writer-meta-analysis",
640
+ schemaName: "EntityWriterMetaAnalysisSchema",
641
+ },
642
+ EntityWriterParagraph: {
643
+ modulePath: "entity/writer-paragraph",
644
+ schemaName: "EntityWriterParagraphSchema",
645
+ },
646
+ EntityWriterParagraphAnalysis: {
647
+ modulePath: "entity/writer-paragraph-analysis",
648
+ schemaName: "EntityWriterParagraphAnalysisSchema",
649
+ },
637
650
  FederatedNaturalSearch: {
638
651
  modulePath: "federated/natural-search",
639
652
  schemaName: "FederatedNaturalSearchSchema",
@@ -32,6 +32,7 @@ export interface ResearchFindingSchemaInput extends z.input<typeof ResearchFindi
32
32
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
33
33
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
34
34
  * @usedBySchema EnrichmentPromptSchema
35
+ * @usedBySchema EntityWriterBriefSchema
35
36
  * @usedBySchema HarnessRunCreateSchema
36
37
  * @usedBySchema WriterBriefSchema
37
38
  * @contractShape research.finding
@@ -29,6 +29,7 @@ const ResearchFindingSchemaDefinition = z.object({
29
29
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
30
30
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
31
31
  * @usedBySchema EnrichmentPromptSchema
32
+ * @usedBySchema EntityWriterBriefSchema
32
33
  * @usedBySchema HarnessRunCreateSchema
33
34
  * @usedBySchema WriterBriefSchema
34
35
  * @contractShape research.finding
@@ -14,6 +14,7 @@ export interface WriterChangeSignalSchemaInput extends z.input<typeof WriterChan
14
14
  * @endpoint POST /v1/research/runs
15
15
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
16
16
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
17
+ * @usedBySchema EntityWriterMetaAnalysisSchema
17
18
  * @usedBySchema WriterMetaAnalysisSchema
18
19
  * @contractShape writer.change-signal
19
20
  * @contractRole canonical
@@ -14,6 +14,7 @@ const WriterChangeSignalSchemaDefinition = z.object({
14
14
  * @endpoint POST /v1/research/runs
15
15
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
16
16
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
17
+ * @usedBySchema EntityWriterMetaAnalysisSchema
17
18
  * @usedBySchema WriterMetaAnalysisSchema
18
19
  * @contractShape writer.change-signal
19
20
  * @contractRole canonical
@@ -27,6 +27,7 @@ export interface WriterGapSchemaInput extends z.input<typeof WriterGapSchemaDefi
27
27
  * @endpoint POST /v1/research/runs
28
28
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
29
29
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
30
+ * @usedBySchema EntityWriterMetaAnalysisSchema
30
31
  * @usedBySchema WriterMetaAnalysisSchema
31
32
  * @contractShape writer.gap
32
33
  * @contractRole canonical
@@ -17,6 +17,7 @@ const WriterGapSchemaDefinition = z.object({
17
17
  * @endpoint POST /v1/research/runs
18
18
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
19
19
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
20
+ * @usedBySchema EntityWriterMetaAnalysisSchema
20
21
  * @usedBySchema WriterMetaAnalysisSchema
21
22
  * @contractShape writer.gap
22
23
  * @contractRole canonical
@@ -14,6 +14,7 @@ export interface WriterJudgmentSchemaInput extends z.input<typeof WriterJudgment
14
14
  * @endpoint POST /v1/research/runs
15
15
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
16
16
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
17
+ * @usedBySchema EntityWriterMetaAnalysisSchema
17
18
  * @usedBySchema WriterAnalysisSectionSchema
18
19
  * @usedBySchema WriterMetaAnalysisSchema
19
20
  * @contractShape writer.judgment
@@ -14,6 +14,7 @@ const WriterJudgmentSchemaDefinition = z.object({
14
14
  * @endpoint POST /v1/research/runs
15
15
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
16
16
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
17
+ * @usedBySchema EntityWriterMetaAnalysisSchema
17
18
  * @usedBySchema WriterAnalysisSectionSchema
18
19
  * @usedBySchema WriterMetaAnalysisSchema
19
20
  * @contractShape writer.judgment
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint POST /v1/research/runs
8
8
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
9
9
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
10
+ * @usedBySchema EntityWriterParagraphSchema
10
11
  * @usedBySchema WriterParagraphSchema
11
12
  * @usedBySchema WriterPositioningSchema
12
13
  * @contractShape writer.positioning-element
@@ -15,6 +15,7 @@ const WriterPositioningElementSchemaKnownMembers = z.enum([
15
15
  * @endpoint POST /v1/research/runs
16
16
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
17
17
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
18
+ * @usedBySchema EntityWriterParagraphSchema
18
19
  * @usedBySchema WriterParagraphSchema
19
20
  * @usedBySchema WriterPositioningSchema
20
21
  * @contractShape writer.positioning-element
@@ -29,6 +29,7 @@ export interface WriterPositioningSchemaInput extends z.input<typeof WriterPosit
29
29
  * @endpoint POST /v1/research/runs
30
30
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
31
31
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
32
+ * @usedBySchema EntityWriterBriefSchema
32
33
  * @usedBySchema WriterBriefSchema
33
34
  * @contractShape writer.positioning
34
35
  * @contractRole canonical
@@ -17,6 +17,7 @@ const WriterPositioningSchemaDefinition = z.object({
17
17
  * @endpoint POST /v1/research/runs
18
18
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
19
19
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
20
+ * @usedBySchema EntityWriterBriefSchema
20
21
  * @usedBySchema WriterBriefSchema
21
22
  * @contractShape writer.positioning
22
23
  * @contractRole canonical
@@ -15,6 +15,7 @@ export interface WriterScopeSchemaInput extends z.input<typeof WriterScopeSchema
15
15
  * @endpoint POST /v1/research/runs
16
16
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
17
17
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
18
+ * @usedBySchema EntityWriterMetaAnalysisSchema
18
19
  * @usedBySchema WriterMetaAnalysisSchema
19
20
  * @contractShape writer.scope
20
21
  * @contractRole canonical
@@ -16,6 +16,7 @@ const WriterScopeSchemaDefinition = z.object({
16
16
  * @endpoint POST /v1/research/runs
17
17
  * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
18
18
  * @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
19
+ * @usedBySchema EntityWriterMetaAnalysisSchema
19
20
  * @usedBySchema WriterMetaAnalysisSchema
20
21
  * @contractShape writer.scope
21
22
  * @contractRole canonical
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.324",
3
+ "version": "0.8.326",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",