@aventurevc/api-schemas 0.8.254 → 0.8.255

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 (82) hide show
  1. package/dist/cursor/slice-harness-run-event.d.ts +32 -0
  2. package/dist/cursor/slice-harness-run-event.js +15 -0
  3. package/dist/enrichment/mode.d.ts +1 -0
  4. package/dist/enrichment/mode.js +1 -0
  5. package/dist/entity/analysis-citation.d.ts +22 -0
  6. package/dist/entity/analysis-citation.js +20 -0
  7. package/dist/entity/analysis-draft.d.ts +71 -0
  8. package/dist/entity/analysis-draft.js +24 -0
  9. package/dist/entity/analysis-figure-cell.d.ts +22 -0
  10. package/dist/entity/analysis-figure-cell.js +20 -0
  11. package/dist/entity/analysis-figure-entry.d.ts +28 -0
  12. package/dist/entity/analysis-figure-entry.js +21 -0
  13. package/dist/entity/analysis-figure-type.d.ts +26 -0
  14. package/dist/entity/analysis-figure-type.js +20 -0
  15. package/dist/entity/analysis-figure.d.ts +48 -0
  16. package/dist/entity/analysis-figure.js +26 -0
  17. package/dist/entity/analysis-invocation.d.ts +20 -0
  18. package/dist/entity/analysis-invocation.js +21 -0
  19. package/dist/entity/analysis-paragraph.d.ts +22 -0
  20. package/dist/entity/analysis-paragraph.js +20 -0
  21. package/dist/entity/analysis-section-origin.d.ts +22 -0
  22. package/dist/entity/analysis-section-origin.js +15 -0
  23. package/dist/entity/analysis-section.d.ts +68 -0
  24. package/dist/entity/analysis-section.js +32 -0
  25. package/dist/entity/analysis-source.d.ts +25 -0
  26. package/dist/entity/analysis-source.js +19 -0
  27. package/dist/entity/analysis-tool.d.ts +16 -0
  28. package/dist/entity/analysis-tool.js +13 -0
  29. package/dist/entity/filter-search.d.ts +1 -0
  30. package/dist/entity/filter.d.ts +1 -0
  31. package/dist/entity/filter.js +2 -0
  32. package/dist/entity/fundraise-rounds-param.d.ts +2 -0
  33. package/dist/entity/fundraise-rounds-param.js +7 -0
  34. package/dist/entity/investments-param.d.ts +2 -0
  35. package/dist/entity/investments-param.js +7 -0
  36. package/dist/entity/list-filter.d.ts +1 -0
  37. package/dist/entity/list-filter.js +2 -0
  38. package/dist/entity/natural-search.d.ts +1 -0
  39. package/dist/entity/person-association-filter.d.ts +1 -0
  40. package/dist/entity/research-public-source.d.ts +2 -0
  41. package/dist/entity/research-public-source.js +2 -0
  42. package/dist/federated/natural-search.d.ts +1 -0
  43. package/dist/federated/natural-search.js +3 -3
  44. package/dist/federated/search.d.ts +10 -0
  45. package/dist/harness/chassis.d.ts +1 -0
  46. package/dist/harness/chassis.js +1 -0
  47. package/dist/harness/llm-api.d.ts +1 -0
  48. package/dist/harness/llm-api.js +1 -0
  49. package/dist/harness/run-environment.d.ts +1 -0
  50. package/dist/harness/run-environment.js +1 -0
  51. package/dist/harness/run-event.d.ts +3 -0
  52. package/dist/harness/run-event.js +3 -0
  53. package/dist/harness/run-follow-up-admission.d.ts +1 -0
  54. package/dist/harness/run-follow-up-admission.js +1 -0
  55. package/dist/harness/run-lane.d.ts +1 -0
  56. package/dist/harness/run-lane.js +1 -0
  57. package/dist/harness/run-status.d.ts +1 -0
  58. package/dist/harness/run-status.js +1 -0
  59. package/dist/harness/run-turn.d.ts +28 -0
  60. package/dist/harness/run-turn.js +21 -0
  61. package/dist/harness/run-type.d.ts +1 -0
  62. package/dist/harness/run-type.js +1 -0
  63. package/dist/harness/run.d.ts +2 -0
  64. package/dist/harness/run.js +2 -0
  65. package/dist/link/search.d.ts +10 -0
  66. package/dist/natural/search-result.d.ts +6 -0
  67. package/dist/openapi-component-manifest.js +54 -0
  68. package/dist/pageable/object.d.ts +2 -0
  69. package/dist/pageable/object.js +2 -0
  70. package/dist/pagination/schemas.d.ts +120 -0
  71. package/dist/pagination/schemas.js +22 -0
  72. package/dist/person/filter.d.ts +2 -0
  73. package/dist/person/natural-search-result.d.ts +4 -0
  74. package/dist/person/natural-search.d.ts +2 -0
  75. package/dist/person/search-interpretation.d.ts +2 -0
  76. package/dist/search/interpretation.d.ts +3 -0
  77. package/dist/shared/directory-mutation.d.ts +3 -0
  78. package/dist/shared/directory.d.ts +3 -0
  79. package/dist/shared/search.d.ts +10 -0
  80. package/dist/sort/object.d.ts +2 -0
  81. package/dist/sort/object.js +2 -0
  82. package/package.json +1 -1
