@aventurevc/api-schemas 0.8.359 → 0.8.360
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.
|
@@ -14,6 +14,19 @@ declare const EnrichmentBatchSchemaDefinition: z.ZodObject<{
|
|
|
14
14
|
};
|
|
15
15
|
userPrompt?: string | null | undefined;
|
|
16
16
|
}, import("./instruction.ts").EnrichmentInstructionSchemaInput>>>>;
|
|
17
|
+
lane: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
18
|
+
background: "background";
|
|
19
|
+
bulk: "bulk";
|
|
20
|
+
interactive: "interactive";
|
|
21
|
+
live: "live";
|
|
22
|
+
}>, z.ZodString]> & {
|
|
23
|
+
enum: {
|
|
24
|
+
background: "background";
|
|
25
|
+
bulk: "bulk";
|
|
26
|
+
interactive: "interactive";
|
|
27
|
+
live: "live";
|
|
28
|
+
};
|
|
29
|
+
}>>;
|
|
17
30
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
18
31
|
COMPREHENSIVE: "COMPREHENSIVE";
|
|
19
32
|
INDIVIDUAL: "INDIVIDUAL";
|
package/dist/enrichment/batch.js
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { EnrichmentInstructionSchema } from "./instruction.js";
|
|
4
4
|
import { EnrichmentModeSchema } from "./mode.js";
|
|
5
|
+
import { HarnessRunLaneSchema } from "../harness/run-lane.js";
|
|
5
6
|
const EnrichmentBatchSchemaDefinition = z.object({
|
|
6
7
|
/** Canonical entity UUIDs to enrich, filed in order before any person */
|
|
7
8
|
entityId: z.array(z.uuid()).optional(),
|
|
8
9
|
/** Additional instructions for selected records, one entry per owner. Each entry appends to the shared userPrompt for that owner only. Duplicate or unselected owners and combined prompts longer than the run limit are rejected before any run is filed. Omit for identical instructions on every run. */
|
|
9
10
|
instruction: z.array(EnrichmentInstructionSchema).optional(),
|
|
11
|
+
/** Origin priority: live for lookup, interactive for an individual request, or bulk for a client batch (the default when omitted). Background is reserved for system backlog */
|
|
12
|
+
lane: HarnessRunLaneSchema.nullish(),
|
|
10
13
|
/** COMPREHENSIVE (the default) researches each whole profile; INDIVIDUAL runs only the tasks named in taskPresetKey */
|
|
11
14
|
mode: EnrichmentModeSchema.optional(),
|
|
12
15
|
/** Model id for each run's lead agent; omit to use aVenture's default model */
|
|
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
13
13
|
* @endpoint POST /v1/research-runs
|
|
14
14
|
* @endpoint POST /v1/research/runs
|
|
15
|
+
* @usedBySchema EnrichmentBatchSchema
|
|
15
16
|
* @usedBySchema HarnessRunSchema
|
|
16
17
|
* @contractShape harness.run-lane
|
|
17
18
|
* @contractRole canonical
|
package/dist/harness/run-lane.js
CHANGED
|
@@ -14,6 +14,7 @@ const HarnessRunLaneSchemaKnownMembers = z.enum(["live", "interactive", "bulk",
|
|
|
14
14
|
* @endpoint POST /v1/people/{personId}/enrichments
|
|
15
15
|
* @endpoint POST /v1/research-runs
|
|
16
16
|
* @endpoint POST /v1/research/runs
|
|
17
|
+
* @usedBySchema EnrichmentBatchSchema
|
|
17
18
|
* @usedBySchema HarnessRunSchema
|
|
18
19
|
* @contractShape harness.run-lane
|
|
19
20
|
* @contractRole canonical
|