@aventurevc/api-schemas 0.7.287 → 0.7.291

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,17 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Whether the run performs comprehensive enrichment or only selected tasks
4
+ *
5
+ * @openapiSchema EnrichmentMode
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape enrichment.mode
10
+ * @contractRole canonical
11
+ */
12
+ export declare const EnrichmentModeSchema: z.ZodEnum<{
13
+ COMPREHENSIVE: "COMPREHENSIVE";
14
+ INDIVIDUAL: "INDIVIDUAL";
15
+ }>;
16
+ export type EnrichmentMode = z.infer<typeof EnrichmentModeSchema>;
17
+ //# sourceMappingURL=mode.d.ts.map
@@ -0,0 +1,14 @@
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
+ /**
4
+ * Whether the run performs comprehensive enrichment or only selected tasks
5
+ *
6
+ * @openapiSchema EnrichmentMode
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape enrichment.mode
11
+ * @contractRole canonical
12
+ */
13
+ export const EnrichmentModeSchema = z.enum(["COMPREHENSIVE", "INDIVIDUAL"]);
14
+ //# sourceMappingURL=mode.js.map
@@ -111,6 +111,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
111
111
  }, z.core.$strip>>;
112
112
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
113
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
114
115
  portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
116
  portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
116
117
  portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -120,6 +120,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
120
120
  }, z.core.$strip>>;
121
121
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
122
122
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
123
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
123
124
  portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
124
125
  portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
125
126
  portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -61,6 +61,8 @@ export const EntityFilterSchema = z.strictObject({
61
61
  mainProduct: z.array(z.string()).optional(),
62
62
  /** Operating status values. */
63
63
  operatingStatus: z.array(z.string()).optional(),
64
+ /** Associated person, matched by name. */
65
+ person: z.array(z.string()).optional(),
64
66
  /** Portfolio-company headquarters city values. */
65
67
  portfolioHeadquartersCity: z.array(z.string()).optional(),
66
68
  /** Portfolio-company headquarters country values. */
@@ -107,6 +107,7 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
107
107
  }, z.core.$strip>>;
108
108
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
109
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
111
  portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
112
  portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
113
  portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -48,6 +48,8 @@ const EntityListFilterSchemaDefinition = z.strictObject({
48
48
  mainProduct: z.array(z.string()).optional(),
49
49
  /** Operating status values. */
50
50
  operatingStatus: z.array(z.string()).optional(),
51
+ /** Associated person, matched by name. */
52
+ person: z.array(z.string()).optional(),
51
53
  /** Portfolio-company headquarters city values. */
52
54
  portfolioHeadquartersCity: z.array(z.string()).optional(),
53
55
  /** Portfolio-company headquarters country values. */
@@ -108,6 +108,7 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
108
108
  }, z.core.$strip>>;
109
109
  mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
110
  operatingStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
112
  portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
112
113
  portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
114
  portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -79,6 +79,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
79
79
  } | undefined;
80
80
  mainProduct?: string[] | undefined;
81
81
  operatingStatus?: string[] | undefined;
82
+ person?: string[] | undefined;
82
83
  portfolioHeadquartersCity?: string[] | undefined;
83
84
  portfolioHeadquartersCountry?: string[] | undefined;
84
85
  portfolioHeadquartersState?: string[] | undefined;
@@ -673,6 +674,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
673
674
  } | undefined;
674
675
  mainProduct?: string[] | undefined;
675
676
  operatingStatus?: string[] | undefined;
677
+ person?: string[] | undefined;
676
678
  portfolioHeadquartersCity?: string[] | undefined;
677
679
  portfolioHeadquartersCountry?: string[] | undefined;
678
680
  portfolioHeadquartersState?: string[] | undefined;
