@aventurevc/api-schemas 0.8.261 → 0.8.263
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/enrichment.d.ts +2 -0
- package/dist/enrichment/prompt.d.ts +8 -2
- package/dist/entity/analysis-citation.d.ts +1 -0
- package/dist/entity/analysis-citation.js +1 -0
- package/dist/entity/analysis-figure.d.ts +1 -0
- package/dist/entity/analysis-figure.js +1 -0
- package/dist/entity/analysis-paragraph.d.ts +1 -0
- package/dist/entity/analysis-paragraph.js +1 -0
- package/dist/entity/analysis-section-mutation.d.ts +162 -0
- package/dist/entity/analysis-section-mutation.js +34 -0
- package/dist/entity/analysis-section-origin.d.ts +1 -0
- package/dist/entity/analysis-section-origin.js +1 -0
- package/dist/entity/text.d.ts +1 -0
- package/dist/entity/text.js +2 -0
- package/dist/federated/search.d.ts +8 -0
- package/dist/harness/run-create.d.ts +8 -2
- package/dist/harness/run-detail.d.ts +2 -0
- package/dist/harness/run.d.ts +2 -0
- package/dist/harness/run.js +4 -0
- package/dist/link/search.d.ts +8 -0
- package/dist/natural/search-result.d.ts +8 -0
- package/dist/openapi-component-manifest.js +35 -0
- package/dist/pagination/schemas.d.ts +4 -0
- package/dist/research/finding.d.ts +7 -1
- package/dist/research/finding.js +11 -2
- package/dist/search/answer-paragraph.d.ts +7 -0
- package/dist/search/answer-paragraph.js +3 -0
- package/dist/search/answer-web-source.d.ts +27 -0
- package/dist/search/answer-web-source.js +25 -0
- package/dist/search/answer.d.ts +8 -0
- package/dist/shared/search.d.ts +8 -0
- package/dist/writer/analysis-section.d.ts +28 -0
- package/dist/writer/analysis-section.js +21 -0
- package/dist/writer/brief.d.ts +108 -0
- package/dist/writer/brief.js +29 -0
- package/dist/writer/change-signal.d.ts +22 -0
- package/dist/writer/change-signal.js +20 -0
- package/dist/writer/claim-surface.d.ts +2 -0
- package/dist/writer/claim-surface.js +2 -0
- package/dist/writer/gap-reason.d.ts +26 -0
- package/dist/writer/gap-reason.js +20 -0
- package/dist/writer/gap.d.ts +35 -0
- package/dist/writer/gap.js +23 -0
- package/dist/writer/judgment.d.ts +23 -0
- package/dist/writer/judgment.js +21 -0
- package/dist/writer/meta-analysis.d.ts +62 -0
- package/dist/writer/meta-analysis.js +34 -0
- package/dist/writer/paragraph-analysis.d.ts +17 -0
- package/dist/writer/paragraph-analysis.js +19 -0
- package/dist/writer/paragraph.d.ts +40 -0
- package/dist/writer/paragraph.js +24 -0
- package/dist/writer/positioning-element.d.ts +29 -0
- package/dist/writer/positioning-element.js +22 -0
- package/dist/writer/positioning.d.ts +37 -0
- package/dist/writer/positioning.js +23 -0
- package/dist/writer/scope.d.ts +23 -0
- package/dist/writer/scope.js +22 -0
- package/package.json +1 -1
|
@@ -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
|
+
* Meta-analysis judgments assigned to one paragraph.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema WriterParagraphAnalysis
|
|
7
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
8
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
9
|
+
* @usedBySchema WriterParagraphSchema
|
|
10
|
+
* @contractShape writer.paragraph-analysis
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const WriterParagraphAnalysisSchema = z.object({
|
|
14
|
+
/** Whether this paragraph states the overall research answer; true on the first paragraph only. */
|
|
15
|
+
answer: z.boolean(),
|
|
16
|
+
/** Framework section labels this paragraph must state, in order. */
|
|
17
|
+
section: z.array(z.string()),
|
|
18
|
+
});
|
|
19
|
+
//# sourceMappingURL=paragraph-analysis.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const WriterParagraphSchemaDefinition: z.ZodObject<{
|
|
3
|
+
analysis: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
answer: z.ZodBoolean;
|
|
5
|
+
section: z.ZodArray<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>>;
|
|
7
|
+
claim: z.ZodArray<z.ZodInt>;
|
|
8
|
+
positioning: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
10
|
+
APPROACH: "APPROACH";
|
|
11
|
+
BUYER: "BUYER";
|
|
12
|
+
CATEGORY: "CATEGORY";
|
|
13
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
14
|
+
}>, z.ZodString]> & {
|
|
15
|
+
enum: {
|
|
16
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
17
|
+
APPROACH: "APPROACH";
|
|
18
|
+
BUYER: "BUYER";
|
|
19
|
+
CATEGORY: "CATEGORY";
|
|
20
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
21
|
+
};
|
|
22
|
+
}>>;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
type WriterParagraphDefinition = z.infer<typeof WriterParagraphSchemaDefinition>;
|
|
25
|
+
export interface WriterParagraphSchemaInput extends z.input<typeof WriterParagraphSchemaDefinition> {
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* One planned paragraph.
|
|
29
|
+
*
|
|
30
|
+
* @openapiSchema WriterParagraph
|
|
31
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
32
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
33
|
+
* @usedBySchema WriterBriefSchema
|
|
34
|
+
* @contractShape writer.paragraph
|
|
35
|
+
* @contractRole canonical
|
|
36
|
+
*/
|
|
37
|
+
export declare const WriterParagraphSchema: z.ZodType<WriterParagraphDefinition, WriterParagraphSchemaInput>;
|
|
38
|
+
export type WriterParagraph = z.infer<typeof WriterParagraphSchema>;
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=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 { WriterParagraphAnalysisSchema } from "./paragraph-analysis.js";
|
|
4
|
+
import { WriterPositioningElementSchema } from "./positioning-element.js";
|
|
5
|
+
const WriterParagraphSchemaDefinition = z.object({
|
|
6
|
+
/** Meta-analysis judgments this paragraph must consume. */
|
|
7
|
+
analysis: WriterParagraphAnalysisSchema.optional(),
|
|
8
|
+
/** Output claims this paragraph states, in order. */
|
|
9
|
+
claim: z.array(z.int()),
|
|
10
|
+
/** Positioning decisions this paragraph must consume; each declared decision at most once across paragraphs. An unlisted decision goes to the paragraph that states its claims. */
|
|
11
|
+
positioning: z.array(WriterPositioningElementSchema).optional(),
|
|
12
|
+
});
|
|
13
|
+
/**
|
|
14
|
+
* One planned paragraph.
|
|
15
|
+
*
|
|
16
|
+
* @openapiSchema WriterParagraph
|
|
17
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
18
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
19
|
+
* @usedBySchema WriterBriefSchema
|
|
20
|
+
* @contractShape writer.paragraph
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export const WriterParagraphSchema = WriterParagraphSchemaDefinition;
|
|
24
|
+
//# sourceMappingURL=paragraph.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Research-selected category, buyer, approach, differentiation, or alternative.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema WriterPositioningElement
|
|
6
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
|
+
* @usedBySchema WriterParagraphSchema
|
|
9
|
+
* @usedBySchema WriterPositioningSchema
|
|
10
|
+
* @contractShape writer.positioning-element
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export declare const WriterPositioningElementSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
14
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
15
|
+
APPROACH: "APPROACH";
|
|
16
|
+
BUYER: "BUYER";
|
|
17
|
+
CATEGORY: "CATEGORY";
|
|
18
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
19
|
+
}>, z.ZodString]> & {
|
|
20
|
+
enum: {
|
|
21
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
22
|
+
APPROACH: "APPROACH";
|
|
23
|
+
BUYER: "BUYER";
|
|
24
|
+
CATEGORY: "CATEGORY";
|
|
25
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type WriterPositioningElement = z.infer<typeof WriterPositioningElementSchema>;
|
|
29
|
+
//# sourceMappingURL=positioning-element.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
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 WriterPositioningElementSchemaKnownMembers = z.enum([
|
|
4
|
+
"CATEGORY",
|
|
5
|
+
"BUYER",
|
|
6
|
+
"APPROACH",
|
|
7
|
+
"DIFFERENTIATION",
|
|
8
|
+
"ALTERNATIVE",
|
|
9
|
+
]);
|
|
10
|
+
/**
|
|
11
|
+
* Research-selected category, buyer, approach, differentiation, or alternative.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema WriterPositioningElement
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
16
|
+
* @usedBySchema WriterParagraphSchema
|
|
17
|
+
* @usedBySchema WriterPositioningSchema
|
|
18
|
+
* @contractShape writer.positioning-element
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const WriterPositioningElementSchema = Object.assign(z.union([WriterPositioningElementSchemaKnownMembers, z.string()]), { enum: WriterPositioningElementSchemaKnownMembers.enum });
|
|
22
|
+
//# sourceMappingURL=positioning-element.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const WriterPositioningSchemaDefinition: z.ZodObject<{
|
|
3
|
+
claim: z.ZodArray<z.ZodInt>;
|
|
4
|
+
element: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
6
|
+
APPROACH: "APPROACH";
|
|
7
|
+
BUYER: "BUYER";
|
|
8
|
+
CATEGORY: "CATEGORY";
|
|
9
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
10
|
+
}>, z.ZodString]> & {
|
|
11
|
+
enum: {
|
|
12
|
+
ALTERNATIVE: "ALTERNATIVE";
|
|
13
|
+
APPROACH: "APPROACH";
|
|
14
|
+
BUYER: "BUYER";
|
|
15
|
+
CATEGORY: "CATEGORY";
|
|
16
|
+
DIFFERENTIATION: "DIFFERENTIATION";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
statement: z.ZodString;
|
|
20
|
+
}, z.core.$strip>;
|
|
21
|
+
type WriterPositioningDefinition = z.infer<typeof WriterPositioningSchemaDefinition>;
|
|
22
|
+
export interface WriterPositioningSchemaInput extends z.input<typeof WriterPositioningSchemaDefinition> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* One positioning decision and supporting claims.
|
|
26
|
+
*
|
|
27
|
+
* @openapiSchema WriterPositioning
|
|
28
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
29
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
30
|
+
* @usedBySchema WriterBriefSchema
|
|
31
|
+
* @contractShape writer.positioning
|
|
32
|
+
* @contractRole canonical
|
|
33
|
+
*/
|
|
34
|
+
export declare const WriterPositioningSchema: z.ZodType<WriterPositioningDefinition, WriterPositioningSchemaInput>;
|
|
35
|
+
export type WriterPositioning = z.infer<typeof WriterPositioningSchema>;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=positioning.d.ts.map
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { WriterPositioningElementSchema } from "./positioning-element.js";
|
|
4
|
+
const WriterPositioningSchemaDefinition = z.object({
|
|
5
|
+
/** Supporting evidence claim numbers. */
|
|
6
|
+
claim: z.array(z.int()),
|
|
7
|
+
/** Positioning element decided by research. */
|
|
8
|
+
element: WriterPositioningElementSchema,
|
|
9
|
+
/** Position in plain words. */
|
|
10
|
+
statement: z.string(),
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* One positioning decision and supporting claims.
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema WriterPositioning
|
|
16
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
17
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
18
|
+
* @usedBySchema WriterBriefSchema
|
|
19
|
+
* @contractShape writer.positioning
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export const WriterPositioningSchema = WriterPositioningSchemaDefinition;
|
|
23
|
+
//# sourceMappingURL=positioning.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const WriterScopeSchemaDefinition: z.ZodObject<{
|
|
3
|
+
boundary: z.ZodString;
|
|
4
|
+
geography: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
|
+
period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type WriterScopeDefinition = z.infer<typeof WriterScopeSchemaDefinition>;
|
|
8
|
+
export interface WriterScopeSchemaInput extends z.input<typeof WriterScopeSchemaDefinition> {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Research boundary used by a writer brief.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema WriterScope
|
|
14
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
15
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
16
|
+
* @usedBySchema WriterMetaAnalysisSchema
|
|
17
|
+
* @contractShape writer.scope
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export declare const WriterScopeSchema: z.ZodType<WriterScopeDefinition, WriterScopeSchemaInput>;
|
|
21
|
+
export type WriterScope = z.infer<typeof WriterScopeSchema>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=scope.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
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 WriterScopeSchemaDefinition = z.object({
|
|
4
|
+
/** Market, company, or question boundary. */
|
|
5
|
+
boundary: z.string(),
|
|
6
|
+
/** Geography when the evidence is geographically bounded. */
|
|
7
|
+
geography: z.string().nullish(),
|
|
8
|
+
/** Research period when the evidence is time-bounded. */
|
|
9
|
+
period: z.string().nullish(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* Research boundary used by a writer brief.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema WriterScope
|
|
15
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
16
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
17
|
+
* @usedBySchema WriterMetaAnalysisSchema
|
|
18
|
+
* @contractShape writer.scope
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const WriterScopeSchema = WriterScopeSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=scope.js.map
|