@@ -0,0 +1,32 @@
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 { EntityAnalysisCitationSchema } from "./analysis-citation.js";
4
+ import { EntityAnalysisFigureSchema } from "./analysis-figure.js";
5
+ import { EntityAnalysisParagraphSchema } from "./analysis-paragraph.js";
6
+ import { EntityAnalysisSectionOriginSchema } from "./analysis-section-origin.js";
7
+ const EntityAnalysisSectionSchemaDefinition = z.object({
8
+ /** Stored source documents and verbatim evidence quotes; verification occurs before publication. */
9
+ citation: z.array(EntityAnalysisCitationSchema),
10
+ /** At most two figures illustrating this section; each cell excerpts one of its quotes. */
11
+ figure: z.array(EntityAnalysisFigureSchema).optional(),
12
+ /** Exact typeValue from GET /v1/entities/research-snippets/types; also the section path key. */
13
+ key: z.string(),
14
+ /** Author of this edit; the server derives this from the authenticated caller. */
15
+ origin: EntityAnalysisSectionOriginSchema,
16
+ /** Paragraphs in catalog order, satisfying paragraphShape and analysisSectionLabel. */
17
+ paragraph: z.array(EntityAnalysisParagraphSchema),
18
+ /** Heading displayed above this section. */
19
+ title: z.string(),
20
+ });
21
+ /**
22
+ * One unverified analysis section; replace it by its snippet type key.
23
+ *
24
+ * @openapiSchema EntityAnalysisSection
25
+ * @endpoint GET /v1/research-runs/{runId}/draft
26
+ * @endpoint PUT /v1/research-runs/{runId}/draft/sections/{sectionKey}
27
+ * @usedBySchema EntityAnalysisDraftSchema
28
+ * @contractShape entity.analysis-section
29
+ * @contractRole canonical
30
+ */
31
+ export const EntityAnalysisSectionSchema = EntityAnalysisSectionSchemaDefinition;
32
+ //# sourceMappingURL=analysis-section.js.map
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityAnalysisSourceSchemaDefinition: z.ZodObject<{
3
+ publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4
+ lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6
+ recordedAt: z.ZodISODateTime;
7
+ sourceDetail: z.ZodString;
8
+ }, z.core.$strip>>>;
9
+ sourceDocumentId: z.ZodUUID;
10
+ }, z.core.$strip>;
11
+ type EntityAnalysisSourceDefinition = z.infer<typeof EntityAnalysisSourceSchemaDefinition>;
12
+ export interface EntityAnalysisSourceSchemaInput extends z.input<typeof EntityAnalysisSourceSchemaDefinition> {
13
+ }
14
+ /**
15
+ * Public page behind a source document a draft quotes; never persisted in a draft.
16
+ *
17
+ * @openapiSchema EntityAnalysisSource
18
+ * @endpoint GET /v1/research-runs/{runId}/draft/sources
19
+ * @contractShape entity.analysis-source
20
+ * @contractRole canonical
21
+ */
22
+ export declare const EntityAnalysisSourceSchema: z.ZodType<EntityAnalysisSourceDefinition, EntityAnalysisSourceSchemaInput>;
23
+ export type EntityAnalysisSource = z.infer<typeof EntityAnalysisSourceSchema>;
24
+ export {};
25
+ //# sourceMappingURL=analysis-source.d.ts.map
@@ -0,0 +1,19 @@
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 { EntityResearchPublicSourceSchema } from "./research-public-source.js";
4
+ const EntityAnalysisSourceSchemaDefinition = z.object({
5
+ /** Published page URL and fetch times; absent for unavailable, private, internal, or legal sources. */
6
+ publicSource: EntityResearchPublicSourceSchema.nullish(),
7
+ /** Source document UUID a draft quote points to. */
8
+ sourceDocumentId: z.uuid(),
9
+ });
10
+ /**
11
+ * Public page behind a source document a draft quotes; never persisted in a draft.
12
+ *
13
+ * @openapiSchema EntityAnalysisSource
14
+ * @endpoint GET /v1/research-runs/{runId}/draft/sources
15
+ * @contractShape entity.analysis-source
16
+ * @contractRole canonical
17
+ */
18
+ export const EntityAnalysisSourceSchema = EntityAnalysisSourceSchemaDefinition;
19
+ //# sourceMappingURL=analysis-source.js.map
@@ -0,0 +1,16 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Analysis tool
4
+ *
5
+ * @openapiSchema EntityAnalysisTool
6
+ * @endpoint POST /v1/research-runs/{runId}/turns
7
+ * @usedBySchema EntityAnalysisInvocationSchema
8
+ * @contractShape entity.analysis-tool
9
+ * @contractRole canonical
10
+ */
11
+ export declare const EntityAnalysisToolSchema: z.ZodEnum<{
12
+ LIST_SECTION: "LIST_SECTION";
13
+ RENDER_SECTION: "RENDER_SECTION";
14
+ }>;
15
+ export type EntityAnalysisTool = z.infer<typeof EntityAnalysisToolSchema>;
16
+ //# sourceMappingURL=analysis-tool.d.ts.map
@@ -0,0 +1,13 @@
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
+ * Analysis tool
5
+ *
6
+ * @openapiSchema EntityAnalysisTool
7
+ * @endpoint POST /v1/research-runs/{runId}/turns
8
+ * @usedBySchema EntityAnalysisInvocationSchema
9
+ * @contractShape entity.analysis-tool
10
+ * @contractRole canonical
11
+ */
12
+ export const EntityAnalysisToolSchema = z.enum(["RENDER_SECTION", "LIST_SECTION"]);
13
+ //# sourceMappingURL=analysis-tool.js.map
@@ -131,6 +131,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
131
131
  }>>;
