@aventurevc/api-schemas 0.8.265 → 0.8.267
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/entity/analysis-draft.d.ts +37 -1
- package/dist/entity/analysis-draft.js +4 -1
- package/dist/entity/analysis-section-verification.d.ts +87 -0
- package/dist/entity/analysis-section-verification.js +38 -0
- package/dist/entity/analysis-verification-failure.d.ts +68 -0
- package/dist/entity/analysis-verification-failure.js +31 -0
- package/dist/entity/analysis-verification.d.ts +49 -0
- package/dist/entity/analysis-verification.js +18 -0
- package/dist/entity/detail.d.ts +20 -33
- package/dist/entity/fundraise-transaction.d.ts +14 -0
- package/dist/entity/fundraise-transaction.js +3 -0
- package/dist/entity/investor-participation.d.ts +20 -33
- package/dist/entity/list.d.ts +2 -0
- package/dist/entity/resolution.d.ts +20 -33
- package/dist/entity/similarity-result.d.ts +2 -0
- package/dist/federated/search.d.ts +30 -33
- package/dist/fundraise/investment-evidence.d.ts +2 -0
- package/dist/fundraise/round-field.d.ts +49 -0
- package/dist/fundraise/round-field.js +49 -0
- package/dist/http/openapi-metadata.d.ts +6 -0
- package/dist/http/openapi-metadata.js +9 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +4 -2
- package/dist/link/search.d.ts +12 -0
- package/dist/lookup/job-mention.d.ts +2 -0
- package/dist/lookup/job-mutation.d.ts +1 -0
- package/dist/lookup/job-mutation.js +2 -0
- package/dist/lookup/job.d.ts +4 -0
- package/dist/mention/lookup.d.ts +64 -0
- package/dist/mention/lookup.js +3 -0
- package/dist/natural/search-result.d.ts +8 -0
- package/dist/news/detail.d.ts +18 -33
- package/dist/news/match-status.d.ts +2 -0
- package/dist/news/match-status.js +2 -0
- package/dist/news/news.d.ts +39 -41
- package/dist/news/news.js +29 -27
- package/dist/news/published-event.d.ts +18 -33
- package/dist/news/resolved-entity-link.d.ts +2 -0
- package/dist/news/resolved-entity-link.js +2 -0
- package/dist/news/resolved-person-link.d.ts +2 -0
- package/dist/news/resolved-person-link.js +2 -0
- package/dist/news/title-mention.d.ts +2 -0
- package/dist/news/title-mention.js +2 -0
- package/dist/openapi-component-manifest.js +16 -0
- package/dist/pagination/schemas.d.ts +66 -99
- package/dist/person/graph-career-context.d.ts +18 -33
- package/dist/person/natural-search-result.d.ts +2 -0
- package/dist/prose/problem.d.ts +2 -0
- package/dist/prose/problem.js +2 -0
- package/dist/research/runs-param.d.ts +24 -0
- package/dist/research/runs-param.js +28 -0
- package/dist/search/investment.d.ts +2 -0
- package/dist/shared/search.d.ts +12 -0
- package/package.json +1 -1
|
@@ -51,13 +51,49 @@ declare const EntityAnalysisDraftSchemaDefinition: z.ZodObject<{
|
|
|
51
51
|
}[];
|
|
52
52
|
title: string;
|
|
53
53
|
}, import("./analysis-section.ts").EntityAnalysisSectionSchemaInput>>>;
|
|
54
|
+
verification: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
55
|
+
section: z.ZodArray<z.ZodType<{
|
|
56
|
+
failure: {
|
|
57
|
+
passage: string;
|
|
58
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
59
|
+
proseProblem?: string | null | undefined;
|
|
60
|
+
reason: string;
|
|
61
|
+
rule: string;
|
|
62
|
+
}[];
|
|
63
|
+
key: string;
|
|
64
|
+
outcome: "failed" | "passed";
|
|
65
|
+
passage?: string | null | undefined;
|
|
66
|
+
problem?: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource" | null | undefined;
|
|
67
|
+
prosePolicyVersion?: string | null | undefined;
|
|
68
|
+
proseProblem?: string | null | undefined;
|
|
69
|
+
rule?: string | null | undefined;
|
|
70
|
+
violation?: string | null | undefined;
|
|
71
|
+
}, import("./analysis-section-verification.ts").EntityAnalysisSectionVerificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
72
|
+
failure: {
|
|
73
|
+
passage: string;
|
|
74
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
75
|
+
proseProblem?: string | null | undefined;
|
|
76
|
+
reason: string;
|
|
77
|
+
rule: string;
|
|
78
|
+
}[];
|
|
79
|
+
key: string;
|
|
80
|
+
outcome: "failed" | "passed";
|
|
81
|
+
passage?: string | null | undefined;
|
|
82
|
+
problem?: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource" | null | undefined;
|
|
83
|
+
prosePolicyVersion?: string | null | undefined;
|
|
84
|
+
proseProblem?: string | null | undefined;
|
|
85
|
+
rule?: string | null | undefined;
|
|
86
|
+
violation?: string | null | undefined;
|
|
87
|
+
}, import("./analysis-section-verification.ts").EntityAnalysisSectionVerificationSchemaInput>>>;
|
|
88
|
+
version: z.ZodInt;
|
|
89
|
+
}, z.core.$strip>>>;
|
|
54
90
|
version: z.ZodInt;
|
|
55
91
|
}, z.core.$strip>;
|
|
56
92
|
type EntityAnalysisDraftDefinition = z.infer<typeof EntityAnalysisDraftSchemaDefinition>;
|
|
57
93
|
export interface EntityAnalysisDraftSchemaInput extends z.input<typeof EntityAnalysisDraftSchemaDefinition> {
|
|
58
94
|
}
|
|
59
95
|
/**
|
|
60
|
-
* Private
|
|
96
|
+
* Private analysis for one research run, with section acceptance outcomes.
|
|
61
97
|
*
|
|
62
98
|
* @openapiSchema EntityAnalysisDraft
|
|
63
99
|
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
@@ -1,6 +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
|
import { EntityAnalysisSectionSchema } from "./analysis-section.js";
|
|
4
|
+
import { EntityAnalysisVerificationSchema } from "./analysis-verification.js";
|
|
4
5
|
const EntityAnalysisDraftSchemaDefinition = z.object({
|
|
5
6
|
/** Entity researched by this run. */
|
|
6
7
|
entityId: z.uuid(),
|
|
@@ -8,11 +9,13 @@ const EntityAnalysisDraftSchemaDefinition = z.object({
|
|
|
8
9
|
runId: z.uuid(),
|
|
9
10
|
/** Current sections, each identified by its snippet type key. */
|
|
10
11
|
section: z.array(EntityAnalysisSectionSchema),
|
|
12
|
+
/** Acceptance and publication outcomes recorded for this draft version. */
|
|
13
|
+
verification: EntityAnalysisVerificationSchema.nullish(),
|
|
11
14
|
/** Latest analysis-section event sequence; zero before the first section. */
|
|
12
15
|
version: z.int().min(0),
|
|
13
16
|
});
|
|
14
17
|
/**
|
|
15
|
-
* Private
|
|
18
|
+
* Private analysis for one research run, with section acceptance outcomes.
|
|
16
19
|
*
|
|
17
20
|
* @openapiSchema EntityAnalysisDraft
|
|
18
21
|
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisSectionVerificationSchemaDefinition: z.ZodObject<{
|
|
3
|
+
failure: z.ZodArray<z.ZodType<{
|
|
4
|
+
passage: string;
|
|
5
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
6
|
+
proseProblem?: string | null | undefined;
|
|
7
|
+
reason: string;
|
|
8
|
+
rule: string;
|
|
9
|
+
}, import("./analysis-verification-failure.ts").EntityAnalysisVerificationFailureSchemaInput, z.core.$ZodTypeInternals<{
|
|
10
|
+
passage: string;
|
|
11
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
12
|
+
proseProblem?: string | null | undefined;
|
|
13
|
+
reason: string;
|
|
14
|
+
rule: string;
|
|
15
|
+
}, import("./analysis-verification-failure.ts").EntityAnalysisVerificationFailureSchemaInput>>>;
|
|
16
|
+
key: z.ZodString;
|
|
17
|
+
outcome: z.ZodEnum<{
|
|
18
|
+
failed: "failed";
|
|
19
|
+
passed: "passed";
|
|
20
|
+
}>;
|
|
21
|
+
passage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
problem: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23
|
+
citedLegalPage: "citedLegalPage";
|
|
24
|
+
invalidSection: "invalidSection";
|
|
25
|
+
missingCitation: "missingCitation";
|
|
26
|
+
notApplicable: "notApplicable";
|
|
27
|
+
prose: "prose";
|
|
28
|
+
quoteNotFound: "quoteNotFound";
|
|
29
|
+
restatement: "restatement";
|
|
30
|
+
unreadSource: "unreadSource";
|
|
31
|
+
}>>>;
|
|
32
|
+
prosePolicyVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
proseProblem: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
34
|
+
chained: "chained";
|
|
35
|
+
disclaimer: "disclaimer";
|
|
36
|
+
factList: "factList";
|
|
37
|
+
legalSource: "legalSource";
|
|
38
|
+
marketing: "marketing";
|
|
39
|
+
markup: "markup";
|
|
40
|
+
mojibake: "mojibake";
|
|
41
|
+
record: "record";
|
|
42
|
+
source: "source";
|
|
43
|
+
structured: "structured";
|
|
44
|
+
temporal: "temporal";
|
|
45
|
+
tense: "tense";
|
|
46
|
+
textContract: "textContract";
|
|
47
|
+
unsupported: "unsupported";
|
|
48
|
+
voice: "voice";
|
|
49
|
+
}>, z.ZodString]> & {
|
|
50
|
+
enum: {
|
|
51
|
+
chained: "chained";
|
|
52
|
+
disclaimer: "disclaimer";
|
|
53
|
+
factList: "factList";
|
|
54
|
+
legalSource: "legalSource";
|
|
55
|
+
marketing: "marketing";
|
|
56
|
+
markup: "markup";
|
|
57
|
+
mojibake: "mojibake";
|
|
58
|
+
record: "record";
|
|
59
|
+
source: "source";
|
|
60
|
+
structured: "structured";
|
|
61
|
+
temporal: "temporal";
|
|
62
|
+
tense: "tense";
|
|
63
|
+
textContract: "textContract";
|
|
64
|
+
unsupported: "unsupported";
|
|
65
|
+
voice: "voice";
|
|
66
|
+
};
|
|
67
|
+
}>>;
|
|
68
|
+
rule: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
violation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
type EntityAnalysisSectionVerificationDefinition = z.infer<typeof EntityAnalysisSectionVerificationSchemaDefinition>;
|
|
72
|
+
export interface EntityAnalysisSectionVerificationSchemaInput extends z.input<typeof EntityAnalysisSectionVerificationSchemaDefinition> {
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @openapiSchema EntityAnalysisSectionVerification
|
|
76
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
77
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
78
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
79
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
80
|
+
* @usedBySchema EntityAnalysisVerificationSchema
|
|
81
|
+
* @contractShape entity.analysis-section-verification
|
|
82
|
+
* @contractRole canonical
|
|
83
|
+
*/
|
|
84
|
+
export declare const EntityAnalysisSectionVerificationSchema: z.ZodType<EntityAnalysisSectionVerificationDefinition, EntityAnalysisSectionVerificationSchemaInput>;
|
|
85
|
+
export type EntityAnalysisSectionVerification = z.infer<typeof EntityAnalysisSectionVerificationSchema>;
|
|
86
|
+
export {};
|
|
87
|
+
//# sourceMappingURL=analysis-section-verification.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { EntityAnalysisVerificationFailureSchema } from "./analysis-verification-failure.js";
|
|
4
|
+
import { ProseProblemSchema } from "../prose/problem.js";
|
|
5
|
+
const EntityAnalysisSectionVerificationSchemaDefinition = z.object({
|
|
6
|
+
failure: z.array(EntityAnalysisVerificationFailureSchema),
|
|
7
|
+
key: z.string(),
|
|
8
|
+
outcome: z.enum(["passed", "failed"]),
|
|
9
|
+
passage: z.string().nullish(),
|
|
10
|
+
problem: z
|
|
11
|
+
.enum([
|
|
12
|
+
"invalidSection",
|
|
13
|
+
"notApplicable",
|
|
14
|
+
"missingCitation",
|
|
15
|
+
"unreadSource",
|
|
16
|
+
"quoteNotFound",
|
|
17
|
+
"citedLegalPage",
|
|
18
|
+
"restatement",
|
|
19
|
+
"prose",
|
|
20
|
+
])
|
|
21
|
+
.nullish(),
|
|
22
|
+
prosePolicyVersion: z.string().nullish(),
|
|
23
|
+
proseProblem: ProseProblemSchema.nullish(),
|
|
24
|
+
rule: z.string().nullish(),
|
|
25
|
+
violation: z.string().nullish(),
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* @openapiSchema EntityAnalysisSectionVerification
|
|
29
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
30
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
31
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
32
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
33
|
+
* @usedBySchema EntityAnalysisVerificationSchema
|
|
34
|
+
* @contractShape entity.analysis-section-verification
|
|
35
|
+
* @contractRole canonical
|
|
36
|
+
*/
|
|
37
|
+
export const EntityAnalysisSectionVerificationSchema = EntityAnalysisSectionVerificationSchemaDefinition;
|
|
38
|
+
//# sourceMappingURL=analysis-section-verification.js.map
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const EntityAnalysisVerificationFailureSchemaDefinition: z.ZodObject<{
|
|
3
|
+
passage: z.ZodString;
|
|
4
|
+
problem: z.ZodEnum<{
|
|
5
|
+
citedLegalPage: "citedLegalPage";
|
|
6
|
+
invalidSection: "invalidSection";
|
|
7
|
+
missingCitation: "missingCitation";
|
|
8
|
+
notApplicable: "notApplicable";
|
|
9
|
+
prose: "prose";
|
|
10
|
+
quoteNotFound: "quoteNotFound";
|
|
11
|
+
restatement: "restatement";
|
|
12
|
+
unreadSource: "unreadSource";
|
|
13
|
+
}>;
|
|
14
|
+
proseProblem: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
15
|
+
chained: "chained";
|
|
16
|
+
disclaimer: "disclaimer";
|
|
17
|
+
factList: "factList";
|
|
18
|
+
legalSource: "legalSource";
|
|
19
|
+
marketing: "marketing";
|
|
20
|
+
markup: "markup";
|
|
21
|
+
mojibake: "mojibake";
|
|
22
|
+
record: "record";
|
|
23
|
+
source: "source";
|
|
24
|
+
structured: "structured";
|
|
25
|
+
temporal: "temporal";
|
|
26
|
+
tense: "tense";
|
|
27
|
+
textContract: "textContract";
|
|
28
|
+
unsupported: "unsupported";
|
|
29
|
+
voice: "voice";
|
|
30
|
+
}>, z.ZodString]> & {
|
|
31
|
+
enum: {
|
|
32
|
+
chained: "chained";
|
|
33
|
+
disclaimer: "disclaimer";
|
|
34
|
+
factList: "factList";
|
|
35
|
+
legalSource: "legalSource";
|
|
36
|
+
marketing: "marketing";
|
|
37
|
+
markup: "markup";
|
|
38
|
+
mojibake: "mojibake";
|
|
39
|
+
record: "record";
|
|
40
|
+
source: "source";
|
|
41
|
+
structured: "structured";
|
|
42
|
+
temporal: "temporal";
|
|
43
|
+
tense: "tense";
|
|
44
|
+
textContract: "textContract";
|
|
45
|
+
unsupported: "unsupported";
|
|
46
|
+
voice: "voice";
|
|
47
|
+
};
|
|
48
|
+
}>>;
|
|
49
|
+
reason: z.ZodString;
|
|
50
|
+
rule: z.ZodString;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
type EntityAnalysisVerificationFailureDefinition = z.infer<typeof EntityAnalysisVerificationFailureSchemaDefinition>;
|
|
53
|
+
export interface EntityAnalysisVerificationFailureSchemaInput extends z.input<typeof EntityAnalysisVerificationFailureSchemaDefinition> {
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @openapiSchema EntityAnalysisVerificationFailure
|
|
57
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
58
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
59
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
60
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
61
|
+
* @usedBySchema EntityAnalysisSectionVerificationSchema
|
|
62
|
+
* @contractShape entity.analysis-verification-failure
|
|
63
|
+
* @contractRole canonical
|
|
64
|
+
*/
|
|
65
|
+
export declare const EntityAnalysisVerificationFailureSchema: z.ZodType<EntityAnalysisVerificationFailureDefinition, EntityAnalysisVerificationFailureSchemaInput>;
|
|
66
|
+
export type EntityAnalysisVerificationFailure = z.infer<typeof EntityAnalysisVerificationFailureSchema>;
|
|
67
|
+
export {};
|
|
68
|
+
//# sourceMappingURL=analysis-verification-failure.d.ts.map
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { ProseProblemSchema } from "../prose/problem.js";
|
|
4
|
+
const EntityAnalysisVerificationFailureSchemaDefinition = z.object({
|
|
5
|
+
passage: z.string(),
|
|
6
|
+
problem: z.enum([
|
|
7
|
+
"invalidSection",
|
|
8
|
+
"notApplicable",
|
|
9
|
+
"missingCitation",
|
|
10
|
+
"unreadSource",
|
|
11
|
+
"quoteNotFound",
|
|
12
|
+
"citedLegalPage",
|
|
13
|
+
"restatement",
|
|
14
|
+
"prose",
|
|
15
|
+
]),
|
|
16
|
+
proseProblem: ProseProblemSchema.nullish(),
|
|
17
|
+
reason: z.string(),
|
|
18
|
+
rule: z.string(),
|
|
19
|
+
});
|
|
20
|
+
/**
|
|
21
|
+
* @openapiSchema EntityAnalysisVerificationFailure
|
|
22
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
23
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
24
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
25
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
26
|
+
* @usedBySchema EntityAnalysisSectionVerificationSchema
|
|
27
|
+
* @contractShape entity.analysis-verification-failure
|
|
28
|
+
* @contractRole canonical
|
|
29
|
+
*/
|
|
30
|
+
export const EntityAnalysisVerificationFailureSchema = EntityAnalysisVerificationFailureSchemaDefinition;
|
|
31
|
+
//# sourceMappingURL=analysis-verification-failure.js.map
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* @openapiSchema EntityAnalysisVerification
|
|
4
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
5
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
6
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
7
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
8
|
+
* @usedBySchema EntityAnalysisDraftSchema
|
|
9
|
+
* @contractShape entity.analysis-verification
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const EntityAnalysisVerificationSchema: z.ZodObject<{
|
|
13
|
+
section: z.ZodArray<z.ZodType<{
|
|
14
|
+
failure: {
|
|
15
|
+
passage: string;
|
|
16
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
17
|
+
proseProblem?: string | null | undefined;
|
|
18
|
+
reason: string;
|
|
19
|
+
rule: string;
|
|
20
|
+
}[];
|
|
21
|
+
key: string;
|
|
22
|
+
outcome: "failed" | "passed";
|
|
23
|
+
passage?: string | null | undefined;
|
|
24
|
+
problem?: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource" | null | undefined;
|
|
25
|
+
prosePolicyVersion?: string | null | undefined;
|
|
26
|
+
proseProblem?: string | null | undefined;
|
|
27
|
+
rule?: string | null | undefined;
|
|
28
|
+
violation?: string | null | undefined;
|
|
29
|
+
}, import("./analysis-section-verification.ts").EntityAnalysisSectionVerificationSchemaInput, z.core.$ZodTypeInternals<{
|
|
30
|
+
failure: {
|
|
31
|
+
passage: string;
|
|
32
|
+
problem: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource";
|
|
33
|
+
proseProblem?: string | null | undefined;
|
|
34
|
+
reason: string;
|
|
35
|
+
rule: string;
|
|
36
|
+
}[];
|
|
37
|
+
key: string;
|
|
38
|
+
outcome: "failed" | "passed";
|
|
39
|
+
passage?: string | null | undefined;
|
|
40
|
+
problem?: "citedLegalPage" | "invalidSection" | "missingCitation" | "notApplicable" | "prose" | "quoteNotFound" | "restatement" | "unreadSource" | null | undefined;
|
|
41
|
+
prosePolicyVersion?: string | null | undefined;
|
|
42
|
+
proseProblem?: string | null | undefined;
|
|
43
|
+
rule?: string | null | undefined;
|
|
44
|
+
violation?: string | null | undefined;
|
|
45
|
+
}, import("./analysis-section-verification.ts").EntityAnalysisSectionVerificationSchemaInput>>>;
|
|
46
|
+
version: z.ZodInt;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
export type EntityAnalysisVerification = z.infer<typeof EntityAnalysisVerificationSchema>;
|
|
49
|
+
//# sourceMappingURL=analysis-verification.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
|
+
import { EntityAnalysisSectionVerificationSchema } from "./analysis-section-verification.js";
|
|
4
|
+
/**
|
|
5
|
+
* @openapiSchema EntityAnalysisVerification
|
|
6
|
+
* @endpoint GET /v1/research-runs/{runId}/draft
|
|
7
|
+
* @endpoint GET /v1/research/runs/{runId}/draft
|
|
8
|
+
* @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
|
|
9
|
+
* @endpoint PUT /v1/research/runs/{runId}/draft/sections/{sectionKey}
|
|
10
|
+
* @usedBySchema EntityAnalysisDraftSchema
|
|
11
|
+
* @contractShape entity.analysis-verification
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const EntityAnalysisVerificationSchema = z.object({
|
|
15
|
+
section: z.array(EntityAnalysisSectionVerificationSchema),
|
|
16
|
+
version: z.int(),
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=analysis-verification.js.map
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -712,6 +712,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
712
712
|
} | null | undefined;
|
|
713
713
|
transactionId: string;
|
|
714
714
|
}[];
|
|
715
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
715
716
|
updatedAt?: string | null | undefined;
|
|
716
717
|
valuationPostMoney?: number | null | undefined;
|
|
717
718
|
valuationPreMoney?: number | null | undefined;
|
|
@@ -833,24 +834,25 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
833
834
|
} | null | undefined;
|
|
834
835
|
transactionId: string;
|
|
835
836
|
}[];
|
|
837
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
836
838
|
updatedAt?: string | null | undefined;
|
|
837
839
|
valuationPostMoney?: number | null | undefined;
|
|
838
840
|
valuationPreMoney?: number | null | undefined;
|
|
839
841
|
}, import("./fundraise-transaction.ts").EntityFundraiseTransactionSchemaInput>>>;
|
|
840
|
-
newsArticle: z.ZodArray<z.
|
|
841
|
-
author
|
|
842
|
-
category
|
|
843
|
-
createdAt
|
|
844
|
-
excerpt
|
|
845
|
-
externalNewsArticle
|
|
846
|
-
id:
|
|
847
|
-
newsImageThumbnail
|
|
848
|
-
newsUrlOriginal
|
|
849
|
-
publication
|
|
850
|
-
publishedAt
|
|
851
|
-
slug
|
|
852
|
-
title:
|
|
853
|
-
titleMention
|
|
842
|
+
newsArticle: z.ZodArray<z.ZodObject<{
|
|
843
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
844
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
845
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
846
|
+
excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
847
|
+
externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
848
|
+
id: z.ZodInt;
|
|
849
|
+
newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
850
|
+
newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
851
|
+
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
852
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
853
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
854
|
+
title: z.ZodString;
|
|
855
|
+
titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
854
856
|
end: number;
|
|
855
857
|
entity?: {
|
|
856
858
|
createdAt: string;
|
|
@@ -873,22 +875,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
873
875
|
updatedAt: string;
|
|
874
876
|
} | null | undefined;
|
|
875
877
|
start: number;
|
|
876
|
-
}
|
|
877
|
-
updatedAt?: string | null | undefined;
|
|
878
|
-
}, import("../news/news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
|
|
879
|
-
author?: string | null | undefined;
|
|
880
|
-
category?: string | null | undefined;
|
|
881
|
-
createdAt?: string | null | undefined;
|
|
882
|
-
excerpt?: string | null | undefined;
|
|
883
|
-
externalNewsArticle?: boolean | null | undefined;
|
|
884
|
-
id: number;
|
|
885
|
-
newsImageThumbnail?: string | null | undefined;
|
|
886
|
-
newsUrlOriginal?: string | null | undefined;
|
|
887
|
-
publication?: string | null | undefined;
|
|
888
|
-
publishedAt?: string | null | undefined;
|
|
889
|
-
slug?: string | null | undefined;
|
|
890
|
-
title: string;
|
|
891
|
-
titleMention?: {
|
|
878
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
|
|
892
879
|
end: number;
|
|
893
880
|
entity?: {
|
|
894
881
|
createdAt: string;
|
|
@@ -911,9 +898,9 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
911
898
|
updatedAt: string;
|
|
912
899
|
} | null | undefined;
|
|
913
900
|
start: number;
|
|
914
|
-
}
|
|
915
|
-
updatedAt
|
|
916
|
-
},
|
|
901
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput>>>>;
|
|
902
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
903
|
+
}, z.core.$strip>>;
|
|
917
904
|
person: z.ZodArray<z.ZodType<{
|
|
918
905
|
articleCount?: number | null | undefined;
|
|
919
906
|
association: {
|
|
@@ -262,6 +262,20 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
262
262
|
}, z.core.$strip>>>;
|
|
263
263
|
transactionId: z.ZodUUID;
|
|
264
264
|
}, z.core.$strip>>;
|
|
265
|
+
unsupportedField: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
266
|
+
amountRaised: "amountRaised";
|
|
267
|
+
currency: "currency";
|
|
268
|
+
dateAnnounced: "dateAnnounced";
|
|
269
|
+
dateFundingComplete: "dateFundingComplete";
|
|
270
|
+
dateInvestorExit: "dateInvestorExit";
|
|
271
|
+
financialInstrumentType: "financialInstrumentType";
|
|
272
|
+
investorCount: "investorCount";
|
|
273
|
+
round: "round";
|
|
274
|
+
roundType: "roundType";
|
|
275
|
+
status: "status";
|
|
276
|
+
valuationPostMoney: "valuationPostMoney";
|
|
277
|
+
valuationPreMoney: "valuationPreMoney";
|
|
278
|
+
}>>>;
|
|
265
279
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
266
280
|
valuationPostMoney: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
267
281
|
valuationPreMoney: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -6,6 +6,7 @@ import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
|
|
|
6
6
|
import { FundraiseDataConfidenceSchema } from "../fundraise/data-confidence.js";
|
|
7
7
|
import { FundraiseFinancialInstrumentTypeSchema } from "../fundraise/financial-instrument-type.js";
|
|
8
8
|
import { FundraiseInvestmentAttributionSchema } from "../fundraise/investment-attribution.js";
|
|
9
|
+
import { FundraiseRoundFieldSchema } from "../fundraise/round-field.js";
|
|
9
10
|
const EntityFundraiseTransactionSchemaDefinition = z.object({
|
|
10
11
|
amountRaised: z.number().int().nullish(),
|
|
11
12
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
@@ -40,6 +41,8 @@ const EntityFundraiseTransactionSchemaDefinition = z.object({
|
|
|
40
41
|
/** Source-reported classification persisted for this round (e.g. Public for a SPAC Merger); it is not derived from the round label. */
|
|
41
42
|
roundType: z.string().nullish(),
|
|
42
43
|
sourceAttribution: z.array(FundraiseInvestmentAttributionSchema),
|
|
44
|
+
/** Proposed fields not admitted from the cited source, including dependent fields withheld to keep retained values consistent. Stored values for these fields are unchanged; do not resend the whole round. */
|
|
45
|
+
unsupportedField: z.array(FundraiseRoundFieldSchema).optional(),
|
|
43
46
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
44
47
|
valuationPostMoney: z.number().int().nullish(),
|
|
45
48
|
valuationPreMoney: z.number().int().nullish(),
|
|
@@ -690,6 +690,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
690
690
|
} | null | undefined;
|
|
691
691
|
transactionId: string;
|
|
692
692
|
}[];
|
|
693
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
693
694
|
updatedAt?: string | null | undefined;
|
|
694
695
|
valuationPostMoney?: number | null | undefined;
|
|
695
696
|
valuationPreMoney?: number | null | undefined;
|
|
@@ -811,24 +812,25 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
811
812
|
} | null | undefined;
|
|
812
813
|
transactionId: string;
|
|
813
814
|
}[];
|
|
815
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
814
816
|
updatedAt?: string | null | undefined;
|
|
815
817
|
valuationPostMoney?: number | null | undefined;
|
|
816
818
|
valuationPreMoney?: number | null | undefined;
|
|
817
819
|
}, import("./fundraise-transaction.ts").EntityFundraiseTransactionSchemaInput>>>;
|
|
818
|
-
newsArticle: z.ZodArray<z.
|
|
819
|
-
author
|
|
820
|
-
category
|
|
821
|
-
createdAt
|
|
822
|
-
excerpt
|
|
823
|
-
externalNewsArticle
|
|
824
|
-
id:
|
|
825
|
-
newsImageThumbnail
|
|
826
|
-
newsUrlOriginal
|
|
827
|
-
publication
|
|
828
|
-
publishedAt
|
|
829
|
-
slug
|
|
830
|
-
title:
|
|
831
|
-
titleMention
|
|
820
|
+
newsArticle: z.ZodArray<z.ZodObject<{
|
|
821
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
822
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
823
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
824
|
+
excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
825
|
+
externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
826
|
+
id: z.ZodInt;
|
|
827
|
+
newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
828
|
+
newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
829
|
+
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
830
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
831
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
832
|
+
title: z.ZodString;
|
|
833
|
+
titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
832
834
|
end: number;
|
|
833
835
|
entity?: {
|
|
834
836
|
createdAt: string;
|
|
@@ -851,22 +853,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
851
853
|
updatedAt: string;
|
|
852
854
|
} | null | undefined;
|
|
853
855
|
start: number;
|
|
854
|
-
}
|
|
855
|
-
updatedAt?: string | null | undefined;
|
|
856
|
-
}, import("../news/news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
|
|
857
|
-
author?: string | null | undefined;
|
|
858
|
-
category?: string | null | undefined;
|
|
859
|
-
createdAt?: string | null | undefined;
|
|
860
|
-
excerpt?: string | null | undefined;
|
|
861
|
-
externalNewsArticle?: boolean | null | undefined;
|
|
862
|
-
id: number;
|
|
863
|
-
newsImageThumbnail?: string | null | undefined;
|
|
864
|
-
newsUrlOriginal?: string | null | undefined;
|
|
865
|
-
publication?: string | null | undefined;
|
|
866
|
-
publishedAt?: string | null | undefined;
|
|
867
|
-
slug?: string | null | undefined;
|
|
868
|
-
title: string;
|
|
869
|
-
titleMention?: {
|
|
856
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
|
|
870
857
|
end: number;
|
|
871
858
|
entity?: {
|
|
872
859
|
createdAt: string;
|
|
@@ -889,9 +876,9 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
889
876
|
updatedAt: string;
|
|
890
877
|
} | null | undefined;
|
|
891
878
|
start: number;
|
|
892
|
-
}
|
|
893
|
-
updatedAt
|
|
894
|
-
},
|
|
879
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput>>>>;
|
|
880
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
881
|
+
}, z.core.$strip>>;
|
|
895
882
|
person: z.ZodArray<z.ZodType<{
|
|
896
883
|
articleCount?: number | null | undefined;
|
|
897
884
|
association: {
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -688,6 +688,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
688
688
|
} | null | undefined;
|
|
689
689
|
transactionId: string;
|
|
690
690
|
}[];
|
|
691
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
691
692
|
updatedAt?: string | null | undefined;
|
|
692
693
|
valuationPostMoney?: number | null | undefined;
|
|
693
694
|
valuationPreMoney?: number | null | undefined;
|
|
@@ -809,6 +810,7 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
809
810
|
} | null | undefined;
|
|
810
811
|
transactionId: string;
|
|
811
812
|
}[];
|
|
813
|
+
unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
|
|
812
814
|
updatedAt?: string | null | undefined;
|
|
813
815
|
valuationPostMoney?: number | null | undefined;
|
|
814
816
|
valuationPreMoney?: number | null | undefined;
|