@aventurevc/api-schemas 0.8.240 → 0.8.242

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(),
@@ -1,5 +1,13 @@
1
1
  import { z } from "zod/v4";
2
- declare const EntityResolutionSchemaDefinition: z.ZodObject<{
2
+ /**
3
+ * Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
4
+ *
5
+ * @openapiSchema EntityResolution
6
+ * @endpoint POST /v1/entities/lookup-matches
7
+ * @contractShape entity.resolution
8
+ * @contractRole canonical
9
+ */
10
+ export declare const EntityResolutionSchema: z.ZodObject<{
3
11
  candidateEntityId: z.ZodArray<z.ZodUUID>;
4
12
  detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
13
  core: z.ZodObject<{
@@ -2849,18 +2857,5 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
2849
2857
  MISSING: "MISSING";
2850
2858
  }>;
2851
2859
  }, z.core.$strip>;
2852
- type EntityResolutionDefinition = z.infer<typeof EntityResolutionSchemaDefinition>;
2853
- export interface EntityResolutionSchemaInput extends z.input<typeof EntityResolutionSchemaDefinition> {
2854
- }
2855
- /**
2856
- * Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
2857
- *
2858
- * @openapiSchema EntityResolution
2859
- * @endpoint POST /v1/entities/lookup-matches
2860
- * @contractShape entity.resolution
2861
- * @contractRole canonical
2862
- */
2863
- export declare const EntityResolutionSchema: z.ZodType<EntityResolutionDefinition, EntityResolutionSchemaInput>;
2864
2860
  export type EntityResolution = z.infer<typeof EntityResolutionSchema>;
2865
- export {};
2866
2861
  //# sourceMappingURL=resolution.d.ts.map
@@ -1,7 +1,15 @@
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
3
  import { EntityDetailSchema } from "./detail.js";
4
- const EntityResolutionSchemaDefinition = z.object({
4
+ /**
5
+ * Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
6
+ *
7
+ * @openapiSchema EntityResolution
8
+ * @endpoint POST /v1/entities/lookup-matches
9
+ * @contractShape entity.resolution
10
+ * @contractRole canonical
11
+ */
12
+ export const EntityResolutionSchema = z.object({
5
13
  /** Entity ids that all currently own the queried URL when status is AMBIGUOUS; empty otherwise. Re-query a single id to disambiguate. */
6
14
  candidateEntityId: z.array(z.uuid()),
7
15
  /** Full entity detail when status is MATCHED; absent otherwise. */
@@ -13,13 +21,4 @@ const EntityResolutionSchemaDefinition = z.object({
13
21
  /** Resolution outcome for this input. */
14
22
  status: z.enum(["MATCHED", "AMBIGUOUS", "MISSING"]),
15
23
  });
16
- /**
17
- * Resolution of one queried identifier (id, slug, or current joined URL) to its current entity. Echoes the raw input; matched rows carry the full detail, ambiguous rows carry the conflicting candidate ids, missing rows carry neither.
18
- *
19
- * @openapiSchema EntityResolution
20
- * @endpoint POST /v1/entities/lookup-matches
21
- * @contractShape entity.resolution
22
- * @contractRole canonical
23
- */
24
- export const EntityResolutionSchema = EntityResolutionSchemaDefinition;
25
24
  //# sourceMappingURL=resolution.js.map
@@ -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.242",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",