@aventurevc/api-schemas 0.8.55 → 0.8.56

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.
@@ -125,6 +125,7 @@ export declare const IdentificationSchema: z.ZodObject<{
125
125
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
126
126
  }, z.core.$strip>>;
127
127
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
128
+ languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
129
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
129
130
  dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
130
131
  duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -167,7 +168,6 @@ export declare const IdentificationSchema: z.ZodObject<{
167
168
  stage: z.ZodEnum<{
168
169
  DETERMINISTIC: "DETERMINISTIC";
169
170
  JUDGMENT: "JUDGMENT";
170
- LLM_JUDGMENT: "LLM_JUDGMENT";
171
171
  WEB_EVIDENCE: "WEB_EVIDENCE";
172
172
  }>;
173
173
  status: z.ZodEnum<{
@@ -27,6 +27,8 @@ export const IdentificationSchema = z.object({
27
27
  duplicate: z.array(IdentificationCandidateSchema),
28
28
  /** The background run filed to research created; absent without created, and when the record is already public. */
29
29
  enrichmentRunId: z.uuid().nullish(),
30
+ /** true when a language model, asked twice, settled a match the decision model left in review; no enrichment or repair is scheduled for it, so confirm the record before writing to it. Absent otherwise. */
31
+ languageModelSettled: z.boolean().nullish(),
30
32
  /** The matched record when status is MATCHED. */
31
33
  match: IdentificationCandidateSchema.nullish(),
32
34
  /** Decision-model confidence, 0 to 1, in its pick: the candidate it named as the subject, or, when it picked none, that no candidate is. Present whenever a judgment ran, including a none pick; absent when no judgment ran. The kind-agnostic lookup reports the side whose answer it returns. */
@@ -36,7 +38,7 @@ export const IdentificationSchema = z.object({
36
38
  /** The subject's own website or profile page found in web search. Use it as the website when creating the record only if it is the subject's own domain, not a LinkedIn, Crunchbase, or other profile page. */
37
39
  officialUrl: z.string().nullish(),
38
40
  /** The ladder step that settled the answer. */
39
- stage: z.enum(["DETERMINISTIC", "JUDGMENT", "WEB_EVIDENCE", "LLM_JUDGMENT"]),
41
+ stage: z.enum(["DETERMINISTIC", "JUDGMENT", "WEB_EVIDENCE"]),
40
42
  /** Use the scoped match, record scoped absence, or refine an ambiguous identity with evidence. */
41
43
  status: z.enum(["MATCHED", "NO_MATCH", "NEEDS_REVIEW"]),
42
44
  });
@@ -1062,6 +1062,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1062
1062
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1063
1063
  }, z.core.$strip>>;
1064
1064
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1065
+ languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1065
1066
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1066
1067
  dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1067
1068
  duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -1104,7 +1105,6 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1104
1105
  stage: z.ZodEnum<{
1105
1106
  DETERMINISTIC: "DETERMINISTIC";
1106
1107
  JUDGMENT: "JUDGMENT";
1107
- LLM_JUDGMENT: "LLM_JUDGMENT";
1108
1108
  WEB_EVIDENCE: "WEB_EVIDENCE";
1109
1109
  }>;
1110
1110
  status: z.ZodEnum<{
@@ -9,7 +9,7 @@ const LookupJobMutationSchemaDefinition = z.object({
9
9
  sourceNewsId: z.int().nullish(),
10
10
  /** URL of the article; read from aVenture news when stored there, otherwise fetched. */
11
11
  sourceUrl: z.string().max(2000).nullish(),
12
- /** Read-only: the subject of a GET /v1/lookup or POST /v1/entities/lookup request sent with Prefer: respond-async, which this job identifies exactly as that route would. Requests to create a job or read mentions must omit it. */
12
+ /** Read-only: the subject of a GET or POST /v1/lookup or POST /v1/entities/lookup request sent with Prefer: respond-async, or rolled over from a signed-in live lookup, which this job identifies exactly as that route would. Requests to create a job or read mentions must omit it. */
13
13
  subject: IdentificationSubjectSchema.nullish(),
14
14
  });
15
15
  /**
@@ -113,6 +113,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
113
113
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
114
114
  }, z.core.$strip>>;
115
115
  enrichmentRunId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
116
+ languageModelSettled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
116
117
  match: z.ZodOptional<z.ZodNullable<z.ZodObject<{
117
118
  dataCompletionCoverage: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
118
119
  duplicateBasis: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -155,7 +156,6 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
155
156
  stage: z.ZodEnum<{
156
157
  DETERMINISTIC: "DETERMINISTIC";
157
158
  JUDGMENT: "JUDGMENT";
158
- LLM_JUDGMENT: "LLM_JUDGMENT";
159
159
  WEB_EVIDENCE: "WEB_EVIDENCE";
160
160
  }>;
161
161
  status: z.ZodEnum<{
@@ -714,6 +714,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
714
714
  updatedAt?: string | null | undefined;
715
715
  }[];
716
716
  enrichmentRunId?: string | null | undefined;
717
+ languageModelSettled?: boolean | null | undefined;
717
718
  match?: {
718
719
  dataCompletionCoverage?: number | null | undefined;
719
720
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
@@ -739,7 +740,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
739
740
  matchConfidence?: number | null | undefined;
740
741
  matchEvidenceProbability?: number | null | undefined;
741
742
  officialUrl?: string | null | undefined;
742
- stage: "DETERMINISTIC" | "JUDGMENT" | "LLM_JUDGMENT" | "WEB_EVIDENCE";
743
+ stage: "DETERMINISTIC" | "JUDGMENT" | "WEB_EVIDENCE";
743
744
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
744
745
  } | null | undefined;
745
746
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
@@ -1337,6 +1338,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1337
1338
  updatedAt?: string | null | undefined;
1338
1339
  }[];
1339
1340
  enrichmentRunId?: string | null | undefined;
1341
+ languageModelSettled?: boolean | null | undefined;
1340
1342
  match?: {
1341
1343
  dataCompletionCoverage?: number | null | undefined;
1342
1344
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
@@ -1362,7 +1364,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1362
1364
  matchConfidence?: number | null | undefined;
1363
1365
  matchEvidenceProbability?: number | null | undefined;
1364
1366
  officialUrl?: string | null | undefined;
1365
- stage: "DETERMINISTIC" | "JUDGMENT" | "LLM_JUDGMENT" | "WEB_EVIDENCE";
1367
+ stage: "DETERMINISTIC" | "JUDGMENT" | "WEB_EVIDENCE";
1366
1368
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
1367
1369
  } | null | undefined;
1368
1370
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
@@ -547,6 +547,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
547
547
  updatedAt?: string | null | undefined;
548
548
  }[];
549
549
  enrichmentRunId?: string | null | undefined;
550
+ languageModelSettled?: boolean | null | undefined;
550
551
  match?: {
551
552
  dataCompletionCoverage?: number | null | undefined;
552
553
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
@@ -572,7 +573,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
572
573
  matchConfidence?: number | null | undefined;
573
574
  matchEvidenceProbability?: number | null | undefined;
574
575
  officialUrl?: string | null | undefined;
575
- stage: "DETERMINISTIC" | "JUDGMENT" | "LLM_JUDGMENT" | "WEB_EVIDENCE";
576
+ stage: "DETERMINISTIC" | "JUDGMENT" | "WEB_EVIDENCE";
576
577
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
577
578
  } | null | undefined;
578
579
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
@@ -1170,6 +1171,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1170
1171
  updatedAt?: string | null | undefined;
1171
1172
  }[];
1172
1173
  enrichmentRunId?: string | null | undefined;
1174
+ languageModelSettled?: boolean | null | undefined;
1173
1175
  match?: {
1174
1176
  dataCompletionCoverage?: number | null | undefined;
1175
1177
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
@@ -1195,7 +1197,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1195
1197
  matchConfidence?: number | null | undefined;
1196
1198
  matchEvidenceProbability?: number | null | undefined;
1197
1199
  officialUrl?: string | null | undefined;
1198
- stage: "DETERMINISTIC" | "JUDGMENT" | "LLM_JUDGMENT" | "WEB_EVIDENCE";
1200
+ stage: "DETERMINISTIC" | "JUDGMENT" | "WEB_EVIDENCE";
1199
1201
  status: "MATCHED" | "NEEDS_REVIEW" | "NO_MATCH";
1200
1202
  } | null | undefined;
1201
1203
  mentionType: "COMPANY" | "PERSON" | "PRODUCT_SERVICE";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.55",
3
+ "version": "0.8.56",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",