@aventurevc/api-schemas 0.8.75 → 0.8.76

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.
Files changed (45) hide show
  1. package/dist/agent/help.d.ts +1 -0
  2. package/dist/content/compliance.d.ts +3 -0
  3. package/dist/content/compliance.js +3 -0
  4. package/dist/entity/comparison-signals.d.ts +3 -0
  5. package/dist/entity/comparison-signals.js +3 -0
  6. package/dist/entity/detail.d.ts +4 -0
  7. package/dist/entity/detail.js +4 -0
  8. package/dist/entity/fundraise.d.ts +3 -0
  9. package/dist/entity/fundraise.js +3 -0
  10. package/dist/entity/natural-search.d.ts +2 -0
  11. package/dist/entity/person-association.d.ts +3 -0
  12. package/dist/entity/person-association.js +3 -0
  13. package/dist/entity/relationship.d.ts +3 -0
  14. package/dist/entity/relationship.js +3 -0
  15. package/dist/entity/research-snippet.d.ts +3 -0
  16. package/dist/entity/research-snippet.js +3 -0
  17. package/dist/entity/research.d.ts +3 -0
  18. package/dist/entity/research.js +3 -0
  19. package/dist/federated/natural-search.d.ts +8 -0
  20. package/dist/federated/natural-search.js +3 -0
  21. package/dist/federated/search.d.ts +2625 -172
  22. package/dist/federated/search.js +6 -0
  23. package/dist/harness/task-plan.d.ts +1 -0
  24. package/dist/harness/task-plan.js +2 -0
  25. package/dist/help/resolution.d.ts +1 -0
  26. package/dist/link/search.d.ts +3646 -1160
  27. package/dist/natural/search.d.ts +8 -0
  28. package/dist/natural/search.js +3 -0
  29. package/dist/openapi-component-manifest.js +1 -0
  30. package/dist/person/detail.d.ts +4 -0
  31. package/dist/person/detail.js +4 -0
  32. package/dist/person/enrichment.d.ts +3 -0
  33. package/dist/person/enrichment.js +3 -0
  34. package/dist/person/invested-company.d.ts +3 -0
  35. package/dist/person/invested-company.js +3 -0
  36. package/dist/person/investment.d.ts +3 -0
  37. package/dist/person/investment.js +3 -0
  38. package/dist/person/natural-search.d.ts +2 -0
  39. package/dist/reasoning/effort.d.ts +25 -0
  40. package/dist/reasoning/effort.js +21 -0
  41. package/dist/unique/id-type.d.ts +3 -0
  42. package/dist/unique/id-type.js +3 -0
  43. package/dist/unique/id.d.ts +3 -0
  44. package/dist/unique/id.js +3 -0
  45. package/package.json +1 -1
@@ -3,6 +3,14 @@ declare const NaturalSearchSchemaDefinition: z.ZodObject<{
3
3
  mode: z.ZodOptional<z.ZodDefault<z.ZodType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>>;
4
4
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  query: z.ZodString;
6
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
7
+ high: "high";
8
+ low: "low";
9
+ max: "max";
10
+ medium: "medium";
11
+ minimal: "minimal";
12
+ xhigh: "xhigh";
13
+ }>, z.ZodString]>>>;
6
14
  }, z.core.$strip>;
7
15
  type NaturalSearchDefinition = z.infer<typeof NaturalSearchSchemaDefinition>;
8
16
  /**
@@ -1,5 +1,6 @@
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
+ import { ReasoningEffortSchema } from "../reasoning/effort.js";
3
4
  import { SearchModeSchema } from "../search/mode.js";
4
5
  const NaturalSearchSchemaDefinition = z.object({
5
6
  /** Search strategy to run. Defaults to `auto`: the fast name layer runs first (a single-token query as keyword search, a multiword query as an exact normalized name) and the language-model planner runs only on a miss, so name lookups never pay for planning. Any other value forces exactly that strategy: `exact` and `keyword` skip planner model resolution and its rate limit. Entity and person natural-search take every value but `hybrid`; news and federated search accept only `auto` and `keyword`; content search accepts `auto`, `keyword`, `semantic`, and `hybrid` (`semantic` and `hybrid` only for one entity's or person's content). */
@@ -8,6 +9,8 @@ const NaturalSearchSchemaDefinition = z.object({
8
9
  model: z.string().nullish(),
9
10
  /** Plain-English search request. */
10
11
  query: z.string().min(1),
12
+ /** Optional reasoning effort for every model call this search makes: the query planner and the synthesis answer. Each call sends the nearest level its model supports, the lower one on a tie. Null keeps the configured per-call and per-model defaults. */
13
+ reasoningEffort: ReasoningEffortSchema.nullish(),
11
14
  });
