@aventurevc/api-schemas 0.8.60 → 0.8.61

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,8 +6,10 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema EnrichmentBatchSchema
12
+ * @usedBySchema HarnessRunCreateSchema
11
13
  * @usedBySchema HarnessRunSchema
12
14
  * @contractShape enrichment.mode
13
15
  * @contractRole canonical
@@ -7,8 +7,10 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema EnrichmentBatchSchema
13
+ * @usedBySchema HarnessRunCreateSchema
12
14
  * @usedBySchema HarnessRunSchema
13
15
  * @contractShape enrichment.mode
14
16
  * @contractRole canonical
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.chassis
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.chassis
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.llm-api
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.llm-api
@@ -0,0 +1,25 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
3
+ mode: z.ZodOptional<z.ZodEnum<{
4
+ COMPREHENSIVE: "COMPREHENSIVE";
5
+ INDIVIDUAL: "INDIVIDUAL";
6
+ }>>;
7
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
10
+ url: z.ZodString;
11
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ type HarnessRunCreateDefinition = z.infer<typeof HarnessRunCreateSchemaDefinition>;
14
+ /**
15
+ * Create one harness enrichment run
16
+ *
17
+ * @openapiSchema HarnessRunCreate
18
+ * @endpoint POST /v1/harness/runs
19
+ * @contractShape harness.run-create
20
+ * @contractRole canonical
21
+ */
22
+ export declare const HarnessRunCreateSchema: z.ZodType<HarnessRunCreateDefinition>;
23
+ export type HarnessRunCreate = z.infer<typeof HarnessRunCreateSchema>;
24
+ export {};
25
+ //# sourceMappingURL=run-create.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
+ import { EnrichmentModeSchema } from "../enrichment/mode.js";
4
+ const HarnessRunCreateSchemaDefinition = z.object({
5
+ /** Enrichment breadth. Omitted by older clients to request the comprehensive default. */
6
+ mode: EnrichmentModeSchema.optional(),
7
+ /** Optional orchestrator model override; omitted uses the configured role default */
8
+ model: z.string().nullish(),
9
+ /** Name of the subject at url, such as Clarity Health; the run verifies it and uses it to pick the right subject when the site names several */
10
+ name: z.string().max(200).nullish(),
11
+ /** Selected task preset keys that scoped or emphasized this run */
12
+ taskPresetKey: z.array(z.string()).nullish(),
13
+ /** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
14
+ url: z.string(),
15
+ /** Optional steering prompt */
16
+ userPrompt: z.string().nullish(),
17
+ });
18
+ /**
19
+ * Create one harness enrichment run
20
+ *
21
+ * @openapiSchema HarnessRunCreate
22
+ * @endpoint POST /v1/harness/runs
23
+ * @contractShape harness.run-create
24
+ * @contractRole canonical
25
+ */
26
+ export const HarnessRunCreateSchema = HarnessRunCreateSchemaDefinition;
27
+ //# sourceMappingURL=run-create.js.map
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.run-environment
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.run-environment
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.run-lane
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.run-lane
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.run-status
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.run-status
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema HarnessRunSchema
11
12
  * @contractShape harness.run-type
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
7
7
  * @endpoint GET /v1/harness/runs/{runId}
8
8
  * @endpoint POST /v1/enrichments
9
9
  * @endpoint POST /v1/entities/{entityId}/enrichments
10
+ * @endpoint POST /v1/harness/runs
10
11
  * @endpoint POST /v1/people/{personId}/enrichments
11
12
  * @usedBySchema HarnessRunSchema
12
13
  * @contractShape harness.run-type
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
6
6
  * @endpoint GET /v1/harness/runs/{runId}
7
7
  * @endpoint POST /v1/enrichments
8
8
  * @endpoint POST /v1/entities/{entityId}/enrichments
9
+ * @endpoint POST /v1/harness/runs
9
10
  * @endpoint POST /v1/people/{personId}/enrichments
10
11
  * @usedBySchema EnrichmentSchema
11
12
  * @usedBySchema HarnessRunDetailSchema
@@ -14,6 +14,7 @@ import { HarnessRunTypeSchema } from "./run-type.js";
14
14
  * @endpoint GET /v1/harness/runs/{runId}
15
15
  * @endpoint POST /v1/enrichments
16
16
  * @endpoint POST /v1/entities/{entityId}/enrichments
17
+ * @endpoint POST /v1/harness/runs
17
18
  * @endpoint POST /v1/people/{personId}/enrichments
18
19
  * @usedBySchema EnrichmentSchema
19
20
  * @usedBySchema HarnessRunDetailSchema
@@ -473,6 +473,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
473
473
  HarnessChassis: { modulePath: "harness/chassis", schemaName: "HarnessChassisSchema" },
474
474
  HarnessLlmApi: { modulePath: "harness/llm-api", schemaName: "HarnessLlmApiSchema" },
475
475
  HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
476
+ HarnessRunCreate: { modulePath: "harness/run-create", schemaName: "HarnessRunCreateSchema" },
476
477
  HarnessRunDetail: { modulePath: "harness/run-detail", schemaName: "HarnessRunDetailSchema" },
477
478
  HarnessRunEnvironment: {
478
479
  modulePath: "harness/run-environment",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.60",
3
+ "version": "0.8.61",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",