@aventurevc/api-schemas 0.8.265 → 0.8.266
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.
- package/dist/entity/analysis-draft.d.ts +37 -1
- package/dist/entity/analysis-draft.js +4 -1
- package/dist/entity/analysis-section-verification.d.ts +87 -0
- package/dist/entity/analysis-section-verification.js +38 -0
- package/dist/entity/analysis-verification-failure.d.ts +68 -0
- package/dist/entity/analysis-verification-failure.js +31 -0
- package/dist/entity/analysis-verification.d.ts +49 -0
- package/dist/entity/analysis-verification.js +18 -0
- package/dist/entity/detail.d.ts +18 -33
- package/dist/entity/investor-participation.d.ts +18 -33
- package/dist/entity/resolution.d.ts +18 -33
- package/dist/federated/search.d.ts +18 -33
- package/dist/http/openapi-metadata.d.ts +6 -0
- package/dist/http/openapi-metadata.js +9 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +4 -2
- package/dist/lookup/job-mutation.d.ts +1 -0
- package/dist/lookup/job-mutation.js +2 -0
- package/dist/lookup/job.d.ts +2 -0
- package/dist/mention/lookup.d.ts +62 -0
- package/dist/mention/lookup.js +3 -0
- package/dist/news/detail.d.ts +18 -33
- package/dist/news/match-status.d.ts +2 -0
- package/dist/news/match-status.js +2 -0
- package/dist/news/news.d.ts +39 -41
- package/dist/news/news.js +29 -27
- package/dist/news/published-event.d.ts +18 -33
- package/dist/news/resolved-entity-link.d.ts +2 -0
- package/dist/news/resolved-entity-link.js +2 -0
- package/dist/news/resolved-person-link.d.ts +2 -0
- package/dist/news/resolved-person-link.js +2 -0
- package/dist/news/title-mention.d.ts +2 -0
- package/dist/news/title-mention.js +2 -0
- package/dist/openapi-component-manifest.js +12 -0
- package/dist/pagination/schemas.d.ts +54 -99
- package/dist/person/graph-career-context.d.ts +18 -33
- package/dist/prose/problem.d.ts +2 -0
- package/dist/prose/problem.js +2 -0
- package/package.json +1 -1
|
@@ -5828,20 +5828,20 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5828
5828
|
valuationPostMoney?: number | null | undefined;
|
|
5829
5829
|
valuationPreMoney?: number | null | undefined;
|
|
5830
5830
|
}, import("../entity/fundraise-transaction.ts").EntityFundraiseTransactionSchemaInput>>>;
|
|
5831
|
-
newsArticle: z.ZodArray<z.
|
|
5832
|
-
author
|
|
5833
|
-
category
|
|
5834
|
-
createdAt
|
|
5835
|
-
excerpt
|
|
5836
|
-
externalNewsArticle
|
|
5837
|
-
id:
|
|
5838
|
-
newsImageThumbnail
|
|
5839
|
-
newsUrlOriginal
|
|
5840
|
-
publication
|
|
5841
|
-
publishedAt
|
|
5842
|
-
slug
|
|
5843
|
-
title:
|
|
5844
|
-
titleMention
|
|
5831
|
+
newsArticle: z.ZodArray<z.ZodObject<{
|
|
5832
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5833
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5834
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5835
|
+
excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5836
|
+
externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5837
|
+
id: z.ZodInt;
|
|
5838
|
+
newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5839
|
+
newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5840
|
+
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5841
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5842
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5843
|
+
title: z.ZodString;
|
|
5844
|
+
titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
5845
5845
|
end: number;
|
|
5846
5846
|
entity?: {
|
|
5847
5847
|
createdAt: string;
|
|
@@ -5864,22 +5864,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5864
5864
|
updatedAt: string;
|
|
5865
5865
|
} | null | undefined;
|
|
5866
5866
|
start: number;
|
|
5867
|
-
}
|
|
5868
|
-
updatedAt?: string | null | undefined;
|
|
5869
|
-
}, import("../news/news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
|
|
5870
|
-
author?: string | null | undefined;
|
|
5871
|
-
category?: string | null | undefined;
|
|
5872
|
-
createdAt?: string | null | undefined;
|
|
5873
|
-
excerpt?: string | null | undefined;
|
|
5874
|
-
externalNewsArticle?: boolean | null | undefined;
|
|
5875
|
-
id: number;
|
|
5876
|
-
newsImageThumbnail?: string | null | undefined;
|
|
5877
|
-
newsUrlOriginal?: string | null | undefined;
|
|
5878
|
-
publication?: string | null | undefined;
|
|
5879
|
-
publishedAt?: string | null | undefined;
|
|
5880
|
-
slug?: string | null | undefined;
|
|
5881
|
-
title: string;
|
|
5882
|
-
titleMention?: {
|
|
5867
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
|
|
5883
5868
|
end: number;
|
|
5884
5869
|
entity?: {
|
|
5885
5870
|
createdAt: string;
|
|
@@ -5902,9 +5887,9 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5902
5887
|
updatedAt: string;
|
|
5903
5888
|
} | null | undefined;
|
|
5904
5889
|
start: number;
|
|
5905
|
-
}
|
|
5906
|
-
updatedAt
|
|
5907
|
-
},
|
|
5890
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput>>>>;
|
|
5891
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5892
|
+
}, z.core.$strip>>;
|
|
5908
5893
|
person: z.ZodArray<z.ZodType<{
|
|
5909
5894
|
articleCount?: number | null | undefined;
|
|
5910
5895
|
association: {
|
|
@@ -40,6 +40,12 @@ export declare const OpenApiWriteReadbackSchema: z.ZodObject<{
|
|
|
40
40
|
readPointer: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
41
41
|
identityPointer: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
42
42
|
}, z.core.$strict>>>;
|
|
43
|
+
fallback: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
writePointer: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
45
|
+
readPointer: z.ZodUnion<readonly [z.ZodLiteral<"">, z.ZodString]>;
|
|
46
|
+
readQueryName: z.ZodString;
|
|
47
|
+
readQueryValue: z.ZodString;
|
|
48
|
+
}, z.core.$strict>>;
|
|
43
49
|
}, z.core.$strict>;
|
|
44
50
|
export type OpenApiWriteReadback = z.infer<typeof OpenApiWriteReadbackSchema>;
|
|
45
51
|
//# sourceMappingURL=openapi-metadata.d.ts.map
|
|
@@ -42,5 +42,14 @@ export const OpenApiWriteReadbackSchema = z.strictObject({
|
|
|
42
42
|
}))
|
|
43
43
|
.min(1)
|
|
44
44
|
.optional(),
|
|
45
|
+
/** Read instead when the mutation response has no parent record at `writePointer`. */
|
|
46
|
+
fallback: z
|
|
47
|
+
.strictObject({
|
|
48
|
+
writePointer: OpenApiJsonPointerSchema,
|
|
49
|
+
readPointer: OpenApiJsonPointerSchema,
|
|
50
|
+
readQueryName: z.string().min(1),
|
|
51
|
+
readQueryValue: z.string().min(1),
|
|
52
|
+
})
|
|
53
|
+
.optional(),
|
|
45
54
|
});
|
|
46
55
|
//# sourceMappingURL=openapi-metadata.js.map
|
|
@@ -60,6 +60,7 @@ declare const ProblemDetailSchemaDefinition: z.ZodObject<{
|
|
|
60
60
|
jobrunr_disabled: "jobrunr_disabled";
|
|
61
61
|
jobrunr_storage_unavailable: "jobrunr_storage_unavailable";
|
|
62
62
|
logo_first_party_missing: "logo_first_party_missing";
|
|
63
|
+
logo_source_dead: "logo_source_dead";
|
|
63
64
|
lookup_still_running: "lookup_still_running";
|
|
64
65
|
news_rss_article_fetch_failed: "news_rss_article_fetch_failed";
|
|
65
66
|
news_rss_feed_fetch_failed: "news_rss_feed_fetch_failed";
|
|
@@ -97,6 +97,8 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
97
97
|
"image_reference_unavailable",
|
|
98
98
|
/** No usable first-party logo found. Set a direct image; do not retry. */
|
|
99
99
|
"logo_first_party_missing",
|
|
100
|
+
/** Dead or parked logo source. Supply a live first-party source; do not retry. */
|
|
101
|
+
"logo_source_dead",
|
|
100
102
|
/** Image upload was a photograph or scene image rather than a standalone logo/mark graphic (a homepage hero, product photo, ad, or screenshot carrying an embedded wordmark). Agent action: supply the entity's standalone mark — a favicon, app icon, wordmark, or lockup — not page imagery; retrying the same bytes will not pass. */
|
|
101
103
|
"image_photographic",
|
|
102
104
|
/** An outbound fetch from an external target site (robots.txt, sitemap, page, or logo or thumbnail image) failed after retries or with the breaker open. Agent action: the failure belongs to the target; crawl jobs may fall back to rendered extraction; do not retry immediately. */
|
|
@@ -147,9 +149,9 @@ const ProblemDetailSchemaDefinition = z.object({
|
|
|
147
149
|
"sec_edgar_fetch_failed",
|
|
148
150
|
/** GitHub repository fetch failed (account, listing, or single repo). Agent action: surface; GitHub outages or rate limiting affect github-repo sync endpoints only. */
|
|
149
151
|
"github_fetch_failed",
|
|
150
|
-
/** LLM inference
|
|
152
|
+
/** LLM inference failed. Agent action: follow disposition; retry once with backoff only for TRANSIENT; do not replay TERMINAL unchanged. */
|
|
151
153
|
"INFERENCE_PROVIDER_ERROR",
|
|
152
|
-
/** LLM inference
|
|
154
|
+
/** LLM inference failed. Agent action: follow disposition; retry once with backoff only for TRANSIENT; do not replay TERMINAL unchanged. */
|
|
153
155
|
"inference_provider_error",
|
|
154
156
|
/** LLM inference provider returned an empty response body. Agent action: retry once; persistent empty responses indicate prompt or provider misconfiguration. */
|
|
155
157
|
"INFERENCE_PROVIDER_RESPONSE_EMPTY",
|
|
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { IdentificationSubjectSchema } from "../identification/subject.js";
|
|
4
4
|
import { LookupMentionSchema } from "./mention.js";
|
|
5
5
|
const LookupJobMutationSchemaDefinition = z.object({
|
|
6
|
+
/** POST /v1/lookup/mentions without maxNames only: identify extracted names using deterministic stages, without judgment, web-evidence identity or shell filing. Name extraction is unchanged. Lookup jobs reject true. */
|
|
7
|
+
deterministic: z.boolean().optional(),
|
|
6
8
|
/** Companies and people the caller already read, identified without sending the page or screenshot. Send them alone, without an article or file. On lookup jobs, maxNames is required and no records are created and no research is requested. */
|
|
7
9
|
mention: z.array(LookupMentionSchema).optional(),
|
|
8
10
|
/** POST /v1/lookup/mentions only: true answers each name with only its name, mentionType, failureReason, and identification status, stage, match, officialUrl, and detail: no entity or person rows and empty candidate and duplicate lists. Defaults to false, the full answer. */
|
package/dist/lookup/job.d.ts
CHANGED
|
@@ -1804,6 +1804,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1804
1804
|
namesFound: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1805
1805
|
namesProcessed: z.ZodInt;
|
|
1806
1806
|
source: z.ZodType<{
|
|
1807
|
+
deterministic?: boolean | undefined;
|
|
1807
1808
|
mention?: {
|
|
1808
1809
|
name: string;
|
|
1809
1810
|
providerName?: string | null | undefined;
|
|
@@ -1853,6 +1854,7 @@ declare const LookupJobSchemaDefinition: z.ZodObject<{
|
|
|
1853
1854
|
url?: string[] | undefined;
|
|
1854
1855
|
} | null | undefined;
|
|
1855
1856
|
}, import("./job-mutation.ts").LookupJobMutationSchemaInput, z.core.$ZodTypeInternals<{
|
|
1857
|
+
deterministic?: boolean | undefined;
|
|
1856
1858
|
mention?: {
|
|
1857
1859
|
name: string;
|
|
1858
1860
|
providerName?: string | null | undefined;
|
package/dist/mention/lookup.d.ts
CHANGED
|
@@ -1585,6 +1585,68 @@ declare const MentionLookupSchemaDefinition: z.ZodObject<{
|
|
|
1585
1585
|
} | null | undefined;
|
|
1586
1586
|
shellDetail?: string | null | undefined;
|
|
1587
1587
|
}, import("../lookup/job-mention.ts").LookupJobMentionSchemaInput>>>;
|
|
1588
|
+
news: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1589
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1590
|
+
category: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1591
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1592
|
+
excerpt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
+
externalNewsArticle: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1594
|
+
id: z.ZodInt;
|
|
1595
|
+
newsImageThumbnail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1596
|
+
newsUrlOriginal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1597
|
+
publication: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1598
|
+
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1599
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1600
|
+
title: z.ZodString;
|
|
1601
|
+
titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
1602
|
+
end: number;
|
|
1603
|
+
entity?: {
|
|
1604
|
+
createdAt: string;
|
|
1605
|
+
entityId: string;
|
|
1606
|
+
href?: string | null | undefined;
|
|
1607
|
+
internal: boolean;
|
|
1608
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
1609
|
+
mention?: string | null | undefined;
|
|
1610
|
+
slug?: string | null | undefined;
|
|
1611
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1612
|
+
updatedAt: string;
|
|
1613
|
+
} | null | undefined;
|
|
1614
|
+
person?: {
|
|
1615
|
+
createdAt: string;
|
|
1616
|
+
href?: string | null | undefined;
|
|
1617
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
1618
|
+
mention?: string | null | undefined;
|
|
1619
|
+
personId: string;
|
|
1620
|
+
slug?: string | null | undefined;
|
|
1621
|
+
updatedAt: string;
|
|
1622
|
+
} | null | undefined;
|
|
1623
|
+
start: number;
|
|
1624
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
|
|
1625
|
+
end: number;
|
|
1626
|
+
entity?: {
|
|
1627
|
+
createdAt: string;
|
|
1628
|
+
entityId: string;
|
|
1629
|
+
href?: string | null | undefined;
|
|
1630
|
+
internal: boolean;
|
|
1631
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
1632
|
+
mention?: string | null | undefined;
|
|
1633
|
+
slug?: string | null | undefined;
|
|
1634
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
1635
|
+
updatedAt: string;
|
|
1636
|
+
} | null | undefined;
|
|
1637
|
+
person?: {
|
|
1638
|
+
createdAt: string;
|
|
1639
|
+
href?: string | null | undefined;
|
|
1640
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
1641
|
+
mention?: string | null | undefined;
|
|
1642
|
+
personId: string;
|
|
1643
|
+
slug?: string | null | undefined;
|
|
1644
|
+
updatedAt: string;
|
|
1645
|
+
} | null | undefined;
|
|
1646
|
+
start: number;
|
|
1647
|
+
}, import("../news/title-mention.ts").NewsTitleMentionSchemaInput>>>>;
|
|
1648
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
1649
|
+
}, z.core.$strip>>>;
|
|
1588
1650
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1589
1651
|
}, z.core.$strip>;
|
|
1590
1652
|
type MentionLookupDefinition = z.infer<typeof MentionLookupSchemaDefinition>;
|
package/dist/mention/lookup.js
CHANGED
|
@@ -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
|
});
|
package/dist/news/detail.d.ts
CHANGED
|
@@ -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.
|
|
29
|
-
author
|
|
30
|
-
category
|
|
31
|
-
createdAt
|
|
32
|
-
excerpt
|
|
33
|
-
externalNewsArticle
|
|
34
|
-
id:
|
|
35
|
-
newsImageThumbnail
|
|
36
|
-
newsUrlOriginal
|
|
37
|
-
publication
|
|
38
|
-
publishedAt
|
|
39
|
-
slug
|
|
40
|
-
title:
|
|
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
|
-
}
|
|
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
|
-
}
|
|
103
|
-
updatedAt
|
|
104
|
-
},
|
|
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
|
package/dist/news/news.d.ts
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
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 =
|
|
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.
|
|
5
|
-
author
|
|
6
|
-
category
|
|
7
|
-
createdAt
|
|
8
|
-
excerpt
|
|
9
|
-
externalNewsArticle
|
|
10
|
-
id:
|
|
11
|
-
newsImageThumbnail
|
|
12
|
-
newsUrlOriginal
|
|
13
|
-
publication
|
|
14
|
-
publishedAt
|
|
15
|
-
slug
|
|
16
|
-
title:
|
|
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
|
-
}
|
|
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
|
-
}
|
|
79
|
-
updatedAt
|
|
80
|
-
},
|
|
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
|