@aventurevc/api-schemas 0.8.260 → 0.8.262
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/address/address.d.ts +3 -0
- package/dist/address/address.js +3 -0
- package/dist/address/association-role.d.ts +3 -0
- package/dist/address/association-role.js +3 -0
- package/dist/address/association.d.ts +3 -0
- package/dist/address/association.js +3 -0
- package/dist/address/city.d.ts +3 -0
- package/dist/address/city.js +3 -0
- package/dist/address/country.d.ts +3 -0
- package/dist/address/country.js +3 -0
- package/dist/address/state.d.ts +3 -0
- package/dist/address/state.js +3 -0
- package/dist/agent/help.d.ts +4 -0
- package/dist/agent/task-preset-catalog.d.ts +1 -0
- package/dist/agent/task-preset-catalog.js +1 -0
- package/dist/agent/task-preset-execution.d.ts +1 -0
- package/dist/agent/task-preset-execution.js +1 -0
- package/dist/agent/task-preset-phase.d.ts +1 -0
- package/dist/agent/task-preset-phase.js +1 -0
- package/dist/agent/task-preset.d.ts +1 -0
- package/dist/agent/task-preset.js +1 -0
- package/dist/blog/post-type.d.ts +1 -0
- package/dist/blog/post-type.js +1 -0
- package/dist/blog/post.d.ts +1 -0
- package/dist/blog/post.js +1 -0
- package/dist/classification/classification.d.ts +2 -0
- package/dist/classification/classification.js +2 -0
- package/dist/classification/join-registry.d.ts +2 -0
- package/dist/classification/join-registry.js +2 -0
- package/dist/competitor/degree.d.ts +15 -0
- package/dist/competitor/degree.js +12 -0
- package/dist/content/embedding-match.d.ts +3 -0
- package/dist/content/embedding-match.js +3 -0
- package/dist/content/source-type.d.ts +3 -0
- package/dist/content/source-type.js +3 -0
- package/dist/cursor/slice-harness-run-event.d.ts +1 -0
- package/dist/cursor/slice-harness-run-event.js +1 -0
- package/dist/employee/count.d.ts +1 -0
- package/dist/employee/count.js +1 -0
- package/dist/enrichment/batch.js +1 -1
- package/dist/enrichment/mode.d.ts +3 -0
- package/dist/enrichment/mode.js +3 -0
- package/dist/entity/accelerator-participation.d.ts +26 -0
- package/dist/entity/accelerator-participation.js +2 -0
- package/dist/entity/acquisition.d.ts +48 -0
- package/dist/entity/alias-type.d.ts +4 -0
- package/dist/entity/alias-type.js +4 -0
- package/dist/entity/analysis-citation.d.ts +3 -0
- package/dist/entity/analysis-citation.js +3 -0
- package/dist/entity/analysis-draft.d.ts +2 -0
- package/dist/entity/analysis-draft.js +2 -0
- package/dist/entity/analysis-figure-cell.d.ts +2 -0
- package/dist/entity/analysis-figure-cell.js +2 -0
- package/dist/entity/analysis-figure-entry.d.ts +2 -0
- package/dist/entity/analysis-figure-entry.js +2 -0
- package/dist/entity/analysis-figure-type.d.ts +2 -0
- package/dist/entity/analysis-figure-type.js +2 -0
- package/dist/entity/analysis-figure.d.ts +3 -0
- package/dist/entity/analysis-figure.js +3 -0
- package/dist/entity/analysis-invocation.d.ts +1 -0
- package/dist/entity/analysis-invocation.js +1 -0
- package/dist/entity/analysis-paragraph.d.ts +3 -0
- package/dist/entity/analysis-paragraph.js +3 -0
- package/dist/entity/analysis-section-mutation.d.ts +156 -0
- package/dist/entity/analysis-section-mutation.js +34 -0
- package/dist/entity/analysis-section-origin.d.ts +3 -0
- package/dist/entity/analysis-section-origin.js +3 -0
- package/dist/entity/analysis-section.d.ts +2 -0
- package/dist/entity/analysis-section.js +2 -0
- package/dist/entity/analysis-source.d.ts +1 -0
- package/dist/entity/analysis-source.js +1 -0
- package/dist/entity/analysis-tool.d.ts +1 -0
- package/dist/entity/analysis-tool.js +1 -0
- package/dist/entity/brand.d.ts +24 -0
- package/dist/entity/classification.d.ts +2 -0
- package/dist/entity/classification.js +2 -0
- package/dist/entity/comparison-signals.d.ts +40 -0
- package/dist/entity/comparison-signals.js +3 -0
- package/dist/entity/detail.d.ts +527 -0
- package/dist/entity/detail.js +5 -0
- package/dist/entity/enrichment.d.ts +2 -0
- package/dist/entity/enrichment.js +2 -0
- package/dist/entity/entity.d.ts +28 -0
- package/dist/entity/entity.js +4 -0
- package/dist/entity/funding-detail.d.ts +3 -0
- package/dist/entity/funding-detail.js +3 -0
- package/dist/entity/fundraise-investor-activity.d.ts +1 -0
- package/dist/entity/fundraise-investor-activity.js +1 -0
- package/dist/entity/fundraise-investor-join.d.ts +2 -0
- package/dist/entity/fundraise-investor-join.js +2 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +27 -0
- package/dist/entity/fundraise-transaction-entity.js +3 -0
- package/dist/entity/fundraise-transaction.d.ts +26 -0
- package/dist/entity/fundraise-transaction.js +2 -0
- package/dist/entity/fundraise.d.ts +25 -0
- package/dist/entity/fundraise.js +1 -0
- package/dist/entity/image.d.ts +26 -0
- package/dist/entity/image.js +9 -0
- package/dist/entity/investor-participation.d.ts +527 -0
- package/dist/entity/list-research.d.ts +26 -0
- package/dist/entity/list-research.js +2 -0
- package/dist/entity/list.d.ts +138 -0
- package/dist/entity/list.js +5 -0
- package/dist/entity/name-alias-entity-alias-type.d.ts +4 -0
- package/dist/entity/name-alias-entity-alias-type.js +4 -0
- package/dist/entity/name-alias-person-alias-type.d.ts +3 -0
- package/dist/entity/name-alias-person-alias-type.js +3 -0
- package/dist/entity/person-association.d.ts +37 -0
- package/dist/entity/person-association.js +1 -0
- package/dist/entity/person-owner.d.ts +1 -0
- package/dist/entity/person-owner.js +1 -0
- package/dist/entity/profile-headline.d.ts +68 -0
- package/dist/entity/profile-headline.js +51 -0
- package/dist/entity/profile-status.d.ts +75 -0
- package/dist/entity/profile-status.js +46 -0
- package/dist/entity/provider.d.ts +26 -0
- package/dist/entity/provider.js +2 -0
- package/dist/entity/relationship.d.ts +64 -0
- package/dist/entity/research-detail.d.ts +2 -0
- package/dist/entity/research-detail.js +2 -0
- package/dist/entity/research-fact-value.d.ts +1 -0
- package/dist/entity/research-fact-value.js +1 -0
- package/dist/entity/research-public-source.d.ts +3 -0
- package/dist/entity/research-public-source.js +3 -0
- package/dist/entity/research-value-type.d.ts +3 -0
- package/dist/entity/research-value-type.js +3 -0
- package/dist/entity/research.d.ts +24 -0
- package/dist/entity/resolution.d.ts +527 -0
- package/dist/entity/similar-param.d.ts +1 -0
- package/dist/entity/similar-param.js +3 -1
- package/dist/entity/similarity-result.d.ts +108 -0
- package/dist/entity/similarity-summary.d.ts +24 -0
- package/dist/entity/sitemap.d.ts +4 -0
- package/dist/entity/sitemap.js +4 -0
- package/dist/entity/tag.d.ts +2 -0
- package/dist/entity/tag.js +2 -0
- package/dist/entity/text-bundle.d.ts +3 -0
- package/dist/entity/text-bundle.js +3 -0
- package/dist/entity/url-crawl-cdn-provider.d.ts +3 -0
- package/dist/entity/url-crawl-cdn-provider.js +3 -0
- package/dist/entity/url-crawl-render-mode.d.ts +3 -0
- package/dist/entity/url-crawl-render-mode.js +3 -0
- package/dist/entity/url-link.d.ts +3 -0
- package/dist/entity/url-link.js +3 -0
- package/dist/entity/url-type.d.ts +3 -0
- package/dist/entity/url-type.js +3 -0
- package/dist/entity/valuation-data-confidence.d.ts +1 -0
- package/dist/entity/valuation-data-confidence.js +1 -0
- package/dist/federated/search.d.ts +1299 -0
- package/dist/funding/stage.d.ts +4 -1
- package/dist/funding/stage.js +4 -1
- package/dist/fundraise/data-confidence.d.ts +2 -0
- package/dist/fundraise/data-confidence.js +2 -0
- package/dist/fundraise/financial-instrument-type.d.ts +2 -0
- package/dist/fundraise/financial-instrument-type.js +2 -0
- package/dist/fundraise/investment-attribution-type.d.ts +3 -0
- package/dist/fundraise/investment-attribution-type.js +3 -0
- package/dist/fundraise/investment-attribution.d.ts +3 -0
- package/dist/fundraise/investment-attribution.js +3 -0
- package/dist/fundraise/investment-evidence.d.ts +24 -0
- package/dist/harness/chassis.d.ts +3 -0
- package/dist/harness/chassis.js +3 -0
- package/dist/harness/llm-api.d.ts +3 -0
- package/dist/harness/llm-api.js +3 -0
- package/dist/harness/run-create.d.ts +1 -0
- package/dist/harness/run-create.js +3 -2
- package/dist/harness/run-detail.d.ts +49 -0
- package/dist/harness/run-detail.js +1 -0
- package/dist/harness/run-environment.d.ts +3 -0
- package/dist/harness/run-environment.js +3 -0
- package/dist/harness/run-event.d.ts +2 -0
- package/dist/harness/run-event.js +2 -0
- package/dist/harness/run-follow-up-admission.d.ts +3 -0
- package/dist/harness/run-follow-up-admission.js +3 -0
- package/dist/harness/run-follow-up.d.ts +1 -0
- package/dist/harness/run-follow-up.js +1 -0
- package/dist/harness/run-lane.d.ts +3 -0
- package/dist/harness/run-lane.js +3 -0
- package/dist/harness/run-progress.d.ts +1 -0
- package/dist/harness/run-progress.js +1 -0
- package/dist/harness/run-status.d.ts +3 -0
- package/dist/harness/run-status.js +3 -0
- package/dist/harness/run-turn.d.ts +1 -0
- package/dist/harness/run-turn.js +1 -0
- package/dist/harness/run-type.d.ts +3 -0
- package/dist/harness/run-type.js +3 -0
- package/dist/harness/run.d.ts +3 -0
- package/dist/harness/run.js +3 -0
- package/dist/harness/task-input-type.d.ts +3 -1
- package/dist/harness/task-input-type.js +2 -2
- package/dist/harness/task-plan-step.d.ts +3 -0
- package/dist/harness/task-plan-step.js +2 -0
- package/dist/harness/task-plan.d.ts +4 -0
- package/dist/harness/task-step.d.ts +1 -0
- package/dist/harness/task-step.js +2 -0
- package/dist/harness/task.d.ts +2 -0
- package/dist/help/resolution.d.ts +4 -0
- package/dist/identification/candidate.d.ts +2 -0
- package/dist/identification/candidate.js +2 -0
- package/dist/identification/identification.d.ts +7 -0
- package/dist/identification/identification.js +5 -0
- package/dist/identification/subject.d.ts +31 -0
- package/dist/identification/subject.js +4 -0
- package/dist/image/variant.d.ts +71 -0
- package/dist/image/variant.js +71 -0
- package/dist/job/enqueue.d.ts +3 -0
- package/dist/job/enqueue.js +4 -0
- package/dist/job/state.d.ts +1 -0
- package/dist/job/state.js +1 -0
- package/dist/link/search.d.ts +1272 -0
- package/dist/lookup/job-mention.d.ts +129 -0
- package/dist/lookup/job-mention.js +4 -2
- package/dist/lookup/job-mutation.d.ts +32 -1
- package/dist/lookup/job-mutation.js +5 -3
- package/dist/lookup/job.d.ts +178 -0
- package/dist/lookup/job.js +1 -0
- package/dist/lookup/mention.d.ts +2 -0
- package/dist/lookup/mention.js +2 -0
- package/dist/mention/lookup.d.ts +134 -0
- package/dist/mention/lookup.js +1 -0
- package/dist/natural/search-result.d.ts +380 -0
- package/dist/natural/search.d.ts +1 -0
- package/dist/natural/search.js +1 -0
- package/dist/news/analysis-section.d.ts +32 -0
- package/dist/news/analysis-section.js +22 -0
- package/dist/news/analysis-source-reference.d.ts +23 -0
- package/dist/news/analysis-source-reference.js +22 -0
- package/dist/news/analysis.d.ts +37 -0
- package/dist/news/analysis.js +21 -0
- package/dist/news/detail.d.ts +112 -38
- package/dist/news/detail.js +3 -0
- package/dist/news/entity-mention.d.ts +26 -21
- package/dist/news/match-status.d.ts +14 -0
- package/dist/news/match-status.js +14 -0
- package/dist/news/news.d.ts +48 -0
- package/dist/news/news.js +4 -0
- package/dist/news/published-event.d.ts +48 -0
- package/dist/news/resolved-entity-link.d.ts +33 -23
- package/dist/news/resolved-entity-link.js +33 -19
- package/dist/news/resolved-person-link.d.ts +32 -16
- package/dist/news/resolved-person-link.js +32 -12
- package/dist/news/title-mention.d.ts +82 -0
- package/dist/news/title-mention.js +44 -0
- package/dist/openapi-component-manifest.js +65 -1
- package/dist/pageable/object.d.ts +4 -0
- package/dist/pageable/object.js +4 -0
- package/dist/pagination/schemas.d.ts +2381 -0
- package/dist/pagination/schemas.js +4 -0
- package/dist/person/alias-type.d.ts +3 -0
- package/dist/person/alias-type.js +3 -0
- package/dist/person/detail.d.ts +306 -0
- package/dist/person/detail.js +3 -0
- package/dist/person/enrichment.d.ts +1 -0
- package/dist/person/enrichment.js +1 -0
- package/dist/person/graph-career-context.d.ts +121 -0
- package/dist/person/graph-career-context.js +1 -0
- package/dist/person/graph-co-investor.d.ts +37 -0
- package/dist/person/graph-co-investor.js +1 -0
- package/dist/person/graph-member.d.ts +13 -0
- package/dist/person/graph-member.js +1 -0
- package/dist/person/graph-similar-entity.d.ts +37 -0
- package/dist/person/graph-similar-entity.js +1 -0
- package/dist/person/graph.d.ts +157 -0
- package/dist/person/graph.js +1 -0
- package/dist/person/image.d.ts +14 -0
- package/dist/person/image.js +6 -0
- package/dist/person/invested-company.d.ts +25 -0
- package/dist/person/invested-company.js +1 -0
- package/dist/person/investment.d.ts +49 -0
- package/dist/person/investment.js +1 -0
- package/dist/person/investor-participation.d.ts +307 -0
- package/dist/person/investor-participation.js +1 -0
- package/dist/person/natural-search-result.d.ts +38 -0
- package/dist/person/person.d.ts +16 -0
- package/dist/person/person.js +5 -0
- package/dist/person/similarity-context.d.ts +1 -0
- package/dist/person/similarity-context.js +1 -0
- package/dist/person/similarity-origin.d.ts +1 -0
- package/dist/person/similarity-origin.js +1 -0
- package/dist/person/similarity-result.d.ts +51 -0
- package/dist/person/similarity-result.js +1 -0
- package/dist/publication/facet.d.ts +1 -0
- package/dist/publication/facet.js +1 -0
- package/dist/publication/publication.d.ts +2 -0
- package/dist/publication/publication.js +2 -0
- package/dist/publication/relation.d.ts +2 -0
- package/dist/publication/relation.js +2 -0
- package/dist/publication/type.d.ts +3 -0
- package/dist/publication/type.js +3 -0
- package/dist/reasoning/effort.d.ts +1 -0
- package/dist/reasoning/effort.js +1 -0
- package/dist/registry/filing-address.d.ts +30 -0
- package/dist/registry/filing-address.js +30 -0
- package/dist/registry/filing-person.d.ts +29 -0
- package/dist/registry/filing-person.js +28 -0
- package/dist/registry/filing.d.ts +48 -0
- package/dist/registry/filing.js +34 -0
- package/dist/research/derived-bucket.d.ts +2 -0
- package/dist/research/derived-bucket.js +2 -0
- package/dist/research/derived-range.d.ts +2 -0
- package/dist/research/derived-range.js +2 -0
- package/dist/research/finding.d.ts +4 -0
- package/dist/research/finding.js +4 -0
- package/dist/research/run-view.d.ts +15 -0
- package/dist/research/run-view.js +12 -0
- package/dist/round/label.d.ts +3 -0
- package/dist/round/label.js +3 -0
- package/dist/search/answer-citation.js +1 -1
- package/dist/search/answer-paragraph.d.ts +7 -0
- package/dist/search/answer-paragraph.js +3 -0
- package/dist/search/answer-web-source.d.ts +27 -0
- package/dist/search/answer-web-source.js +25 -0
- package/dist/search/answer.d.ts +8 -0
- package/dist/search/cache-mode.d.ts +1 -0
- package/dist/search/cache-mode.js +1 -0
- package/dist/search/evidence-source.d.ts +1 -1
- package/dist/search/evidence-source.js +1 -1
- package/dist/search/investment.d.ts +24 -0
- package/dist/search/judgment.d.ts +24 -0
- package/dist/search/mode.d.ts +1 -0
- package/dist/search/mode.js +1 -0
- package/dist/shared/search.d.ts +1272 -0
- package/dist/sort/object.d.ts +4 -0
- package/dist/sort/object.js +4 -0
- package/dist/stage/frequency.d.ts +1 -0
- package/dist/stage/frequency.js +1 -0
- package/dist/standardized/classification.d.ts +2 -0
- package/dist/standardized/classification.js +2 -0
- package/dist/unique/id-mutation.d.ts +3 -0
- package/dist/unique/id-mutation.js +3 -0
- package/dist/url/host-form-resolution.d.ts +2 -0
- package/dist/url/host-form-resolution.js +2 -0
- package/dist/writer/analysis-section.d.ts +28 -0
- package/dist/writer/analysis-section.js +21 -0
- package/dist/writer/brief.d.ts +102 -0
- package/dist/writer/brief.js +29 -0
- package/dist/writer/change-signal.d.ts +22 -0
- package/dist/writer/change-signal.js +20 -0
- package/dist/writer/claim-surface.d.ts +3 -0
- package/dist/writer/claim-surface.js +3 -0
- package/dist/writer/gap-reason.d.ts +26 -0
- package/dist/writer/gap-reason.js +20 -0
- package/dist/writer/gap.d.ts +35 -0
- package/dist/writer/gap.js +23 -0
- package/dist/writer/judgment.d.ts +23 -0
- package/dist/writer/judgment.js +21 -0
- package/dist/writer/meta-analysis.d.ts +62 -0
- package/dist/writer/meta-analysis.js +34 -0
- package/dist/writer/paragraph-analysis.d.ts +17 -0
- package/dist/writer/paragraph-analysis.js +19 -0
- package/dist/writer/paragraph.d.ts +40 -0
- package/dist/writer/paragraph.js +24 -0
- package/dist/writer/positioning-element.d.ts +29 -0
- package/dist/writer/positioning-element.js +22 -0
- package/dist/writer/positioning.d.ts +37 -0
- package/dist/writer/positioning.js +23 -0
- package/dist/writer/scope.d.ts +23 -0
- package/dist/writer/scope.js +22 -0
- package/package.json +1 -1
- package/dist/system/status.d.ts +0 -19
- package/dist/system/status.js +0 -16
|
@@ -0,0 +1,22 @@
|
|
|
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 { NewsAnalysisSourceReferenceSchema } from "./analysis-source-reference.js";
|
|
4
|
+
const NewsAnalysisSectionSchemaDefinition = z.object({
|
|
5
|
+
reference: z.array(NewsAnalysisSourceReferenceSchema),
|
|
6
|
+
stepKey: z.string(),
|
|
7
|
+
text: z.string(),
|
|
8
|
+
/** Title of the accepted catalog step, set by the server at publication. */
|
|
9
|
+
title: z.string(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* One accepted analysis step and its cited interpretation.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema NewsAnalysisSection
|
|
15
|
+
* @endpoint GET /v1/news/lookup
|
|
16
|
+
* @endpoint GET /v1/news/{newsId}
|
|
17
|
+
* @usedBySchema NewsAnalysisSchema
|
|
18
|
+
* @contractShape news.analysis-section
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const NewsAnalysisSectionSchema = NewsAnalysisSectionSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=analysis-section.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
declare const NewsAnalysisSourceReferenceSchemaDefinition: z.ZodObject<{
|
|
3
|
+
quote: z.ZodString;
|
|
4
|
+
sourceDocumentId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
type NewsAnalysisSourceReferenceDefinition = z.infer<typeof NewsAnalysisSourceReferenceSchemaDefinition>;
|
|
8
|
+
export interface NewsAnalysisSourceReferenceSchemaInput extends z.input<typeof NewsAnalysisSourceReferenceSchemaDefinition> {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A source supporting the analysis: its URL and a verbatim quote from it.
|
|
12
|
+
*
|
|
13
|
+
* @openapiSchema NewsAnalysisSourceReference
|
|
14
|
+
* @endpoint GET /v1/news/lookup
|
|
15
|
+
* @endpoint GET /v1/news/{newsId}
|
|
16
|
+
* @usedBySchema NewsAnalysisSectionSchema
|
|
17
|
+
* @contractShape news.analysis-source-reference
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export declare const NewsAnalysisSourceReferenceSchema: z.ZodType<NewsAnalysisSourceReferenceDefinition, NewsAnalysisSourceReferenceSchemaInput>;
|
|
21
|
+
export type NewsAnalysisSourceReference = z.infer<typeof NewsAnalysisSourceReferenceSchema>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=analysis-source-reference.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
const NewsAnalysisSourceReferenceSchemaDefinition = z.object({
|
|
4
|
+
/** Verbatim excerpt from the cited source that supports the section. */
|
|
5
|
+
quote: z.string().min(1).max(600),
|
|
6
|
+
/** Stored source document holding the quote, when one was captured. */
|
|
7
|
+
sourceDocumentId: z.uuid().nullish(),
|
|
8
|
+
/** Absolute http or https URL of the cited source. */
|
|
9
|
+
url: z.string(),
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* A source supporting the analysis: its URL and a verbatim quote from it.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema NewsAnalysisSourceReference
|
|
15
|
+
* @endpoint GET /v1/news/lookup
|
|
16
|
+
* @endpoint GET /v1/news/{newsId}
|
|
17
|
+
* @usedBySchema NewsAnalysisSectionSchema
|
|
18
|
+
* @contractShape news.analysis-source-reference
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const NewsAnalysisSourceReferenceSchema = NewsAnalysisSourceReferenceSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=analysis-source-reference.js.map
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* The current shared, publicly readable article analysis.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema NewsAnalysis
|
|
6
|
+
* @endpoint GET /v1/news/lookup
|
|
7
|
+
* @endpoint GET /v1/news/{newsId}
|
|
8
|
+
* @usedBySchema NewsDetailSchema
|
|
9
|
+
* @contractShape news.analysis
|
|
10
|
+
* @contractRole canonical
|
|
11
|
+
*/
|
|
12
|
+
export declare const NewsAnalysisSchema: z.ZodObject<{
|
|
13
|
+
newsId: z.ZodInt;
|
|
14
|
+
publishedAt: z.ZodISODateTime;
|
|
15
|
+
section: z.ZodArray<z.ZodType<{
|
|
16
|
+
reference: {
|
|
17
|
+
quote: string;
|
|
18
|
+
sourceDocumentId?: string | null | undefined;
|
|
19
|
+
url: string;
|
|
20
|
+
}[];
|
|
21
|
+
stepKey: string;
|
|
22
|
+
text: string;
|
|
23
|
+
title: string;
|
|
24
|
+
}, import("./analysis-section.ts").NewsAnalysisSectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
25
|
+
reference: {
|
|
26
|
+
quote: string;
|
|
27
|
+
sourceDocumentId?: string | null | undefined;
|
|
28
|
+
url: string;
|
|
29
|
+
}[];
|
|
30
|
+
stepKey: string;
|
|
31
|
+
text: string;
|
|
32
|
+
title: string;
|
|
33
|
+
}, import("./analysis-section.ts").NewsAnalysisSectionSchemaInput>>>;
|
|
34
|
+
version: z.ZodInt;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export type NewsAnalysis = z.infer<typeof NewsAnalysisSchema>;
|
|
37
|
+
//# sourceMappingURL=analysis.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { NewsAnalysisSectionSchema } from "./analysis-section.js";
|
|
4
|
+
/**
|
|
5
|
+
* The current shared, publicly readable article analysis.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema NewsAnalysis
|
|
8
|
+
* @endpoint GET /v1/news/lookup
|
|
9
|
+
* @endpoint GET /v1/news/{newsId}
|
|
10
|
+
* @usedBySchema NewsDetailSchema
|
|
11
|
+
* @contractShape news.analysis
|
|
12
|
+
* @contractRole canonical
|
|
13
|
+
*/
|
|
14
|
+
export const NewsAnalysisSchema = z.object({
|
|
15
|
+
/** Type-safe identifier for news articles */
|
|
16
|
+
newsId: z.int(),
|
|
17
|
+
publishedAt: z.iso.datetime({ offset: true }),
|
|
18
|
+
section: z.array(NewsAnalysisSectionSchema),
|
|
19
|
+
version: z.int(),
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=analysis.js.map
|
package/dist/news/detail.d.ts
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
3
|
+
analysis: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
|
+
newsId: z.ZodInt;
|
|
5
|
+
publishedAt: z.ZodISODateTime;
|
|
6
|
+
section: z.ZodArray<z.ZodType<{
|
|
7
|
+
reference: {
|
|
8
|
+
quote: string;
|
|
9
|
+
sourceDocumentId?: string | null | undefined;
|
|
10
|
+
url: string;
|
|
11
|
+
}[];
|
|
12
|
+
stepKey: string;
|
|
13
|
+
text: string;
|
|
14
|
+
title: string;
|
|
15
|
+
}, import("./analysis-section.ts").NewsAnalysisSectionSchemaInput, z.core.$ZodTypeInternals<{
|
|
16
|
+
reference: {
|
|
17
|
+
quote: string;
|
|
18
|
+
sourceDocumentId?: string | null | undefined;
|
|
19
|
+
url: string;
|
|
20
|
+
}[];
|
|
21
|
+
stepKey: string;
|
|
22
|
+
text: string;
|
|
23
|
+
title: string;
|
|
24
|
+
}, import("./analysis-section.ts").NewsAnalysisSectionSchemaInput>>>;
|
|
25
|
+
version: z.ZodInt;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
3
27
|
content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
28
|
core: z.ZodType<{
|
|
5
29
|
author?: string | null | undefined;
|
|
@@ -14,6 +38,30 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
14
38
|
publishedAt?: string | null | undefined;
|
|
15
39
|
slug?: string | null | undefined;
|
|
16
40
|
title: string;
|
|
41
|
+
titleMention?: {
|
|
42
|
+
end: number;
|
|
43
|
+
entity?: {
|
|
44
|
+
createdAt: string;
|
|
45
|
+
entityId: string;
|
|
46
|
+
href?: string | null | undefined;
|
|
47
|
+
internal: boolean;
|
|
48
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
49
|
+
mention?: string | null | undefined;
|
|
50
|
+
slug?: string | null | undefined;
|
|
51
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
52
|
+
updatedAt: string;
|
|
53
|
+
} | null | undefined;
|
|
54
|
+
person?: {
|
|
55
|
+
createdAt: string;
|
|
56
|
+
href?: string | null | undefined;
|
|
57
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
58
|
+
mention?: string | null | undefined;
|
|
59
|
+
personId: string;
|
|
60
|
+
slug?: string | null | undefined;
|
|
61
|
+
updatedAt: string;
|
|
62
|
+
} | null | undefined;
|
|
63
|
+
start: number;
|
|
64
|
+
}[] | undefined;
|
|
17
65
|
updatedAt?: string | null | undefined;
|
|
18
66
|
}, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
|
|
19
67
|
author?: string | null | undefined;
|
|
@@ -28,49 +76,75 @@ declare const NewsDetailSchemaDefinition: z.ZodObject<{
|
|
|
28
76
|
publishedAt?: string | null | undefined;
|
|
29
77
|
slug?: string | null | undefined;
|
|
30
78
|
title: string;
|
|
79
|
+
titleMention?: {
|
|
80
|
+
end: number;
|
|
81
|
+
entity?: {
|
|
82
|
+
createdAt: string;
|
|
83
|
+
entityId: string;
|
|
84
|
+
href?: string | null | undefined;
|
|
85
|
+
internal: boolean;
|
|
86
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
87
|
+
mention?: string | null | undefined;
|
|
88
|
+
slug?: string | null | undefined;
|
|
89
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
90
|
+
updatedAt: string;
|
|
91
|
+
} | null | undefined;
|
|
92
|
+
person?: {
|
|
93
|
+
createdAt: string;
|
|
94
|
+
href?: string | null | undefined;
|
|
95
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
96
|
+
mention?: string | null | undefined;
|
|
97
|
+
personId: string;
|
|
98
|
+
slug?: string | null | undefined;
|
|
99
|
+
updatedAt: string;
|
|
100
|
+
} | null | undefined;
|
|
101
|
+
start: number;
|
|
102
|
+
}[] | undefined;
|
|
31
103
|
updatedAt?: string | null | undefined;
|
|
32
104
|
}, import("./news.ts").NewsSchemaInput>>;
|
|
33
|
-
entityMentionResolved: z.ZodArray<z.
|
|
34
|
-
createdAt:
|
|
35
|
-
entityId:
|
|
36
|
-
href
|
|
37
|
-
internal:
|
|
38
|
-
matchStatus
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
105
|
+
entityMentionResolved: z.ZodArray<z.ZodObject<{
|
|
106
|
+
createdAt: z.ZodISODateTime;
|
|
107
|
+
entityId: z.ZodUUID;
|
|
108
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
internal: z.ZodBoolean;
|
|
110
|
+
matchStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
111
|
+
approved: "approved";
|
|
112
|
+
"auto-match": "auto-match";
|
|
113
|
+
"needs-review": "needs-review";
|
|
114
|
+
rejected: "rejected";
|
|
115
|
+
}>>>;
|
|
116
|
+
mention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
117
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
118
|
+
typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
119
|
+
"Business Line": "Business Line";
|
|
120
|
+
Company: "Company";
|
|
121
|
+
Fund: "Fund";
|
|
122
|
+
Government: "Government";
|
|
123
|
+
"Investment Firm": "Investment Firm";
|
|
124
|
+
Nonprofit: "Nonprofit";
|
|
125
|
+
Organization: "Organization";
|
|
126
|
+
Product: "Product";
|
|
127
|
+
Service: "Service";
|
|
128
|
+
}>>>;
|
|
129
|
+
updatedAt: z.ZodISODateTime;
|
|
130
|
+
}, z.core.$strip>>;
|
|
54
131
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
132
|
linkedContent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
133
|
linkerCompleted: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
-
personMentionResolved: z.ZodArray<z.
|
|
58
|
-
createdAt:
|
|
59
|
-
href
|
|
60
|
-
matchStatus
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
slug?: string | null | undefined;
|
|
72
|
-
updatedAt: string;
|
|
73
|
-
}, import("./resolved-person-link.ts").NewsResolvedPersonLinkSchemaInput>>>;
|
|
134
|
+
personMentionResolved: z.ZodArray<z.ZodObject<{
|
|
135
|
+
createdAt: z.ZodISODateTime;
|
|
136
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
matchStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
138
|
+
approved: "approved";
|
|
139
|
+
"auto-match": "auto-match";
|
|
140
|
+
"needs-review": "needs-review";
|
|
141
|
+
rejected: "rejected";
|
|
142
|
+
}>>>;
|
|
143
|
+
mention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
144
|
+
personId: z.ZodUUID;
|
|
145
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
146
|
+
updatedAt: z.ZodISODateTime;
|
|
147
|
+
}, z.core.$strip>>;
|
|
74
148
|
}, z.core.$strip>;
|
|
75
149
|
type NewsDetailDefinition = z.infer<typeof NewsDetailSchemaDefinition>;
|
|
76
150
|
export interface NewsDetailSchemaInput extends z.input<typeof NewsDetailSchemaDefinition> {
|
package/dist/news/detail.js
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
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 { NewsAnalysisSchema } from "./analysis.js";
|
|
3
4
|
import { NewsSchema } from "./news.js";
|
|
4
5
|
import { NewsResolvedEntityLinkSchema } from "./resolved-entity-link.js";
|
|
5
6
|
import { NewsResolvedPersonLinkSchema } from "./resolved-person-link.js";
|
|
6
7
|
const NewsDetailSchemaDefinition = z.object({
|
|
8
|
+
/** Current shared article analysis, absent before publication. */
|
|
9
|
+
analysis: NewsAnalysisSchema.nullish(),
|
|
7
10
|
content: z.string().nullish(),
|
|
8
11
|
core: NewsSchema,
|
|
9
12
|
/** Resolved entity mentions — read-only display projections. News mutations attach entities only via flat entityJoinId values, never these nested objects. */
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const NewsEntityMentionSchemaDefinition: z.ZodObject<{
|
|
3
|
-
entity: z.ZodArray<z.
|
|
4
|
-
createdAt:
|
|
5
|
-
entityId:
|
|
6
|
-
href
|
|
7
|
-
internal:
|
|
8
|
-
matchStatus
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
3
|
+
entity: z.ZodArray<z.ZodObject<{
|
|
4
|
+
createdAt: z.ZodISODateTime;
|
|
5
|
+
entityId: z.ZodUUID;
|
|
6
|
+
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
internal: z.ZodBoolean;
|
|
8
|
+
matchStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
9
|
+
approved: "approved";
|
|
10
|
+
"auto-match": "auto-match";
|
|
11
|
+
"needs-review": "needs-review";
|
|
12
|
+
rejected: "rejected";
|
|
13
|
+
}>>>;
|
|
14
|
+
mention: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
typeRecord: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
17
|
+
"Business Line": "Business Line";
|
|
18
|
+
Company: "Company";
|
|
19
|
+
Fund: "Fund";
|
|
20
|
+
Government: "Government";
|
|
21
|
+
"Investment Firm": "Investment Firm";
|
|
22
|
+
Nonprofit: "Nonprofit";
|
|
23
|
+
Organization: "Organization";
|
|
24
|
+
Product: "Product";
|
|
25
|
+
Service: "Service";
|
|
26
|
+
}>>>;
|
|
27
|
+
updatedAt: z.ZodISODateTime;
|
|
28
|
+
}, z.core.$strip>>;
|
|
24
29
|
newsId: z.ZodInt;
|
|
25
30
|
}, z.core.$strip>;
|
|
26
31
|
type NewsEntityMentionDefinition = z.infer<typeof NewsEntityMentionSchemaDefinition>;
|
|
@@ -3,12 +3,26 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* auto-match = linked by the matcher; needs-review = awaiting a reviewer; approved; rejected
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema NewsMatchStatus
|
|
6
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
7
|
+
* @endpoint GET /v1/news
|
|
6
8
|
* @endpoint GET /v1/news/lookup
|
|
9
|
+
* @endpoint GET /v1/people/lookup-exact
|
|
7
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
|
|
8
16
|
* @endpoint GET /v1/news/{newsId}
|
|
17
|
+
* @endpoint GET /v1/people/{personId}
|
|
18
|
+
* @endpoint GET /v1/people/{personId}/graph
|
|
9
19
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
10
20
|
* @endpoint GET /v1/search/shared/{id}
|
|
11
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/people/lookup-batch
|
|
12
26
|
* @endpoint POST /v1/search
|
|
13
27
|
* @endpoint POST /v1/search/shared
|
|
14
28
|
* @usedBySchema NewsResolvedEntityLinkSchema
|
|
@@ -4,12 +4,26 @@ import { z } from "zod/v4";
|
|
|
4
4
|
* auto-match = linked by the matcher; needs-review = awaiting a reviewer; approved; rejected
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema NewsMatchStatus
|
|
7
|
+
* @endpoint GET /v1/entities/lookup-exact
|
|
8
|
+
* @endpoint GET /v1/news
|
|
7
9
|
* @endpoint GET /v1/news/lookup
|
|
10
|
+
* @endpoint GET /v1/people/lookup-exact
|
|
8
11
|
* @endpoint GET /v1/search/link
|
|
12
|
+
* @endpoint GET /v1/entities/{entityId}
|
|
13
|
+
* @endpoint GET /v1/entities/{entityId}/investors
|
|
14
|
+
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
15
|
+
* @endpoint GET /v1/entities/{entityId}/person-investors
|
|
16
|
+
* @endpoint GET /v1/entities/{entityId}/trending-news
|
|
9
17
|
* @endpoint GET /v1/news/{newsId}
|
|
18
|
+
* @endpoint GET /v1/people/{personId}
|
|
19
|
+
* @endpoint GET /v1/people/{personId}/graph
|
|
10
20
|
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
11
21
|
* @endpoint GET /v1/search/shared/{id}
|
|
12
22
|
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
23
|
+
* @endpoint POST /v1/entities/lookup-batch
|
|
24
|
+
* @endpoint POST /v1/entities/lookup-matches
|
|
25
|
+
* @endpoint POST /v1/entities/search
|
|
26
|
+
* @endpoint POST /v1/people/lookup-batch
|
|
13
27
|
* @endpoint POST /v1/search
|
|
14
28
|
* @endpoint POST /v1/search/shared
|
|
15
29
|
* @usedBySchema NewsResolvedEntityLinkSchema
|
package/dist/news/news.d.ts
CHANGED
|
@@ -12,6 +12,53 @@ declare const NewsSchemaDefinition: z.ZodObject<{
|
|
|
12
12
|
publishedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13
13
|
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
title: z.ZodString;
|
|
15
|
+
titleMention: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
16
|
+
end: number;
|
|
17
|
+
entity?: {
|
|
18
|
+
createdAt: string;
|
|
19
|
+
entityId: string;
|
|
20
|
+
href?: string | null | undefined;
|
|
21
|
+
internal: boolean;
|
|
22
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
23
|
+
mention?: string | null | undefined;
|
|
24
|
+
slug?: string | null | undefined;
|
|
25
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
26
|
+
updatedAt: string;
|
|
27
|
+
} | null | undefined;
|
|
28
|
+
person?: {
|
|
29
|
+
createdAt: string;
|
|
30
|
+
href?: string | null | undefined;
|
|
31
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
32
|
+
mention?: string | null | undefined;
|
|
33
|
+
personId: string;
|
|
34
|
+
slug?: string | null | undefined;
|
|
35
|
+
updatedAt: string;
|
|
36
|
+
} | null | undefined;
|
|
37
|
+
start: number;
|
|
38
|
+
}, import("./title-mention.ts").NewsTitleMentionSchemaInput, z.core.$ZodTypeInternals<{
|
|
39
|
+
end: number;
|
|
40
|
+
entity?: {
|
|
41
|
+
createdAt: string;
|
|
42
|
+
entityId: string;
|
|
43
|
+
href?: string | null | undefined;
|
|
44
|
+
internal: boolean;
|
|
45
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
46
|
+
mention?: string | null | undefined;
|
|
47
|
+
slug?: string | null | undefined;
|
|
48
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
} | null | undefined;
|
|
51
|
+
person?: {
|
|
52
|
+
createdAt: string;
|
|
53
|
+
href?: string | null | undefined;
|
|
54
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
55
|
+
mention?: string | null | undefined;
|
|
56
|
+
personId: string;
|
|
57
|
+
slug?: string | null | undefined;
|
|
58
|
+
updatedAt: string;
|
|
59
|
+
} | null | undefined;
|
|
60
|
+
start: number;
|
|
61
|
+
}, import("./title-mention.ts").NewsTitleMentionSchemaInput>>>>;
|
|
15
62
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16
63
|
}, z.core.$strip>;
|
|
17
64
|
type NewsDefinition = z.infer<typeof NewsSchemaDefinition>;
|
|
@@ -28,6 +75,7 @@ export interface NewsSchemaInput extends z.input<typeof NewsSchemaDefinition> {
|
|
|
28
75
|
* @endpoint GET /v1/search/link
|
|
29
76
|
* @endpoint GET /v1/entities/{entityId}
|
|
30
77
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
78
|
+
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
31
79
|
* @endpoint GET /v1/entities/{entityId}/person-investors
|
|
32
80
|
* @endpoint GET /v1/entities/{entityId}/trending-news
|
|
33
81
|
* @endpoint GET /v1/news/{newsId}
|
package/dist/news/news.js
CHANGED
|
@@ -1,5 +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
|
+
import { NewsTitleMentionSchema } from "./title-mention.js";
|
|
3
4
|
const NewsSchemaDefinition = z.object({
|
|
4
5
|
author: z.string().nullish(),
|
|
5
6
|
category: z.string().nullish(),
|
|
@@ -22,6 +23,8 @@ const NewsSchemaDefinition = z.object({
|
|
|
22
23
|
.nullish(),
|
|
23
24
|
/** Article headline; the headline field is title */
|
|
24
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(),
|
|
25
28
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
26
29
|
});
|
|
27
30
|
/**
|
|
@@ -35,6 +38,7 @@ const NewsSchemaDefinition = z.object({
|
|
|
35
38
|
* @endpoint GET /v1/search/link
|
|
36
39
|
* @endpoint GET /v1/entities/{entityId}
|
|
37
40
|
* @endpoint GET /v1/entities/{entityId}/investors
|
|
41
|
+
* @endpoint GET /v1/entities/{entityId}/investors/people
|
|
38
42
|
* @endpoint GET /v1/entities/{entityId}/person-investors
|
|
39
43
|
* @endpoint GET /v1/entities/{entityId}/trending-news
|
|
40
44
|
* @endpoint GET /v1/news/{newsId}
|
|
@@ -14,6 +14,30 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
|
|
|
14
14
|
publishedAt?: string | null | undefined;
|
|
15
15
|
slug?: string | null | undefined;
|
|
16
16
|
title: string;
|
|
17
|
+
titleMention?: {
|
|
18
|
+
end: number;
|
|
19
|
+
entity?: {
|
|
20
|
+
createdAt: string;
|
|
21
|
+
entityId: string;
|
|
22
|
+
href?: string | null | undefined;
|
|
23
|
+
internal: boolean;
|
|
24
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
25
|
+
mention?: string | null | undefined;
|
|
26
|
+
slug?: string | null | undefined;
|
|
27
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
28
|
+
updatedAt: string;
|
|
29
|
+
} | null | undefined;
|
|
30
|
+
person?: {
|
|
31
|
+
createdAt: string;
|
|
32
|
+
href?: string | null | undefined;
|
|
33
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
34
|
+
mention?: string | null | undefined;
|
|
35
|
+
personId: string;
|
|
36
|
+
slug?: string | null | undefined;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
} | null | undefined;
|
|
39
|
+
start: number;
|
|
40
|
+
}[] | undefined;
|
|
17
41
|
updatedAt?: string | null | undefined;
|
|
18
42
|
}, import("./news.ts").NewsSchemaInput, z.core.$ZodTypeInternals<{
|
|
19
43
|
author?: string | null | undefined;
|
|
@@ -28,6 +52,30 @@ declare const NewsPublishedEventSchemaDefinition: z.ZodObject<{
|
|
|
28
52
|
publishedAt?: string | null | undefined;
|
|
29
53
|
slug?: string | null | undefined;
|
|
30
54
|
title: string;
|
|
55
|
+
titleMention?: {
|
|
56
|
+
end: number;
|
|
57
|
+
entity?: {
|
|
58
|
+
createdAt: string;
|
|
59
|
+
entityId: string;
|
|
60
|
+
href?: string | null | undefined;
|
|
61
|
+
internal: boolean;
|
|
62
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
63
|
+
mention?: string | null | undefined;
|
|
64
|
+
slug?: string | null | undefined;
|
|
65
|
+
typeRecord?: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service" | null | undefined;
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
} | null | undefined;
|
|
68
|
+
person?: {
|
|
69
|
+
createdAt: string;
|
|
70
|
+
href?: string | null | undefined;
|
|
71
|
+
matchStatus?: "approved" | "auto-match" | "needs-review" | "rejected" | null | undefined;
|
|
72
|
+
mention?: string | null | undefined;
|
|
73
|
+
personId: string;
|
|
74
|
+
slug?: string | null | undefined;
|
|
75
|
+
updatedAt: string;
|
|
76
|
+
} | null | undefined;
|
|
77
|
+
start: number;
|
|
78
|
+
}[] | undefined;
|
|
31
79
|
updatedAt?: string | null | undefined;
|
|
32
80
|
}, import("./news.ts").NewsSchemaInput>>;
|
|
33
81
|
eventId: z.ZodString;
|
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema NewsResolvedEntityLink
|
|
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/people/lookup-batch
|
|
26
|
+
* @endpoint POST /v1/search
|
|
27
|
+
* @endpoint POST /v1/search/shared
|
|
28
|
+
* @usedBySchema NewsDetailSchema
|
|
29
|
+
* @usedBySchema NewsEntityMentionSchema
|
|
30
|
+
* @usedBySchema NewsTitleMentionSchema
|
|
31
|
+
* @contractShape news.resolved-entity-link
|
|
32
|
+
* @contractRole canonical
|
|
33
|
+
*/
|
|
34
|
+
export declare const NewsResolvedEntityLinkSchema: z.ZodObject<{
|
|
3
35
|
createdAt: z.ZodISODateTime;
|
|
4
36
|
entityId: z.ZodUUID;
|
|
5
37
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -25,27 +57,5 @@ declare const NewsResolvedEntityLinkSchemaDefinition: z.ZodObject<{
|
|
|
25
57
|
}>>>;
|
|
26
58
|
updatedAt: z.ZodISODateTime;
|
|
27
59
|
}, z.core.$strip>;
|
|
28
|
-
type NewsResolvedEntityLinkDefinition = z.infer<typeof NewsResolvedEntityLinkSchemaDefinition>;
|
|
29
|
-
export interface NewsResolvedEntityLinkSchemaInput extends z.input<typeof NewsResolvedEntityLinkSchemaDefinition> {
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Resolved entity mention in news content - hyperlink to an entity detected in article text
|
|
33
|
-
*
|
|
34
|
-
* @openapiSchema NewsResolvedEntityLink
|
|
35
|
-
* @endpoint GET /v1/news/lookup
|
|
36
|
-
* @endpoint GET /v1/search/link
|
|
37
|
-
* @endpoint GET /v1/news/{newsId}
|
|
38
|
-
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
39
|
-
* @endpoint GET /v1/search/shared/{id}
|
|
40
|
-
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
41
|
-
* @endpoint POST /v1/search
|
|
42
|
-
* @endpoint POST /v1/search/shared
|
|
43
|
-
* @usedBySchema NewsDetailSchema
|
|
44
|
-
* @usedBySchema NewsEntityMentionSchema
|
|
45
|
-
* @contractShape news.resolved-entity-link
|
|
46
|
-
* @contractRole canonical
|
|
47
|
-
*/
|
|
48
|
-
export declare const NewsResolvedEntityLinkSchema: z.ZodType<NewsResolvedEntityLinkDefinition, NewsResolvedEntityLinkSchemaInput>;
|
|
49
60
|
export type NewsResolvedEntityLink = z.infer<typeof NewsResolvedEntityLinkSchema>;
|
|
50
|
-
export {};
|
|
51
61
|
//# sourceMappingURL=resolved-entity-link.d.ts.map
|