@aventurevc/api-schemas 0.8.436 → 0.8.437
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/agent/task-preset-catalog.d.ts +2 -0
- package/dist/agent/task-preset.d.ts +4 -0
- package/dist/agent/task-preset.js +2 -0
- package/dist/confidence/confidence.d.ts +1 -0
- package/dist/confidence/confidence.js +1 -0
- package/dist/date/range.d.ts +1 -0
- package/dist/date/range.js +1 -0
- package/dist/decimal/range.d.ts +1 -0
- package/dist/decimal/range.js +1 -0
- package/dist/employee/count-match-mode.d.ts +1 -0
- package/dist/employee/count-match-mode.js +1 -0
- package/dist/employee/count-range.d.ts +1 -0
- package/dist/employee/count-range.js +1 -0
- package/dist/entity/filter-logo-option.d.ts +1 -0
- package/dist/entity/filter-logo-option.js +1 -0
- package/dist/entity/filter-sortable.d.ts +1 -0
- package/dist/entity/filter-sortable.js +1 -0
- package/dist/entity/filter.d.ts +1 -0
- package/dist/entity/filter.js +1 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +1 -0
- package/dist/entity/fundraise-filter-criteria.js +1 -0
- package/dist/entity/list-filter.d.ts +1 -0
- package/dist/entity/list-filter.js +1 -0
- package/dist/entity/list-quality-gate.d.ts +1 -0
- package/dist/entity/list-quality-gate.js +1 -0
- package/dist/entity/operating-status.d.ts +1 -0
- package/dist/entity/operating-status.js +1 -0
- package/dist/entity/person-association-filter.d.ts +1 -0
- package/dist/entity/person-association-filter.js +1 -0
- package/dist/entity/unique-id-filter.d.ts +1 -0
- package/dist/entity/unique-id-filter.js +1 -0
- package/dist/entity/url-type.d.ts +1 -0
- package/dist/entity/url-type.js +1 -0
- package/dist/harness/run-create.d.ts +1006 -1
- package/dist/harness/run-create.js +7 -3
- package/dist/int/range.d.ts +1 -0
- package/dist/int/range.js +1 -0
- package/dist/investor/activity-filter.d.ts +1 -0
- package/dist/investor/activity-filter.js +1 -0
- package/dist/investor/name-match-mode.d.ts +1 -0
- package/dist/investor/name-match-mode.js +1 -0
- package/dist/natural/search.d.ts +2 -0
- package/dist/natural/search.js +2 -0
- package/dist/openapi-component-manifest.js +4 -0
- package/dist/person/association-tenure.d.ts +1 -0
- package/dist/person/association-tenure.js +1 -0
- package/dist/person/filter.d.ts +1 -0
- package/dist/person/filter.js +1 -0
- package/dist/person/list-array-filter.d.ts +1 -0
- package/dist/person/list-array-filter.js +1 -0
- package/dist/publication/publication.js +1 -1
- package/dist/reasoning/effort.d.ts +1 -0
- package/dist/reasoning/effort.js +1 -0
- package/dist/research/run-search-context.d.ts +1016 -0
- package/dist/research/run-search-context.js +18 -0
- package/dist/search/cache-mode.d.ts +1 -0
- package/dist/search/cache-mode.js +1 -0
- package/dist/search/freshness.d.ts +1 -0
- package/dist/search/freshness.js +1 -0
- package/dist/search/intent.d.ts +1 -0
- package/dist/search/intent.js +1 -0
- package/dist/search/interpretation.d.ts +2 -0
- package/dist/search/interpretation.js +2 -0
- package/dist/search/mode-execution.d.ts +1 -0
- package/dist/search/mode-execution.js +1 -0
- package/dist/search/mode.d.ts +1 -0
- package/dist/search/mode.js +1 -0
- package/dist/search/ordering-entity-filter-sortable.d.ts +1 -0
- package/dist/search/ordering-entity-filter-sortable.js +1 -0
- package/dist/search/relevance.d.ts +1 -0
- package/dist/search/relevance.js +1 -0
- package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
- package/dist/sort/order-entity-filter-sortable.js +1 -0
- package/dist/standardized/classification-filter.d.ts +1 -0
- package/dist/standardized/classification-filter.js +1 -0
- package/dist/url/match-mode.d.ts +1 -0
- package/dist/url/match-mode.js +1 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { EnrichmentModeSchema } from "../enrichment/mode.js";
|
|
4
4
|
import { HarnessTaskInputBindingSchema } from "./task-input-binding.js";
|
|
5
5
|
import { ResearchFindingSchema } from "../research/finding.js";
|
|
6
|
+
import { ResearchRunSearchContextSchema } from "../research/run-search-context.js";
|
|
6
7
|
const HarnessRunCreateSchemaDefinition = z.object({
|
|
7
8
|
/** 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. */
|
|
8
9
|
finding: z.array(ResearchFindingSchema).nullish(),
|
|
@@ -12,13 +13,16 @@ const HarnessRunCreateSchemaDefinition = z.object({
|
|
|
12
13
|
model: z.string().nullish(),
|
|
13
14
|
/** 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 */
|
|
14
15
|
name: z.string().max(200).nullish(),
|
|
16
|
+
searchContext: ResearchRunSearchContextSchema.nullish(),
|
|
17
|
+
/** Evidence pages for a report question; never subject identities. */
|
|
18
|
+
sourceUrl: z.array(z.string()).max(20).optional(),
|
|
15
19
|
/** Requester values keyed by the selected task's input definitions. ENTITY binds from url and a supplied entityId must match it; a task declaring several ENTITY inputs binds one from url and takes each other as the keyed entityId of an existing record (404 when none exists). 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
20
|
taskInput: z.array(HarnessTaskInputBindingSchema).optional(),
|
|
17
21
|
/** Research presets that focus the run, listed by GET /v1/research/runs/presets; omit them for a full run */
|
|
18
22
|
taskPresetKey: z.array(z.string()).nullish(),
|
|
19
|
-
/** Official website or profile URL of the company, Product, Service, or person to research;
|
|
20
|
-
url: z.string(),
|
|
21
|
-
/**
|
|
23
|
+
/** Official website or profile URL of the company, Product, Service, or person to research; omit only for a selected report task */
|
|
24
|
+
url: z.string().optional(),
|
|
25
|
+
/** The question a report task must answer, or steering instructions for enrichment */
|
|
22
26
|
userPrompt: z.string().nullish(),
|
|
23
27
|
});
|
|
24
28
|
/**
|
package/dist/int/range.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export interface IntRangeSchemaInput extends z.input<typeof IntRangeSchemaDefini
|
|
|
21
21
|
* @endpoint POST /v1/entities/filters/search
|
|
22
22
|
* @endpoint POST /v1/entities/search
|
|
23
23
|
* @endpoint POST /v1/people/search
|
|
24
|
+
* @endpoint POST /v1/research/runs
|
|
24
25
|
* @endpoint POST /v1/search
|
|
25
26
|
* @endpoint POST /v1/search/natural/entities
|
|
26
27
|
* @endpoint POST /v1/search/natural/people
|
package/dist/int/range.js
CHANGED
|
@@ -21,6 +21,7 @@ const IntRangeSchemaDefinition = z.object({
|
|
|
21
21
|
* @endpoint POST /v1/entities/filters/search
|
|
22
22
|
* @endpoint POST /v1/entities/search
|
|
23
23
|
* @endpoint POST /v1/people/search
|
|
24
|
+
* @endpoint POST /v1/research/runs
|
|
24
25
|
* @endpoint POST /v1/search
|
|
25
26
|
* @endpoint POST /v1/search/natural/entities
|
|
26
27
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
|
|
|
14
14
|
* @endpoint POST /v1/entities/filters/search
|
|
15
15
|
* @endpoint POST /v1/entities/search
|
|
16
16
|
* @endpoint POST /v1/people/search
|
|
17
|
+
* @endpoint POST /v1/research/runs
|
|
17
18
|
* @endpoint POST /v1/search
|
|
18
19
|
* @endpoint POST /v1/search/natural/entities
|
|
19
20
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -17,6 +17,7 @@ import { IntRangeSchema } from "../int/range.js";
|
|
|
17
17
|
* @endpoint POST /v1/entities/filters/search
|
|
18
18
|
* @endpoint POST /v1/entities/search
|
|
19
19
|
* @endpoint POST /v1/people/search
|
|
20
|
+
* @endpoint POST /v1/research/runs
|
|
20
21
|
* @endpoint POST /v1/search
|
|
21
22
|
* @endpoint POST /v1/search/natural/entities
|
|
22
23
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
|
|
|
14
14
|
* @endpoint POST /v1/entities/filters/search
|
|
15
15
|
* @endpoint POST /v1/entities/search
|
|
16
16
|
* @endpoint POST /v1/people/search
|
|
17
|
+
* @endpoint POST /v1/research/runs
|
|
17
18
|
* @endpoint POST /v1/search
|
|
18
19
|
* @endpoint POST /v1/search/natural/entities
|
|
19
20
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
|
|
|
15
15
|
* @endpoint POST /v1/entities/filters/search
|
|
16
16
|
* @endpoint POST /v1/entities/search
|
|
17
17
|
* @endpoint POST /v1/people/search
|
|
18
|
+
* @endpoint POST /v1/research/runs
|
|
18
19
|
* @endpoint POST /v1/search
|
|
19
20
|
* @endpoint POST /v1/search/natural/entities
|
|
20
21
|
* @endpoint POST /v1/search/natural/people
|
package/dist/natural/search.d.ts
CHANGED
|
@@ -55,10 +55,12 @@ export interface NaturalSearchSchemaInput extends z.input<typeof NaturalSearchSc
|
|
|
55
55
|
*
|
|
56
56
|
* @openapiSchema NaturalSearch
|
|
57
57
|
* @endpoint POST /v1/content/search
|
|
58
|
+
* @endpoint POST /v1/research/runs
|
|
58
59
|
* @endpoint POST /v1/search/natural/entities
|
|
59
60
|
* @endpoint POST /v1/search/natural/people
|
|
60
61
|
* @usedBySchema EntityNaturalSearchSchema
|
|
61
62
|
* @usedBySchema PersonNaturalSearchSchema
|
|
63
|
+
* @usedBySchema ResearchRunSearchContextSchema
|
|
62
64
|
* @contractShape natural.search
|
|
63
65
|
* @contractRole canonical
|
|
64
66
|
*/
|
package/dist/natural/search.js
CHANGED
|
@@ -25,10 +25,12 @@ const NaturalSearchSchemaDefinition = z.object({
|
|
|
25
25
|
*
|
|
26
26
|
* @openapiSchema NaturalSearch
|
|
27
27
|
* @endpoint POST /v1/content/search
|
|
28
|
+
* @endpoint POST /v1/research/runs
|
|
28
29
|
* @endpoint POST /v1/search/natural/entities
|
|
29
30
|
* @endpoint POST /v1/search/natural/people
|
|
30
31
|
* @usedBySchema EntityNaturalSearchSchema
|
|
31
32
|
* @usedBySchema PersonNaturalSearchSchema
|
|
33
|
+
* @usedBySchema ResearchRunSearchContextSchema
|
|
32
34
|
* @contractShape natural.search
|
|
33
35
|
* @contractRole canonical
|
|
34
36
|
*/
|
|
@@ -1174,6 +1174,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
1174
1174
|
modulePath: "research/run-report-source",
|
|
1175
1175
|
schemaName: "ResearchRunReportSourceSchema",
|
|
1176
1176
|
},
|
|
1177
|
+
ResearchRunSearchContext: {
|
|
1178
|
+
modulePath: "research/run-search-context",
|
|
1179
|
+
schemaName: "ResearchRunSearchContextSchema",
|
|
1180
|
+
},
|
|
1177
1181
|
ResearchRunView: { modulePath: "research/run-view", schemaName: "ResearchRunViewSchema" },
|
|
1178
1182
|
ResearchSnippetType: {
|
|
1179
1183
|
modulePath: "research/snippet-type",
|
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/directory/exports
|
|
12
12
|
* @endpoint POST /v1/directory/shared
|
|
13
13
|
* @endpoint POST /v1/people/search
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
16
17
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @endpoint POST /v1/directory/exports
|
|
13
13
|
* @endpoint POST /v1/directory/shared
|
|
14
14
|
* @endpoint POST /v1/people/search
|
|
15
|
+
* @endpoint POST /v1/research/runs
|
|
15
16
|
* @endpoint POST /v1/search
|
|
16
17
|
* @endpoint POST /v1/search/natural/entities
|
|
17
18
|
* @endpoint POST /v1/search/natural/people
|
package/dist/person/filter.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/directory/exports
|
|
12
12
|
* @endpoint POST /v1/directory/shared
|
|
13
13
|
* @endpoint POST /v1/people/search
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
16
17
|
* @endpoint POST /v1/search/natural/people
|
package/dist/person/filter.js
CHANGED
|
@@ -17,6 +17,7 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
|
|
|
17
17
|
* @endpoint POST /v1/directory/exports
|
|
18
18
|
* @endpoint POST /v1/directory/shared
|
|
19
19
|
* @endpoint POST /v1/people/search
|
|
20
|
+
* @endpoint POST /v1/research/runs
|
|
20
21
|
* @endpoint POST /v1/search
|
|
21
22
|
* @endpoint POST /v1/search/natural/entities
|
|
22
23
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/directory/exports
|
|
12
12
|
* @endpoint POST /v1/directory/shared
|
|
13
13
|
* @endpoint POST /v1/people/search
|
|
14
|
+
* @endpoint POST /v1/research/runs
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
16
17
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -15,6 +15,7 @@ import { IntRangeSchema } from "../int/range.js";
|
|
|
15
15
|
* @endpoint POST /v1/directory/exports
|
|
16
16
|
* @endpoint POST /v1/directory/shared
|
|
17
17
|
* @endpoint POST /v1/people/search
|
|
18
|
+
* @endpoint POST /v1/research/runs
|
|
18
19
|
* @endpoint POST /v1/search
|
|
19
20
|
* @endpoint POST /v1/search/natural/entities
|
|
20
21
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -15,7 +15,7 @@ const PublicationSchemaDefinition = z.object({
|
|
|
15
15
|
publishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
16
16
|
/** How this content relates to the requested owner. */
|
|
17
17
|
relation: PublicationRelationSchema.nullish(),
|
|
18
|
-
/** CDN URL of
|
|
18
|
+
/** CDN URL of a stored screenshot of this content card's exact primary URL. Available for any publication type; absent until a capture is stored. */
|
|
19
19
|
screenshotUrl: z.string().nullish(),
|
|
20
20
|
/** Registrable source domain when known. */
|
|
21
21
|
sourceDomain: z.string().nullish(),
|
package/dist/reasoning/effort.js
CHANGED
|
@@ -13,6 +13,7 @@ const ReasoningEffortSchemaKnownMembers = z.enum([
|
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema ReasoningEffort
|
|
15
15
|
* @endpoint POST /v1/content/search
|
|
16
|
+
* @endpoint POST /v1/research/runs
|
|
16
17
|
* @endpoint POST /v1/search
|
|
17
18
|
* @endpoint POST /v1/search/natural/entities
|
|
18
19
|
* @endpoint POST /v1/search/natural/people
|