@aventurevc/api-schemas 0.8.57 → 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.
- package/dist/enrichment/mode.d.ts +2 -0
- package/dist/enrichment/mode.js +2 -0
- package/dist/entity/person-association.js +2 -1
- package/dist/harness/chassis.d.ts +1 -0
- package/dist/harness/chassis.js +1 -0
- package/dist/harness/llm-api.d.ts +1 -0
- package/dist/harness/llm-api.js +1 -0
- package/dist/harness/run-create.d.ts +25 -0
- package/dist/harness/run-create.js +27 -0
- package/dist/harness/run-environment.d.ts +1 -0
- package/dist/harness/run-environment.js +1 -0
- package/dist/harness/run-lane.d.ts +1 -0
- package/dist/harness/run-lane.js +1 -0
- package/dist/harness/run-status.d.ts +1 -0
- package/dist/harness/run-status.js +1 -0
- package/dist/harness/run-type.d.ts +1 -0
- package/dist/harness/run-type.js +1 -0
- package/dist/harness/run.d.ts +1 -0
- package/dist/harness/run.js +1 -0
- package/dist/identification/subject.js +1 -1
- package/dist/openapi-component-manifest.js +1 -0
- package/dist/person/investment.js +2 -0
- package/package.json +1 -1
|
@@ -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
|
package/dist/enrichment/mode.js
CHANGED
|
@@ -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
|
|
@@ -33,7 +33,7 @@ import { PersonImageSchema } from "../person/image.js";
|
|
|
33
33
|
export const EntityPersonAssociationSchema = z.object({
|
|
34
34
|
/** Integer person-entity association join row id, not a person or entity UUID */
|
|
35
35
|
associationId: z.int(),
|
|
36
|
-
/** Association period end, preserving source precision */
|
|
36
|
+
/** Association period end, preserving source precision; any value means the association ended and isCurrent is false. Absent only while not terminated */
|
|
37
37
|
endDate: z
|
|
38
38
|
.string()
|
|
39
39
|
.regex(/^(?!0000)[0-9]{4}(?:-(?:0[1-9]|1[0-2])(?:-(?:0[1-9]|[12][0-9]|3[01])(?:T(?:[01][0-9]|2[0-3]):[0-5][0-9](?::[0-5][0-9](?:\.[0-9]{1,9})?)?(?:Z|[+-][0-9]{2}:[0-5][0-9]))?)?)?$/)
|
|
@@ -55,6 +55,7 @@ export const EntityPersonAssociationSchema = z.object({
|
|
|
55
55
|
entityType: EntityTypeSchema.nullish(),
|
|
56
56
|
/** Entity URL links carried on the association projection */
|
|
57
57
|
entityUrlLink: z.array(EntityUrlLinkSchema),
|
|
58
|
+
/** True only while the association has no endDate; any endDate means it ended */
|
|
58
59
|
isCurrent: z.boolean().nullish(),
|
|
59
60
|
/** Person addresses carried on the association projection */
|
|
60
61
|
personAddress: z.array(AddressSchema),
|
|
@@ -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
|
package/dist/harness/chassis.js
CHANGED
|
@@ -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
|
package/dist/harness/llm-api.js
CHANGED
|
@@ -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
|
package/dist/harness/run-lane.js
CHANGED
|
@@ -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
|
package/dist/harness/run-type.js
CHANGED
|
@@ -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
|
package/dist/harness/run.d.ts
CHANGED
|
@@ -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
|
package/dist/harness/run.js
CHANGED
|
@@ -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
|
|
@@ -18,7 +18,7 @@ import { EntityTypeSchema } from "../entity/type.js";
|
|
|
18
18
|
export const IdentificationSubjectSchema = z.object({
|
|
19
19
|
/** Specific facts in plain words: product, industry, employer and title, or founder names. Generic words like startup add nothing. */
|
|
20
20
|
context: z.string().max(2000).nullish(),
|
|
21
|
-
/** Kind of record to identify when you know it; the
|
|
21
|
+
/** Kind of record to identify when you know it; the lookup then runs only that kind's ladder. typeRecord or providerId implies ENTITY. */
|
|
22
22
|
kind: z.enum(["ENTITY", "PERSON"]).nullish(),
|
|
23
23
|
/** City, region, or country, such as Austin, TX. Tells namesakes apart; not proof on its own. */
|
|
24
24
|
location: z.string().max(2000).nullish(),
|
|
@@ -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",
|
|
@@ -6,11 +6,13 @@ import { PersonInvestedCompanySchema } from "./invested-company.js";
|
|
|
6
6
|
const PersonInvestmentSchemaDefinition = z.object({
|
|
7
7
|
amount: z.number().nullish(),
|
|
8
8
|
company: PersonInvestedCompanySchema,
|
|
9
|
+
/** Announced date of the fundraise round. Use this field for when the investment happened; null when the round date is unknown. */
|
|
9
10
|
date: z.iso.datetime({ offset: true }).nullish(),
|
|
10
11
|
fundraiseTransaction: EntityFundraiseSchema.nullish(),
|
|
11
12
|
/** Canonical fundraise transaction UUID */
|
|
12
13
|
fundraiseTransactionId: z.uuid(),
|
|
13
14
|
id: z.string(),
|
|
15
|
+
/** When aVenture recorded this person's participation in the round. It is not the investment date: imported portfolios share their import date. Use date for when the round happened. */
|
|
14
16
|
investmentDate: z.iso.datetime({ offset: true }),
|
|
15
17
|
/** Investor-specific attribution for this person's participation in the fundraise round. amountInvested is a plain decimal number in the fundraise transaction currency and is not added to amount. */
|
|
16
18
|
investorAttribution: FundraiseInvestmentAttributionSchema.nullish(),
|