@@ -0,0 +1,19 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Owning API environment
4
+ *
5
+ * @openapiSchema HarnessRunEnvironment
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape harness.run-environment
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessRunEnvironmentSchema: z.ZodEnum<{
13
+ development: "development";
14
+ production: "production";
15
+ staging: "staging";
16
+ unassigned: "unassigned";
17
+ }>;
18
+ export type HarnessRunEnvironment = z.infer<typeof HarnessRunEnvironmentSchema>;
19
+ //# sourceMappingURL=run-environment.d.ts.map
@@ -0,0 +1,19 @@
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
+ /**
4
+ * Owning API environment
5
+ *
6
+ * @openapiSchema HarnessRunEnvironment
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape harness.run-environment
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessRunEnvironmentSchema = z.enum([
14
+ "unassigned",
15
+ "development",
16
+ "staging",
17
+ "production",
18
+ ]);
19
+ //# sourceMappingURL=run-environment.js.map
@@ -0,0 +1,20 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Harness run lifecycle state
4
+ *
5
+ * @openapiSchema HarnessRunStatus
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape harness.run-status
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessRunStatusSchema: z.ZodEnum<{
13
+ completed: "completed";
14
+ failed: "failed";
15
+ queued: "queued";
16
+ running: "running";
17
+ stopped: "stopped";
18
+ }>;
19
+ export type HarnessRunStatus = z.infer<typeof HarnessRunStatusSchema>;
20
+ //# sourceMappingURL=run-status.d.ts.map
@@ -0,0 +1,20 @@
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
+ /**
4
+ * Harness run lifecycle state
5
+ *
6
+ * @openapiSchema HarnessRunStatus
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape harness.run-status
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessRunStatusSchema = z.enum([
14
+ "queued",
15
+ "running",
16
+ "completed",
17
+ "failed",
18
+ "stopped",
19
+ ]);
20
+ //# sourceMappingURL=run-status.js.map
@@ -0,0 +1,17 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Harness run kind: full enrichment loop or bounded micro-task
4
+ *
5
+ * @openapiSchema HarnessRunType
6
+ * @endpoint POST /v1/entities/{entityId}/enrichments
7
+ * @endpoint POST /v1/people/{personId}/enrichments
8
+ * @usedBySchema HarnessRunSchema
9
+ * @contractShape harness.run-type
10
+ * @contractRole canonical
11
+ */
12
+ export declare const HarnessRunTypeSchema: z.ZodEnum<{
13
+ ENRICHMENT: "ENRICHMENT";
14
+ TASK: "TASK";
15
+ }>;
16
+ export type HarnessRunType = z.infer<typeof HarnessRunTypeSchema>;
17
+ //# sourceMappingURL=run-type.d.ts.map
@@ -0,0 +1,14 @@
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
+ /**
4
+ * Harness run kind: full enrichment loop or bounded micro-task
5
+ *
6
+ * @openapiSchema HarnessRunType
7
+ * @endpoint POST /v1/entities/{entityId}/enrichments
8
+ * @endpoint POST /v1/people/{personId}/enrichments
9
+ * @usedBySchema HarnessRunSchema
10
+ * @contractShape harness.run-type
11
+ * @contractRole canonical
12
+ */
13
+ export const HarnessRunTypeSchema = z.enum(["ENRICHMENT", "TASK"]);
14
+ //# sourceMappingURL=run-type.js.map
@@ -0,0 +1,59 @@
1
+ import { z } from "zod/v4";
2
+ declare const HarnessRunSchemaDefinition: z.ZodObject<{
3
+ attempt: z.ZodInt;
4
+ createdAt: z.ZodISODateTime;
5
+ entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ environment: z.ZodEnum<{
7
+ development: "development";
8
+ production: "production";
9
+ staging: "staging";
10
+ unassigned: "unassigned";
11
+ }>;
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ failureClass: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ finishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
15
+ hasSourceDocument: z.ZodBoolean;
16
+ id: z.ZodUUID;
17
+ iteration: z.ZodInt;
18
+ latestStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ maxIteration: z.ZodInt;
20
+ maxScoutConcurrent: z.ZodInt;
21
+ mode: z.ZodEnum<{
22
+ COMPREHENSIVE: "COMPREHENSIVE";
23
+ INDIVIDUAL: "INDIVIDUAL";
24
+ }>;
25
+ model: z.ZodString;
26
+ nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
27
+ resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
28
+ startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
29
+ status: z.ZodEnum<{
30
+ completed: "completed";
31
+ failed: "failed";
32
+ queued: "queued";
33
+ running: "running";
34
+ stopped: "stopped";
35
+ }>;
36
+ subagentModel: z.ZodString;
37
+ taskPresetKey: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
38
+ type: z.ZodEnum<{
39
+ ENRICHMENT: "ENRICHMENT";
40
+ TASK: "TASK";
41
+ }>;
42
+ updatedAt: z.ZodISODateTime;
43
+ url: z.ZodString;
44
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ }, z.core.$strip>;
46
+ type HarnessRunDefinition = z.infer<typeof HarnessRunSchemaDefinition>;
47
+ /**
48
+ * One harness enrichment run
49
+ *
50
+ * @openapiSchema HarnessRun
51
+ * @endpoint POST /v1/entities/{entityId}/enrichments
52
+ * @endpoint POST /v1/people/{personId}/enrichments
53
+ * @contractShape harness.run
54
+ * @contractRole canonical
55
+ */
56
+ export declare const HarnessRunSchema: z.ZodType<HarnessRunDefinition>;
57
+ export type HarnessRun = z.infer<typeof HarnessRunSchema>;
58
+ export {};
59
+ //# sourceMappingURL=run.d.ts.map
@@ -0,0 +1,69 @@
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
+ import { HarnessRunEnvironmentSchema } from "./run-environment.js";
5
+ import { HarnessRunStatusSchema } from "./run-status.js";
6
+ import { HarnessRunTypeSchema } from "./run-type.js";
7
+ const HarnessRunSchemaDefinition = z.object({
8
+ /** Retry attempt counter */
9
+ attempt: z.int(),
10
+ /** Creation timestamp */
11
+ createdAt: z.iso.datetime({ offset: true }),
12
+ /** Canonical slug of the entity the run produced */
13
+ entitySlug: z.string().nullish(),
14
+ /** API environment */
15
+ environment: HarnessRunEnvironmentSchema,
16
+ /** Terminal failure reason, when failed */
17
+ error: z.string().nullish(),
18
+ /** Typed terminal-failure class from the harness retry classifier (e.g. runtime_cap, escalated, provider_capacity, context_overflow); null unless failed */
19
+ failureClass: z.string().nullish(),
20
+ /** Run completion timestamp */
21
+ finishedAt: z.iso.datetime({ offset: true }).nullish(),
22
+ /** Whether this run consumes an immutable private source document */
23
+ hasSourceDocument: z.boolean(),
24
+ /** Run id */
25
+ id: z.uuid(),
26
+ /** Current loop iteration */
27
+ iteration: z.int(),
28
+ /** Latest enrich-loop status as an opaque JSON string */
29
+ latestStatus: z.string().nullish(),
30
+ /** Loop iteration cap */
31
+ maxIteration: z.int(),
32
+ /** Parallel read-only scout fan-out width N */
33
+ maxScoutConcurrent: z.int(),
34
+ /** Enrichment breadth selected for this run */
35
+ mode: EnrichmentModeSchema,
36
+ /** Orchestrator model id */
37
+ model: z.string(),
38
+ /** Earliest re-claim time when waiting on retry backoff */
39
+ nextAttemptAt: z.iso.datetime({ offset: true }).nullish(),
40
+ /** Instant past which a warm resume is no longer guaranteed; the harness writes it with session_resume from the model's cache window. Warm-resumable now iff failed/stopped and this is in the future. Null when there is no resume window. */
41
+ resumeSafeUntil: z.iso.datetime({ offset: true }).nullish(),
42
+ /** Run start timestamp */
43
+ startedAt: z.iso.datetime({ offset: true }).nullish(),
44
+ /** Current lifecycle state */
45
+ status: HarnessRunStatusSchema,
46
+ /** Read-only research, cohort, and completion sub-agent model id */
47
+ subagentModel: z.string(),
48
+ /** Selected task preset keys filed with the run */
49
+ taskPresetKey: z.array(z.string()).nullish(),
50
+ /** Run kind derived from task-key presence: ENRICHMENT for a client-submitted comprehensive or preset-scoped run, TASK for a platform-scheduled micro-task execution */
51
+ type: HarnessRunTypeSchema,
52
+ /** Last update timestamp */
53
+ updatedAt: z.iso.datetime({ offset: true }),
54
+ /** Company URL under enrichment */
55
+ url: z.string(),
56
+ /** Optional steering prompt filed with the run */
57
+ userPrompt: z.string().nullish(),
58
+ });
59
+ /**
60
+ * One harness enrichment run
61
+ *
62
+ * @openapiSchema HarnessRun
63
+ * @endpoint POST /v1/entities/{entityId}/enrichments
64
+ * @endpoint POST /v1/people/{personId}/enrichments
65
+ * @contractShape harness.run
66
+ * @contractRole canonical
67
+ */
68
+ export const HarnessRunSchema = HarnessRunSchemaDefinition;
69
+ //# sourceMappingURL=run.js.map
@@ -81,6 +81,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
81
81
  } | undefined;