132
132
  }, z.core.$strip>>;
133
133
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
134
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
134
135
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
135
136
  Acquired: "Acquired";
136
137
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -152,6 +152,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
152
152
  }>>;
153
153
  }, z.core.$strip>>;
154
154
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
155
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
155
156
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
156
157
  Acquired: "Acquired";
157
158
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -74,6 +74,8 @@ export const EntityFilterSchema = z.strictObject({
74
74
  logoOption: EntityFilterLogoOptionSchema.optional(),
75
75
  /** Main product classification values. */
76
76
  mainProduct: z.array(z.string()).optional(),
77
+ /** Precise notable activity in 48h. */
78
+ noteworthyOnly: z.boolean().optional(),
77
79
  /** Operating states to include; omit to include every state. */
78
80
  operatingStatus: z.array(EntityOperatingStatusSchema).optional(),
79
81
  /** Countries an entity is from: its headquarters country or the country of its current origin (founding) address, never a legal seat alone. What a nationality adjective (Colombian startups) means; headquartersCountry is only where it is based now. */
@@ -14,12 +14,14 @@ export declare const EntityFundraiseRoundsParamSchema: z.ZodObject<{
14
14
  size: z.ZodOptional<z.ZodInt>;
15
15
  sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
16
16
  cursor: z.ZodOptional<z.ZodString>;
17
+ dateAnnounced: z.ZodOptional<z.ZodString>;
17
18
  dateFrom: z.ZodOptional<z.ZodISODate>;
18
19
  dateTo: z.ZodOptional<z.ZodISODate>;
19
20
  maxAmount: z.ZodOptional<z.ZodNumber>;
20
21
  minAmount: z.ZodOptional<z.ZodNumber>;
21
22
  permitMonogram: z.ZodOptional<z.ZodBoolean>;
22
23
  round: z.ZodOptional<z.ZodString>;
24
+ roundExact: z.ZodOptional<z.ZodString>;
23
25
  }, z.core.$strip>;
24
26
  export type EntityFundraiseRoundsParam = z.infer<typeof EntityFundraiseRoundsParamSchema>;
25
27
  //# sourceMappingURL=fundraise-rounds-param.d.ts.map
@@ -14,6 +14,11 @@ export const ENTITY_FUNDRAISE_ROUNDS_ENDPOINT = "/v1/entities/{entityId}/fundrai
14
14
  export const EntityFundraiseRoundsParamSchema = PageParamSchema.extend({
15
15
  /** Opaque URL-safe cursor token from X-Next-Cursor. Reuse the same filters and sort. */
16
16
  cursor: z.string().optional(),
17
+ /** Funding rounds only; requires roundExact. ResearchDate announcement-period overlap uses the canonical participation write selector: ISO year, year-month, day or offset timestamp, preserving supplied precision. Omission imposes no date constraint. Two timestamps match only at the same instant; calendar periods overlap and timestamp/calendar comparisons use the timestamp's UTC day. */
18
+ dateAnnounced: z
19
+ .string()
20
+ .regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
21
+ .optional(),
17
22
  /** Inclusive minimum announced date */
18
23
  dateFrom: z.iso.date().optional(),
19
24
  /** Inclusive maximum announced date */
@@ -26,5 +31,7 @@ export const EntityFundraiseRoundsParamSchema = PageParamSchema.extend({
26
31
  permitMonogram: z.boolean().optional(),
27
32
  /** Round label contains filter */
28
33
  round: z.string().optional(),
34
+ /** Funding rounds only, not outgoing investments: match the canonical participation write selector's exact stored round label, ignoring case and surrounding spaces. Cannot combine with round, dateFrom, dateTo, minAmount or maxAmount. Returns one bounded page of at most two raw ambiguity witnesses, without display deduplication: totalElements=2 means at least two matches, not an exhaustive count. Requires page=0, size>=2 and no cursor; no stable subset or export traversal is promised across requests. Omit dateAnnounced for no date constraint. */
35
+ roundExact: z.string().optional(),
29
36
  });
30
37
  //# sourceMappingURL=fundraise-rounds-param.js.map
@@ -14,6 +14,7 @@ export declare const EntityInvestmentsParamSchema: z.ZodObject<{
14
14
  size: z.ZodOptional<z.ZodInt>;
15
15
  sort: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
16
16
  cursor: z.ZodOptional<z.ZodString>;
17
+ dateAnnounced: z.ZodOptional<z.ZodString>;
17
18
  dateFrom: z.ZodOptional<z.ZodISODate>;
18
19
  dateTo: z.ZodOptional<z.ZodISODate>;
19
20
  latestPerEntity: z.ZodOptional<z.ZodBoolean>;
@@ -21,6 +22,7 @@ export declare const EntityInvestmentsParamSchema: z.ZodObject<{
21
22
  minAmount: z.ZodOptional<z.ZodNumber>;
22
23
  permitMonogram: z.ZodOptional<z.ZodBoolean>;
23
24
  round: z.ZodOptional<z.ZodString>;
25
+ roundExact: z.ZodOptional<z.ZodString>;
24
26
  }, z.core.$strip>;
25
27
  export type EntityInvestmentsParam = z.infer<typeof EntityInvestmentsParamSchema>;
26
28
  //# sourceMappingURL=investments-param.d.ts.map
@@ -14,6 +14,11 @@ export const ENTITY_INVESTMENTS_ENDPOINT = "/v1/entities/{entityId}/investments"
14
14
  export const EntityInvestmentsParamSchema = PageParamSchema.extend({
15
15
  /** Opaque URL-safe cursor token from X-Next-Cursor. Reuse the same filters and sort. */
16
16
  cursor: z.string().optional(),
17
+ /** Funding rounds only; requires roundExact. ResearchDate announcement-period overlap uses the canonical participation write selector: ISO year, year-month, day or offset timestamp, preserving supplied precision. Omission imposes no date constraint. Two timestamps match only at the same instant; calendar periods overlap and timestamp/calendar comparisons use the timestamp's UTC day. */
18
+ dateAnnounced: z
19
+ .string()
20
+ .regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-](?:(?:0[0-9]|1[0-7]):[0-5][0-9]|18:00)))?)?)?$/)
21
+ .optional(),
17
22
  /** Inclusive minimum announced date */
18
23
  dateFrom: z.iso.date().optional(),
19
24
  /** Inclusive maximum announced date */
@@ -28,5 +33,7 @@ export const EntityInvestmentsParamSchema = PageParamSchema.extend({
28
33
  permitMonogram: z.boolean().optional(),
29
34
  /** Round label contains filter */
30
35
  round: z.string().optional(),
36
+ /** Funding rounds only, not outgoing investments: match the canonical participation write selector's exact stored round label, ignoring case and surrounding spaces. Cannot combine with round, dateFrom, dateTo, minAmount or maxAmount. Returns one bounded page of at most two raw ambiguity witnesses, without display deduplication: totalElements=2 means at least two matches, not an exhaustive count. Requires page=0, size>=2 and no cursor; no stable subset or export traversal is promised across requests. Omit dateAnnounced for no date constraint. */
37
+ roundExact: z.string().optional(),
31
38
  });
32
39
  //# sourceMappingURL=investments-param.js.map
@@ -147,6 +147,7 @@ export declare const EntityListFilterSchema: z.ZodObject<{
147
147
  }>>;
148
148
  }, z.core.$strip>>;
