@aventurevc/api-schemas 0.8.251 → 0.8.253

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.
@@ -0,0 +1,37 @@
1
+ import { z } from "zod/v4";
2
+ declare const EntityAnalysisReplaySchemaDefinition: z.ZodObject<{
3
+ entityId: z.ZodUUID;
4
+ entityName: z.ZodString;
5
+ entitySlug: z.ZodString;
6
+ event: z.ZodArray<z.ZodType<{
7
+ createdAt: string;
8
+ id: number;
9
+ payload: string;
10
+ runId: string;
11
+ seq: number;
12
+ type: string;
13
+ }, import("../harness/run-event.ts").HarnessRunEventSchemaInput, z.core.$ZodTypeInternals<{
14
+ createdAt: string;
15
+ id: number;
16
+ payload: string;
17
+ runId: string;
18
+ seq: number;
19
+ type: string;
20
+ }, import("../harness/run-event.ts").HarnessRunEventSchemaInput>>>;
21
+ section: z.ZodArray<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ type EntityAnalysisReplayDefinition = z.infer<typeof EntityAnalysisReplaySchemaDefinition>;
24
+ export interface EntityAnalysisReplaySchemaInput extends z.input<typeof EntityAnalysisReplaySchemaDefinition> {
25
+ }
26
+ /**
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.
28
+ *
29
+ * @openapiSchema EntityAnalysisReplay
30
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
31
+ * @contractShape entity.analysis-replay
32
+ * @contractRole canonical
33
+ */
34
+ export declare const EntityAnalysisReplaySchema: z.ZodType<EntityAnalysisReplayDefinition, EntityAnalysisReplaySchemaInput>;
35
+ export type EntityAnalysisReplay = z.infer<typeof EntityAnalysisReplaySchema>;
36
+ export {};
37
+ //# sourceMappingURL=analysis-replay.d.ts.map
@@ -0,0 +1,25 @@
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 { HarnessRunEventSchema } from "../harness/run-event.js";
4
+ const EntityAnalysisReplaySchemaDefinition = z.object({
5
+ /** Company the replayed session researched. */
6
+ entityId: z.uuid(),
7
+ /** Brand name of that company. */
8
+ entityName: z.string(),
9
+ /** Profile slug of that company. */
10
+ 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
+ event: z.array(HarnessRunEventSchema),
13
+ /** Research snippet types this session published that are still current and unchanged since. */
14
+ section: z.array(z.string()),
15
+ });
16
+ /**
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.
18
+ *
19
+ * @openapiSchema EntityAnalysisReplay
20
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
21
+ * @contractShape entity.analysis-replay
22
+ * @contractRole canonical
23
+ */
24
+ export const EntityAnalysisReplaySchema = EntityAnalysisReplaySchemaDefinition;
25
+ //# sourceMappingURL=analysis-replay.js.map
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunEventSchemaDefinition: z.ZodObject<{
3
+ createdAt: z.ZodISODateTime;
4
+ id: z.ZodNumber;
5
+ payload: z.ZodString;
6
+ runId: z.ZodUUID;
7
+ seq: z.ZodInt;
8
+ type: z.ZodString;
9
+ }, z.core.$strip>;
10
+ type HarnessRunEventDefinition = z.infer<typeof HarnessRunEventSchemaDefinition>;
11
+ export interface HarnessRunEventSchemaInput extends z.input<typeof HarnessRunEventSchemaDefinition> {
12
+ }
13
+ /**
14
+ * One ordered run stream-log entry
15
+ *
16
+ * @openapiSchema HarnessRunEvent
17
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
18
+ * @usedBySchema EntityAnalysisReplaySchema
19
+ * @contractShape harness.run-event
20
+ * @contractRole canonical
21
+ */
22
+ export declare const HarnessRunEventSchema: z.ZodType<HarnessRunEventDefinition, HarnessRunEventSchemaInput>;
23
+ export type HarnessRunEvent = z.infer<typeof HarnessRunEventSchema>;
24
+ export {};
25
+ //# sourceMappingURL=run-event.d.ts.map
@@ -0,0 +1,27 @@
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
+ const HarnessRunEventSchemaDefinition = z.object({
4
+ /** Append timestamp */
5
+ createdAt: z.iso.datetime({ offset: true }),
6
+ /** Monotonic event id */
7
+ id: z.number().int(),
8
+ /** Run-stream envelope as an opaque JSON string */
9
+ payload: z.string(),
10
+ /** Owning run id */
11
+ runId: z.uuid(),
12
+ /** Per-run ordering sequence */
13
+ seq: z.int(),
14
+ /** Stream part type */
15
+ type: z.string(),
16
+ });
17
+ /**
18
+ * One ordered run stream-log entry
19
+ *
20
+ * @openapiSchema HarnessRunEvent
21
+ * @endpoint GET /v1/entities/{entityId}/analysis-replay
22
+ * @usedBySchema EntityAnalysisReplaySchema
23
+ * @contractShape harness.run-event
24
+ * @contractRole canonical
25
+ */
26
+ export const HarnessRunEventSchema = HarnessRunEventSchemaDefinition;
27
+ //# sourceMappingURL=run-event.js.map
@@ -292,6 +292,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
292
292
  schemaName: "EntityAcquisitionStageSchema",
293
293
  },
294
294
  EntityAliasType: { modulePath: "entity/alias-type", schemaName: "EntityAliasTypeSchema" },
295
+ EntityAnalysisReplay: {
296
+ modulePath: "entity/analysis-replay",
297
+ schemaName: "EntityAnalysisReplaySchema",
298
+ },
295
299
  EntityBrand: { modulePath: "entity/brand", schemaName: "EntityBrandSchema" },
296
300
  EntityClassification: {
297
301
  modulePath: "entity/classification",
@@ -570,6 +574,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
570
574
  modulePath: "harness/run-environment",
571
575
  schemaName: "HarnessRunEnvironmentSchema",
572
576
  },
577
+ HarnessRunEvent: { modulePath: "harness/run-event", schemaName: "HarnessRunEventSchema" },
573
578
  HarnessRunFollowUp: {
574
579
  modulePath: "harness/run-follow-up",
575
580
  schemaName: "HarnessRunFollowUpSchema",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.251",
3
+ "version": "0.8.253",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",