@aventurevc/api-schemas 0.8.328 → 0.8.330

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.
@@ -3,7 +3,10 @@ import { z } from "zod/v4";
3
3
  * Three-level confidence band for a classifier, model, or probe verdict. The carrying property states what is assessed and what each band licenses.
4
4
  *
5
5
  * @openapiSchema Confidence
6
+ * @endpoint GET /v1/entities/lookup-exact
6
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/investors
7
10
  * @endpoint GET /v1/entities/{entityId}/logo
8
11
  * @endpoint GET /v1/news/{newsId}/thumbnail
9
12
  * @endpoint GET /v1/people/{personId}/photo
@@ -11,6 +14,9 @@ import { z } from "zod/v4";
11
14
  * @endpoint GET /v1/search/shared/{id}
12
15
  * @endpoint GET /v1/search/shared/slug/{slug}
13
16
  * @endpoint POST /v1/agents/help
17
+ * @endpoint POST /v1/entities/lookup-batch
18
+ * @endpoint POST /v1/entities/lookup-matches
19
+ * @endpoint POST /v1/entities/search
14
20
  * @endpoint POST /v1/help
15
21
  * @endpoint POST /v1/search
16
22
  * @endpoint POST /v1/search/natural/entities
@@ -4,7 +4,10 @@ import { z } from "zod/v4";
4
4
  * Three-level confidence band for a classifier, model, or probe verdict. The carrying property states what is assessed and what each band licenses.
5
5
  *
6
6
  * @openapiSchema Confidence
7
+ * @endpoint GET /v1/entities/lookup-exact
7
8
  * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/entities/{entityId}
10
+ * @endpoint GET /v1/entities/{entityId}/investors
8
11
  * @endpoint GET /v1/entities/{entityId}/logo
9
12
  * @endpoint GET /v1/news/{newsId}/thumbnail
10
13
  * @endpoint GET /v1/people/{personId}/photo
@@ -12,6 +15,9 @@ import { z } from "zod/v4";
12
15
  * @endpoint GET /v1/search/shared/{id}
13
16
  * @endpoint GET /v1/search/shared/slug/{slug}
14
17
  * @endpoint POST /v1/agents/help
18
+ * @endpoint POST /v1/entities/lookup-batch
19
+ * @endpoint POST /v1/entities/lookup-matches
20
+ * @endpoint POST /v1/entities/search
15
21
  * @endpoint POST /v1/help
16
22
  * @endpoint POST /v1/search
17
23
  * @endpoint POST /v1/search/natural/entities
@@ -23,6 +23,53 @@ import { z } from "zod/v4";
23
23
  * @contractRole canonical
24
24
  */