12
15
  /**
13
16
  * Plain-English search request. The server plans the query into the target domain filter plus sort, then runs that domain's canonical list engine.
@@ -769,6 +769,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
769
769
  schemaName: "PublicationRelationSchema",
770
770
  },
771
771
  PublicationType: { modulePath: "publication/type", schemaName: "PublicationTypeSchema" },
772
+ ReasoningEffort: { modulePath: "reasoning/effort", schemaName: "ReasoningEffortSchema" },
772
773
  RedirectSlugPath: {
773
774
  modulePath: "redirect/redirect-slug-path",
774
775
  schemaName: "RedirectSlugPathSchema",
@@ -580,15 +580,19 @@ type PersonDetailDefinition = z.infer<typeof PersonDetailSchemaDefinition>;
580
580
  * @openapiSchema PersonDetail
581
581
  * @endpoint GET /v1/entities/lookup-exact
582
582
  * @endpoint GET /v1/people/lookup-exact
583
+ * @endpoint GET /v1/search/link
583
584
  * @endpoint GET /v1/entities/{entityId}
584
585
  * @endpoint GET /v1/entities/{entityId}/investors
585
586
  * @endpoint GET /v1/entities/{entityId}/person-investors
586
587
  * @endpoint GET /v1/people/{personId}
588
+ * @endpoint GET /v1/search/link/jobs/{jobId}
587
589
  * @endpoint POST /v1/entities/lookup-batch
588
590
  * @endpoint POST /v1/entities/lookup-matches
589
591
  * @endpoint POST /v1/entities/search
590
592
  * @endpoint POST /v1/people/lookup-batch
593
+ * @endpoint POST /v1/search
591
594
  * @usedBySchema EntityDetailSchema
595
+ * @usedBySchema FederatedSearchSchema
592
596
  * @usedBySchema PagePersonDetailSchema
593
597
  * @usedBySchema PersonInvestorParticipationSchema
594
598
  * @contractShape person.detail
@@ -22,15 +22,19 @@ const PersonDetailSchemaDefinition = z.object({
22
22
  * @openapiSchema PersonDetail
23
23
  * @endpoint GET /v1/entities/lookup-exact
24
24
  * @endpoint GET /v1/people/lookup-exact
25
+ * @endpoint GET /v1/search/link
25
26
  * @endpoint GET /v1/entities/{entityId}
26
27
  * @endpoint GET /v1/entities/{entityId}/investors
27
28
  * @endpoint GET /v1/entities/{entityId}/person-investors
28
29
  * @endpoint GET /v1/people/{personId}
30
+ * @endpoint GET /v1/search/link/jobs/{jobId}
29
31
  * @endpoint POST /v1/entities/lookup-batch
30
32
  * @endpoint POST /v1/entities/lookup-matches
31
33
  * @endpoint POST /v1/entities/search
32
34
  * @endpoint POST /v1/people/lookup-batch
35
+ * @endpoint POST /v1/search
33
36
  * @usedBySchema EntityDetailSchema
37
+ * @usedBySchema FederatedSearchSchema
34
38
  * @usedBySchema PagePersonDetailSchema
35
39
  * @usedBySchema PersonInvestorParticipationSchema
36
40
  * @contractShape person.detail
@@ -91,14 +91,17 @@ type PersonEnrichmentDefinition = z.infer<typeof PersonEnrichmentSchemaDefinitio
91
91
  * @openapiSchema PersonEnrichment
92
92
  * @endpoint GET /v1/entities/lookup-exact
93
93
  * @endpoint GET /v1/people/lookup-exact
94
+ * @endpoint GET /v1/search/link
94
95
  * @endpoint GET /v1/entities/{entityId}
95
96
  * @endpoint GET /v1/entities/{entityId}/investors
96
97
  * @endpoint GET /v1/entities/{entityId}/person-investors
97
98
  * @endpoint GET /v1/people/{personId}
99
+ * @endpoint GET /v1/search/link/jobs/{jobId}
98
100
  * @endpoint POST /v1/entities/lookup-batch
99
101
  * @endpoint POST /v1/entities/lookup-matches
100
102
  * @endpoint POST /v1/entities/search
101
103
  * @endpoint POST /v1/people/lookup-batch
104
+ * @endpoint POST /v1/search
102
105
  * @usedBySchema PersonDetailSchema
103
106
  * @contractShape person.enrichment
104
107
  * @contractRole canonical
@@ -14,14 +14,17 @@ const PersonEnrichmentSchemaDefinition = z.object({
14
14
  * @openapiSchema PersonEnrichment
15
15
  * @endpoint GET /v1/entities/lookup-exact
16
16
  * @endpoint GET /v1/people/lookup-exact
17
+ * @endpoint GET /v1/search/link
17
18
  * @endpoint GET /v1/entities/{entityId}
18
19
  * @endpoint GET /v1/entities/{entityId}/investors
19
20
  * @endpoint GET /v1/entities/{entityId}/person-investors
20
21
  * @endpoint GET /v1/people/{personId}
22
+ * @endpoint GET /v1/search/link/jobs/{jobId}
21
23
  * @endpoint POST /v1/entities/lookup-batch
22
24
  * @endpoint POST /v1/entities/lookup-matches
23
25
  * @endpoint POST /v1/entities/search
24
26
  * @endpoint POST /v1/people/lookup-batch
27
+ * @endpoint POST /v1/search
25
28
  * @usedBySchema PersonDetailSchema
26
29
  * @contractShape person.enrichment
27
30
  * @contractRole canonical
@@ -62,15 +62,18 @@ type PersonInvestedCompanyDefinition = z.infer<typeof PersonInvestedCompanySchem
62
62
  * @openapiSchema PersonInvestedCompany
63
63
  * @endpoint GET /v1/entities/lookup-exact
64
64
  * @endpoint GET /v1/people/lookup-exact
65
+ * @endpoint GET /v1/search/link
65
66
  * @endpoint GET /v1/entities/{entityId}
66
67
  * @endpoint GET /v1/entities/{entityId}/investors
67
68
  * @endpoint GET /v1/entities/{entityId}/person-investors
68
69
  * @endpoint GET /v1/people/{personId}
69
70
  * @endpoint GET /v1/people/{personId}/investments
71
+ * @endpoint GET /v1/search/link/jobs/{jobId}
70
72
  * @endpoint POST /v1/entities/lookup-batch
71
73
  * @endpoint POST /v1/entities/lookup-matches
72
74
  * @endpoint POST /v1/entities/search
73
75
  * @endpoint POST /v1/people/lookup-batch
76
+ * @endpoint POST /v1/search
74
77
  * @usedBySchema PersonInvestmentSchema
75
78
  * @contractShape person.invested-company
76
79
  * @contractRole canonical
@@ -18,15 +18,18 @@ const PersonInvestedCompanySchemaDefinition = z.object({
18
18
  * @openapiSchema PersonInvestedCompany
19
19
  * @endpoint GET /v1/entities/lookup-exact
20
20
  * @endpoint GET /v1/people/lookup-exact
21
+ * @endpoint GET /v1/search/link
21
22
  * @endpoint GET /v1/entities/{entityId}
22
23
  * @endpoint GET /v1/entities/{entityId}/investors
23
24
  * @endpoint GET /v1/entities/{entityId}/person-investors
24
25
  * @endpoint GET /v1/people/{personId}
25
26
  * @endpoint GET /v1/people/{personId}/investments
27
+ * @endpoint GET /v1/search/link/jobs/{jobId}
26
28
  * @endpoint POST /v1/entities/lookup-batch
27
29
  * @endpoint POST /v1/entities/lookup-matches
28
30
  * @endpoint POST /v1/entities/search
29
31
  * @endpoint POST /v1/people/lookup-batch
32
+ * @endpoint POST /v1/search
30
33
  * @usedBySchema PersonInvestmentSchema
31
34
  * @contractShape person.invested-company
32
35
  * @contractRole canonical
@@ -124,15 +124,18 @@ type PersonInvestmentDefinition = z.infer<typeof PersonInvestmentSchemaDefinitio
124
124
  * @openapiSchema PersonInvestment
125
125
  * @endpoint GET /v1/entities/lookup-exact
126
126
  * @endpoint GET /v1/people/lookup-exact
127
+ * @endpoint GET /v1/search/link
127
128
  * @endpoint GET /v1/entities/{entityId}
128
129
  * @endpoint GET /v1/entities/{entityId}/investors
129
130
  * @endpoint GET /v1/entities/{entityId}/person-investors
130
131
  * @endpoint GET /v1/people/{personId}
131
132
  * @endpoint GET /v1/people/{personId}/investments
133
+ * @endpoint GET /v1/search/link/jobs/{jobId}
132
134
  * @endpoint POST /v1/entities/lookup-batch
133
135
  * @endpoint POST /v1/entities/lookup-matches
134
136
  * @endpoint POST /v1/entities/search
135
137
  * @endpoint POST /v1/people/lookup-batch
138
+ * @endpoint POST /v1/search
136
139
  * @usedBySchema PagePersonInvestmentSchema
137
140
  * @usedBySchema PersonDetailSchema
138
141
  * @contractShape person.investment
@@ -24,15 +24,18 @@ const PersonInvestmentSchemaDefinition = z.object({
24
24
  * @openapiSchema PersonInvestment
25
25
  * @endpoint GET /v1/entities/lookup-exact
26
26
  * @endpoint GET /v1/people/lookup-exact
27
+ * @endpoint GET /v1/search/link
27
28
  * @endpoint GET /v1/entities/{entityId}
28
29
  * @endpoint GET /v1/entities/{entityId}/investors
29
30
  * @endpoint GET /v1/entities/{entityId}/person-investors
30
31
  * @endpoint GET /v1/people/{personId}
31
32
  * @endpoint GET /v1/people/{personId}/investments
33
+ * @endpoint GET /v1/search/link/jobs/{jobId}
32
34
  * @endpoint POST /v1/entities/lookup-batch
33
35
  * @endpoint POST /v1/entities/lookup-matches
34
36
  * @endpoint POST /v1/entities/search
35
37
  * @endpoint POST /v1/people/lookup-batch
38
+ * @endpoint POST /v1/search
36
39
  * @usedBySchema PagePersonInvestmentSchema
37
40
  * @usedBySchema PersonDetailSchema
38
41
  * @contractShape person.investment
@@ -95,10 +95,12 @@ declare const PersonNaturalSearchSchemaDefinition: z.ZodObject<{
95
95
  mode?: string | undefined;
96
96
  model?: string | null | undefined;
97
97
  query: string;
98
+ reasoningEffort?: string | null | undefined;
98
99
  }, unknown, z.core.$ZodTypeInternals<{
99
100
  mode?: string | undefined;
100
101
  model?: string | null | undefined;
101
102
  query: string;
103
+ reasoningEffort?: string | null | undefined;
102
104
  }, unknown>>;
103
105
  }, z.core.$strip>;
104
106
  type PersonNaturalSearchDefinition = z.infer<typeof PersonNaturalSearchSchemaDefinition>;
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Reasoning effort level, lowest to highest: `minimal`, `low`, `medium`, `high`, `xhigh`, `max`. A model receives the nearest level it supports.
4
+ *
5
+ * @openapiSchema ReasoningEffort
6
+ * @endpoint POST /v1/entities/{entityId}/content/search
7
+ * @endpoint POST /v1/people/{personId}/content/search
8
+ * @endpoint POST /v1/search
9
+ * @endpoint POST /v1/search/natural/entities
10
+ * @endpoint POST /v1/search/natural/people
11
+ * @usedBySchema FederatedNaturalSearchSchema
12
+ * @usedBySchema NaturalSearchSchema
13
+ * @contractShape reasoning.effort
14
+ * @contractRole canonical
15
+ */
16
+ export declare const ReasoningEffortSchema: z.ZodUnion<readonly [z.ZodEnum<{
17
+ high: "high";
18
+ low: "low";
19
+ max: "max";
20
+ medium: "medium";
21
+ minimal: "minimal";
22
+ xhigh: "xhigh";
23
+ }>, z.ZodString]>;
24
+ export type ReasoningEffort = z.infer<typeof ReasoningEffortSchema>;
25
+ //# sourceMappingURL=effort.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
+ * Reasoning effort level, lowest to highest: `minimal`, `low`, `medium`, `high`, `xhigh`, `max`. A model receives the nearest level it supports.
5
+ *
6
+ * @openapiSchema ReasoningEffort
7
+ * @endpoint POST /v1/entities/{entityId}/content/search
8
+ * @endpoint POST /v1/people/{personId}/content/search
9
+ * @endpoint POST /v1/search
10
+ * @endpoint POST /v1/search/natural/entities
11
+ * @endpoint POST /v1/search/natural/people
12
+ * @usedBySchema FederatedNaturalSearchSchema
13
+ * @usedBySchema NaturalSearchSchema
14
+ * @contractShape reasoning.effort
15
+ * @contractRole canonical
16
+ */
17
+ export const ReasoningEffortSchema = z.union([
18
+ z.enum(["minimal", "low", "medium", "high", "xhigh", "max"]),
19
+ z.string(),
20
+ ]);
21
+ //# sourceMappingURL=effort.js.map
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema UniqueIdType
6
6
  * @endpoint GET /v1/entities/lookup-exact