149
149
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
150
151
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
151
152
  Acquired: "Acquired";
152
153
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -69,6 +69,8 @@ export const EntityListFilterSchema = z.strictObject({
69
69
  logoOption: EntityFilterLogoOptionSchema.optional(),
70
70
  /** Main product classification values. */
71
71
  mainProduct: z.array(z.string()).optional(),
72
+ /** Precise notable activity in 48h. */
73
+ noteworthyOnly: z.boolean().optional(),
72
74
  /** Operating states to include; omit to include every state. */
73
75
  operatingStatus: z.array(EntityOperatingStatusSchema).optional(),
74
76
  /** Countries an entity is from: its headquarters country or the country of its current origin (founding) address, never a legal seat alone. What a nationality adjective (Colombian startups) means; headquartersCountry is only where it is based now. */
@@ -128,6 +128,7 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
128
128
  }>>;
129
129
  }, z.core.$strip>>;
130
130
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
131
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
131
132
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
132
133
  Acquired: "Acquired";
133
134
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -147,6 +147,7 @@ export declare const EntityPersonAssociationFilterSchema: z.ZodObject<{
147
147
  }>>;
148
148
  }, z.core.$strip>>;
149
149
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
150
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
150
151
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
151
152
  Acquired: "Acquired";
152
153
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -23,6 +23,7 @@ import { z } from "zod/v4";
23
23
  * @endpoint GET /v1/entities/relationships/{relationshipId}
