@aventurevc/api-schemas 0.8.435 → 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/search/search.js +2 -2
- 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
|
@@ -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 { NaturalSearchSchema } from "../natural/search.js";
|
|
4
|
+
import { SearchInterpretationSchema } from "../search/interpretation.js";
|
|
5
|
+
/**
|
|
6
|
+
* The original search request and the interpretation the reader wants checked.
|
|
7
|
+
*
|
|
8
|
+
* @openapiSchema ResearchRunSearchContext
|
|
9
|
+
* @endpoint POST /v1/research/runs
|
|
10
|
+
* @usedBySchema HarnessRunCreateSchema
|
|
11
|
+
* @contractShape research.run-search-context
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const ResearchRunSearchContextSchema = z.object({
|
|
15
|
+
interpretation: SearchInterpretationSchema,
|
|
16
|
+
search: NaturalSearchSchema,
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=run-search-context.js.map
|
|
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
|
|
|
5
5
|
* @openapiSchema SearchCacheMode
|
|
6
6
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
7
7
|
* @endpoint POST /v1/content/search
|
|
8
|
+
* @endpoint POST /v1/research/runs
|
|
8
9
|
* @endpoint POST /v1/search
|
|
9
10
|
* @endpoint POST /v1/search/natural/entities
|
|
10
11
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @openapiSchema SearchCacheMode
|
|
7
7
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
8
8
|
* @endpoint POST /v1/content/search
|
|
9
|
+
* @endpoint POST /v1/research/runs
|
|
9
10
|
* @endpoint POST /v1/search
|
|
10
11
|
* @endpoint POST /v1/search/natural/entities
|
|
11
12
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
|
|
|
5
5
|
* @openapiSchema SearchFreshness
|
|
6
6
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
7
7
|
* @endpoint POST /v1/content/search
|
|
8
|
+
* @endpoint POST /v1/research/runs
|
|
8
9
|
* @endpoint POST /v1/search
|
|
9
10
|
* @endpoint POST /v1/search/natural/entities
|
|
10
11
|
* @endpoint POST /v1/search/natural/people
|
package/dist/search/freshness.js
CHANGED
|
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @openapiSchema SearchFreshness
|
|
7
7
|
* @endpoint GET /v1/web/searches/jobs/{jobId}
|
|
8
8
|
* @endpoint POST /v1/content/search
|
|
9
|
+
* @endpoint POST /v1/research/runs
|
|
9
10
|
* @endpoint POST /v1/search
|
|
10
11
|
* @endpoint POST /v1/search/natural/entities
|
|
11
12
|
* @endpoint POST /v1/search/natural/people
|
package/dist/search/intent.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
|
|
|
7
7
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
8
|
* @endpoint GET /v1/search/shared/{id}
|
|
9
9
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
10
|
+
* @endpoint POST /v1/research/runs
|
|
10
11
|
* @endpoint POST /v1/search
|
|
11
12
|
* @endpoint POST /v1/search/natural/entities
|
|
12
13
|
* @endpoint POST /v1/search/shared
|
package/dist/search/intent.js
CHANGED
|
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
9
9
|
* @endpoint GET /v1/search/shared/{id}
|
|
10
10
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
11
|
+
* @endpoint POST /v1/research/runs
|
|
11
12
|
* @endpoint POST /v1/search
|
|
12
13
|
* @endpoint POST /v1/search/natural/entities
|
|
13
14
|
* @endpoint POST /v1/search/shared
|
|
@@ -797,10 +797,12 @@ export interface SearchInterpretationSchemaInput extends z.input<typeof SearchIn
|
|
|
797
797
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
798
798
|
* @endpoint GET /v1/search/shared/{id}
|
|
799
799
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
800
|
+
* @endpoint POST /v1/research/runs
|
|
800
801
|
* @endpoint POST /v1/search
|
|
801
802
|
* @endpoint POST /v1/search/natural/entities
|
|
802
803
|
* @endpoint POST /v1/search/shared
|
|
803
804
|
* @usedBySchema NaturalSearchResultSchema
|
|
805
|
+
* @usedBySchema ResearchRunSearchContextSchema
|
|
804
806
|
* @contractShape search.interpretation
|
|
805
807
|
* @contractRole canonical
|
|
806
808
|
*/
|
|
@@ -36,10 +36,12 @@ const SearchInterpretationSchemaDefinition = z.object({
|
|
|
36
36
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
37
37
|
* @endpoint GET /v1/search/shared/{id}
|
|
38
38
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
39
|
+
* @endpoint POST /v1/research/runs
|
|
39
40
|
* @endpoint POST /v1/search
|
|
40
41
|
* @endpoint POST /v1/search/natural/entities
|
|
41
42
|
* @endpoint POST /v1/search/shared
|
|
42
43
|
* @usedBySchema NaturalSearchResultSchema
|
|
44
|
+
* @usedBySchema ResearchRunSearchContextSchema
|
|
43
45
|
* @contractShape search.interpretation
|
|
44
46
|
* @contractRole canonical
|
|
45
47
|
*/
|
|
@@ -46,6 +46,7 @@ export interface SearchModeExecutionSchemaInput extends z.input<typeof SearchMod
|
|
|
46
46
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
47
47
|
* @endpoint GET /v1/search/shared/{id}
|
|
48
48
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
49
|
+
* @endpoint POST /v1/research/runs
|
|
49
50
|
* @endpoint POST /v1/search
|
|
50
51
|
* @endpoint POST /v1/search/natural/entities
|
|
51
52
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -15,6 +15,7 @@ const SearchModeExecutionSchemaDefinition = z.object({
|
|
|
15
15
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
16
16
|
* @endpoint GET /v1/search/shared/{id}
|
|
17
17
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
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/search/mode.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/search/shared/{id}
|
|
9
9
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
10
10
|
* @endpoint POST /v1/content/search
|
|
11
|
+
* @endpoint POST /v1/research/runs
|
|
11
12
|
* @endpoint POST /v1/search
|
|
12
13
|
* @endpoint POST /v1/search/natural/entities
|
|
13
14
|
* @endpoint POST /v1/search/natural/people
|
package/dist/search/mode.js
CHANGED
|
@@ -17,6 +17,7 @@ const SearchModeSchemaKnownMembers = z.enum([
|
|
|
17
17
|
* @endpoint GET /v1/search/shared/{id}
|
|
18
18
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
19
19
|
* @endpoint POST /v1/content/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
|
|
@@ -25,6 +25,7 @@ export interface SearchOrderingEntityFilterSortableSchemaInput extends z.input<t
|
|
|
25
25
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
26
26
|
* @endpoint GET /v1/search/shared/{id}
|
|
27
27
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
28
|
+
* @endpoint POST /v1/research/runs
|
|
28
29
|
* @endpoint POST /v1/search
|
|
29
30
|
* @endpoint POST /v1/search/natural/entities
|
|
30
31
|
* @endpoint POST /v1/search/shared
|
|
@@ -16,6 +16,7 @@ const SearchOrderingEntityFilterSortableSchemaDefinition = z.object({
|
|
|
16
16
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
17
17
|
* @endpoint GET /v1/search/shared/{id}
|
|
18
18
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
19
|
+
* @endpoint POST /v1/research/runs
|
|
19
20
|
* @endpoint POST /v1/search
|
|
20
21
|
* @endpoint POST /v1/search/natural/entities
|
|
21
22
|
* @endpoint POST /v1/search/shared
|
|
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
|
|
|
7
7
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
8
|
* @endpoint GET /v1/search/shared/{id}
|
|
9
9
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
10
|
+
* @endpoint POST /v1/research/runs
|
|
10
11
|
* @endpoint POST /v1/search
|
|
11
12
|
* @endpoint POST /v1/search/natural/entities
|
|
12
13
|
* @endpoint POST /v1/search/natural/people
|
package/dist/search/relevance.js
CHANGED
|
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
9
9
|
* @endpoint GET /v1/search/shared/{id}
|
|
10
10
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
11
|
+
* @endpoint POST /v1/research/runs
|
|
11
12
|
* @endpoint POST /v1/search
|
|
12
13
|
* @endpoint POST /v1/search/natural/entities
|
|
13
14
|
* @endpoint POST /v1/search/natural/people
|
package/dist/search/search.js
CHANGED
|
@@ -25,9 +25,9 @@ const SearchSchemaDefinition = z.object({
|
|
|
25
25
|
freshness: SearchFreshnessSchema.default("auto").optional(),
|
|
26
26
|
/** Search language code */
|
|
27
27
|
language: z.string().nullish(),
|
|
28
|
-
/** Provider to search; omitted keeps the default, SerpAPI. EXA runs Exa's instant search with highlights
|
|
28
|
+
/** Provider to search; omitted keeps the default, SerpAPI. EXA runs Exa's instant search with highlights. EXA_DEEP runs Exa's slower, broader deep search (higher recall for market and provider questions, about 3-6 s). Both name each result's own page, answer synchronously, and fall back to SerpAPI on an Exa failure; `document.provider` names the provider that answered, and a SerpAPI fallback can answer 202 under `Prefer: respond-async`. Exa results are stored apart from SerpAPI results and are charged like any search. */
|
|
29
29
|
provider: WebSearchProviderSchema.nullish(),
|
|
30
|
-
/** Return only results
|
|
30
|
+
/** Return only results dated within this window: Google's own result date for SERPAPI and BRIGHT_DATA, the page's publication date for EXA and EXA_DEEP. Omitted searches every date. */
|
|
31
31
|
recency: WebSearchRecencySchema.nullish(),
|
|
32
32
|
/** Search region code */
|
|
33
33
|
region: z.string().nullish(),
|
|
@@ -59,6 +59,7 @@ export interface SortOrderEntityFilterSortableSchemaInput extends z.input<typeof
|
|
|
59
59
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
60
60
|
* @endpoint GET /v1/search/shared/{id}
|
|
61
61
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
62
|
+
* @endpoint POST /v1/research/runs
|
|
62
63
|
* @endpoint POST /v1/search
|
|
63
64
|
* @endpoint POST /v1/search/natural/entities
|
|
64
65
|
* @endpoint POST /v1/search/shared
|
|
@@ -17,6 +17,7 @@ const SortOrderEntityFilterSortableSchemaDefinition = z.object({
|
|
|
17
17
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
18
18
|
* @endpoint GET /v1/search/shared/{id}
|
|
19
19
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
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/shared
|
|
@@ -24,6 +24,7 @@ export interface StandardizedClassificationFilterSchemaInput extends z.input<typ
|
|
|
24
24
|
* @endpoint POST /v1/entities/filters/search
|
|
25
25
|
* @endpoint POST /v1/entities/search
|
|
26
26
|
* @endpoint POST /v1/people/search
|
|
27
|
+
* @endpoint POST /v1/research/runs
|
|
27
28
|
* @endpoint POST /v1/search
|
|
28
29
|
* @endpoint POST /v1/search/natural/entities
|
|
29
30
|
* @endpoint POST /v1/search/natural/people
|
|
@@ -27,6 +27,7 @@ const StandardizedClassificationFilterSchemaDefinition = z.object({
|
|
|
27
27
|
* @endpoint POST /v1/entities/filters/search
|
|
28
28
|
* @endpoint POST /v1/entities/search
|
|
29
29
|
* @endpoint POST /v1/people/search
|
|
30
|
+
* @endpoint POST /v1/research/runs
|
|
30
31
|
* @endpoint POST /v1/search
|
|
31
32
|
* @endpoint POST /v1/search/natural/entities
|
|
32
33
|
* @endpoint POST /v1/search/natural/people
|
package/dist/url/match-mode.d.ts
CHANGED
|
@@ -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
|
package/dist/url/match-mode.js
CHANGED
|
@@ -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
|