7
+ * @endpoint GET /v1/search/link
7
8
  * @endpoint GET /v1/unique-ids/lookup
8
9
  * @endpoint GET /v1/entities/{entityId}
9
10
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -11,9 +12,11 @@ import { z } from "zod/v4";
11
12
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
12
13
  * @endpoint GET /v1/people/{personId}/unique-ids
13
14
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
15
+ * @endpoint GET /v1/search/link/jobs/{jobId}
14
16
  * @endpoint POST /v1/entities/lookup-batch
15
17
  * @endpoint POST /v1/entities/lookup-matches
16
18
  * @endpoint POST /v1/entities/search
19
+ * @endpoint POST /v1/search
17
20
  * @usedBySchema UniqueIdSchema
18
21
  * @contractShape unique.id-type
19
22
  * @contractRole canonical
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema UniqueIdType
7
7
  * @endpoint GET /v1/entities/lookup-exact
8
+ * @endpoint GET /v1/search/link
8
9
  * @endpoint GET /v1/unique-ids/lookup
9
10
  * @endpoint GET /v1/entities/{entityId}
10
11
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -12,9 +13,11 @@ import { z } from "zod/v4";
12
13
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
13
14
  * @endpoint GET /v1/people/{personId}/unique-ids
14
15
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
16
+ * @endpoint GET /v1/search/link/jobs/{jobId}
15
17
  * @endpoint POST /v1/entities/lookup-batch
