@aventurevc/api-schemas 0.8.265 → 0.8.267

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 (54) hide show
  1. package/dist/entity/analysis-draft.d.ts +37 -1
  2. package/dist/entity/analysis-draft.js +4 -1
  3. package/dist/entity/analysis-section-verification.d.ts +87 -0
  4. package/dist/entity/analysis-section-verification.js +38 -0
  5. package/dist/entity/analysis-verification-failure.d.ts +68 -0
  6. package/dist/entity/analysis-verification-failure.js +31 -0
  7. package/dist/entity/analysis-verification.d.ts +49 -0
  8. package/dist/entity/analysis-verification.js +18 -0
  9. package/dist/entity/detail.d.ts +20 -33
  10. package/dist/entity/fundraise-transaction.d.ts +14 -0
  11. package/dist/entity/fundraise-transaction.js +3 -0
  12. package/dist/entity/investor-participation.d.ts +20 -33
  13. package/dist/entity/list.d.ts +2 -0
  14. package/dist/entity/resolution.d.ts +20 -33
  15. package/dist/entity/similarity-result.d.ts +2 -0
  16. package/dist/federated/search.d.ts +30 -33
  17. package/dist/fundraise/investment-evidence.d.ts +2 -0
  18. package/dist/fundraise/round-field.d.ts +49 -0
  19. package/dist/fundraise/round-field.js +49 -0
  20. package/dist/http/openapi-metadata.d.ts +6 -0
  21. package/dist/http/openapi-metadata.js +9 -0
  22. package/dist/http/problem-detail.d.ts +1 -0
  23. package/dist/http/problem-detail.js +4 -2
  24. package/dist/link/search.d.ts +12 -0
  25. package/dist/lookup/job-mention.d.ts +2 -0
  26. package/dist/lookup/job-mutation.d.ts +1 -0
  27. package/dist/lookup/job-mutation.js +2 -0
  28. package/dist/lookup/job.d.ts +4 -0
  29. package/dist/mention/lookup.d.ts +64 -0
  30. package/dist/mention/lookup.js +3 -0
  31. package/dist/natural/search-result.d.ts +8 -0
  32. package/dist/news/detail.d.ts +18 -33
  33. package/dist/news/match-status.d.ts +2 -0
  34. package/dist/news/match-status.js +2 -0
  35. package/dist/news/news.d.ts +39 -41
  36. package/dist/news/news.js +29 -27
  37. package/dist/news/published-event.d.ts +18 -33
  38. package/dist/news/resolved-entity-link.d.ts +2 -0
  39. package/dist/news/resolved-entity-link.js +2 -0
  40. package/dist/news/resolved-person-link.d.ts +2 -0
  41. package/dist/news/resolved-person-link.js +2 -0
  42. package/dist/news/title-mention.d.ts +2 -0
  43. package/dist/news/title-mention.js +2 -0
  44. package/dist/openapi-component-manifest.js +16 -0
  45. package/dist/pagination/schemas.d.ts +66 -99
  46. package/dist/person/graph-career-context.d.ts +18 -33
  47. package/dist/person/natural-search-result.d.ts +2 -0
  48. package/dist/prose/problem.d.ts +2 -0
  49. package/dist/prose/problem.js +2 -0
  50. package/dist/research/runs-param.d.ts +24 -0
  51. package/dist/research/runs-param.js +28 -0
  52. package/dist/search/investment.d.ts +2 -0
  53. package/dist/shared/search.d.ts +12 -0
  54. package/package.json +1 -1
@@ -420,6 +420,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
420
420
  } | null | undefined;
421
421
  transactionId: string;
422
422
  }[];
423
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
423
424
  updatedAt?: string | null | undefined;
424
425
  valuationPostMoney?: number | null | undefined;
425
426
  valuationPreMoney?: number | null | undefined;
@@ -1209,6 +1210,7 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1209
1210
  } | null | undefined;
1210
1211
  transactionId: string;
1211
1212
  }[];
1213
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
1212
1214
  updatedAt?: string | null | undefined;
1213
1215
  valuationPostMoney?: number | null | undefined;
1214
1216
  valuationPreMoney?: number | null | undefined;
@@ -1585,6 +1587,68 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
1585
1587
  } | null | undefined;
1586
1588
  shellDetail?: string | null | undefined;
1587
1589
  }, import("../lookup/job-mention.ts").LookupJobMentionSchemaInput>>>;
