@aventurevc/api-schemas 0.8.309 → 0.8.311

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.
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/entities/lookup-exact
7
7
  * @endpoint GET /v1/search/link
8
8
  * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
9
10
  * @endpoint GET /v1/entities/{entityId}/investors
10
11
  * @endpoint GET /v1/entities/{entityId}/research
11
12
  * @endpoint GET /v1/entities/{entityId}/research-snippets
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/entities/lookup-exact
8
8
  * @endpoint GET /v1/search/link
9
9
  * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
10
11
  * @endpoint GET /v1/entities/{entityId}/investors
11
12
  * @endpoint GET /v1/entities/{entityId}/research
12
13
  * @endpoint GET /v1/entities/{entityId}/research-snippets
@@ -18,13 +18,32 @@ declare const EntityAnalysisReplaySchemaDefinition: z.ZodObject<{
18
18
  seq: number;
19
19
  type: string;
20
20
  }, import("../harness/run-event.ts").HarnessRunEventSchemaInput>>>;
21
+ publishedSection: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ compliance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
23
+ characterCount: z.ZodInt;
24
+ meetsRequirements: z.ZodBoolean;
25
+ violation: z.ZodArray<z.ZodString>;
26
+ wordCount: z.ZodInt;
27
+ }, z.core.$strip>>>;
28
+ entityId: z.ZodUUID;
29
+ id: z.ZodInt;
30
+ publicSource: z.ZodOptional<z.ZodNullable<z.ZodObject<{
31
+ lastFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
32
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
33
+ recordedAt: z.ZodISODateTime;
34
+ sourceDetail: z.ZodString;
35
+ }, z.core.$strip>>>;
36
+ text: z.ZodString;
37
+ textType: z.ZodString;
38
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
39
+ }, z.core.$strip>>>;
21
40
  section: z.ZodArray<z.ZodString>;
22
41
  }, z.core.$strip>;
23
42
  type EntityAnalysisReplayDefinition = z.infer<typeof EntityAnalysisReplaySchemaDefinition>;
24
43
  export interface EntityAnalysisReplaySchemaInput extends z.input<typeof EntityAnalysisReplaySchemaDefinition> {
25
44
  }
26
45
  /**
27
- * A published staff research session replayed read-only beside the Research tab's paywall. It is the requested company's own session when one exists, otherwise the newest one.
46
+ * One accepted current published result shown read-only beside the Research tab's paywall. The same global example is selected independently of the requested profile.
28
47
  *
29
48
  * @openapiSchema EntityAnalysisReplay
30
49
  * @endpoint GET /v1/entities/{entityId}/analysis-replay
@@ -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 { EntityResearchSnippetSchema } from "./research-snippet.js";
3
4
  import { HarnessRunEventSchema } from "../harness/run-event.js";
4
5
  const EntityAnalysisReplaySchemaDefinition = z.object({
5
6
  /** Company the replayed session researched. */
@@ -8,13 +9,15 @@ const EntityAnalysisReplaySchemaDefinition = z.object({
8
9
  entityName: z.string(),
9
10
  /** Profile slug of that company. */
10
11
  entitySlug: z.string(),
11
- /** The session's section requests and the analyst's replies to them, in sequence order; never free-text turns, narration, drafts, checks, tool, or usage events. */
12
+ /** Retained legacy field, always empty. Conversation is withheld; publishedSection is a result, not a reply. */
12
13
  event: z.array(HarnessRunEventSchema),
13
- /** Research snippet types this session published that are still current and unchanged since. */
14
+ /** The accepted current visible snippet, with only canonical public source metadata. */
15
+ publishedSection: EntityResearchSnippetSchema.nullish(),
16
+ /** The single snippet type displayed by this public example. */
14
17
  section: z.array(z.string()),
15
18
  });