16
18
  * @endpoint POST /v1/entities/lookup-matches
17
19
  * @endpoint POST /v1/entities/search
20
+ * @endpoint POST /v1/search
18
21
  * @usedBySchema UniqueIdSchema
19
22
  * @contractShape unique.id-type
20
23
  * @contractRole canonical
@@ -27,6 +27,7 @@ type UniqueIdDefinition = z.infer<typeof UniqueIdSchemaDefinition>;
27
27
  *
28
28
  * @openapiSchema UniqueId
29
29
  * @endpoint GET /v1/entities/lookup-exact
30
+ * @endpoint GET /v1/search/link
30
31
  * @endpoint GET /v1/unique-ids/lookup
31
32
  * @endpoint GET /v1/entities/{entityId}
32
33
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -34,9 +35,11 @@ type UniqueIdDefinition = z.infer<typeof UniqueIdSchemaDefinition>;
34
35
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
35
36
  * @endpoint GET /v1/people/{personId}/unique-ids
36
37
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
38
+ * @endpoint GET /v1/search/link/jobs/{jobId}
37
39
  * @endpoint POST /v1/entities/lookup-batch
38
40
  * @endpoint POST /v1/entities/lookup-matches
39
41
  * @endpoint POST /v1/entities/search
42
+ * @endpoint POST /v1/search
40
43
  * @usedBySchema EntityDetailSchema