1590
+ news: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1591
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1592
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1593
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1594
+ excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1595
+ externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1596
+ id: z.ZodInt;
1597
+ newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1598
+ newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1599
+ publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1600
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1601
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
+ title: z.ZodString;
1603
+ titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
1604
+ end: number;
1605
+ entity?: {
1606
+ createdAt: string;
1607
+ entityId: string;
1608
+ href?: string | null | undefined;
1609
+ internal: boolean;
1610
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
1611
+ mention?: string | null | undefined;
1612
+ slug?: string | null | undefined;
1613
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1614
+ updatedAt: string;
1615
+ } | null | undefined;
1616
+ person?: {
1617
+ createdAt: string;
1618
+ href?: string | null | undefined;
1619
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
1620
+ mention?: string | null | undefined;
1621
+ personId: string;
1622
+ slug?: string | null | undefined;
1623
+ updatedAt: string;
1624
+ } | null | undefined;
1625
+ start: number;
1626
+ }, import("../news/title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
1627
+ end: number;
1628
+ entity?: {
1629
+ createdAt: string;
1630
+ entityId: string;
1631
+ href?: string | null | undefined;
1632
+ internal: boolean;
1633
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
1634
+ mention?: string | null | undefined;
1635
+ slug?: string | null | undefined;
1636
+ typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
1637
+ updatedAt: string;
1638
+ } | null | undefined;
1639
+ person?: {
1640
+ createdAt: string;
1641
+ href?: string | null | undefined;
1642
+ matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
1643
+ mention?: string | null | undefined;
1644
+ personId: string;
1645
+ slug?: string | null | undefined;
1646
+ updatedAt: string;
1647
+ } | null | undefined;
1648
+ start: number;
1649
+ }, import("../news/title-mention.ts").NewsTitleMentionSchemaInput>>>>;
1650
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1651
+ }, z.core.$strip>>>;
1588
1652
  truncated: z.ZodOptional<z.ZodBoolean>;
1589
1653
  }, z.core.$strip>;
1590
1654
  type MentionLookupDefinition = z.infer<typeof MentionLookupSchemaDefinition>;
@@ -2,11 +2,14 @@
2
2
  import { z } from "zod/v4";
3
3
  import { JobEnqueueSchema } from "../job/enqueue.js";
4
4
  import { LookupJobMentionSchema } from "../lookup/job-mention.js";
5
+ import { NewsSchema } from "../news/news.js";
5
6
  const MentionLookupSchemaDefinition = z.object({
6
7
  /** Present only for callers that sent Prefer: respond-async. Identifications are settled but shell filing is pending. Poll statusUrl until the lookup job completes; merge its filing outcomes by mentionType and name. */
7
8
  filing: JobEnqueueSchema.nullish(),
8
9
  /** Each distinct name: the page's own company first, then the order the source shows them, with news outlets and the page's bylined authors last. */
9
10
  mention: z.array(LookupJobMentionSchema),
11
+ /** The stored aVenture news article the source page is, when it is one; absent otherwise. */
12
+ news: NewsSchema.nullish(),
10
13
  /** True when the page names more than this answer holds: more names than one live lookup reads, or a body longer than the read limit. A lookup job with maxNames reads every name. */
11
14
  truncated: z.boolean().optional(),
12
15
  });
@@ -1042,6 +1042,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1042
1042
  } | null | undefined;
1043
1043
  transactionId: string;
1044
1044
  }[];
1045
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
1045
1046
  updatedAt?: string | null | undefined;
1046
1047
  valuationPostMoney?: number | null | undefined;
1047
1048
  valuationPreMoney?: number | null | undefined;
@@ -1202,6 +1203,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1202
1203
  } | null | undefined;
1203
1204
  transactionId: string;
1204
1205
  }[];
1206
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
1205
1207
  updatedAt?: string | null | undefined;
1206
1208
  valuationPostMoney?: number | null | undefined;
1207
1209
  valuationPreMoney?: number | null | undefined;
@@ -1765,6 +1767,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
1765
1767
  } | null | undefined;
1766
1768
  transactionId: string;
1767
1769
  }[];
1770
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
1768
1771
  updatedAt?: string | null | undefined;
1769
1772
  valuationPostMoney?: number | null | undefined;
1770
1773
  valuationPreMoney?: number | null | undefined;