24
24
  * @endpoint GET /v1/entities/search/jobs/{jobId}
25
25
  * @endpoint GET /v1/lookup-jobs/{jobId}
26
+ * @endpoint GET /v1/research-runs/{runId}/draft/sources
26
27
  * @endpoint GET /v1/search/link/jobs/{jobId}
27
28
  * @endpoint GET /v1/search/shared/{id}
28
29
  * @endpoint GET /v1/search/shared/slug/{slug}
@@ -35,6 +36,7 @@ import { z } from "zod/v4";
35
36
  * @endpoint POST /v1/search/natural/people
36
37
  * @endpoint POST /v1/search/shared
37
38
  * @usedBySchema EntityAcquisitionSchema
39
+ * @usedBySchema EntityAnalysisSourceSchema
38
40
  * @usedBySchema EntityFundraiseTransactionSchema
39
41
  * @usedBySchema EntityRelationshipSchema
40
42
  * @usedBySchema EntityResearchDetailSchema
@@ -24,6 +24,7 @@ import { z } from "zod/v4";
24
24
  * @endpoint GET /v1/entities/relationships/{relationshipId}
25
25
  * @endpoint GET /v1/entities/search/jobs/{jobId}
26
26
  * @endpoint GET /v1/lookup-jobs/{jobId}
