@aventurevc/api-schemas 0.8.396 → 0.8.398
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.
|
@@ -6,11 +6,11 @@ import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
|
|
|
6
6
|
import { IdentificationSchema } from "../identification/identification.js";
|
|
7
7
|
import { PersonSchema } from "../person/person.js";
|
|
8
8
|
const LookupJobMentionSchemaDefinition = z.object({
|
|
9
|
-
/**
|
|
9
|
+
/** The current titled role, at a company aVenture shows publicly, of the highest-ranked listed person visible to the caller that has one (its personId names whom); null when none does or omitRecords is true. A bulk lookup job reads it on each status read. */
|
|
10
10
|
currentRole: EntityPersonAssociationSchema.nullish(),
|
|
11
11
|
/** Research request filed for this mention, if any. */
|
|
12
12
|
enrichmentRunId: z.uuid().nullish(),
|
|
13
|
-
/**
|
|
13
|
+
/** The candidate companies as search results show them, the match first, then by match probability and duplicate-check score; empty when omitRecords is true. */
|
|
14
14
|
entity: z.array(EntityListSchema),
|
|
15
15
|
/** One sentence on why this name could not be identified, if not. */
|
|
16
16
|
failureReason: z.string().nullish(),
|
|
@@ -20,7 +20,7 @@ const LookupJobMentionSchemaDefinition = z.object({
|
|
|
20
20
|
mentionType: z.enum(["COMPANY", "PERSON", "PRODUCT_SERVICE"]),
|
|
21
21
|
/** Name as the source writes it. */
|
|
22
22
|
name: z.string(),
|
|
23
|
-
/**
|
|
23
|
+
/** The candidate people as search results show them, ranked like entity; empty when omitRecords is true. */
|
|
24
24
|
person: z.array(PersonSchema),
|
|
25
25
|
/** New record aVenture created, at no charge, for a NO_MATCH name whose own live site names it: a company public and a person hidden unless publishCreated says otherwise. enrichmentRunId names research filed for it, if any; to file research yourself, send its entityId to POST /v1/entities/{entityId}/enrichments or its personId to POST /v1/people/{personId}/enrichments. */
|
|
26
26
|
shell: EntityPersonOwnerSchema.nullish(),
|
|
@@ -7,7 +7,7 @@ const LookupJobMutationSchemaDefinition = z.object({
|
|
|
7
7
|
deterministic: z.boolean().optional(),
|
|
8
8
|
/** Companies and people the caller already read, identified without sending the page or screenshot. Send them alone, without an article or file. On lookup jobs, maxNames is required and no records are created and no research is requested. */
|
|
9
9
|
mention: z.array(LookupMentionSchema).optional(),
|
|
10
|
-
/**
|
|
10
|
+
/** True answers each name with only its name, mentionType, failureReason, and identification status, stage, match, officialUrl, and detail: no entity or person rows and empty candidate and duplicate lists. Defaults to false. */
|
|
11
11
|
omitRecords: z.boolean().optional(),
|
|
12
12
|
/** Id of a stored source document whose text is the article; send it alone. Only POST /v1/lookup/mentions without maxNames reads it. An event-stream request with Prefer respond-async, source-read accepts any signed-in user's own captured PDF; every other read needs editing rights. */
|
|
13
13
|
sourceDocumentId: z.uuid().nullish(),
|