@aventurevc/api-schemas 0.8.30 → 0.8.31

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,5 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
3
+ enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
3
4
  entity: z.ZodArray<z.ZodType<{
4
5
  core: {
5
6
  defaultCurrency?: string | null | undefined;
@@ -1168,7 +1169,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1168
1169
  }, z.core.$strip>;
1169
1170
  type LookupJobMentionDefinition = z.infer<typeof LookupJobMentionSchemaDefinition>;
1170
1171
  /**
1171
- * One company or person a source names, which stored record it is, and, from a lookup job, the hidden shell record filed for it when it is new.
1172
+ * One company or person a source names, which stored record it is, and, from a lookup job or a streaming lookup, the hidden shell record filed for it when it is new.
1172
1173
  *
1173
1174
  * @openapiSchema LookupJobMention
1174
1175
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -5,6 +5,8 @@ import { EntityPersonOwnerSchema } from "../entity/person-owner.js";
5
5
  import { IdentificationSchema } from "../identification/identification.js";
6
6
  import { PersonSchema } from "../person/person.js";
7
7
  const LookupJobMentionSchemaDefinition = z.object({
8
+ /** The background harness run filed to graduate or merge shell; absent when none was filed, such as when the shell is already public. */
9
+ enrichmentRunId: z.uuid().nullish(),
8
10
  /** POST /v1/lookup-mentions only: the candidate companies as search results show them, the match first, then by decision-model probability and duplicate-check score. */
9
11
  entity: z.array(EntityListSchema),
10
12
  /** One sentence on why this name could not be identified; absent otherwise. */
@@ -17,13 +19,13 @@ const LookupJobMentionSchemaDefinition = z.object({
17
19
  name: z.string(),
18
20
  /** POST /v1/lookup-mentions only: the candidate people as search results show them, ranked like entity. */
19
21
  person: z.array(PersonSchema),
20
- /** The hidden record a lookup job created for a NO_MATCH name after the article and one independent live page both showed it exists; enrich it by its entityId or personId. Absent when no record was created. */
22
+ /** The hidden record filed for a NO_MATCH name whose own site web search found and whose live page names it, or the stored hidden record that already holds that site. A background enrichment run graduates or merges it (enrichmentRunId). Absent when no record was filed. */
21
23
  shell: EntityPersonOwnerSchema.nullish(),
22
- /** One sentence on why no shell was created for a NO_MATCH name, or why a created shell lacks its URL; absent otherwise. */
24
+ /** One sentence on why no shell was filed for a NO_MATCH name; absent otherwise. */
23
25
  shellDetail: z.string().nullish(),
24
26
  });
25
27
  /**
26
- * One company or person a source names, which stored record it is, and, from a lookup job, the hidden shell record filed for it when it is new.
28
+ * One company or person a source names, which stored record it is, and, from a lookup job or a streaming lookup, the hidden shell record filed for it when it is new.
27
29
  *
28
30
  * @openapiSchema LookupJobMention
29
31
  * @endpoint GET /v1/lookup-jobs/{jobId}
@@ -4,6 +4,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
4
4
  failureReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  jobId: z.ZodUUID;
6
6
  mention: z.ZodArray<z.ZodType<{
7
+ enrichmentRunId?: string | null | undefined;
7
8
  entity: {
8
9
  core: {
9
10
  defaultCurrency?: string | null | undefined;
@@ -603,6 +604,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
603
604
  } | null | undefined;
604
605
  shellDetail?: string | null | undefined;
605
606
  }, unknown, z.core.$ZodTypeInternals<{
607
+ enrichmentRunId?: string | null | undefined;
606
608
  entity: {
607
609
  core: {
608
610
  defaultCurrency?: string | null | undefined;
@@ -1,6 +1,7 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const MentionLookupSchemaDefinition: z.ZodObject<{
3
3
  mention: z.ZodArray<z.ZodType<{
4
+ enrichmentRunId?: string | null | undefined;
4
5
  entity: {
5
6
  core: {
6
7
  defaultCurrency?: string | null | undefined;
@@ -600,6 +601,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
600
601
  } | null | undefined;
601
602
  shellDetail?: string | null | undefined;
602
603
  }, unknown, z.core.$ZodTypeInternals<{
604
+ enrichmentRunId?: string | null | undefined;
603
605
  entity: {
604
606
  core: {
605
607
  defaultCurrency?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.30",
3
+ "version": "0.8.31",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",