27
+ * @endpoint GET /v1/research-runs/{runId}/draft/sources
27
28
  * @endpoint GET /v1/search/link/jobs/{jobId}
28
29
  * @endpoint GET /v1/search/shared/{id}
29
30
  * @endpoint GET /v1/search/shared/slug/{slug}
@@ -36,6 +37,7 @@ import { z } from "zod/v4";
36
37
  * @endpoint POST /v1/search/natural/people
37
38
  * @endpoint POST /v1/search/shared
38
39
  * @usedBySchema EntityAcquisitionSchema
40
+ * @usedBySchema EntityAnalysisSourceSchema
39
41
  * @usedBySchema EntityFundraiseTransactionSchema
40
42
  * @usedBySchema EntityRelationshipSchema
41
43
  * @usedBySchema EntityResearchDetailSchema
@@ -134,6 +134,7 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
134
134
  }>>;
135
135
  }, z.core.$strip>>;
136
136
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
+ noteworthyOnly: z.ZodOptional<z.ZodBoolean>;
137
138
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
138
139
  Acquired: "Acquired";
139
140
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -9,7 +9,7 @@ const FederatedNaturalSearchSchemaDefinition = z.object({
9
9
  answerModel: z.string().nullish(),
10
10
  /** Cache policy. use reuses earlier search work; bypass and refresh compute fresh results and are honored only for accounts with private-data access. */
11
11
  cacheMode: SearchCacheModeSchema.default("use").optional(),
12
- /** Explicit entity constraints for the entity scope only, as on POST /v1/search/natural/entities: caller-supplied fields override planner values. The person and news scopes ignore it. */
12
+ /** Explicit entity constraints for the entity scope only, as on POST /v1/search/natural/entities: caller-supplied fields override planner values. The person and news scopes ignore it. Omitted defaults suppress non-operating entities, matching the aventure.vc search page; natural entity search is unchanged. */
13
13
  entityFilter: EntityFilterSchema.optional(),
14
14
  /** 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). */
15
15
  mode: SearchModeSchema.default("auto").optional(),
@@ -17,9 +17,9 @@ const FederatedNaturalSearchSchemaDefinition = z.object({
17
17
  model: z.string().nullish(),
18
18
  /** Model catalog revision this search uses for its model defaults and inference policy; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
19
19
  modelCatalogRevision: z.int().nullish(),
20
- /** News scope page size; omitted uses the size query parameter, under the same page-size cap. */
20
+ /** News scope page size; defaults to 4, matching the aventure.vc search page, under the same page-size cap. Explicit null uses the size query parameter. */
21
21
  newsSize: z.int().nullish(),
22
- /** Person scope page size; omitted uses the size query parameter, under the same page-size cap. */
22
+ /** Person scope page size; defaults to 10, matching the aventure.vc search page, under the same page-size cap. Explicit null uses the size query parameter. */
23
23
  personSize: z.int().nullish(),
24
24
  /** Plain-English search request. */
25
25
  query: z.string().min(1),
@@ -120,6 +120,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
120
120
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
121
121
  } | undefined;
122
122
  mainProduct?: string[] | undefined;
123
+ noteworthyOnly?: boolean | undefined;
123
124
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
124
125
  originCountry?: string[] | undefined;
125
126
  person?: string[] | undefined;
@@ -240,6 +241,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
240
241
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
241
242
  } | undefined;
242
243
  mainProduct?: string[] | undefined;
244
+ noteworthyOnly?: boolean | undefined;
243
245
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
244
246
  originCountry?: string[] | undefined;
245
247
  person?: string[] | undefined;
@@ -377,6 +379,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
377
379
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
378
380
  } | undefined;
379
381
  mainProduct?: string[] | undefined;
382
+ noteworthyOnly?: boolean | undefined;
380
383
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
381
384
  originCountry?: string[] | undefined;
382
385
  person?: string[] | undefined;
@@ -2433,6 +2436,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2433
2436
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
2434
2437
  } | undefined;
