@aventurevc/api-schemas 0.8.292 → 0.8.294
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/classification/catalog-category.d.ts +4 -0
- package/dist/classification/catalog.d.ts +4 -0
- package/dist/directory/export-mutation.d.ts +99 -6
- package/dist/employee/count-match-mode.d.ts +39 -0
- package/dist/employee/count-match-mode.js +30 -0
- package/dist/employee/count-range.d.ts +49 -0
- package/dist/employee/count-range.js +39 -0
- package/dist/employee/count.d.ts +6 -0
- package/dist/entity/brand.d.ts +4 -0
- package/dist/entity/classification-suggestion.d.ts +4 -0
- package/dist/entity/classification.d.ts +4 -0
- package/dist/entity/detail.d.ts +148 -0
- package/dist/entity/enrichment.d.ts +26 -0
- package/dist/entity/filter-entry.d.ts +28 -0
- package/dist/entity/filter-meta.d.ts +28 -0
- package/dist/entity/filter-meta.js +6 -0
- package/dist/entity/filter-option-set.d.ts +24 -0
- package/dist/entity/filter-refined-filters.d.ts +12 -0
- package/dist/entity/filter-request-binding.d.ts +31 -0
- package/dist/entity/filter-request-binding.js +23 -0
- package/dist/entity/filter-request-value-shape.d.ts +27 -0
- package/dist/entity/filter-request-value-shape.js +21 -0
- package/dist/entity/filter-search.d.ts +33 -2
- package/dist/entity/filter.d.ts +33 -2
- package/dist/entity/filter.js +16 -7
- package/dist/entity/funding-detail.d.ts +22 -0
- package/dist/entity/funding-detail.js +15 -1
- package/dist/entity/fundraise-investor-activity.js +1 -1
- package/dist/entity/fundraise-investor-join.js +1 -1
- package/dist/entity/fundraise-transaction-entity.d.ts +22 -0
- package/dist/entity/fundraise-transaction.d.ts +22 -0
- package/dist/entity/investor-participation.d.ts +148 -0
- package/dist/entity/list-filter.d.ts +33 -2
- package/dist/entity/list-filter.js +16 -7
- package/dist/entity/list-research.d.ts +6 -0
- package/dist/entity/list.d.ts +70 -0
- package/dist/entity/natural-search.d.ts +33 -2
- package/dist/entity/person-association-filter.d.ts +33 -2
- package/dist/entity/research-detail.d.ts +3 -0
- package/dist/entity/research-detail.js +6 -0
- package/dist/entity/research-fact-value.d.ts +3 -0
- package/dist/entity/research-fact-value.js +6 -0
- package/dist/entity/research.d.ts +6 -0
- package/dist/entity/resolution.d.ts +148 -0
- package/dist/entity/similarity-result.d.ts +70 -0
- package/dist/entity/similarity-summary.d.ts +22 -0
- package/dist/entity/type.d.ts +2 -0
- package/dist/entity/type.js +2 -0
- package/dist/entity/valuation-source.d.ts +32 -0
- package/dist/entity/valuation-source.js +32 -0
- package/dist/entity/valuation-time-series-point.d.ts +3 -0
- package/dist/entity/valuation-time-series-point.js +6 -0
- package/dist/entity/valuation.d.ts +59 -0
- package/dist/entity/valuation.js +66 -0
- package/dist/federated/natural-search.d.ts +33 -2
- package/dist/federated/search.d.ts +654 -0
- package/dist/fundraise/investment-attribution.js +1 -1
- package/dist/fundraise/investment-evidence.d.ts +30 -0
- package/dist/harness/run-create.d.ts +131 -0
- package/dist/harness/run-create.js +3 -0
- package/dist/harness/task-fact.d.ts +18 -0
- package/dist/harness/task-fact.js +21 -0
- package/dist/harness/task-input-binding.d.ts +124 -0
- package/dist/harness/task-input-binding.js +30 -0
- package/dist/identification/subject.d.ts +32 -0
- package/dist/link/search.d.ts +654 -0
- package/dist/lookup/job-mention.d.ts +70 -0
- package/dist/lookup/job-mutation.d.ts +32 -0
- package/dist/lookup/job.d.ts +94 -0
- package/dist/mention/lookup.d.ts +70 -0
- package/dist/natural/search-result.d.ts +342 -0
- package/dist/openapi-component-manifest.js +34 -0
- package/dist/pagination/schemas.d.ts +732 -0
- package/dist/person/detail.d.ts +66 -0
- package/dist/person/filter.d.ts +66 -4
- package/dist/person/graph-career-context.d.ts +58 -0
- package/dist/person/graph-similar-entity.d.ts +22 -0
- package/dist/person/graph.d.ts +66 -0
- package/dist/person/investor-participation.d.ts +66 -0
- package/dist/person/natural-search-result.d.ts +98 -0
- package/dist/person/natural-search.d.ts +66 -4
- package/dist/person/search-interpretation.d.ts +66 -4
- package/dist/person/similar-param.d.ts +1 -0
- package/dist/person/similar-param.js +2 -0
- package/dist/registry/filing.d.ts +16 -0
- package/dist/research/detail-range.d.ts +42 -0
- package/dist/research/detail-range.js +50 -0
- package/dist/research/detail-type.d.ts +11 -0
- package/dist/research/detail-type.js +3 -0
- package/dist/search/interpretation.d.ts +99 -6
- package/dist/search/investment.d.ts +30 -0
- package/dist/shared/directory-mutation.d.ts +99 -6
- package/dist/shared/directory.d.ts +99 -6
- package/dist/shared/search.d.ts +654 -0
- package/dist/standardized/classification-filter.d.ts +41 -0
- package/dist/standardized/classification-filter.js +42 -0
- package/dist/standardized/classification.d.ts +2 -0
- package/dist/standardized/classification.js +5 -1
- package/dist/unique/id-listing-standing.d.ts +49 -0
- package/dist/unique/id-listing-standing.js +40 -0
- package/dist/unique/id-mutation.d.ts +17 -1
- package/dist/unique/id-mutation.js +23 -1
- package/dist/unique/id.d.ts +16 -0
- package/dist/unique/id.js +22 -0
- package/dist/valuation/type.d.ts +32 -0
- package/dist/valuation/type.js +32 -0
- package/dist/writer/analysis-section.d.ts +2 -0
- package/dist/writer/analysis-section.js +2 -0
- package/dist/writer/brief.d.ts +3 -0
- package/dist/writer/brief.js +3 -0
- package/dist/writer/change-signal.d.ts +2 -0
- package/dist/writer/change-signal.js +2 -0
- package/dist/writer/gap-reason.d.ts +2 -0
- package/dist/writer/gap-reason.js +2 -0
- package/dist/writer/gap.d.ts +2 -0
- package/dist/writer/gap.js +2 -0
- package/dist/writer/judgment.d.ts +2 -0
- package/dist/writer/judgment.js +2 -0
- package/dist/writer/meta-analysis.d.ts +2 -0
- package/dist/writer/meta-analysis.js +2 -0
- package/dist/writer/paragraph-analysis.d.ts +2 -0
- package/dist/writer/paragraph-analysis.js +2 -0
- package/dist/writer/paragraph.d.ts +2 -0
- package/dist/writer/paragraph.js +2 -0
- package/dist/writer/positioning-element.d.ts +2 -0
- package/dist/writer/positioning-element.js +2 -0
- package/dist/writer/positioning.d.ts +2 -0
- package/dist/writer/positioning.js +2 -0
- package/dist/writer/scope.d.ts +2 -0
- package/dist/writer/scope.js +2 -0
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ export const FundraiseInvestmentAttributionSchema = z.object({
|
|
|
54
54
|
fundManagerRelationshipId: z.int().nullish(),
|
|
55
55
|
/** Fundraise investor join identifier; for a summed investment, one of the joins it sums */
|
|
56
56
|
joinId: z.uuid(),
|
|
57
|
-
/**
|
|
57
|
+
/** Recorded lead flag. Historical false values may mean non-lead or unrecorded leadership evidence; false alone is not confirmation of a non-lead role. */
|
|
58
58
|
leadInvestor: z.boolean(),
|
|
59
59
|
/** Entity recorded directly on the fundraise investor join. */
|
|
60
60
|
recordedEntityId: z.uuid().nullish(),
|
|
@@ -63,6 +63,18 @@ declare const FundraiseInvestmentEvidenceSchemaDefinition: z.ZodObject<{
|
|
|
63
63
|
fundingDetail?: {
|
|
64
64
|
applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
|
|
65
65
|
currency?: string | null | undefined;
|
|
66
|
+
currentValuation?: {
|
|
67
|
+
amount: string;
|
|
68
|
+
asOfDate?: string | null | undefined;
|
|
69
|
+
basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
|
|
70
|
+
currency?: string | null | undefined;
|
|
71
|
+
postMoneyUsd?: string | null | undefined;
|
|
72
|
+
referenceValue?: string | null | undefined;
|
|
73
|
+
source: "fundraiseRound" | "researchDetail";
|
|
74
|
+
sourceRef: string;
|
|
75
|
+
} | null | undefined;
|
|
76
|
+
disclosedStage?: string | null | undefined;
|
|
77
|
+
disclosedStageTransactionId?: string | null | undefined;
|
|
66
78
|
fundingRoundCount: number;
|
|
67
79
|
investorCount: number;
|
|
68
80
|
latestValuation?: number | null | undefined;
|
|
@@ -70,7 +82,10 @@ declare const FundraiseInvestmentEvidenceSchemaDefinition: z.ZodObject<{
|
|
|
70
82
|
mostRecentDate?: string | null | undefined;
|
|
71
83
|
stage?: string | null | undefined;
|
|
72
84
|
totalRaised: number;
|
|
85
|
+
totalRaisedAmountRoundCount?: number | null | undefined;
|
|
86
|
+
totalRaisedRoundCount?: number | null | undefined;
|
|
73
87
|
totalRaisedUsd?: number | null | undefined;
|
|
88
|
+
totalRaisedUsdRoundCount?: number | null | undefined;
|
|
74
89
|
unconvertedRoundCount: number;
|
|
75
90
|
} | null | undefined;
|
|
76
91
|
} | null | undefined;
|
|
@@ -186,6 +201,18 @@ declare const FundraiseInvestmentEvidenceSchemaDefinition: z.ZodObject<{
|
|
|
186
201
|
fundingDetail?: {
|
|
187
202
|
applicability?: "NOT_APPLICABLE" | "RECORDED" | "UNKNOWN" | null | undefined;
|
|
188
203
|
currency?: string | null | undefined;
|
|
204
|
+
currentValuation?: {
|
|
205
|
+
amount: string;
|
|
206
|
+
asOfDate?: string | null | undefined;
|
|
207
|
+
basis?: "postMoney" | "preMoney" | "reported" | null | undefined;
|
|
208
|
+
currency?: string | null | undefined;
|
|
209
|
+
postMoneyUsd?: string | null | undefined;
|
|
210
|
+
referenceValue?: string | null | undefined;
|
|
211
|
+
source: "fundraiseRound" | "researchDetail";
|
|
212
|
+
sourceRef: string;
|
|
213
|
+
} | null | undefined;
|
|
214
|
+
disclosedStage?: string | null | undefined;
|
|
215
|
+
disclosedStageTransactionId?: string | null | undefined;
|
|
189
216
|
fundingRoundCount: number;
|
|
190
217
|
investorCount: number;
|
|
191
218
|
latestValuation?: number | null | undefined;
|
|
@@ -193,7 +220,10 @@ declare const FundraiseInvestmentEvidenceSchemaDefinition: z.ZodObject<{
|
|
|
193
220
|
mostRecentDate?: string | null | undefined;
|
|
194
221
|
stage?: string | null | undefined;
|
|
195
222
|
totalRaised: number;
|
|
223
|
+
totalRaisedAmountRoundCount?: number | null | undefined;
|
|
224
|
+
totalRaisedRoundCount?: number | null | undefined;
|
|
196
225
|
totalRaisedUsd?: number | null | undefined;
|
|
226
|
+
totalRaisedUsdRoundCount?: number | null | undefined;
|
|
197
227
|
unconvertedRoundCount: number;
|
|
198
228
|
} | null | undefined;
|
|
199
229
|
} | null | undefined;
|
|
@@ -25,6 +25,137 @@ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
|
|
|
25
25
|
}>>;
|
|
26
26
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
taskInput: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
29
|
+
entityId?: string | null | undefined;
|
|
30
|
+
fact?: {
|
|
31
|
+
eventDate?: string | null | undefined;
|
|
32
|
+
sourceUrl: string;
|
|
33
|
+
statement: string;
|
|
34
|
+
} | null | undefined;
|
|
35
|
+
key?: string | null | undefined;
|
|
36
|
+
newsId?: number | null | undefined;
|
|
37
|
+
text?: string | null | undefined;
|
|
38
|
+
writerBrief?: {
|
|
39
|
+
claim: {
|
|
40
|
+
end?: number | null | undefined;
|
|
41
|
+
gateId?: string | null | undefined;
|
|
42
|
+
quote?: string | undefined;
|
|
43
|
+
sourceDocumentId?: string | null | undefined;
|
|
44
|
+
sourceUrl: string;
|
|
45
|
+
start?: number | null | undefined;
|
|
46
|
+
statement?: string | undefined;
|
|
47
|
+
writerSurface?: string | null | undefined;
|
|
48
|
+
}[];
|
|
49
|
+
metaAnalysis?: {
|
|
50
|
+
answer: {
|
|
51
|
+
claim: number[];
|
|
52
|
+
statement: string;
|
|
53
|
+
};
|
|
54
|
+
asOfDate: string;
|
|
55
|
+
changeSignal: {
|
|
56
|
+
claim: number[];
|
|
57
|
+
statement: string;
|
|
58
|
+
}[];
|
|
59
|
+
gap: {
|
|
60
|
+
claim: number[];
|
|
61
|
+
reason: string;
|
|
62
|
+
statement: string;
|
|
63
|
+
}[];
|
|
64
|
+
question: string;
|
|
65
|
+
scope: {
|
|
66
|
+
boundary: string;
|
|
67
|
+
geography?: string | null | undefined;
|
|
68
|
+
period?: string | null | undefined;
|
|
69
|
+
};
|
|
70
|
+
section: {
|
|
71
|
+
judgment: {
|
|
72
|
+
claim: number[];
|
|
73
|
+
statement: string;
|
|
74
|
+
};
|
|
75
|
+
label: string;
|
|
76
|
+
}[];
|
|
77
|
+
} | undefined;
|
|
78
|
+
outputClaim?: number[] | undefined;
|
|
79
|
+
paragraph: {
|
|
80
|
+
analysis?: {
|
|
81
|
+
answer: boolean;
|
|
82
|
+
section: string[];
|
|
83
|
+
} | undefined;
|
|
84
|
+
claim: number[];
|
|
85
|
+
positioning?: string[] | undefined;
|
|
86
|
+
}[];
|
|
87
|
+
positioning: {
|
|
88
|
+
claim: number[];
|
|
89
|
+
element: string;
|
|
90
|
+
statement: string;
|
|
91
|
+
}[];
|
|
92
|
+
} | null | undefined;
|
|
93
|
+
}, import("./task-input-binding.ts").HarnessTaskInputBindingSchemaInput, z.core.$ZodTypeInternals<{
|
|
94
|
+
entityId?: string | null | undefined;
|
|
95
|
+
fact?: {
|
|
96
|
+
eventDate?: string | null | undefined;
|
|
97
|
+
sourceUrl: string;
|
|
98
|
+
statement: string;
|
|
99
|
+
} | null | undefined;
|
|
100
|
+
key?: string | null | undefined;
|
|
101
|
+
newsId?: number | null | undefined;
|
|
102
|
+
text?: string | null | undefined;
|
|
103
|
+
writerBrief?: {
|
|
104
|
+
claim: {
|
|
105
|
+
end?: number | null | undefined;
|
|
106
|
+
gateId?: string | null | undefined;
|
|
107
|
+
quote?: string | undefined;
|
|
108
|
+
sourceDocumentId?: string | null | undefined;
|
|
109
|
+
sourceUrl: string;
|
|
110
|
+
start?: number | null | undefined;
|
|
111
|
+
statement?: string | undefined;
|
|
112
|
+
writerSurface?: string | null | undefined;
|
|
113
|
+
}[];
|
|
114
|
+
metaAnalysis?: {
|
|
115
|
+
answer: {
|
|
116
|
+
claim: number[];
|
|
117
|
+
statement: string;
|
|
118
|
+
};
|
|
119
|
+
asOfDate: string;
|
|
120
|
+
changeSignal: {
|
|
121
|
+
claim: number[];
|
|
122
|
+
statement: string;
|
|
123
|
+
}[];
|
|
124
|
+
gap: {
|
|
125
|
+
claim: number[];
|
|
126
|
+
reason: string;
|
|
127
|
+
statement: string;
|
|
128
|
+
}[];
|
|
129
|
+
question: string;
|
|
130
|
+
scope: {
|
|
131
|
+
boundary: string;
|
|
132
|
+
geography?: string | null | undefined;
|
|
133
|
+
period?: string | null | undefined;
|
|
134
|
+
};
|
|
135
|
+
section: {
|
|
136
|
+
judgment: {
|
|
137
|
+
claim: number[];
|
|
138
|
+
statement: string;
|
|
139
|
+
};
|
|
140
|
+
label: string;
|
|
141
|
+
}[];
|
|
142
|
+
} | undefined;
|
|
143
|
+
outputClaim?: number[] | undefined;
|
|
144
|
+
paragraph: {
|
|
145
|
+
analysis?: {
|
|
146
|
+
answer: boolean;
|
|
147
|
+
section: string[];
|
|
148
|
+
} | undefined;
|
|
149
|
+
claim: number[];
|
|
150
|
+
positioning?: string[] | undefined;
|
|
151
|
+
}[];
|
|
152
|
+
positioning: {
|
|
153
|
+
claim: number[];
|
|
154
|
+
element: string;
|
|
155
|
+
statement: string;
|
|
156
|
+
}[];
|
|
157
|
+
} | null | undefined;
|
|
158
|
+
}, import("./task-input-binding.ts").HarnessTaskInputBindingSchemaInput>>>>;
|
|
28
159
|
taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
29
160
|
url: z.ZodString;
|
|
30
161
|
userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -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 { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
|
+
import { HarnessTaskInputBindingSchema } from "./task-input-binding.js";
|
|
4
5
|
import { ResearchFindingSchema } from "../research/finding.js";
|
|
5
6
|
const HarnessRunCreateSchemaDefinition = z.object({
|
|
6
7
|
/** Facts you already read verbatim on an external source page for an entity, each citing the page and exact text that support it. Omit taskPresetKey to default to apply-cited-findings, or send a preset from GET /v1/research/runs/presets; the run checks each quote against its page and writes only the facts it confirms. When the detail comes from an indexed news article or a page not read verbatim, send userPrompt instead. */
|
|
@@ -11,6 +12,8 @@ const HarnessRunCreateSchemaDefinition = z.object({
|
|
|
11
12
|
model: z.string().nullish(),
|
|
12
13
|
/** Name of the subject at url, such as Clarity Health; the run verifies it and uses it to pick the right subject when the site names several */
|
|
13
14
|
name: z.string().max(200).nullish(),
|
|
15
|
+
/** Requester values keyed by the selected task's input definitions. ENTITY binds from url and a supplied entityId must match it. TEXT requires explicit text; a missing required or ambiguous supplied value is rejected before enqueue; omitted optional inputs stay unbound. Never infer values from userPrompt. */
|
|
16
|
+
taskInput: z.array(HarnessTaskInputBindingSchema).optional(),
|
|
14
17
|
/** Research presets that focus the run, listed by GET /v1/research/runs/presets; omit them for a full run */
|
|
15
18
|
taskPresetKey: z.array(z.string()).nullish(),
|
|
16
19
|
/** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* One source-bound fact the requester asks the task run to research.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema HarnessTaskFact
|
|
6
|
+
* @endpoint POST /v1/research-runs
|
|
7
|
+
* @endpoint POST /v1/research/runs
|
|
8
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
9
|
+
* @contractShape harness.task-fact
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const HarnessTaskFactSchema: z.ZodObject<{
|
|
13
|
+
eventDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
14
|
+
sourceUrl: z.ZodString;
|
|
15
|
+
statement: z.ZodString;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type HarnessTaskFact = z.infer<typeof HarnessTaskFactSchema>;
|
|
18
|
+
//# sourceMappingURL=task-fact.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
|
+
/**
|
|
4
|
+
* One source-bound fact the requester asks the task run to research.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema HarnessTaskFact
|
|
7
|
+
* @endpoint POST /v1/research-runs
|
|
8
|
+
* @endpoint POST /v1/research/runs
|
|
9
|
+
* @usedBySchema HarnessTaskInputBindingSchema
|
|
10
|
+
* @contractShape harness.task-fact
|
|
11
|
+
* @contractRole canonical
|
|
12
|
+
*/
|
|
13
|
+
export const HarnessTaskFactSchema = z.object({
|
|
14
|
+
/** Date of the event, when known. */
|
|
15
|
+
eventDate: z.iso.date().nullish(),
|
|
16
|
+
/** Absolute http or https URL of the page supporting the fact. */
|
|
17
|
+
sourceUrl: z.string(),
|
|
18
|
+
/** The single fact to research; non-blank and bounded by the task-input text limit. */
|
|
19
|
+
statement: z.string(),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=task-fact.js.map
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const HarnessTaskInputBindingSchemaDefinition: z.ZodObject<{
|
|
3
|
+
entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
4
|
+
fact: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
+
eventDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
6
|
+
sourceUrl: z.ZodString;
|
|
7
|
+
statement: z.ZodString;
|
|
8
|
+
}, z.core.$strip>>>;
|
|
9
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
newsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11
|
+
text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
writerBrief: z.ZodOptional<z.ZodNullable<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.ZodOptional<z.ZodObject<{
|
|
33
|
+
answer: z.ZodType<{
|
|
34
|
+
claim: number[];
|
|
35
|
+
statement: string;
|
|
36
|
+
}, import("../writer/judgment.ts").WriterJudgmentSchemaInput, z.core.$ZodTypeInternals<{
|
|
37
|
+
claim: number[];
|
|
38
|
+
statement: string;
|
|
39
|
+
}, import("../writer/judgment.ts").WriterJudgmentSchemaInput>>;
|
|
40
|
+
asOfDate: z.ZodISODate;
|
|
41
|
+
changeSignal: z.ZodArray<z.ZodType<{
|
|
42
|
+
claim: number[];
|
|
43
|
+
statement: string;
|
|
44
|
+
}, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput, z.core.$ZodTypeInternals<{
|
|
45
|
+
claim: number[];
|
|
46
|
+
statement: string;
|
|
47
|
+
}, import("../writer/change-signal.ts").WriterChangeSignalSchemaInput>>>;
|
|
48
|
+
gap: z.ZodArray<z.ZodType<{
|
|
49
|
+
claim: number[];
|
|
50
|
+
reason: string;
|
|
51
|
+
statement: string;
|
|
52
|
+
}, import("../writer/gap.ts").WriterGapSchemaInput, z.core.$ZodTypeInternals<{
|
|
53
|
+
claim: number[];
|
|
54
|
+
reason: string;
|
|
55
|
+
statement: string;
|
|
56
|
+
}, import("../writer/gap.ts").WriterGapSchemaInput>>>;
|
|
57
|
+
question: z.ZodString;
|
|
58
|
+
scope: z.ZodType<{
|
|
59
|
+
boundary: string;
|
|
60
|
+
geography?: string | null | undefined;
|
|
61
|
+
period?: string | null | undefined;
|
|
62
|
+
}, import("../writer/scope.ts").WriterScopeSchemaInput, z.core.$ZodTypeInternals<{
|
|
63
|
+
boundary: string;
|
|
64
|
+
geography?: string | null | undefined;
|
|
65
|
+
period?: string | null | undefined;
|
|
66
|
+
}, import("../writer/scope.ts").WriterScopeSchemaInput>>;
|
|
67
|
+
section: z.ZodArray<z.ZodType<{
|
|
68
|
+
judgment: {
|
|
69
|
+
claim: number[];
|
|
70
|
+
statement: string;
|
|
71
|
+
};
|
|
72
|
+
label: string;
|
|
73
|
+
}, import("../writer/analysis-section.ts").WriterAnalysisSectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
74
|
+
judgment: {
|
|
75
|
+
claim: number[];
|
|
76
|
+
statement: string;
|
|
77
|
+
};
|
|
78
|
+
label: string;
|
|
79
|
+
}, import("../writer/analysis-section.ts").WriterAnalysisSectionSchemaInput>>>;
|
|
80
|
+
}, z.core.$strip>>;
|
|
81
|
+
outputClaim: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
82
|
+
paragraph: z.ZodArray<z.ZodType<{
|
|
83
|
+
analysis?: {
|
|
84
|
+
answer: boolean;
|
|
85
|
+
section: string[];
|
|
86
|
+
} | undefined;
|
|
87
|
+
claim: number[];
|
|
88
|
+
positioning?: string[] | undefined;
|
|
89
|
+
}, import("../writer/paragraph.ts").WriterParagraphSchemaInput, z.core.$ZodTypeInternals<{
|
|
90
|
+
analysis?: {
|
|
91
|
+
answer: boolean;
|
|
92
|
+
section: string[];
|
|
93
|
+
} | undefined;
|
|
94
|
+
claim: number[];
|
|
95
|
+
positioning?: string[] | undefined;
|
|
96
|
+
}, import("../writer/paragraph.ts").WriterParagraphSchemaInput>>>;
|
|
97
|
+
positioning: z.ZodArray<z.ZodType<{
|
|
98
|
+
claim: number[];
|
|
99
|
+
element: string;
|
|
100
|
+
statement: string;
|
|
101
|
+
}, import("../writer/positioning.ts").WriterPositioningSchemaInput, z.core.$ZodTypeInternals<{
|
|
102
|
+
claim: number[];
|
|
103
|
+
element: string;
|
|
104
|
+
statement: string;
|
|
105
|
+
}, import("../writer/positioning.ts").WriterPositioningSchemaInput>>>;
|
|
106
|
+
}, z.core.$strip>>>;
|
|
107
|
+
}, z.core.$strip>;
|
|
108
|
+
type HarnessTaskInputBindingDefinition = z.infer<typeof HarnessTaskInputBindingSchemaDefinition>;
|
|
109
|
+
export interface HarnessTaskInputBindingSchemaInput extends z.input<typeof HarnessTaskInputBindingSchemaDefinition> {
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* One task input value bound before the run starts; the server validates its key and type.
|
|
113
|
+
*
|
|
114
|
+
* @openapiSchema HarnessTaskInputBinding
|
|
115
|
+
* @endpoint POST /v1/research-runs
|
|
116
|
+
* @endpoint POST /v1/research/runs
|
|
117
|
+
* @usedBySchema HarnessRunCreateSchema
|
|
118
|
+
* @contractShape harness.task-input-binding
|
|
119
|
+
* @contractRole canonical
|
|
120
|
+
*/
|
|
121
|
+
export declare const HarnessTaskInputBindingSchema: z.ZodType<HarnessTaskInputBindingDefinition, HarnessTaskInputBindingSchemaInput>;
|
|
122
|
+
export type HarnessTaskInputBinding = z.infer<typeof HarnessTaskInputBindingSchema>;
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=task-input-binding.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { HarnessTaskFactSchema } from "./task-fact.js";
|
|
4
|
+
import { WriterBriefSchema } from "../writer/brief.js";
|
|
5
|
+
const HarnessTaskInputBindingSchemaDefinition = z.object({
|
|
6
|
+
/** Canonical entity UUID; exclusive with newsId, text, writerBrief and fact. */
|
|
7
|
+
entityId: z.uuid().nullish(),
|
|
8
|
+
/** One source-bound fact for a FACT input; exclusive with entityId, newsId, text and writerBrief. */
|
|
9
|
+
fact: HarnessTaskFactSchema.nullish(),
|
|
10
|
+
/** Catalog input key; omit it to bind the task's only declared input of the value's type. */
|
|
11
|
+
key: z.string().nullish(),
|
|
12
|
+
/** Canonical news id; exclusive with entityId, text, writerBrief and fact. */
|
|
13
|
+
newsId: z.int().nullish(),
|
|
14
|
+
/** Literal requester text; exclusive with entityId, newsId, writerBrief and fact. */
|
|
15
|
+
text: z.string().nullish(),
|
|
16
|
+
/** Typed writer brief for a WRITER_BRIEF input; exclusive with entityId, newsId, text and fact. */
|
|
17
|
+
writerBrief: WriterBriefSchema.nullish(),
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* One task input value bound before the run starts; the server validates its key and type.
|
|
21
|
+
*
|
|
22
|
+
* @openapiSchema HarnessTaskInputBinding
|
|
23
|
+
* @endpoint POST /v1/research-runs
|
|
24
|
+
* @endpoint POST /v1/research/runs
|
|
25
|
+
* @usedBySchema HarnessRunCreateSchema
|
|
26
|
+
* @contractShape harness.task-input-binding
|
|
27
|
+
* @contractRole canonical
|
|
28
|
+
*/
|
|
29
|
+
export const HarnessTaskInputBindingSchema = HarnessTaskInputBindingSchemaDefinition;
|
|
30
|
+
//# sourceMappingURL=task-input-binding.js.map
|
|
@@ -43,9 +43,25 @@ export declare const IdentificationSubjectSchema: z.ZodObject<{
|
|
|
43
43
|
nameLast: string;
|
|
44
44
|
}, import("../registry/filing-person.ts").RegistryFilingPersonSchemaInput>>>>;
|
|
45
45
|
uniqueId: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
46
|
+
effectiveFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
effectiveTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
idType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
+
listingStanding: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
51
|
+
delisted: "delisted";
|
|
52
|
+
listed: "listed";
|
|
53
|
+
suspended: "suspended";
|
|
54
|
+
}>, z.ZodString]> & {
|
|
55
|
+
enum: {
|
|
56
|
+
delisted: "delisted";
|
|
57
|
+
listed: "listed";
|
|
58
|
+
suspended: "suspended";
|
|
59
|
+
};
|
|
60
|
+
}>>;
|
|
61
|
+
shareClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
62
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
standingAsOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
65
|
}, z.core.$strip>>>;
|
|
50
66
|
}, z.core.$strip>>>;
|
|
51
67
|
kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -56,9 +72,25 @@ export declare const IdentificationSubjectSchema: z.ZodObject<{
|
|
|
56
72
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
73
|
providerId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
58
74
|
sourceIdentifier: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
|
+
effectiveFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
|
+
effectiveTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
77
|
identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
78
|
idType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
|
+
listingStanding: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
80
|
+
delisted: "delisted";
|
|
81
|
+
listed: "listed";
|
|
82
|
+
suspended: "suspended";
|
|
83
|
+
}>, z.ZodString]> & {
|
|
84
|
+
enum: {
|
|
85
|
+
delisted: "delisted";
|
|
86
|
+
listed: "listed";
|
|
87
|
+
suspended: "suspended";
|
|
88
|
+
};
|
|
89
|
+
}>>;
|
|
90
|
+
shareClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
91
|
source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
standingAsOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
venue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
94
|
}, z.core.$strip>>>;
|
|
63
95
|
sourceNewsId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
64
96
|
sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|