@@ -2378,6 +2381,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
2378
2381
  } | null | undefined;
2379
2382
  transactionId: string;
2380
2383
  }[];
2384
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
2381
2385
  updatedAt?: string | null | undefined;
2382
2386
  valuationPostMoney?: number | null | undefined;
2383
2387
  valuationPreMoney?: number | null | undefined;
@@ -2994,6 +2998,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
2994
2998
  } | null | undefined;
2995
2999
  transactionId: string;
2996
3000
  }[];
3001
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
2997
3002
  updatedAt?: string | null | undefined;
2998
3003
  valuationPostMoney?: number | null | undefined;
2999
3004
  valuationPreMoney?: number | null | undefined;
@@ -3599,6 +3604,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
3599
3604
  } | null | undefined;
3600
3605
  transactionId: string;
3601
3606
  }[];
3607
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
3602
3608
  updatedAt?: string | null | undefined;
3603
3609
  valuationPostMoney?: number | null | undefined;
3604
3610
  valuationPreMoney?: number | null | undefined;
@@ -4205,6 +4211,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
4205
4211
  } | null | undefined;
4206
4212
  transactionId: string;
4207
4213
  }[];
4214
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
4208
4215
  updatedAt?: string | null | undefined;
4209
4216
  valuationPostMoney?: number | null | undefined;
4210
4217
  valuationPreMoney?: number | null | undefined;
@@ -4804,6 +4811,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
4804
4811
  } | null | undefined;
4805
4812
  transactionId: string;
4806
4813
  }[];
4814
+ unsupportedField?: ("amountRaised" | "currency" | "dateAnnounced" | "dateFundingComplete" | "dateInvestorExit" | "financialInstrumentType" | "investorCount" | "round" | "roundType" | "status" | "valuationPostMoney" | "valuationPreMoney")[] | undefined;
4807
4815
  updatedAt?: string | null | undefined;
4808
4816
  valuationPostMoney?: number | null | undefined;
4809
4817
  valuationPreMoney?: number | null | undefined;
@@ -25,20 +25,20 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
25
25
  version: z.ZodInt;
26
26
  }, z.core.$strip>>>;
