@aventurevc/api-schemas 0.8.62 → 0.8.63

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.
Files changed (67) hide show
  1. package/dist/confidence/confidence.d.ts +1 -0
  2. package/dist/confidence/confidence.js +1 -0
  3. package/dist/content/embedding-match.d.ts +2 -0
  4. package/dist/content/source-type.d.ts +2 -0
  5. package/dist/content/source-type.js +2 -0
  6. package/dist/entity/accelerator-participation.d.ts +9 -5
  7. package/dist/entity/acquisition.d.ts +18 -10
  8. package/dist/entity/brand.d.ts +9 -5
  9. package/dist/entity/detail.d.ts +9 -5
  10. package/dist/entity/entity.d.ts +9 -5
  11. package/dist/entity/fundraise-transaction-entity.d.ts +9 -5
  12. package/dist/entity/fundraise-transaction.d.ts +9 -5
  13. package/dist/entity/fundraise.d.ts +9 -5
  14. package/dist/entity/image.d.ts +8 -5
  15. package/dist/entity/image.js +7 -6
  16. package/dist/entity/investor-participation.d.ts +9 -5
  17. package/dist/entity/list.d.ts +12 -5
  18. package/dist/entity/list.js +1 -0
  19. package/dist/entity/person-association.d.ts +16 -9
  20. package/dist/entity/relationship.d.ts +9 -5
  21. package/dist/entity/resolution.d.ts +9 -5
  22. package/dist/entity/similarity-context.d.ts +4 -0
  23. package/dist/entity/similarity-context.js +4 -0
  24. package/dist/entity/similarity-origin.d.ts +4 -0
  25. package/dist/entity/similarity-origin.js +4 -0
  26. package/dist/entity/similarity-result.d.ts +5 -0
  27. package/dist/entity/similarity-result.js +5 -0
  28. package/dist/entity/similarity-summary.d.ts +9 -5
  29. package/dist/federated/search.d.ts +2093 -123
  30. package/dist/harness/run-detail.d.ts +18 -10
  31. package/dist/link/search.d.ts +2182 -212
  32. package/dist/media/upload.d.ts +14 -11
  33. package/dist/media/upload.js +12 -11
  34. package/dist/natural/search-result.d.ts +1980 -14
  35. package/dist/natural/search-result.js +12 -0
  36. package/dist/news/detail.d.ts +13 -10
  37. package/dist/news/detail.js +11 -10
  38. package/dist/openapi-component-manifest.js +12 -0
  39. package/dist/pagination/schemas.d.ts +34 -19
  40. package/dist/person/detail.d.ts +16 -9
  41. package/dist/person/graph-career-context.d.ts +9 -5
  42. package/dist/person/graph-co-investor.d.ts +9 -5
  43. package/dist/person/graph-member.d.ts +7 -4
  44. package/dist/person/graph-similar-entity.d.ts +9 -5
  45. package/dist/person/image.d.ts +7 -4
  46. package/dist/person/image.js +6 -5
  47. package/dist/person/invested-company.d.ts +9 -5
  48. package/dist/person/investment.d.ts +9 -5
  49. package/dist/person/person.d.ts +9 -4
  50. package/dist/person/similarity-result.d.ts +16 -9
  51. package/dist/search/answer-citation.d.ts +27 -0
  52. package/dist/search/answer-citation.js +25 -0
  53. package/dist/search/answer.d.ts +32 -0
  54. package/dist/search/answer.js +25 -0
  55. package/dist/search/evidence-source.d.ts +21 -0
  56. package/dist/search/evidence-source.js +21 -0
  57. package/dist/search/intent.d.ts +21 -0
  58. package/dist/search/intent.js +16 -0
  59. package/dist/search/interpretation.d.ts +7 -0
  60. package/dist/search/interpretation.js +5 -0
  61. package/dist/search/layer.d.ts +15 -0
  62. package/dist/search/layer.js +12 -0
  63. package/dist/search/mode.d.ts +1 -1
  64. package/dist/search/mode.js +1 -1
  65. package/dist/search/passage.d.ts +32 -0
  66. package/dist/search/passage.js +35 -0
  67. package/package.json +1 -1