82
82
  mainProduct?: string[] | undefined;
83
83
  operatingStatus?: string[] | undefined;
84
+ person?: string[] | undefined;
84
85
  portfolioHeadquartersCity?: string[] | undefined;
85
86
  portfolioHeadquartersCountry?: string[] | undefined;
86
87
  portfolioHeadquartersState?: string[] | undefined;
@@ -843,6 +844,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
843
844
  } | undefined;
844
845
  mainProduct?: string[] | undefined;
845
846
  operatingStatus?: string[] | undefined;
847
+ person?: string[] | undefined;
846
848
  portfolioHeadquartersCity?: string[] | undefined;
847
849
  portfolioHeadquartersCountry?: string[] | undefined;
848
850
  portfolioHeadquartersState?: string[] | undefined;
@@ -78,6 +78,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
78
78
  } | undefined;
79
79
  mainProduct?: string[] | undefined;
80
80
  operatingStatus?: string[] | undefined;
81
+ person?: string[] | undefined;
81
82
  portfolioHeadquartersCity?: string[] | undefined;
82
83
  portfolioHeadquartersCountry?: string[] | undefined;
83
84
  portfolioHeadquartersState?: string[] | undefined;
@@ -191,6 +192,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
191
192
  } | undefined;
192
193
  mainProduct?: string[] | undefined;