41
44
  * @usedBySchema PageUniqueIdSchema
42
45
  * @contractShape unique.id
package/dist/unique/id.js CHANGED
@@ -23,6 +23,7 @@ const UniqueIdSchemaDefinition = z.object({
23
23
  *
24
24
  * @openapiSchema UniqueId
25
25
  * @endpoint GET /v1/entities/lookup-exact
26
+ * @endpoint GET /v1/search/link
26
27
  * @endpoint GET /v1/unique-ids/lookup
27
28
  * @endpoint GET /v1/entities/{entityId}
28
29
  * @endpoint GET /v1/entities/{entityId}/investors
@@ -30,9 +31,11 @@ const UniqueIdSchemaDefinition = z.object({
30
31
  * @endpoint GET /v1/entities/{entityId}/unique-ids/{uniqueIdId}
31
32
  * @endpoint GET /v1/people/{personId}/unique-ids
32
33
  * @endpoint GET /v1/people/{personId}/unique-ids/{uniqueIdId}
34
+ * @endpoint GET /v1/search/link/jobs/{jobId}
33
35
  * @endpoint POST /v1/entities/lookup-batch
34
36
  * @endpoint POST /v1/entities/lookup-matches
35
37
  * @endpoint POST /v1/entities/search
38
+ * @endpoint POST /v1/search
36
39
  * @usedBySchema EntityDetailSchema
37
40
  * @usedBySchema PageUniqueIdSchema
38
41
  * @contractShape unique.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.75",
3
+ "version": "0.8.76",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",