@@ -1,12 +1,24 @@
1
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
2
  import { z } from "zod/v4";
3
+ import { EntityListSchema } from "../entity/list.js";
4
+ import { EntitySimilarityResultSchema } from "../entity/similarity-result.js";
3
5
  import { PageResultEntityListSchema } from "../pagination/schemas.js";
6
+ import { SearchAnswerSchema } from "../search/answer.js";
4
7
  import { SearchInterpretationSchema } from "../search/interpretation.js";
8
+ import { SearchPassageSchema } from "../search/passage.js";
5
9
  const NaturalSearchResultSchemaDefinition = z.object({
10
+ /** Written answer grounded in the subject, peer, and result records and the passages; null unless the request asks for the `synthesis` layer. */
11
+ answer: SearchAnswerSchema.nullish(),
6
12
  /** Structured interpretation used to run the entity list query. */
7
13
  interpretation: SearchInterpretationSchema,
14
+ /** Passages that best answer the question, ranked by score; empty unless the request asks for the `passage` layer. */
15
+ passage: z.array(SearchPassageSchema),
16
+ /** Curated competitors of the single subject entity for `peer` questions; semantic look-alikes are the result page. Empty otherwise. */
17
+ peer: z.array(EntitySimilarityResultSchema),
8
18
  /** Entity list page returned by the canonical entity list engine. */
9
19
  result: PageResultEntityListSchema,
20
+ /** Entities the question is about, one per resolved subject name, in query order; empty when the question names none or none resolves. */
21
+ subject: z.array(EntityListSchema),
10
22
  });
