@aventurevc/api-schemas 0.8.240 → 0.8.241

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.
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * How a selected research preset runs.
3
+ * How a selected research preset runs: FULL runs the full enrichment loop; MICRO runs one bounded agent task; INTERACTIVE is a subscriber-selectable session preset whose run accepts no findings and stays open for user turns.
4
4
  *
5
5
  * @openapiSchema AgentTaskPresetExecution
6
6
  * @endpoint GET /v1/research-runs/presets
@@ -10,10 +10,12 @@ import { z } from "zod/v4";
10
10
  */
11
11
  export declare const AgentTaskPresetExecutionSchema: z.ZodUnion<readonly [z.ZodEnum<{
12
12
  FULL: "FULL";
13
+ INTERACTIVE: "INTERACTIVE";
13
14
  MICRO: "MICRO";
14
15
  }>, z.ZodString]> & {
15
16
  enum: {
16
17
  FULL: "FULL";
18
+ INTERACTIVE: "INTERACTIVE";
17
19
  MICRO: "MICRO";
18
20
  };
19
21
  };
@@ -1,8 +1,8 @@
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
- const AgentTaskPresetExecutionSchemaKnownMembers = z.enum(["FULL", "MICRO"]);
3
+ const AgentTaskPresetExecutionSchemaKnownMembers = z.enum(["FULL", "MICRO", "INTERACTIVE"]);
4
4
  /**
5
- * How a selected research preset runs.
5
+ * How a selected research preset runs: FULL runs the full enrichment loop; MICRO runs one bounded agent task; INTERACTIVE is a subscriber-selectable session preset whose run accepts no findings and stays open for user turns.
6
6
  *
7
7
  * @openapiSchema AgentTaskPresetExecution
8
8
  * @endpoint GET /v1/research-runs/presets
@@ -2,10 +2,12 @@ import { z } from "zod/v4";
2
2
  declare const AgentTaskPresetSchemaDefinition: z.ZodObject<{
3
3
  execution: z.ZodUnion<readonly [z.ZodEnum<{
4
4
  FULL: "FULL";
5
+ INTERACTIVE: "INTERACTIVE";
5
6
  MICRO: "MICRO";
6
7
  }>, z.ZodString]> & {
7
8
  enum: {
8
9
  FULL: "FULL";
10
+ INTERACTIVE: "INTERACTIVE";
9
11
  MICRO: "MICRO";
10
12
  };
11
13
  };
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
3
3
  import { AgentTaskPresetExecutionSchema } from "./task-preset-execution.js";
4
4
  import { AgentTaskPresetPhaseSchema } from "./task-preset-phase.js";
5
5
  const AgentTaskPresetSchemaDefinition = z.object({
6
- /** How the preset runs: FULL focuses a full research run on its topic; MICRO runs it as one bounded research task. */
6
+ /** How the preset runs: FULL focuses a full research run on its topic; MICRO runs it as one bounded research task; INTERACTIVE runs a subscriber-selectable session that accepts no findings and stays open for user turns. */
7
7
  execution: AgentTaskPresetExecutionSchema,
8
8
  /** Stable key to send in taskPresetKey. */
9
9
  key: z.string(),
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  */
16
16
  export declare const IdentificationSubjectSchema: z.ZodObject<{
17
17
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ employer: z.ZodOptional<z.ZodArray<z.ZodString>>;
18
19
  kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
19
20
  ENTITY: "ENTITY";
20
21
  PERSON: "PERSON";
@@ -19,6 +19,8 @@ import { UniqueIdMutationSchema } from "../unique/id-mutation.js";
19
19
  export const IdentificationSubjectSchema = z.object({
20
20
  /** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
21
21
  context: z.string().max(2000).nullish(),
22
+ /** Companies the subject is known to work at; a person filing accepts a LinkedIn profile only when one of them appears in the profile's employer fields. */
23
+ employer: z.array(z.string()).max(10).optional(),
22
24
  /** Kind of record to identify when you know it: ENTITY for companies, funds, and firms (and their products or services); PERSON for people. Only that kind is looked up; typeRecord or providerId implies ENTITY. */
23
25
  kind: z.enum(["ENTITY", "PERSON"]).nullish(),
24
26
  /** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
@@ -17,6 +17,7 @@ declare const LookupJobMutationSchemaDefinition: z.ZodObject<{
17
17
  sourceUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
18
  subject: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ employer: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
21
  kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
21
22
  ENTITY: "ENTITY";
22
23
  PERSON: "PERSON";
@@ -1661,6 +1661,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1661
1661
  sourceUrl?: string | null | undefined;
1662
1662
  subject?: {
1663
1663
  context?: string | null | undefined;
1664
+ employer?: string[] | undefined;
1664
1665
  kind?: "ENTITY" | "PERSON" | null | undefined;
1665
1666
  location?: string | null | undefined;
1666
1667
  name?: string | null | undefined;
@@ -1688,6 +1689,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1688
1689
  sourceUrl?: string | null | undefined;
1689
1690
  subject?: {
1690
1691
  context?: string | null | undefined;
1692
+ employer?: string[] | undefined;
1691
1693
  kind?: "ENTITY" | "PERSON" | null | undefined;
1692
1694
  location?: string | null | undefined;
1693
1695
  name?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.240",
3
+ "version": "0.8.241",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",