2435
2438
  mainProduct?: string[] | undefined;
2439
+ noteworthyOnly?: boolean | undefined;
2436
2440
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
2437
2441
  originCountry?: string[] | undefined;
2438
2442
  person?: string[] | undefined;
@@ -2553,6 +2557,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2553
2557
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
2554
2558
  } | undefined;
2555
2559
  mainProduct?: string[] | undefined;
2560
+ noteworthyOnly?: boolean | undefined;
2556
2561
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
2557
2562
  originCountry?: string[] | undefined;
2558
2563
  person?: string[] | undefined;
@@ -2690,6 +2695,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2690
2695
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
2691
2696
  } | undefined;
2692
2697
  mainProduct?: string[] | undefined;
2698
+ noteworthyOnly?: boolean | undefined;
2693
2699
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
2694
2700
  originCountry?: string[] | undefined;
2695
2701
  person?: string[] | undefined;
@@ -7627,6 +7633,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7627
7633
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
7628
7634
  } | undefined;
7629
7635
  mainProduct?: string[] | undefined;
7636
+ noteworthyOnly?: boolean | undefined;
7630
7637
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
7631
7638
  originCountry?: string[] | undefined;
7632
7639
  person?: string[] | undefined;
@@ -7764,6 +7771,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7764
7771
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
7765
7772
  } | undefined;
7766
7773
  mainProduct?: string[] | undefined;
7774
+ noteworthyOnly?: boolean | undefined;
7767
7775
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
7768
7776
  originCountry?: string[] | undefined;
7769
7777
  person?: string[] | undefined;
@@ -8148,6 +8156,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
8148
8156
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
8149
8157
  } | undefined;
8150
8158
  mainProduct?: string[] | undefined;
8159
+ noteworthyOnly?: boolean | undefined;
8151
8160
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
8152
8161
  originCountry?: string[] | undefined;
8153
8162
  person?: string[] | undefined;
@@ -8285,6 +8294,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
8285
8294
  sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
8286
8295
  } | undefined;
8287
8296
  mainProduct?: string[] | undefined;
8297
+ noteworthyOnly?: boolean | undefined;
8288
8298
  operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
8289
8299
  originCountry?: string[] | undefined;
8290
8300
  person?: string[] | undefined;
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
4
4
  *
5
5
  * @openapiSchema HarnessChassis
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Agent loop a harness run executes on: the Claude Agent SDK or the Pi agent SDK
5
5
  *
6
6
  * @openapiSchema HarnessChassis
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
4
4
  *
5
5
  * @openapiSchema HarnessLlmApi
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Gateway wire API for a run's LLM calls: Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses
5
5
  *
6
6
  * @openapiSchema HarnessLlmApi
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Owning API environment
4
4
  *
5
5
  * @openapiSchema HarnessRunEnvironment
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Owning API environment
5
5
  *
6
6
  * @openapiSchema HarnessRunEnvironment
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -15,6 +15,9 @@ export interface HarnessRunEventSchemaInput extends z.input<typeof HarnessRunEve
15
15
  *
16
16
  * @openapiSchema HarnessRunEvent
17
17
  * @endpoint GET /v1/entities/{entityId}/analysis-replay
18
+ * @endpoint GET /v1/research-runs/{runId}/events
19
+ * @endpoint POST /v1/research-runs/{runId}/turns
20
+ * @usedBySchema CursorSliceHarnessRunEventSchema
18
21
  * @usedBySchema EntityAnalysisReplaySchema
19
22
  * @contractShape harness.run-event
20
23
  * @contractRole canonical