11
23
  /**
12
24
  * Natural-language entity search result: planner interpretation plus the canonical entity list page produced by EntityListService.
@@ -1,14 +1,5 @@
1
1
  import { z } from "zod/v4";
2
- /**
3
- * Canonical news detail owner
4
- *
5
- * @openapiSchema NewsDetail
6
- * @endpoint GET /v1/news/lookup
7
- * @endpoint GET /v1/news/{newsId}
8
- * @contractShape news.detail
9
- * @contractRole canonical
10
- */
11
- export declare const NewsDetailSchema: z.ZodObject<{
2
+ declare const NewsDetailSchemaDefinition: z.ZodObject<{
12
3
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
4
  core: z.ZodType<{
14
5
  author?: string | null | undefined;
@@ -80,5 +71,17 @@ export declare const NewsDetailSchema: z.ZodObject<{
80
71
  updatedAt: string;
81
72
  }, unknown>>>;
82
73
  }, z.core.$strip>;
74
+ type NewsDetailDefinition = z.infer<typeof NewsDetailSchemaDefinition>;
75
+ /**
76
+ * Canonical news detail owner
77
+ *
78
+ * @openapiSchema NewsDetail
79
+ * @endpoint GET /v1/news/lookup
80
+ * @endpoint GET /v1/news/{newsId}
81
+ * @contractShape news.detail
82
+ * @contractRole canonical
83
+ */
84
+ export declare const NewsDetailSchema: z.ZodType<NewsDetailDefinition>;
83
85
  export type NewsDetail = z.infer<typeof NewsDetailSchema>;
86
+ export {};
84
87
  //# sourceMappingURL=detail.d.ts.map
@@ -3,16 +3,7 @@ import { z } from "zod/v4";
3
3
  import { NewsSchema } from "./news.js";
4
4
  import { NewsResolvedEntityLinkSchema } from "./resolved-entity-link.js";
5
5
  import { NewsResolvedPersonLinkSchema } from "./resolved-person-link.js";
6
- /**
7
- * Canonical news detail owner
8
- *
9
- * @openapiSchema NewsDetail
10
- * @endpoint GET /v1/news/lookup
11
- * @endpoint GET /v1/news/{newsId}
12
- * @contractShape news.detail
13
- * @contractRole canonical
14
- */
15
- export const NewsDetailSchema = z.object({
6
+ const NewsDetailSchemaDefinition = z.object({
16
7
  content: z.string().nullish(),
17
8
  core: NewsSchema,
18
9
  /** Resolved entity mentions — read-only display projections. News mutations attach entities only via flat entityJoinId values, never these nested objects. */
@@ -22,4 +13,14 @@ export const NewsDetailSchema = z.object({
22
13
  /** Resolved person mentions — read-only display projections. News mutations attach people only via flat personId/personSlug values, never these nested objects. */
23
14
  personMentionResolved: z.array(NewsResolvedPersonLinkSchema),
24
15
  });
16
+ /**
17
+ * Canonical news detail owner
18
+ *
19
+ * @openapiSchema NewsDetail
20
+ * @endpoint GET /v1/news/lookup
21
+ * @endpoint GET /v1/news/{newsId}
22
+ * @contractShape news.detail
23
+ * @contractRole canonical
24
+ */
25
+ export const NewsDetailSchema = NewsDetailSchemaDefinition;
25
26
  //# sourceMappingURL=detail.js.map
@@ -789,15 +789,26 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
789
789
  ResolvedHandle: { modulePath: "resolved/handle", schemaName: "ResolvedHandleSchema" },
790
790
  RoundLabel: { modulePath: "round/label", schemaName: "RoundLabelSchema" },
791
791
  Search: { modulePath: "search/search", schemaName: "SearchSchema" },
792
+ SearchAnswer: { modulePath: "search/answer", schemaName: "SearchAnswerSchema" },
793
+ SearchAnswerCitation: {
794
+ modulePath: "search/answer-citation",
795
+ schemaName: "SearchAnswerCitationSchema",
796
+ },
792
797
  SearchDuplicateCandidateScore: {
793
798
  modulePath: "search/duplicate-candidate-score",
794
799
  schemaName: "SearchDuplicateCandidateScoreSchema",
795
800
  },
801
+ SearchEvidenceSource: {
802
+ modulePath: "search/evidence-source",
803
+ schemaName: "SearchEvidenceSourceSchema",
804
+ },
796
805
  SearchHit: { modulePath: "search/hit", schemaName: "SearchHitSchema" },
806
+ SearchIntent: { modulePath: "search/intent", schemaName: "SearchIntentSchema" },
797
807
  SearchInterpretation: {
798
808
  modulePath: "search/interpretation",
799
809
  schemaName: "SearchInterpretationSchema",
800
810
  },
811
+ SearchLayer: { modulePath: "search/layer", schemaName: "SearchLayerSchema" },
801
812
  SearchMode: { modulePath: "search/mode", schemaName: "SearchModeSchema" },
802
813
  SearchModeExecution: {
803
814
  modulePath: "search/mode-execution",
@@ -811,6 +822,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
811
822
  modulePath: "search/ordering-person-sort-field",
812
823
  schemaName: "SearchOrderingPersonSortFieldSchema",
813
824
  },
825
+ SearchPassage: { modulePath: "search/passage", schemaName: "SearchPassageSchema" },
814
826
  SearchRelevance: { modulePath: "search/relevance", schemaName: "SearchRelevanceSchema" },
815
827
  SecCompany: { modulePath: "sec/company", schemaName: "SecCompanySchema" },
816
828
  SlugLocation: { modulePath: "slug/location", schemaName: "SlugLocationSchema" },
@@ -261,11 +261,15 @@ declare const PageEntitySchemaDefinition: z.ZodObject<{
261
261
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
262
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
263
263
  id: z.ZodUUID;
264
- image: z.ZodObject<{
265
- isMonogram: z.ZodBoolean;
266
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
267
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
268
- }, z.core.$strip>;
264
+ image: z.ZodType<{
265
+ isMonogram: boolean;
266
+ logo?: string | null | undefined;
267
+ logoSquare?: string | null | undefined;
268
+ }, unknown, z.core.$ZodTypeInternals<{
269
+ isMonogram: boolean;
270
+ logo?: string | null | undefined;
271
+ logoSquare?: string | null | undefined;
272
+ }, unknown>>;
269
273
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
270
274
  nameAlias: z.ZodArray<z.ZodType<{
271
275
  displayable?: boolean | null | undefined;
@@ -563,11 +567,15 @@ declare const PageEntityDetailSchemaDefinition: z.ZodObject<{
563
567
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
564
568
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
565
569
  id: z.ZodUUID;
566
- image: z.ZodObject<{
567
- isMonogram: z.ZodBoolean;
568
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
569
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
570
- }, z.core.$strip>;
570
+ image: z.ZodType<{
571
+ isMonogram: boolean;
572
+ logo?: string | null | undefined;
573
+ logoSquare?: string | null | undefined;
574
+ }, unknown, z.core.$ZodTypeInternals<{
575
+ isMonogram: boolean;
576
+ logo?: string | null | undefined;
577
+ logoSquare?: string | null | undefined;
578
+ }, unknown>>;
571
579
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
572
580
  nameAlias: z.ZodArray<z.ZodType<{
573
581
  displayable?: boolean | null | undefined;
@@ -5582,11 +5590,15 @@ declare const PageEntityPersonAssociationSchemaDefinition: z.ZodObject<{
5582
5590
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5583
5591
  }, z.core.$strip>>;
5584
5592
  entityId: z.ZodUUID;
5585
- entityLogo: z.ZodObject<{
5586
- isMonogram: z.ZodBoolean;
5587
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5588
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5589
- }, z.core.$strip>;
5593
+ entityLogo: z.ZodType<{
5594
+ isMonogram: boolean;
5595
+ logo?: string | null | undefined;
5596
+ logoSquare?: string | null | undefined;
5597
+ }, unknown, z.core.$ZodTypeInternals<{
5598
+ isMonogram: boolean;
5599
+ logo?: string | null | undefined;
5600
+ logoSquare?: string | null | undefined;
5601
+ }, unknown>>;
5590
5602
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5591
5603
  entityOperatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5592
5604
  entitySlug: z.ZodString;
@@ -5686,10 +5698,13 @@ declare const PageEntityPersonAssociationSchemaDefinition: z.ZodObject<{
5686
5698
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5687
5699
  }, z.core.$strip>>;
5688
5700
  personId: z.ZodUUID;
5689
- personImage: z.ZodObject<{
5690
- isMonogram: z.ZodBoolean;
5691
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5692
- }, z.core.$strip>;
5701
+ personImage: z.ZodType<{
5702
+ isMonogram: boolean;
5703
+ picture?: string | null | undefined;
5704
+ }, unknown, z.core.$ZodTypeInternals<{
5705
+ isMonogram: boolean;
5706
+ picture?: string | null | undefined;
5707
+ }, unknown>>;
5693
5708
  personName: z.ZodString;
5694
5709
  personSlug: z.ZodString;
5695
5710
  personUrlLink: z.ZodArray<z.ZodType<{
@@ -53,11 +53,15 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
53
53
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
54
54
  }, z.core.$strip>>;
55
55
  entityId: z.ZodUUID;
56
- entityLogo: z.ZodObject<{
57
- isMonogram: z.ZodBoolean;
58
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
- }, z.core.$strip>;
56
+ entityLogo: z.ZodType<{
57
+ isMonogram: boolean;
58
+ logo?: string | null | undefined;
59
+ logoSquare?: string | null | undefined;
60
+ }, unknown, z.core.$ZodTypeInternals<{
61
+ isMonogram: boolean;
62
+ logo?: string | null | undefined;
63
+ logoSquare?: string | null | undefined;
64
+ }, unknown>>;
61
65
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
66
  entityOperatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
67
  entitySlug: z.ZodString;
@@ -157,10 +161,13 @@ declare const PersonDetailSchemaDefinition: z.ZodObject<{
157
161
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
158
162
  }, z.core.$strip>>;
159
163
  personId: z.ZodUUID;
160
- personImage: z.ZodObject<{
161
- isMonogram: z.ZodBoolean;
162
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
- }, z.core.$strip>;
164
+ personImage: z.ZodType<{
165
+ isMonogram: boolean;
166
+ picture?: string | null | undefined;
167
+ }, unknown, z.core.$ZodTypeInternals<{
168
+ isMonogram: boolean;
169
+ picture?: string | null | undefined;
170
+ }, unknown>>;
164
171
  personName: z.ZodString;
165
172
  personSlug: z.ZodString;
166
173
  personUrlLink: z.ZodArray<z.ZodType<{
@@ -51,11 +51,15 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
51
51
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
53
53
  id: z.ZodUUID;
54
- image: z.ZodObject<{
55
- isMonogram: z.ZodBoolean;
56
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- }, z.core.$strip>;
54
+ image: z.ZodType<{
55
+ isMonogram: boolean;
56
+ logo?: string | null | undefined;
57
+ logoSquare?: string | null | undefined;
58
+ }, unknown, z.core.$ZodTypeInternals<{
59
+ isMonogram: boolean;
60
+ logo?: string | null | undefined;
61
+ logoSquare?: string | null | undefined;
62
+ }, unknown>>;
59
63
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
60
64
  nameAlias: z.ZodArray<z.ZodType<{
61
65
  displayable?: boolean | null | undefined;
@@ -27,11 +27,15 @@ declare const PersonGraphCoInvestorSchemaDefinition: z.ZodObject<{
27
27
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
29
29
  id: z.ZodUUID;
30
- image: z.ZodObject<{
31
- isMonogram: z.ZodBoolean;
32
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>;
30
+ image: z.ZodType<{
31
+ isMonogram: boolean;
32
+ logo?: string | null | undefined;
33
+ logoSquare?: string | null | undefined;
34
+ }, unknown, z.core.$ZodTypeInternals<{
35
+ isMonogram: boolean;
36
+ logo?: string | null | undefined;
37
+ logoSquare?: string | null | undefined;
38
+ }, unknown>>;
35
39
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
36
40
  nameAlias: z.ZodArray<z.ZodType<{
37
41
  displayable?: boolean | null | undefined;
@@ -2,10 +2,13 @@ import { z } from "zod/v4";
2
2
  declare const PersonGraphMemberSchemaDefinition: z.ZodObject<{
3
3
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4
4
  personId: z.ZodUUID;
5
- personImage: z.ZodObject<{
6
- isMonogram: z.ZodBoolean;
7
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
- }, z.core.$strip>;
5
+ personImage: z.ZodType<{
6
+ isMonogram: boolean;
7
+ picture?: string | null | undefined;
8
+ }, unknown, z.core.$ZodTypeInternals<{
9
+ isMonogram: boolean;
10
+ picture?: string | null | undefined;
11
+ }, unknown>>;
9
12
  personName: z.ZodString;
10
13
  personSlug: z.ZodString;
11
14
  titleName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5,11 +5,15 @@ declare const PersonGraphSimilarEntitySchemaDefinition: z.ZodObject<{
5
5
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
7
  id: z.ZodUUID;
8
- image: z.ZodObject<{
9
- isMonogram: z.ZodBoolean;
10
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>;
8
+ image: z.ZodType<{
9
+ isMonogram: boolean;
10
+ logo?: string | null | undefined;
11
+ logoSquare?: string | null | undefined;
12
+ }, unknown, z.core.$ZodTypeInternals<{
13
+ isMonogram: boolean;
14
+ logo?: string | null | undefined;
15
+ logoSquare?: string | null | undefined;
16
+ }, unknown>>;
13
17
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
14
18
  nameAlias: z.ZodArray<z.ZodType<{
15
19
  displayable?: boolean | null | undefined;
@@ -1,4 +1,9 @@
1
1
  import { z } from "zod/v4";
2
+ declare const PersonImageSchemaDefinition: z.ZodObject<{
3
+ isMonogram: z.ZodBoolean;
4
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ }, z.core.$strip>;
6
+ type PersonImageDefinition = z.infer<typeof PersonImageSchemaDefinition>;
2
7
  /**
3
8
  * Read projection: person image fields for detail/list responses
4
9
  *
@@ -33,9 +38,7 @@ import { z } from "zod/v4";
33
38
  * @contractShape person.image
34
39
  * @contractRole canonical
35
40
  */
36
- export declare const PersonImageSchema: z.ZodObject<{
37
- isMonogram: z.ZodBoolean;
38
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
- }, z.core.$strip>;
41
+ export declare const PersonImageSchema: z.ZodType<PersonImageDefinition>;
40
42
  export type PersonImage = z.infer<typeof PersonImageSchema>;
43
+ export {};
41
44
  //# sourceMappingURL=image.d.ts.map
@@ -1,5 +1,10 @@
1
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
2
  import { z } from "zod/v4";
3
+ const PersonImageSchemaDefinition = z.object({
4
+ /** Whether person image monogram */
5
+ isMonogram: z.boolean(),
6
+ picture: z.string().nullish(),
7
+ });
3
8
  /**
4
9
  * Read projection: person image fields for detail/list responses
5
10
  *
@@ -34,9 +39,5 @@ import { z } from "zod/v4";
34
39
  * @contractShape person.image
35
40
  * @contractRole canonical
36
41
  */
37
- export const PersonImageSchema = z.object({
38
- /** Whether person image monogram */
39
- isMonogram: z.boolean(),
40
- picture: z.string().nullish(),
41
- });
42
+ export const PersonImageSchema = PersonImageSchemaDefinition;
42
43
  //# sourceMappingURL=image.js.map
@@ -4,11 +4,15 @@ declare const PersonInvestedCompanySchemaDefinition: z.ZodObject<{
4
4
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6
6
  id: z.ZodUUID;
7
- image: z.ZodObject<{
8
- isMonogram: z.ZodBoolean;
9
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
7
+ image: z.ZodType<{
8
+ isMonogram: boolean;
9
+ logo?: string | null | undefined;
10
+ logoSquare?: string | null | undefined;
11
+ }, unknown, z.core.$ZodTypeInternals<{
12
+ isMonogram: boolean;
13
+ logo?: string | null | undefined;
14
+ logoSquare?: string | null | undefined;
15
+ }, unknown>>;
12
16
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
13
17
  nameAlias: z.ZodArray<z.ZodType<{
14
18
  displayable?: boolean | null | undefined;
@@ -81,11 +81,15 @@ declare const PersonInvestmentSchemaDefinition: z.ZodObject<{
81
81
  amountRaised: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
82
82
  dateAnnounced: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
83
83
  id: z.ZodUUID;
84
- image: z.ZodObject<{
85
- isMonogram: z.ZodBoolean;
86
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, z.core.$strip>;
84
+ image: z.ZodType<{
85
+ isMonogram: boolean;
86
+ logo?: string | null | undefined;
87
+ logoSquare?: string | null | undefined;
88
+ }, unknown, z.core.$ZodTypeInternals<{
89
+ isMonogram: boolean;
90
+ logo?: string | null | undefined;
91
+ logoSquare?: string | null | undefined;
92
+ }, unknown>>;
89
93
  investorCount: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
90
94
  nameBrand: z.ZodString;
91
95
  round: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3,10 +3,13 @@ declare const PersonSchemaDefinition: z.ZodObject<{
3
3
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4
4
  gender: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
5
  id: z.ZodUUID;
6
- image: z.ZodObject<{
7
- isMonogram: z.ZodBoolean;
8
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
- }, z.core.$strip>;
6
+ image: z.ZodType<{
7
+ isMonogram: boolean;
8
+ picture?: string | null | undefined;
9
+ }, unknown, z.core.$ZodTypeInternals<{
10
+ isMonogram: boolean;
11
+ picture?: string | null | undefined;
12
+ }, unknown>>;
10
13
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
11
14
  nameAlias: z.ZodArray<z.ZodType<{
12
15
  displayable?: boolean | null | undefined;
@@ -42,7 +45,9 @@ declare const PersonSchemaDefinition: z.ZodObject<{
42
45
  newsArticle: "newsArticle";
43
46
  person: "person";
44
47
  product: "product";
48
+ researchSnippet: "researchSnippet";
45
49
  service: "service";
50
+ sourceDocument: "sourceDocument";
46
51
  text: "text";
47
52
  }>, z.ZodString]>;
48
53
  }, z.core.$strip>>>;
@@ -52,11 +52,15 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
52
52
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
53
  }, z.core.$strip>>;
54
54
  entityId: z.ZodUUID;
55
- entityLogo: z.ZodObject<{
56
- isMonogram: z.ZodBoolean;
57
- logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
- logoSquare: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>;
55
+ entityLogo: z.ZodType<{
56
+ isMonogram: boolean;
57
+ logo?: string | null | undefined;
58
+ logoSquare?: string | null | undefined;
59
+ }, unknown, z.core.$ZodTypeInternals<{
60
+ isMonogram: boolean;
61
+ logo?: string | null | undefined;
62
+ logoSquare?: string | null | undefined;
63
+ }, unknown>>;
60
64
  entityName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
65
  entityOperatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
66
  entitySlug: z.ZodString;
@@ -156,10 +160,13 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
156
160
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
157
161
  }, z.core.$strip>>;
158
162
  personId: z.ZodUUID;
159
- personImage: z.ZodObject<{
160
- isMonogram: z.ZodBoolean;
161
- picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
- }, z.core.$strip>;
163
+ personImage: z.ZodType<{
164
+ isMonogram: boolean;
165
+ picture?: string | null | undefined;
166
+ }, unknown, z.core.$ZodTypeInternals<{
167
+ isMonogram: boolean;
168
+ picture?: string | null | undefined;
169
+ }, unknown>>;
163
170
  personName: z.ZodString;
164
171
  personSlug: z.ZodString;
165
172
  personUrlLink: z.ZodArray<z.ZodType<{
@@ -0,0 +1,27 @@
1
+ import { z } from "zod/v4";
2
+ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
3
+ entityId: z.ZodUUID;
4
+ source: z.ZodEnum<{
5
+ entityRecord: "entityRecord";
6
+ newsArticle: "newsArticle";
7
+ researchSnippet: "researchSnippet";
8
+ }>;
9
+ sourceId: z.ZodString;
10
+ }, z.core.$strip>;
11
+ type SearchAnswerCitationDefinition = z.infer<typeof SearchAnswerCitationSchemaDefinition>;
12
+ /**
13
+ * One piece of evidence an answer cites, by its owning record.
14
+ *
15
+ * @openapiSchema SearchAnswerCitation
16
+ * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema SearchAnswerSchema
21
+ * @contractShape search.answer-citation
22
+ * @contractRole canonical
23
+ */
24
+ export declare const SearchAnswerCitationSchema: z.ZodType<SearchAnswerCitationDefinition>;
25
+ export type SearchAnswerCitation = z.infer<typeof SearchAnswerCitationSchema>;
26
+ export {};
27
+ //# sourceMappingURL=answer-citation.d.ts.map
@@ -0,0 +1,25 @@
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 { SearchEvidenceSourceSchema } from "./evidence-source.js";
4
+ const SearchAnswerCitationSchemaDefinition = z.object({
5
+ /** Entity the evidence is about. */
6
+ entityId: z.uuid(),
7
+ /** Record that owns the cited evidence. */
8
+ source: SearchEvidenceSourceSchema,
9
+ /** Entity id for `entityRecord`, else the snippet or news article id from `passage`. */
10
+ sourceId: z.string(),
11
+ });
12
+ /**
13
+ * One piece of evidence an answer cites, by its owning record.
14
+ *
15
+ * @openapiSchema SearchAnswerCitation
16
+ * @endpoint GET /v1/search/link
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/natural/entities
20
+ * @usedBySchema SearchAnswerSchema
21
+ * @contractShape search.answer-citation
22
+ * @contractRole canonical
23
+ */
24
+ export const SearchAnswerCitationSchema = SearchAnswerCitationSchemaDefinition;
25
+ //# sourceMappingURL=answer-citation.js.map
@@ -0,0 +1,32 @@
1
+ import { z } from "zod/v4";
2
+ /**
3
+ * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no citation means the evidence does not answer the question.
4
+ *
5
+ * @openapiSchema SearchAnswer
6
+ * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
+ * @endpoint POST /v1/search
9
+ * @endpoint POST /v1/search/natural/entities
10
+ * @usedBySchema NaturalSearchResultSchema
11
+ * @contractShape search.answer
12
+ * @contractRole canonical
13
+ */
14
+ export declare const SearchAnswerSchema: z.ZodObject<{
15
+ citation: z.ZodArray<z.ZodType<{
16
+ entityId: string;
17
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
18
+ sourceId: string;
19
+ }, unknown, z.core.$ZodTypeInternals<{
20
+ entityId: string;
21
+ source: "entityRecord" | "newsArticle" | "researchSnippet";
22
+ sourceId: string;
23
+ }, unknown>>>;
24
+ confidence: z.ZodEnum<{
25
+ HIGH: "HIGH";
26
+ LOW: "LOW";
27
+ MEDIUM: "MEDIUM";
28
+ }>;
29
+ text: z.ZodString;
30
+ }, z.core.$strip>;
31
+ export type SearchAnswer = z.infer<typeof SearchAnswerSchema>;
32
+ //# sourceMappingURL=answer.d.ts.map
@@ -0,0 +1,25 @@
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 { ConfidenceSchema } from "../confidence/confidence.js";
4
+ import { SearchAnswerCitationSchema } from "./answer-citation.js";
5
+ /**
6
+ * Written answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no citation means the evidence does not answer the question.
7
+ *
8
+ * @openapiSchema SearchAnswer
9
+ * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/search/link/jobs/{jobId}
11
+ * @endpoint POST /v1/search
12
+ * @endpoint POST /v1/search/natural/entities
13
+ * @usedBySchema NaturalSearchResultSchema
14
+ * @contractShape search.answer
15
+ * @contractRole canonical
16
+ */
17
+ export const SearchAnswerSchema = z.object({
18
+ /** Evidence each claim rests on, in first-use order. */
19
+ citation: z.array(SearchAnswerCitationSchema),
20
+ /** How fully the cited evidence answers the question. */
21
+ confidence: ConfidenceSchema,
22
+ /** Answer text in plain prose. */
23
+ text: z.string(),
24
+ });
25
+ //# sourceMappingURL=answer.js.map
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ /**
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.
4
+ *
5
+ * @openapiSchema SearchEvidenceSource
6
+ * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/search/link/jobs/{jobId}
8
+ * @endpoint POST /v1/search
9
+ * @endpoint POST /v1/search/natural/entities
10
+ * @usedBySchema SearchAnswerCitationSchema
11
+ * @usedBySchema SearchPassageSchema
12
+ * @contractShape search.evidence-source
13
+ * @contractRole canonical
14
+ */
15
+ export declare const SearchEvidenceSourceSchema: z.ZodEnum<{
16
+ entityRecord: "entityRecord";
17
+ newsArticle: "newsArticle";
18
+ researchSnippet: "researchSnippet";
19
+ }>;
20
+ export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
21
+ //# sourceMappingURL=evidence-source.d.ts.map