193
194
  operatingStatus?: string[] | undefined;
195
+ person?: string[] | undefined;
194
196
  portfolioHeadquartersCity?: string[] | undefined;
195
197
  portfolioHeadquartersCountry?: string[] | undefined;
196
198
  portfolioHeadquartersState?: string[] | undefined;
@@ -195,6 +195,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
195
195
  schemaName: "DuplicateCreateReviewSchema",
196
196
  },
197
197
  EmployeeCount: { modulePath: "employee/count", schemaName: "EmployeeCountSchema" },
198
+ EnrichmentMode: { modulePath: "enrichment/mode", schemaName: "EnrichmentModeSchema" },
198
199
  Entity: { modulePath: "entity/entity", schemaName: "EntitySchema" },
199
200
  EntityAcceleratorParticipation: {
200
201
  modulePath: "entity/accelerator-participation",
@@ -479,6 +480,13 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
479
480
  schemaName: "FundraiseTransactionStatusSchema",
480
481
  },
481
482
  GithubRepo: { modulePath: "github/repo", schemaName: "GithubRepoSchema" },
483
+ HarnessRun: { modulePath: "harness/run", schemaName: "HarnessRunSchema" },
484
+ HarnessRunEnvironment: {
485
+ modulePath: "harness/run-environment",
486
+ schemaName: "HarnessRunEnvironmentSchema",
487
+ },
488
+ HarnessRunStatus: { modulePath: "harness/run-status", schemaName: "HarnessRunStatusSchema" },
489
+ HarnessRunType: { modulePath: "harness/run-type", schemaName: "HarnessRunTypeSchema" },
482
490
  HelpCitation: { modulePath: "help/citation", schemaName: "HelpCitationSchema" },
483
491
  HelpScope: { modulePath: "help/scope", schemaName: "HelpScopeSchema" },
484
492
  HelpSourceType: { modulePath: "help/source-type", schemaName: "HelpSourceTypeSchema" },
@@ -84,6 +84,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
84
84
  } | undefined;
85
85
  mainProduct?: string[] | undefined;
86
86
  operatingStatus?: string[] | undefined;
87
+ person?: string[] | undefined;
87
88
  portfolioHeadquartersCity?: string[] | undefined;
88
89
  portfolioHeadquartersCountry?: string[] | undefined;
89
90
  portfolioHeadquartersState?: string[] | undefined;
@@ -180,6 +181,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
180
181
  } | undefined;
181
182
  mainProduct?: string[] | undefined;
182
183
  operatingStatus?: string[] | undefined;
184
+ person?: string[] | undefined;
183
185
  portfolioHeadquartersCity?: string[] | undefined;
184
186
  portfolioHeadquartersCountry?: string[] | undefined;
185
187
  portfolioHeadquartersState?: string[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.7.287",
3
+ "version": "0.7.291",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas for the public aVenture API.",
6
6
  "license": "Apache-2.0",