27
27
  content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- core: z.ZodType<{
29
- author?: string | null | undefined;
30
- category?: string | null | undefined;
31
- createdAt?: string | null | undefined;
32
- excerpt?: string | null | undefined;
33
- externalNewsArticle?: boolean | null | undefined;
34
- id: number;
35
- newsImageThumbnail?: string | null | undefined;
36
- newsUrlOriginal?: string | null | undefined;
37
- publication?: string | null | undefined;
38
- publishedAt?: string | null | undefined;
39
- slug?: string | null | undefined;
40
- title: string;
41
- titleMention?: {
28
+ core: z.ZodObject<{
29
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
32
+ excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
+ id: z.ZodInt;
35
+ newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
39
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ title: z.ZodString;
41
+ titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
42
42
  end: number;
43
43
  entity?: {
44
44
  createdAt: string;
@@ -61,22 +61,7 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
61
61
  updatedAt: string;
62
62
  } | null | undefined;
63
63
  start: number;
64
- }[] | undefined;
65
- updatedAt?: string | null | undefined;
66
- }, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
67
- author?: string | null | undefined;
68
- category?: string | null | undefined;
69
- createdAt?: string | null | undefined;
70
- excerpt?: string | null | undefined;
71
- externalNewsArticle?: boolean | null | undefined;
72
- id: number;
73
- newsImageThumbnail?: string | null | undefined;
74
- newsUrlOriginal?: string | null | undefined;
75
- publication?: string | null | undefined;
76
- publishedAt?: string | null | undefined;
77
- slug?: string | null | undefined;
78
- title: string;
79
- titleMention?: {
64
+ }, import("./title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
80
65
  end: number;
81
66
  entity?: {
82
67
  createdAt: string;
@@ -99,9 +84,9 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
99
84
  updatedAt: string;
100
85
  } | null | undefined;
101
86
  start: number;
102
- }[] | undefined;
103
- updatedAt?: string | null | undefined;
104
- }, import("./news.ts").NewsSchemaInput>>;
87
+ }, import("./title-mention.ts").NewsTitleMentionSchemaInput>>>>;
88
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
89
+ }, z.core.$strip>;
105
90
  entityMentionResolved: z.ZodArray<z.ZodObject<{
106
91
  createdAt: z.ZodISODateTime;
107
92
  entityId: z.ZodUUID;
@@ -22,6 +22,8 @@ import { z } from "zod/v4";
22
22
  * @endpoint POST /v1/entities/lookup-batch
23
23
  * @endpoint POST /v1/entities/lookup-matches
24
24
  * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/lookup-mentions
26
+ * @endpoint POST /v1/lookup/mentions
25
27
  * @endpoint POST /v1/people/lookup-batch
26
28
  * @endpoint POST /v1/search
27
29
  * @endpoint POST /v1/search/shared
@@ -23,6 +23,8 @@ import { z } from "zod/v4";
23
23
  * @endpoint POST /v1/entities/lookup-batch
24
24
  * @endpoint POST /v1/entities/lookup-matches
25
25
  * @endpoint POST /v1/entities/search
26
+ * @endpoint POST /v1/lookup-mentions
27
+ * @endpoint POST /v1/lookup/mentions
26
28
  * @endpoint POST /v1/people/lookup-batch
27
29
  * @endpoint POST /v1/search
28
30
  * @endpoint POST /v1/search/shared
@@ -1,5 +1,43 @@
1
1
  import { z } from "zod/v4";
2
- declare const NewsSchemaDefinition: z.ZodObject<{
2
+ /**
3
+ * Canonical news owner for list and core semantics
4
+ *
5
+ * @openapiSchema News
6
+ * @endpoint GET /v1/entities/lookup-exact
7
+ * @endpoint GET /v1/news
8
+ * @endpoint GET /v1/news/lookup
9
+ * @endpoint GET /v1/people/lookup-exact
10
+ * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/entities/{entityId}
12
+ * @endpoint GET /v1/entities/{entityId}/investors
13
+ * @endpoint GET /v1/entities/{entityId}/investors/people
14
+ * @endpoint GET /v1/entities/{entityId}/person-investors
15
+ * @endpoint GET /v1/entities/{entityId}/trending-news
16
+ * @endpoint GET /v1/news/{newsId}
17
+ * @endpoint GET /v1/people/{personId}
18
+ * @endpoint GET /v1/people/{personId}/graph
19
+ * @endpoint GET /v1/search/link/jobs/{jobId}
20
+ * @endpoint GET /v1/search/shared/{id}
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
25
+ * @endpoint POST /v1/lookup-mentions
26
+ * @endpoint POST /v1/lookup/mentions
27
+ * @endpoint POST /v1/people/lookup-batch
28
+ * @endpoint POST /v1/search
29
+ * @endpoint POST /v1/search/shared
30
+ * @usedBySchema EntityDetailSchema
31
+ * @usedBySchema MentionLookupSchema
32
+ * @usedBySchema NewsDetailSchema
33
+ * @usedBySchema NewsPublishedEventSchema
34
+ * @usedBySchema PageNewsSchema
35
+ * @usedBySchema PageResultNewsSchema
36
+ * @usedBySchema PersonGraphCareerContextSchema
37
+ * @contractShape news.news
38
+ * @contractRole canonical
39
+ */
40
+ export declare const NewsSchema: z.ZodObject<{
3
41
  author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
42
  category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
43
  createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -61,45 +99,5 @@ declare const NewsSchemaDefinition: z.ZodObject<{
61
99
  }, import("./title-mention.ts").NewsTitleMentionSchemaInput>>>>;
62
100
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
63
101
  }, z.core.$strip>;
64
- type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
65
- export interface NewsSchemaInput extends z.input<typeof NewsSchemaDefinition> {
66
- }
67
- /**
68
- * Canonical news owner for list and core semantics
69
- *
70
- * @openapiSchema News
71
- * @endpoint GET /v1/entities/lookup-exact
72
- * @endpoint GET /v1/news
73
- * @endpoint GET /v1/news/lookup
74
- * @endpoint GET /v1/people/lookup-exact
75
- * @endpoint GET /v1/search/link
76
- * @endpoint GET /v1/entities/{entityId}
77
- * @endpoint GET /v1/entities/{entityId}/investors
78
- * @endpoint GET /v1/entities/{entityId}/investors/people
79
- * @endpoint GET /v1/entities/{entityId}/person-investors
80
- * @endpoint GET /v1/entities/{entityId}/trending-news
81
- * @endpoint GET /v1/news/{newsId}
82
- * @endpoint GET /v1/people/{personId}
83
- * @endpoint GET /v1/people/{personId}/graph
84
- * @endpoint GET /v1/search/link/jobs/{jobId}
85
- * @endpoint GET /v1/search/shared/{id}
86
- * @endpoint GET /v1/search/shared/slug/{slug}
87
- * @endpoint POST /v1/entities/lookup-batch
88
- * @endpoint POST /v1/entities/lookup-matches
89
- * @endpoint POST /v1/entities/search
90
- * @endpoint POST /v1/people/lookup-batch
91
- * @endpoint POST /v1/search
92
- * @endpoint POST /v1/search/shared
93
- * @usedBySchema EntityDetailSchema
94
- * @usedBySchema NewsDetailSchema
95
- * @usedBySchema NewsPublishedEventSchema
96
- * @usedBySchema PageNewsSchema
97
- * @usedBySchema PageResultNewsSchema
98
- * @usedBySchema PersonGraphCareerContextSchema
99
- * @contractShape news.news
100
- * @contractRole canonical
101
- */
102
- export declare const NewsSchema: z.ZodType<NewsDefinition, NewsSchemaInput>;
103
102
  export type News = z.infer<typeof NewsSchema>;
104
- export {};
105
103
  //# sourceMappingURL=news.d.ts.map
package/dist/news/news.js CHANGED
@@ -1,32 +1,6 @@
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
3
  import { NewsTitleMentionSchema } from "./title-mention.js";
4
- const NewsSchemaDefinition = z.object({
5
- author: z.string().nullish(),
6
- category: z.string().nullish(),
7
- createdAt: z.iso.datetime({ offset: true }).nullish(),
8
- /** Article summary from the source publication feed; null means the feed supplied no description (expected absence, not an error) — full text is NewsDetail.content */
9
- excerpt: z.string().nullish(),
10
- externalNewsArticle: z.boolean().nullish(),
11
- /** Type-safe identifier for news articles */
12
- id: z.int(),
13
- newsImageThumbnail: z.string().nullish(),
14
- /** Canonical article URL after host and tracking-parameter normalization. */
15
- newsUrlOriginal: z.string().nullish(),
16
- publication: z.string().nullish(),
17
- publishedAt: z.iso.datetime({ offset: true }).nullish(),
18
- /** Canonical lowercase URL slug for the resource */
19
- slug: z
20
- .string()
21
- .regex(/^[a-z0-9_-]+$/)
22
- .max(255)
23
- .nullish(),
24
- /** Article headline; the headline field is title */
25
- title: z.string(),
26
- /** Sorted, non-overlapping UTF-16 ranges of linked public records' current names in title; empty when none match. */
27
- titleMention: z.array(NewsTitleMentionSchema).optional(),
28
- updatedAt: z.iso.datetime({ offset: true }).nullish(),
29
- });
30
4
  /**
31
5
  * Canonical news owner for list and core semantics
32
6
  *
@@ -50,10 +24,13 @@ const NewsSchemaDefinition = z.object({
50
24
  * @endpoint POST /v1/entities/lookup-batch
51
25
  * @endpoint POST /v1/entities/lookup-matches
52
26
  * @endpoint POST /v1/entities/search
27
+ * @endpoint POST /v1/lookup-mentions
28
+ * @endpoint POST /v1/lookup/mentions
53
29
  * @endpoint POST /v1/people/lookup-batch
54
30
  * @endpoint POST /v1/search
55
31
  * @endpoint POST /v1/search/shared
56
32
  * @usedBySchema EntityDetailSchema
33
+ * @usedBySchema MentionLookupSchema
57
34
  * @usedBySchema NewsDetailSchema
58
35
  * @usedBySchema NewsPublishedEventSchema
59
36
  * @usedBySchema PageNewsSchema
@@ -62,5 +39,30 @@ const NewsSchemaDefinition = z.object({
62
39
  * @contractShape news.news
63
40
  * @contractRole canonical
64
41
  */
65
- export const NewsSchema = NewsSchemaDefinition;
42
+ export const NewsSchema = z.object({
43
+ author: z.string().nullish(),
44
+ category: z.string().nullish(),
45
+ createdAt: z.iso.datetime({ offset: true }).nullish(),
46
+ /** Article summary from the source publication feed; null means the feed supplied no description (expected absence, not an error) — full text is NewsDetail.content */
47
+ excerpt: z.string().nullish(),
48
+ externalNewsArticle: z.boolean().nullish(),
49
+ /** Type-safe identifier for news articles */
50
+ id: z.int(),
51
+ newsImageThumbnail: z.string().nullish(),
52
+ /** Canonical article URL after host and tracking-parameter normalization. */
53
+ newsUrlOriginal: z.string().nullish(),
54
+ publication: z.string().nullish(),
55
+ publishedAt: z.iso.datetime({ offset: true }).nullish(),
56
+ /** Canonical lowercase URL slug for the resource */
57
+ slug: z
58
+ .string()
59
+ .regex(/^[a-z0-9_-]+$/)
60
+ .max(255)
61
+ .nullish(),
62
+ /** Article headline; the headline field is title */
63
+ title: z.string(),
64
+ /** Sorted, non-overlapping UTF-16 ranges of linked public records' current names in title; empty when none match. */
65
+ titleMention: z.array(NewsTitleMentionSchema).optional(),
66
+ updatedAt: z.iso.datetime({ offset: true }).nullish(),
67
+ });
66
68
  //# sourceMappingURL=news.js.map
@@ -1,20 +1,20 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
3
3
  cursor: z.ZodString;
4
- data: z.ZodType<{
5
- author?: string | null | undefined;
6
- category?: string | null | undefined;
7
- createdAt?: string | null | undefined;
8
- excerpt?: string | null | undefined;
9
- externalNewsArticle?: boolean | null | undefined;
10
- id: number;
11
- newsImageThumbnail?: string | null | undefined;
12
- newsUrlOriginal?: string | null | undefined;
13
- publication?: string | null | undefined;
14
- publishedAt?: string | null | undefined;
15
- slug?: string | null | undefined;
16
- title: string;
17
- titleMention?: {
4
+ data: z.ZodObject<{
5
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
8
+ excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
+ id: z.ZodInt;
11
+ newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
15
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ title: z.ZodString;
17
+ titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
18
18
  end: number;
19
19
  entity?: {
20
20
  createdAt: string;
@@ -37,22 +37,7 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
37
37
  updatedAt: string;
38
38
  } | null | undefined;
39
39
  start: number;
40
- }[] | undefined;
41
- updatedAt?: string | null | undefined;
42
- }, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
43
- author?: string | null | undefined;
44
- category?: string | null | undefined;
45
- createdAt?: string | null | undefined;
46
- excerpt?: string | null | undefined;
47
- externalNewsArticle?: boolean | null | undefined;
48
- id: number;
49
- newsImageThumbnail?: string | null | undefined;
50
- newsUrlOriginal?: string | null | undefined;
51
- publication?: string | null | undefined;
52
- publishedAt?: string | null | undefined;
53
- slug?: string | null | undefined;
54
- title: string;
55
- titleMention?: {
40
+ }, import("./title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
56
41
  end: number;
57
42
  entity?: {
58
43
  createdAt: string;
@@ -75,9 +60,9 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
75
60
  updatedAt: string;
76
61
  } | null | undefined;
77
62
  start: number;
78
- }[] | undefined;
79
- updatedAt?: string | null | undefined;
80
- }, import("./news.ts").NewsSchemaInput>>;
63
+ }, import("./title-mention.ts").NewsTitleMentionSchemaInput>>>>;
64
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
65
+ }, z.core.$strip>;
81
66
  eventId: z.ZodString;