25
25
  export declare const EntityDetailSchema: z.ZodObject<{
26
+ comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
27
+ citation: z.ZodArray<z.ZodType<{
28
+ entityId: string;
29
+ source: string;
30
+ sourceId: string;
31
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput, z.core.$ZodTypeInternals<{
32
+ entityId: string;
33
+ source: string;
34
+ sourceId: string;
35
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput>>>;
36
+ confidence: z.ZodEnum<{
37
+ HIGH: "HIGH";
38
+ LOW: "LOW";
39
+ MEDIUM: "MEDIUM";
40
+ }>;
41
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ paragraph: z.ZodArray<z.ZodType<{
44
+ citation: {
45
+ entityId: string;
46
+ source: string;
47
+ sourceId: string;
48
+ }[];
49
+ text: string;
50
+ topic?: string | null | undefined;
51
+ webSource?: {
52
+ title: string;
53
+ url: string;
54
+ }[] | undefined;
55
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput, z.core.$ZodTypeInternals<{
56
+ citation: {
57
+ entityId: string;
58
+ source: string;
59
+ sourceId: string;
60
+ }[];
61
+ text: string;
62
+ topic?: string | null | undefined;
63
+ webSource?: {
64
+ title: string;
65
+ url: string;
66
+ }[] | undefined;
67
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput>>>;
68
+ relatedQuery: z.ZodArray<z.ZodString>;
69
+ shareable: z.ZodBoolean;
70
+ text: z.ZodString;
71
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ }, z.core.$strip>>>;
26
73
  core: z.ZodObject<{
27
74
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
75
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -11,6 +11,7 @@ import { EntityResearchSchema } from "./research.js";
11
11
  import { EntitySitemapSchema } from "./sitemap.js";
12
12
  import { NewsSchema } from "../news/news.js";
13
13
  import { PersonDetailSchema } from "../person/detail.js";
14
+ import { SearchAnswerSchema } from "../search/answer.js";
14
15
  import { UniqueIdSchema } from "../unique/id.js";
15
16
  /**
16
17
  * Full entity detail response: core entity, enrichment, governed research, relationships, external identifiers, fundraising, news, people, and sitemap eligibility. Core identity and naming fields live under core.
@@ -36,6 +37,8 @@ import { UniqueIdSchema } from "../unique/id.js";
36
37
  * @contractRole canonical
37
38
  */
38
39
  export const EntityDetailSchema = z.object({
40
+ /** Optional cited comparison of this public profile with comparisonEntityId in the requested order. Null when not requested, not entitled, withheld, or unavailable. HEAD and detail streams never compose it; ordinary detail admission is unchanged. */
41
+ comparisonAnswer: SearchAnswerSchema.nullish(),
39
42
  /** Core entity identity, naming, status, image, and source metadata. */
40
43
  core: EntitySchema,
41
44
  /** The queued or running full-research run covering this record; null when none, and always null on people embedded in another record. */
@@ -1,6 +1,53 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
3
3
  entity: z.ZodLazy<z.ZodObject<{
4
+ comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ citation: z.ZodArray<z.ZodType<{
6
+ entityId: string;
7
+ source: string;
8
+ sourceId: string;
9
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput, z.core.$ZodTypeInternals<{
10
+ entityId: string;
11
+ source: string;
12
+ sourceId: string;
13
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput>>>;
14
+ confidence: z.ZodEnum<{
15
+ HIGH: "HIGH";
16
+ LOW: "LOW";
17
+ MEDIUM: "MEDIUM";
18
+ }>;
19
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ paragraph: z.ZodArray<z.ZodType<{
22
+ citation: {
23
+ entityId: string;
24
+ source: string;
25
+ sourceId: string;
26
+ }[];
27
+ text: string;
28
+ topic?: string | null | undefined;
29
+ webSource?: {
30
+ title: string;
31
+ url: string;
32
+ }[] | undefined;
33
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput, z.core.$ZodTypeInternals<{
34
+ citation: {
35
+ entityId: string;
36
+ source: string;
37
+ sourceId: string;
38
+ }[];
39
+ text: string;
40
+ topic?: string | null | undefined;
41
+ webSource?: {
42
+ title: string;
43
+ url: string;
44
+ }[] | undefined;
45
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput>>>;
46
+ relatedQuery: z.ZodArray<z.ZodString>;
47
+ shareable: z.ZodBoolean;
48
+ text: z.ZodString;
49
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$strip>>>;
4
51
  core: z.ZodObject<{
5
52
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
53
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -11,6 +11,7 @@ export declare const ENTITY_LOOKUP_EXACT_ENDPOINT: "/v1/entities/lookup-exact";
11
11
  */
12
12
  export declare const EntityLookupExactParamSchema: z.ZodObject<{
13
13
  companySlug: z.ZodOptional<z.ZodString>;
14
+ comparisonEntityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
14
15
  location: z.ZodOptional<z.ZodString>;
15
16
  name: z.ZodOptional<z.ZodString>;
16
17
  nameBrand: z.ZodOptional<z.ZodString>;
@@ -17,6 +17,8 @@ export const EntityLookupExactParamSchema = z.object({
17
17
  .regex(/^[a-z0-9_-]+$/)
18
18
  .max(255)
19
19
  .optional(),
20
+ /** Exact peer UUIDs in display order for an optional cited comparison on the UUID item JSON read. Exclude the subject and duplicates; subject plus peers must fit the served search answer policy maxEntityEvidence. Uses public stored evidence only, requires the caller's paid natural-search entitlement, and consumes no search allowance or peer views. Omit for ordinary reads; ignored on HEAD and SSE. */
21
+ comparisonEntityId: z.array(z.uuid()).optional(),
20
22
  /** Location candidate: city, state, or country. */
21
23
  location: z.string().optional(),
22
24
  /** Primary entity name candidate. */
@@ -10,6 +10,53 @@ import { z } from "zod/v4";
10
10
  export declare const EntityResolutionSchema: z.ZodObject<{
11
11
  candidateEntityId: z.ZodArray<z.ZodUUID>;
12
12
  detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ citation: z.ZodArray<z.ZodType<{
15
+ entityId: string;
16
+ source: string;
17
+ sourceId: string;
18
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput, z.core.$ZodTypeInternals<{
19
+ entityId: string;
20
+ source: string;
21
+ sourceId: string;
22
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput>>>;
23
+ confidence: z.ZodEnum<{
24
+ HIGH: "HIGH";
25
+ LOW: "LOW";
26
+ MEDIUM: "MEDIUM";
27
+ }>;
28
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ paragraph: z.ZodArray<z.ZodType<{
31
+ citation: {
32
+ entityId: string;
33
+ source: string;
34
+ sourceId: string;
35
+ }[];
36
+ text: string;
37
+ topic?: string | null | undefined;
38
+ webSource?: {
39
+ title: string;
40
+ url: string;
41
+ }[] | undefined;
42
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput, z.core.$ZodTypeInternals<{
43
+ citation: {
44
+ entityId: string;
45
+ source: string;
46
+ sourceId: string;
47
+ }[];
48
+ text: string;
49
+ topic?: string | null | undefined;
50
+ webSource?: {
51
+ title: string;
52
+ url: string;
53
+ }[] | undefined;
54
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput>>>;
55
+ relatedQuery: z.ZodArray<z.ZodString>;
56
+ shareable: z.ZodBoolean;
57
+ text: z.ZodString;
58
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ }, z.core.$strip>>>;
13
60
  core: z.ZodObject<{
14
61
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
62
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -5420,6 +5420,53 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
5420
5420
  }[];
5421
5421
  }, import("../natural/search-result.ts").NaturalSearchResultSchemaInput>>;
5422
5422
  entityDetail: z.ZodArray<z.ZodObject<{
5423
+ comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5424
+ citation: z.ZodArray<z.ZodType<{
5425
+ entityId: string;
5426
+ source: string;
5427
+ sourceId: string;
5428
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput, z.core.$ZodTypeInternals<{
5429
+ entityId: string;
5430
+ source: string;
5431
+ sourceId: string;
5432
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput>>>;
5433
+ confidence: z.ZodEnum<{
5434
+ HIGH: "HIGH";
5435
+ LOW: "LOW";
5436
+ MEDIUM: "MEDIUM";
5437
+ }>;
5438
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5439
+ heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5440
+ paragraph: z.ZodArray<z.ZodType<{
5441
+ citation: {
5442
+ entityId: string;
5443
+ source: string;
5444
+ sourceId: string;
5445
+ }[];
5446
+ text: string;
5447
+ topic?: string | null | undefined;
5448
+ webSource?: {
5449
+ title: string;
5450
+ url: string;
5451
+ }[] | undefined;
5452
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput, z.core.$ZodTypeInternals<{
5453
+ citation: {
5454
+ entityId: string;
5455
+ source: string;
5456
+ sourceId: string;
5457
+ }[];
5458
+ text: string;
5459
+ topic?: string | null | undefined;
5460
+ webSource?: {
5461
+ title: string;
5462
+ url: string;
5463
+ }[] | undefined;
5464
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput>>>;
5465
+ relatedQuery: z.ZodArray<z.ZodString>;
5466
+ shareable: z.ZodBoolean;
5467
+ text: z.ZodString;
5468
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5469
+ }, z.core.$strip>>>;
5423
5470
  core: z.ZodObject<{
5424
5471
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5425
5472
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -30,6 +30,7 @@ export declare const IdentificationCandidateSchema: z.ZodObject<{
30
30
  }>>>;
31
31
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
32
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
33
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
34
  owner: z.ZodObject<{
34
35
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
35
36
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -31,6 +31,8 @@ export const IdentificationCandidateSchema = z.object({
31
31
  duplicateProbability: z.number().nullish(),
32
32
  /** The year the entity was founded, when stored; absent for people and records without one. */
33
33
  foundedYear: z.int().nullish(),
34
+ /** Strict canonical equality of the requested name and this entity's display brand, under the lookup's matching rules. Not a similarity, legal-name or alias proof. Absent for people, missing names, unavailable proof and older stored responses. */
35
+ nameAgreement: z.boolean().nullish(),
34
36
  /** Entity identity (entityId) or person identity (personId). record.typeRecord distinguishes a company, product, or service; read it with GET /v1/entities/{entityId} or GET /v1/people/{personId}. */
35
37
  owner: EntityPersonOwnerSchema,
36
38
  /** Confidence, 0 to 1, that this record is the subject: the one confidence to act on. Absent when an exact id, URL, slug, or registry-id match settled the answer, which needs no confidence, or when this record was not compared. */
@@ -36,6 +36,7 @@ export declare const IdentificationSchema: z.ZodObject<{
36
36
  }>>>;
37
37
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
38
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
39
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
40
  owner: z.ZodObject<{
40
41
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
41
42
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -80,6 +81,7 @@ export declare const IdentificationSchema: z.ZodObject<{
80
81
  }>>>;
81
82
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
82
83
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
84
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
83
85
  owner: z.ZodObject<{
84
86
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
85
87
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -126,6 +128,7 @@ export declare const IdentificationSchema: z.ZodObject<{
126
128
  }>>>;
127
129
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
128
130
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
131
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
129
132
  owner: z.ZodObject<{
130
133
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
131
134
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -179,6 +182,7 @@ export declare const IdentificationSchema: z.ZodObject<{
179
182
  }>>>;
180
183
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
181
184
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
185
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
182
186
  owner: z.ZodObject<{
183
187
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
184
188
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -2713,6 +2713,33 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
2713
2713
  }[];
2714
2714
  };
2715
2715
  entityDetail: {
2716
+ comparisonAnswer?: {
2717
+ citation: {
2718
+ entityId: string;
2719
+ source: string;
2720
+ sourceId: string;
2721
+ }[];
2722
+ confidence: "HIGH" | "LOW" | "MEDIUM";
2723
+ description?: string | null | undefined;
2724
+ heading?: string | null | undefined;
2725
+ paragraph: {
2726
+ citation: {
2727
+ entityId: string;
2728
+ source: string;
2729
+ sourceId: string;
2730
+ }[];
2731
+ text: string;
2732
+ topic?: string | null | undefined;
2733
+ webSource?: {
2734
+ title: string;
2735
+ url: string;
2736
+ }[] | undefined;
2737
+ }[];
2738
+ relatedQuery: string[];
2739
+ shareable: boolean;
2740
+ text: string;
2741
+ title?: string | null | undefined;
2742
+ } | null | undefined;
2716
2743
  core: {
2717
2744
  defaultCurrency?: string | null | undefined;
2718
2745
  foundedYear?: number | null | undefined;
@@ -9237,6 +9264,33 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
9237
9264
  }[];
9238
9265
  };
9239
9266
  entityDetail: {
9267
+ comparisonAnswer?: {
9268
+ citation: {
9269
+ entityId: string;
9270
+ source: string;
9271
+ sourceId: string;
9272
+ }[];
9273
+ confidence: "HIGH" | "LOW" | "MEDIUM";
9274
+ description?: string | null | undefined;
9275
+ heading?: string | null | undefined;
9276
+ paragraph: {
9277
+ citation: {
9278
+ entityId: string;
9279
+ source: string;
9280
+ sourceId: string;
9281
+ }[];
9282
+ text: string;
9283
+ topic?: string | null | undefined;
9284
+ webSource?: {
9285
+ title: string;
9286
+ url: string;
9287
+ }[] | undefined;
9288
+ }[];
9289
+ relatedQuery: string[];
9290
+ shareable: boolean;
9291
+ text: string;
9292
+ title?: string | null | undefined;
9293
+ } | null | undefined;
9240
9294
  core: {
9241
9295
  defaultCurrency?: string | null | undefined;
9242
9296
  foundedYear?: number | null | undefined;
@@ -1301,6 +1301,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1301
1301
  }>>>;
1302
1302
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1303
1303
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1304
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1304
1305
  owner: z.ZodObject<{
1305
1306
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1306
1307
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -1345,6 +1346,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1345
1346
  }>>>;
1346
1347
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1347
1348
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1349
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1348
1350
  owner: z.ZodObject<{
1349
1351
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1350
1352
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -1391,6 +1393,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1391
1393
  }>>>;
1392
1394
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1393
1395
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1396
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1394
1397
  owner: z.ZodObject<{
1395
1398
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1396
1399
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -1444,6 +1447,7 @@ declare const LookupJobMentionSchemaDefinition: z.ZodObject<{
1444
1447
  }>>>;
1445
1448
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1446
1449
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1450
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1447
1451
  owner: z.ZodObject<{
1448
1452
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
1449
1453
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -26,6 +26,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
26
26
  }>>>;
27
27
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
28
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
29
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
30
  owner: z.ZodObject<{
30
31
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
31
32
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -70,6 +71,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
70
71
  }>>>;
71
72
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
73
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
74
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
73
75
  owner: z.ZodObject<{
74
76
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
75
77
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -116,6 +118,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
116
118
  }>>>;
117
119
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
118
120
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
121
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
119
122
  owner: z.ZodObject<{
120
123
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
121
124
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -169,6 +172,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
169
172
  }>>>;
170
173
  duplicateProbability: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
171
174
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
175
+ nameAgreement: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
172
176
  owner: z.ZodObject<{
173
177
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
174
178
  personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
@@ -882,6 +886,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
882
886
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
883
887
  duplicateProbability?: number | null | undefined;
884
888
  foundedYear?: number | null | undefined;
889
+ nameAgreement?: boolean | null | undefined;
885
890
  owner: {
886
891
  entityId?: string | null | undefined;
887
892
  personId?: string | null | undefined;
@@ -908,6 +913,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
908
913
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
909
914
  duplicateProbability?: number | null | undefined;
910
915
  foundedYear?: number | null | undefined;
916
+ nameAgreement?: boolean | null | undefined;
911
917
  owner: {
912
918
  entityId?: string | null | undefined;
913
919
  personId?: string | null | undefined;
@@ -936,6 +942,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
936
942
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
937
943
  duplicateProbability?: number | null | undefined;
938
944
  foundedYear?: number | null | undefined;
945
+ nameAgreement?: boolean | null | undefined;
939
946
  owner: {
940
947
  entityId?: string | null | undefined;
941
948
  personId?: string | null | undefined;
@@ -971,6 +978,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
971
978
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
972
979
  duplicateProbability?: number | null | undefined;
973
980
  foundedYear?: number | null | undefined;
981
+ nameAgreement?: boolean | null | undefined;
974
982
  owner: {
975
983
  entityId?: string | null | undefined;
976
984
  personId?: string | null | undefined;
@@ -1712,6 +1720,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1712
1720
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1713
1721
  duplicateProbability?: number | null | undefined;
1714
1722
  foundedYear?: number | null | undefined;
1723
+ nameAgreement?: boolean | null | undefined;
1715
1724
  owner: {
1716
1725
  entityId?: string | null | undefined;
1717
1726
  personId?: string | null | undefined;
@@ -1738,6 +1747,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1738
1747
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1739
1748
  duplicateProbability?: number | null | undefined;
1740
1749
  foundedYear?: number | null | undefined;
1750
+ nameAgreement?: boolean | null | undefined;
1741
1751
  owner: {
1742
1752
  entityId?: string | null | undefined;
1743
1753
  personId?: string | null | undefined;
@@ -1766,6 +1776,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1766
1776
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1767
1777
  duplicateProbability?: number | null | undefined;
1768
1778
  foundedYear?: number | null | undefined;
1779
+ nameAgreement?: boolean | null | undefined;
1769
1780
  owner: {
1770
1781
  entityId?: string | null | undefined;
1771
1782
  personId?: string | null | undefined;
@@ -1801,6 +1812,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
1801
1812
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1802
1813
  duplicateProbability?: number | null | undefined;
1803
1814
  foundedYear?: number | null | undefined;
1815
+ nameAgreement?: boolean | null | undefined;
1804
1816
  owner: {
1805
1817
  entityId?: string | null | undefined;
1806
1818
  personId?: string | null | undefined;
@@ -661,6 +661,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
661
661
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
662
662
  duplicateProbability?: number | null | undefined;
663
663
  foundedYear?: number | null | undefined;
664
+ nameAgreement?: boolean | null | undefined;
664
665
  owner: {
665
666
  entityId?: string | null | undefined;
666
667
  personId?: string | null | undefined;
@@ -687,6 +688,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
687
688
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
688
689
  duplicateProbability?: number | null | undefined;
689
690
  foundedYear?: number | null | undefined;
691
+ nameAgreement?: boolean | null | undefined;
690
692
  owner: {
691
693
  entityId?: string | null | undefined;
692
694
  personId?: string | null | undefined;
@@ -715,6 +717,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
715
717
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
716
718
  duplicateProbability?: number | null | undefined;
717
719
  foundedYear?: number | null | undefined;
720
+ nameAgreement?: boolean | null | undefined;
718
721
  owner: {
719
722
  entityId?: string | null | undefined;
720
723
  personId?: string | null | undefined;
@@ -750,6 +753,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
750
753
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
751
754
  duplicateProbability?: number | null | undefined;
752
755
  foundedYear?: number | null | undefined;
756
+ nameAgreement?: boolean | null | undefined;
753
757
  owner: {
754
758
  entityId?: string | null | undefined;
755
759
  personId?: string | null | undefined;
@@ -1491,6 +1495,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1491
1495
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1492
1496
  duplicateProbability?: number | null | undefined;
1493
1497
  foundedYear?: number | null | undefined;
1498
+ nameAgreement?: boolean | null | undefined;
1494
1499
  owner: {
1495
1500
  entityId?: string | null | undefined;
1496
1501
  personId?: string | null | undefined;
@@ -1517,6 +1522,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1517
1522
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1518
1523
  duplicateProbability?: number | null | undefined;
1519
1524
  foundedYear?: number | null | undefined;
1525
+ nameAgreement?: boolean | null | undefined;
1520
1526
  owner: {
1521
1527
  entityId?: string | null | undefined;
1522
1528
  personId?: string | null | undefined;
@@ -1545,6 +1551,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1545
1551
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1546
1552
  duplicateProbability?: number | null | undefined;
1547
1553
  foundedYear?: number | null | undefined;
1554
+ nameAgreement?: boolean | null | undefined;
1548
1555
  owner: {
1549
1556
  entityId?: string | null | undefined;
1550
1557
  personId?: string | null | undefined;
@@ -1580,6 +1587,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1580
1587
  duplicateBasis?: "JUDGED" | "SHARED_FACT" | "STUB" | null | undefined;
1581
1588
  duplicateProbability?: number | null | undefined;
1582
1589
  foundedYear?: number | null | undefined;
1590
+ nameAgreement?: boolean | null | undefined;
1583
1591
  owner: {
1584
1592
  entityId?: string | null | undefined;
1585
1593
  personId?: string | null | undefined;
@@ -627,6 +627,53 @@ export declare const PageEntityAcquisitionSchema: z.ZodType<PageEntityAcquisitio
627
627
  export type PageEntityAcquisition = z.infer<typeof PageEntityAcquisitionSchema>;
628
628
  declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
629
629
  content: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
630
+ comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
631
+ citation: z.ZodArray<z.ZodType<{
632
+ entityId: string;
633
+ source: string;
634
+ sourceId: string;
635
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput, z.core.$ZodTypeInternals<{
636
+ entityId: string;
637
+ source: string;
638
+ sourceId: string;
639
+ }, import("../search/answer-citation.ts").SearchAnswerCitationSchemaInput>>>;
640
+ confidence: z.ZodEnum<{
641
+ HIGH: "HIGH";
642
+ LOW: "LOW";
643
+ MEDIUM: "MEDIUM";
644
+ }>;
645
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ heading: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
+ paragraph: z.ZodArray<z.ZodType<{
648
+ citation: {
649
+ entityId: string;
650
+ source: string;
651
+ sourceId: string;
652
+ }[];
653
+ text: string;
654
+ topic?: string | null | undefined;
655
+ webSource?: {
656
+ title: string;
657
+ url: string;
658
+ }[] | undefined;
659
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput, z.core.$ZodTypeInternals<{
660
+ citation: {
661
+ entityId: string;
662
+ source: string;
663
+ sourceId: string;
664
+ }[];
665
+ text: string;
666
+ topic?: string | null | undefined;
667
+ webSource?: {
668
+ title: string;
669
+ url: string;
670
+ }[] | undefined;
671
+ }, import("../search/answer-paragraph.ts").SearchAnswerParagraphSchemaInput>>>;
672
+ relatedQuery: z.ZodArray<z.ZodString>;
673
+ shareable: z.ZodBoolean;
674
+ text: z.ZodString;
675
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
+ }, z.core.$strip>>>;
630
677
  core: z.ZodObject<{
631
678
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
632
679
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -4901,6 +4948,33 @@ export type PageEntityFundraiseTransaction = z.infer<typeof PageEntityFundraiseT
4901
4948
  declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
4902
4949
  content: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
4903
4950
  entity: {
4951
+ comparisonAnswer?: {
4952
+ citation: {
4953
+ entityId: string;
4954
+ source: string;
4955
+ sourceId: string;
4956
+ }[];
4957
+ confidence: "HIGH" | "LOW" | "MEDIUM";
4958
+ description?: string | null | undefined;
4959
+ heading?: string | null | undefined;
4960
+ paragraph: {
4961
+ citation: {
4962
+ entityId: string;
4963
+ source: string;
4964
+ sourceId: string;
4965
+ }[];
4966
+ text: string;
4967
+ topic?: string | null | undefined;
4968
+ webSource?: {
4969
+ title: string;
4970
+ url: string;
4971
+ }[] | undefined;
4972
+ }[];
4973
+ relatedQuery: string[];
4974
+ shareable: boolean;
4975
+ text: string;
4976
+ title?: string | null | undefined;
4977
+ } | null | undefined;
4904
4978
  core: {
4905
4979
  defaultCurrency?: string | null | undefined;
4906
4980
  foundedYear?: number | null | undefined;
@@ -6877,6 +6951,33 @@ declare const PageEntityInvestorParticipationSchemaDefinition: z.ZodObject<{
6877
6951
  roundCount: number;
6878
6952
  }, import("../entity/investor-participation.ts").EntityInvestorParticipationSchemaInput, z.core.$ZodTypeInternals<{
6879
6953
  entity: {
6954
+ comparisonAnswer?: {
6955
+ citation: {
6956
+ entityId: string;
6957
+ source: string;
6958
+ sourceId: string;
6959
+ }[];
6960
+ confidence: "HIGH" | "LOW" | "MEDIUM";
6961
+ description?: string | null | undefined;
6962
+ heading?: string | null | undefined;
6963
+ paragraph: {
6964
+ citation: {
6965
+ entityId: string;
6966
+ source: string;
6967
+ sourceId: string;
6968
+ }[];
6969
+ text: string;
6970
+ topic?: string | null | undefined;
6971
+ webSource?: {
6972
+ title: string;
6973
+ url: string;
6974
+ }[] | undefined;
6975
+ }[];
6976
+ relatedQuery: string[];
6977
+ shareable: boolean;
6978
+ text: string;
6979
+ title?: string | null | undefined;
6980
+ } | null | undefined;
6880
6981
  core: {
6881
6982
  defaultCurrency?: string | null | undefined;
6882
6983
  foundedYear?: number | null | undefined;
@@ -27,10 +27,16 @@ export interface SearchAnswerCitationSchemaInput extends z.input<typeof SearchAn
27
27
  * One piece of evidence an answer cites, by its owning record.
28
28
  *
29
29
  * @openapiSchema SearchAnswerCitation
30
+ * @endpoint GET /v1/entities/lookup-exact
30
31
  * @endpoint GET /v1/search/link
32
+ * @endpoint GET /v1/entities/{entityId}
33
+ * @endpoint GET /v1/entities/{entityId}/investors
31
34
  * @endpoint GET /v1/search/link/jobs/{jobId}
32
35
  * @endpoint GET /v1/search/shared/{id}
33
36
  * @endpoint GET /v1/search/shared/slug/{slug}
37
+ * @endpoint POST /v1/entities/lookup-batch
38
+ * @endpoint POST /v1/entities/lookup-matches
39
+ * @endpoint POST /v1/entities/search
34
40
  * @endpoint POST /v1/search
35
41
  * @endpoint POST /v1/search/natural/entities
36
42
  * @endpoint POST /v1/search/shared
@@ -13,10 +13,16 @@ const SearchAnswerCitationSchemaDefinition = z.object({
13
13
  * One piece of evidence an answer cites, by its owning record.
14
14
  *
15
15
  * @openapiSchema SearchAnswerCitation
16
+ * @endpoint GET /v1/entities/lookup-exact
16
17
  * @endpoint GET /v1/search/link
18
+ * @endpoint GET /v1/entities/{entityId}
19
+ * @endpoint GET /v1/entities/{entityId}/investors
17
20
  * @endpoint GET /v1/search/link/jobs/{jobId}
18
21
  * @endpoint GET /v1/search/shared/{id}
19
22
  * @endpoint GET /v1/search/shared/slug/{slug}
23
+ * @endpoint POST /v1/entities/lookup-batch
24
+ * @endpoint POST /v1/entities/lookup-matches
25
+ * @endpoint POST /v1/entities/search
20
26
  * @endpoint POST /v1/search
21
27
  * @endpoint POST /v1/search/natural/entities
22
28
  * @endpoint POST /v1/search/shared
@@ -26,10 +26,16 @@ export interface SearchAnswerParagraphSchemaInput extends z.input<typeof SearchA
26
26
  * One paragraph of an answer and the evidence it rests on.
27
27
  *
28
28
  * @openapiSchema SearchAnswerParagraph
29
+ * @endpoint GET /v1/entities/lookup-exact
29
30
  * @endpoint GET /v1/search/link
31
+ * @endpoint GET /v1/entities/{entityId}
32
+ * @endpoint GET /v1/entities/{entityId}/investors
30
33
  * @endpoint GET /v1/search/link/jobs/{jobId}
31
34
  * @endpoint GET /v1/search/shared/{id}
32
35
  * @endpoint GET /v1/search/shared/slug/{slug}
36
+ * @endpoint POST /v1/entities/lookup-batch
37
+ * @endpoint POST /v1/entities/lookup-matches
38
+ * @endpoint POST /v1/entities/search
33
39
  * @endpoint POST /v1/search
34
40
  * @endpoint POST /v1/search/natural/entities
35
41
  * @endpoint POST /v1/search/shared
@@ -16,10 +16,16 @@ const SearchAnswerParagraphSchemaDefinition = z.object({
16
16
  * One paragraph of an answer and the evidence it rests on.
17
17
  *
18
18
  * @openapiSchema SearchAnswerParagraph
19
+ * @endpoint GET /v1/entities/lookup-exact
19
20
  * @endpoint GET /v1/search/link
21
+ * @endpoint GET /v1/entities/{entityId}
22
+ * @endpoint GET /v1/entities/{entityId}/investors
20
23
  * @endpoint GET /v1/search/link/jobs/{jobId}
21
24
  * @endpoint GET /v1/search/shared/{id}
22
25
  * @endpoint GET /v1/search/shared/slug/{slug}
26
+ * @endpoint POST /v1/entities/lookup-batch
27
+ * @endpoint POST /v1/entities/lookup-matches
28
+ * @endpoint POST /v1/entities/search
23
29
  * @endpoint POST /v1/search
24
30
  * @endpoint POST /v1/search/natural/entities
25
31
  * @endpoint POST /v1/search/shared
@@ -10,10 +10,16 @@ export interface SearchAnswerWebSourceSchemaInput extends z.input<typeof SearchA
10
10
  * A web search result an answer paragraph cites, by its page.
11
11
  *
12
12
  * @openapiSchema SearchAnswerWebSource
13
+ * @endpoint GET /v1/entities/lookup-exact
13
14
  * @endpoint GET /v1/search/link
15
+ * @endpoint GET /v1/entities/{entityId}
16
+ * @endpoint GET /v1/entities/{entityId}/investors
14
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
15
18
  * @endpoint GET /v1/search/shared/{id}
16
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/entities/lookup-batch
21
+ * @endpoint POST /v1/entities/lookup-matches
22
+ * @endpoint POST /v1/entities/search
17
23
  * @endpoint POST /v1/search
18
24
  * @endpoint POST /v1/search/natural/entities
19
25
  * @endpoint POST /v1/search/shared
@@ -10,10 +10,16 @@ const SearchAnswerWebSourceSchemaDefinition = z.object({
10
10
  * A web search result an answer paragraph cites, by its page.
11
11
  *
12
12
  * @openapiSchema SearchAnswerWebSource
13
+ * @endpoint GET /v1/entities/lookup-exact
13
14
  * @endpoint GET /v1/search/link
15
+ * @endpoint GET /v1/entities/{entityId}
16
+ * @endpoint GET /v1/entities/{entityId}/investors
14
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
15
18
  * @endpoint GET /v1/search/shared/{id}
16
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/entities/lookup-batch
21
+ * @endpoint POST /v1/entities/lookup-matches
22
+ * @endpoint POST /v1/entities/search
17
23
  * @endpoint POST /v1/search
18
24
  * @endpoint POST /v1/search/natural/entities
19
25
  * @endpoint POST /v1/search/shared
@@ -3,13 +3,20 @@ import { z } from "zod/v4";
3
3
  * Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means no grounded answer: the evidence does not answer the question when `provenance.answerUnavailable` is false, and the answer check refused every drafted paragraph when it is true, so a retry may answer. LOW confidence with paragraphs means at least one kept paragraph passed the answer check only below its acceptance bar.
4
4
  *
5
5
  * @openapiSchema SearchAnswer
6
+ * @endpoint GET /v1/entities/lookup-exact
6
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/investors
7
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
11
  * @endpoint GET /v1/search/shared/{id}
9
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/entities/lookup-batch
14
+ * @endpoint POST /v1/entities/lookup-matches
15
+ * @endpoint POST /v1/entities/search
10
16
  * @endpoint POST /v1/search
11
17
  * @endpoint POST /v1/search/natural/entities
12
18
  * @endpoint POST /v1/search/shared
19
+ * @usedBySchema EntityDetailSchema
13
20
  * @usedBySchema NaturalSearchResultSchema
14
21
  * @contractShape search.answer
15
22
  * @contractRole canonical
@@ -7,13 +7,20 @@ import { SearchAnswerParagraphSchema } from "./answer-paragraph.js";
7
7
  * Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means no grounded answer: the evidence does not answer the question when `provenance.answerUnavailable` is false, and the answer check refused every drafted paragraph when it is true, so a retry may answer. LOW confidence with paragraphs means at least one kept paragraph passed the answer check only below its acceptance bar.
8
8
  *
9
9
  * @openapiSchema SearchAnswer
10
+ * @endpoint GET /v1/entities/lookup-exact
10
11
  * @endpoint GET /v1/search/link
12
+ * @endpoint GET /v1/entities/{entityId}
13
+ * @endpoint GET /v1/entities/{entityId}/investors
11
14
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
15
  * @endpoint GET /v1/search/shared/{id}
13
16
  * @endpoint GET /v1/search/shared/slug/{slug}
17
+ * @endpoint POST /v1/entities/lookup-batch
18
+ * @endpoint POST /v1/entities/lookup-matches
19
+ * @endpoint POST /v1/entities/search
14
20
  * @endpoint POST /v1/search
15
21
  * @endpoint POST /v1/search/natural/entities
16
22
  * @endpoint POST /v1/search/shared
23
+ * @usedBySchema EntityDetailSchema
17
24
  * @usedBySchema NaturalSearchResultSchema
18
25
  * @contractShape search.answer
19
26
  * @contractRole canonical
@@ -3,10 +3,16 @@ import { z } from "zod/v4";
3
3
  * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution; `webProfile` a web page on a site the entity owns.
4
4
  *
5
5
  * @openapiSchema SearchEvidenceSource
6
+ * @endpoint GET /v1/entities/lookup-exact
6
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/entities/{entityId}
9
+ * @endpoint GET /v1/entities/{entityId}/investors
7
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
11
  * @endpoint GET /v1/search/shared/{id}
9
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/entities/lookup-batch
14
+ * @endpoint POST /v1/entities/lookup-matches
15
+ * @endpoint POST /v1/entities/search
10
16
  * @endpoint POST /v1/search
11
17
  * @endpoint POST /v1/search/natural/entities
12
18
  * @endpoint POST /v1/search/shared
@@ -12,10 +12,16 @@ const SearchEvidenceSourceSchemaKnownMembers = z.enum([
12
12
  * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution; `webProfile` a web page on a site the entity owns.
13
13
  *
14
14
  * @openapiSchema SearchEvidenceSource
15
+ * @endpoint GET /v1/entities/lookup-exact
15
16
  * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/entities/{entityId}
18
+ * @endpoint GET /v1/entities/{entityId}/investors
16
19
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
20
  * @endpoint GET /v1/search/shared/{id}
18
21
  * @endpoint GET /v1/search/shared/slug/{slug}
22
+ * @endpoint POST /v1/entities/lookup-batch
23
+ * @endpoint POST /v1/entities/lookup-matches
24
+ * @endpoint POST /v1/entities/search
19
25
  * @endpoint POST /v1/search
20
26
  * @endpoint POST /v1/search/natural/entities
21
27
  * @endpoint POST /v1/search/shared
@@ -2724,6 +2724,33 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
2724
2724
  }[];
2725
2725
  };
2726
2726
  entityDetail: {
2727
+ comparisonAnswer?: {
2728
+ citation: {
2729
+ entityId: string;
2730
+ source: string;
2731
+ sourceId: string;
2732
+ }[];
2733
+ confidence: "HIGH" | "LOW" | "MEDIUM";
2734
+ description?: string | null | undefined;
2735
+ heading?: string | null | undefined;
2736
+ paragraph: {
2737
+ citation: {
2738
+ entityId: string;
2739
+ source: string;
2740
+ sourceId: string;
2741
+ }[];
2742
+ text: string;
2743
+ topic?: string | null | undefined;
2744
+ webSource?: {
2745
+ title: string;
2746
+ url: string;
2747
+ }[] | undefined;
2748
+ }[];
2749
+ relatedQuery: string[];
2750
+ shareable: boolean;
2751
+ text: string;
2752
+ title?: string | null | undefined;
2753
+ } | null | undefined;
2727
2754
  core: {
2728
2755
  defaultCurrency?: string | null | undefined;
2729
2756
  foundedYear?: number | null | undefined;
@@ -9248,6 +9275,33 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
9248
9275
  }[];
9249
9276
  };
9250
9277
  entityDetail: {
9278
+ comparisonAnswer?: {
9279
+ citation: {
9280
+ entityId: string;
9281
+ source: string;
9282
+ sourceId: string;
9283
+ }[];
9284
+ confidence: "HIGH" | "LOW" | "MEDIUM";
9285
+ description?: string | null | undefined;
9286
+ heading?: string | null | undefined;
9287
+ paragraph: {
9288
+ citation: {
9289
+ entityId: string;
9290
+ source: string;
9291
+ sourceId: string;
9292
+ }[];
9293
+ text: string;
9294
+ topic?: string | null | undefined;
9295
+ webSource?: {
9296
+ title: string;
9297
+ url: string;
9298
+ }[] | undefined;
9299
+ }[];
9300
+ relatedQuery: string[];
9301
+ shareable: boolean;
9302
+ text: string;
9303
+ title?: string | null | undefined;
9304
+ } | null | undefined;
9251
9305
  core: {
9252
9306
  defaultCurrency?: string | null | undefined;
9253
9307
  foundedYear?: number | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.328",
3
+ "version": "0.8.330",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",