@@ -19,6 +19,9 @@ const HarnessRunEventSchemaDefinition = z.object({
19
19
  *
20
20
  * @openapiSchema HarnessRunEvent
21
21
  * @endpoint GET /v1/entities/{entityId}/analysis-replay
22
+ * @endpoint GET /v1/research-runs/{runId}/events
23
+ * @endpoint POST /v1/research-runs/{runId}/turns
24
+ * @usedBySchema CursorSliceHarnessRunEventSchema
22
25
  * @usedBySchema EntityAnalysisReplaySchema
23
26
  * @contractShape harness.run-event
24
27
  * @contractRole canonical
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Durable admission state for one terminal run generation's follow-up work
4
4
  *
5
5
  * @openapiSchema HarnessRunFollowUpAdmission
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Durable admission state for one terminal run generation's follow-up work
5
5
  *
6
6
  * @openapiSchema HarnessRunFollowUpAdmission
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Queue lane for admission priority: interactive client work vs background backlog
4
4
  *
5
5
  * @openapiSchema HarnessRunLane
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Queue lane for admission priority: interactive client work vs background backlog
5
5
  *
6
6
  * @openapiSchema HarnessRunLane
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Research run lifecycle state
4
4
  *
5
5
  * @openapiSchema HarnessRunStatus
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Research run lifecycle state
5
5
  *
6
6
  * @openapiSchema HarnessRunStatus
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -0,0 +1,28 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunTurnSchemaDefinition: z.ZodObject<{
3
+ figure: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
+ invocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ sectionKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ tool: z.ZodEnum<{
8
+ LIST_SECTION: "LIST_SECTION";
9
+ RENDER_SECTION: "RENDER_SECTION";
10
+ }>;
11
+ }, z.core.$strip>>>;
12
+ text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$strip>;
14
+ type HarnessRunTurnDefinition = z.infer<typeof HarnessRunTurnSchemaDefinition>;
15
+ export interface HarnessRunTurnSchemaInput extends z.input<typeof HarnessRunTurnSchemaDefinition> {
16
+ }
17
+ /**
18
+ * One conversation turn; set exactly one of text or invocation
19
+ *
20
+ * @openapiSchema HarnessRunTurn
21
+ * @endpoint POST /v1/research-runs/{runId}/turns
22
+ * @contractShape harness.run-turn
23
+ * @contractRole canonical
24
+ */
25
+ export declare const HarnessRunTurnSchema: z.ZodType<HarnessRunTurnDefinition, HarnessRunTurnSchemaInput>;
26
+ export type HarnessRunTurn = z.infer<typeof HarnessRunTurnSchema>;
27
+ export {};
28
+ //# sourceMappingURL=run-turn.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
+ import { EntityAnalysisInvocationSchema } from "../entity/analysis-invocation.js";
4
+ const HarnessRunTurnSchemaDefinition = z.object({
5
+ /** True asks the analyst to also illustrate the section with figures */
6
+ figure: z.boolean().nullish(),
7
+ /** Analysis tool invocation instead of a text message */
8
+ invocation: EntityAnalysisInvocationSchema.nullish(),
9
+ /** Nonblank user message within the conversation turn character limit */
10
+ text: z.string().nullish(),
11
+ });
12
+ /**
13
+ * One conversation turn; set exactly one of text or invocation
14
+ *
15
+ * @openapiSchema HarnessRunTurn
16
+ * @endpoint POST /v1/research-runs/{runId}/turns
17
+ * @contractShape harness.run-turn
18
+ * @contractRole canonical
19
+ */
20
+ export const HarnessRunTurnSchema = HarnessRunTurnSchemaDefinition;
21
+ //# sourceMappingURL=run-turn.js.map
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * Research run kind: a caller-filed research request or a narrower scheduled run
4
4
  *
5
5
  * @openapiSchema HarnessRunType
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  * Research run kind: a caller-filed research request or a narrower scheduled run
5
5
  *
6
6
  * @openapiSchema HarnessRunType
7
+ * @endpoint GET /v1/research-runs
7
8
  * @endpoint GET /v1/research-runs/{runId}
8
9
  * @endpoint POST /v1/enrichments
9
10
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  * One research run on a company, Product, Service, or person
4
4
  *
5
5
  * @openapiSchema HarnessRun
6
+ * @endpoint GET /v1/research-runs
6
7
  * @endpoint GET /v1/research-runs/{runId}
7
8
  * @endpoint POST /v1/enrichments
8
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
@@ -10,6 +11,7 @@ import { z } from "zod/v4";
10
11
  * @endpoint POST /v1/research-runs
11
12
  * @usedBySchema EnrichmentSchema
12
13
  * @usedBySchema HarnessRunDetailSchema
14
+ * @usedBySchema PageHarnessRunSchema
13
15
  * @contractShape harness.run
14
16
  * @contractRole canonical
15
17
  */