16
19
  /**
17
- * A published staff research session replayed read-only beside the Research tab's paywall. It is the requested company's own session when one exists, otherwise the newest one.
20
+ * One accepted current published result shown read-only beside the Research tab's paywall. The same global example is selected independently of the requested profile.
18
21
  *
19
22
  * @openapiSchema EntityAnalysisReplay
20
23
  * @endpoint GET /v1/entities/{entityId}/analysis-replay
@@ -9,6 +9,7 @@ import { z } from "zod/v4";
9
9
  * @endpoint GET /v1/entities/{entityId}
10
10
  * @endpoint GET /v1/entities/{entityId}/acquisitions
11
11
  * @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
12
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
12
13
  * @endpoint GET /v1/entities/{entityId}/fundraise-rounds
13
14
  * @endpoint GET /v1/entities/{entityId}/fundraise-rounds/{fundraiseRoundId}
14
15
  * @endpoint GET /v1/entities/{entityId}/investments
@@ -10,6 +10,7 @@ import { z } from "zod/v4";
10
10
  * @endpoint GET /v1/entities/{entityId}
11
11
  * @endpoint GET /v1/entities/{entityId}/acquisitions
12
12
  * @endpoint GET /v1/entities/{entityId}/acquisitions/{relationshipId}
13
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
13
14
  * @endpoint GET /v1/entities/{entityId}/fundraise-rounds
14
15
  * @endpoint GET /v1/entities/{entityId}/fundraise-rounds/{fundraiseRoundId}
15
16
  * @endpoint GET /v1/entities/{entityId}/investments
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/entities/lookup-exact
7
7
  * @endpoint GET /v1/search/link
8
8
  * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
9
10
  * @endpoint GET /v1/entities/{entityId}/investors
10
11
  * @endpoint GET /v1/entities/{entityId}/research
11
12
  * @endpoint GET /v1/entities/{entityId}/research-snippets
@@ -18,6 +19,7 @@ import { z } from "zod/v4";
18
19
  * @endpoint POST /v1/entities/search
19
20
  * @endpoint POST /v1/search
20
21
  * @endpoint POST /v1/search/shared
22
+ * @usedBySchema EntityAnalysisReplaySchema
21
23
  * @usedBySchema EntityResearchSchema
22
24
  * @usedBySchema PageEntityResearchSnippetSchema
23
25
  * @contractShape entity.research-snippet
@@ -9,6 +9,7 @@ import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
9
9
  * @endpoint GET /v1/entities/lookup-exact
10
10
  * @endpoint GET /v1/search/link
11
11
  * @endpoint GET /v1/entities/{entityId}
12
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
12
13
  * @endpoint GET /v1/entities/{entityId}/investors
13
14
  * @endpoint GET /v1/entities/{entityId}/research
14
15
  * @endpoint GET /v1/entities/{entityId}/research-snippets
@@ -21,6 +22,7 @@ import { EntityResearchPublicSourceSchema } from "./research-public-source.js";
21
22
  * @endpoint POST /v1/entities/search
22
23
  * @endpoint POST /v1/search
23
24
  * @endpoint POST /v1/search/shared
25
+ * @usedBySchema EntityAnalysisReplaySchema
24
26
  * @usedBySchema EntityResearchSchema
25
27
  * @usedBySchema PageEntityResearchSnippetSchema
26
28
  * @contractShape entity.research-snippet
@@ -7,7 +7,7 @@ const FederatedSearchProvenanceSchemaDefinition = z.object({
7
7
  answerUnavailable: z.boolean(),
8
8
  /** Entity search strategy execution. */
9
9
  entity: SearchModeExecutionSchema,
10
- /** Scopes whose optional sources did not all complete. Returned rows remain fully judged and usable but the population is incomplete, so this response must not be cached as final. Retrying the same query may complete these scopes. */
10
+ /** Scopes whose optional sources or candidate judgments did not all complete. Returned rows remain judged and usable but the population is incomplete, so this response must not be cached as final. Retrying the same query may complete these scopes. */
11
11
  incompleteScope: z.array(z.enum(["entity", "person", "news"])).optional(),
12
12
  /** News search strategy execution. */
13
13
  news: SearchModeExecutionSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.309",
3
+ "version": "0.8.311",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",