82
67
  name: z.ZodEnum<{
83
68
  "entity.news.published": "entity.news.published";
@@ -22,6 +22,8 @@ import { z } from "zod/v4";
22
22
  * @endpoint POST /v1/entities/lookup-batch
23
23
  * @endpoint POST /v1/entities/lookup-matches
24
24
  * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/lookup-mentions
26
+ * @endpoint POST /v1/lookup/mentions
25
27
  * @endpoint POST /v1/people/lookup-batch
26
28
  * @endpoint POST /v1/search
27
29
  * @endpoint POST /v1/search/shared
@@ -25,6 +25,8 @@ import { NewsMatchStatusSchema } from "./match-status.js";
25
25
  * @endpoint POST /v1/entities/lookup-batch
26
26
  * @endpoint POST /v1/entities/lookup-matches
27
27
  * @endpoint POST /v1/entities/search
28
+ * @endpoint POST /v1/lookup-mentions
29
+ * @endpoint POST /v1/lookup/mentions
28
30
  * @endpoint POST /v1/people/lookup-batch
29
31
  * @endpoint POST /v1/search
30
32
  * @endpoint POST /v1/search/shared
@@ -22,6 +22,8 @@ import { z } from "zod/v4";
22
22
  * @endpoint POST /v1/entities/lookup-batch
23
23
  * @endpoint POST /v1/entities/lookup-matches
24
24
  * @endpoint POST /v1/entities/search
25
+ * @endpoint POST /v1/lookup-mentions
26
+ * @endpoint POST /v1/lookup/mentions
25
27
  * @endpoint POST /v1/people/lookup-batch
26
28
  * @endpoint POST /v1/search
27
29
  * @endpoint POST /v1/search/shared
@@ -24,6 +24,8 @@ import { NewsMatchStatusSchema } from "./match-status.js";
24
24
  * @endpoint POST /v1/entities/lookup-batch
25
25
  * @endpoint POST /v1/entities/lookup-matches
26
26
  * @endpoint POST /v1/entities/search
27
+ * @endpoint POST /v1/lookup-mentions
28
+ * @endpoint POST /v1/lookup/mentions
27
29
  * @endpoint POST /v1/people/lookup-batch
28
30
  * @endpoint POST /v1/search
29
31
  * @endpoint POST /v1/search/shared
@@ -69,6 +69,8 @@ export interface NewsTitleMentionSchemaInput extends z.input<typeof NewsTitleMen
69
69
  * @endpoint POST /v1/entities/lookup-batch
70
70
  * @endpoint POST /v1/entities/lookup-matches
71
71
  * @endpoint POST /v1/entities/search
72
+ * @endpoint POST /v1/lookup-mentions
73
+ * @endpoint POST /v1/lookup/mentions
72
74
  * @endpoint POST /v1/people/lookup-batch
73
75
  * @endpoint POST /v1/search
74
76
  * @endpoint POST /v1/search/shared
@@ -33,6 +33,8 @@ const NewsTitleMentionSchemaDefinition = z.object({
33
33
  * @endpoint POST /v1/entities/lookup-batch
34
34
  * @endpoint POST /v1/entities/lookup-matches
35
35
  * @endpoint POST /v1/entities/search
36
+ * @endpoint POST /v1/lookup-mentions
37
+ * @endpoint POST /v1/lookup/mentions
36
38
  * @endpoint POST /v1/people/lookup-batch
37
39
  * @endpoint POST /v1/search
38
40
  * @endpoint POST /v1/search/shared
@@ -354,6 +354,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
354
354
  modulePath: "entity/analysis-section-origin",
355
355
  schemaName: "EntityAnalysisSectionOriginSchema",
356
356
  },
357
+ EntityAnalysisSectionVerification: {
358
+ modulePath: "entity/analysis-section-verification",
359
+ schemaName: "EntityAnalysisSectionVerificationSchema",
360
+ },
357
361
  EntityAnalysisSource: {
358
362
  modulePath: "entity/analysis-source",
359
363
  schemaName: "EntityAnalysisSourceSchema",
@@ -362,6 +366,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
362
366
  modulePath: "entity/analysis-tool",
363
367
  schemaName: "EntityAnalysisToolSchema",
364
368
  },
369
+ EntityAnalysisVerification: {
370
+ modulePath: "entity/analysis-verification",
371
+ schemaName: "EntityAnalysisVerificationSchema",
372
+ },
373
+ EntityAnalysisVerificationFailure: {
374
+ modulePath: "entity/analysis-verification-failure",
375
+ schemaName: "EntityAnalysisVerificationFailureSchema",
376
+ },
365
377
  EntityBrand: { modulePath: "entity/brand", schemaName: "EntityBrandSchema" },
366
378
  EntityClassification: {
367
379
  modulePath: "entity/classification",
@@ -634,6 +646,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
634
646
  modulePath: "fundraise/investment-evidence",
635
647
  schemaName: "FundraiseInvestmentEvidenceSchema",
636
648
  },
649
+ FundraiseRoundField: {
650
+ modulePath: "fundraise/round-field",
651
+ schemaName: "FundraiseRoundFieldSchema",
652
+ },
637
653
  FundraiseTransactionStatus: {
638
654
  modulePath: "fundraise/transaction-status",
639
655
  schemaName: "FundraiseTransactionStatusSchema",