@aventurevc/api-schemas 0.7.296 → 0.7.301
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 +0 -1
- package/dist/address/address.js +0 -1
- package/dist/address/association-role.d.ts +0 -1
- package/dist/address/association-role.js +0 -1
- package/dist/address/association.d.ts +0 -1
- package/dist/address/association.js +0 -1
- package/dist/address/city.d.ts +0 -1
- package/dist/address/city.js +0 -1
- package/dist/address/country.d.ts +0 -1
- package/dist/address/country.js +0 -1
- package/dist/address/state.d.ts +0 -1
- package/dist/address/state.js +0 -1
- package/dist/agent/help.d.ts +2 -2
- package/dist/classification/classification.d.ts +0 -1
- package/dist/classification/classification.js +0 -1
- package/dist/confidence/confidence.d.ts +1 -1
- package/dist/confidence/confidence.js +1 -1
- package/dist/content/compliance.d.ts +0 -1
- package/dist/content/compliance.js +0 -1
- package/dist/content/embedding-match.d.ts +0 -1
- package/dist/content/embedding-match.js +0 -1
- package/dist/content/source-type.d.ts +0 -1
- package/dist/content/source-type.js +0 -1
- package/dist/datasource/source-metadata.d.ts +0 -2
- package/dist/datasource/source-metadata.js +0 -2
- package/dist/entity/accelerator-participation.d.ts +0 -1
- package/dist/entity/accelerator-participation.js +0 -1
- package/dist/entity/alias-type.d.ts +0 -1
- package/dist/entity/alias-type.js +0 -1
- package/dist/entity/classification.d.ts +0 -1
- package/dist/entity/classification.js +0 -1
- package/dist/entity/comparison-signals.d.ts +0 -1
- package/dist/entity/comparison-signals.js +0 -1
- package/dist/entity/detail-batch.d.ts +0 -1
- package/dist/entity/detail-batch.js +0 -1
- package/dist/entity/detail.d.ts +0 -1
- package/dist/entity/detail.js +0 -1
- package/dist/entity/enrichment.d.ts +0 -1
- package/dist/entity/enrichment.js +0 -1
- package/dist/entity/entity.d.ts +0 -1
- package/dist/entity/entity.js +0 -1
- package/dist/entity/funding-detail.d.ts +0 -1
- package/dist/entity/funding-detail.js +0 -1
- package/dist/entity/fundraise-transaction-entity.d.ts +0 -1
- package/dist/entity/fundraise-transaction-entity.js +0 -1
- package/dist/entity/fundraise-transaction.d.ts +0 -1
- package/dist/entity/fundraise-transaction.js +0 -1
- package/dist/entity/fundraise.d.ts +0 -1
- package/dist/entity/fundraise.js +0 -1
- package/dist/entity/image.d.ts +0 -1
- package/dist/entity/image.js +0 -1
- package/dist/entity/logo-type.d.ts +0 -1
- package/dist/entity/logo-type.js +0 -1
- package/dist/entity/lookup-param.js +2 -2
- package/dist/entity/name-alias-entity-alias-type.d.ts +0 -1
- package/dist/entity/name-alias-entity-alias-type.js +0 -1
- package/dist/entity/name-alias-person-alias-type.d.ts +0 -1
- package/dist/entity/name-alias-person-alias-type.js +0 -1
- package/dist/entity/person-association.d.ts +0 -1
- package/dist/entity/person-association.js +0 -1
- package/dist/entity/person-owner.d.ts +0 -1
- package/dist/entity/person-owner.js +0 -1
- package/dist/entity/relationship.d.ts +0 -1
- package/dist/entity/relationship.js +0 -1
- package/dist/entity/research-detail.d.ts +0 -1
- package/dist/entity/research-detail.js +0 -1
- package/dist/entity/research-snippet.d.ts +0 -1
- package/dist/entity/research-snippet.js +0 -1
- package/dist/entity/research-value-type.d.ts +0 -1
- package/dist/entity/research-value-type.js +0 -1
- package/dist/entity/research.d.ts +0 -1
- package/dist/entity/research.js +0 -1
- package/dist/entity/resolution.d.ts +0 -1
- package/dist/entity/resolution.js +0 -1
- package/dist/entity/sitemap.d.ts +0 -1
- package/dist/entity/sitemap.js +0 -1
- package/dist/entity/tag.d.ts +0 -1
- package/dist/entity/tag.js +0 -1
- package/dist/entity/text-bundle.d.ts +0 -1
- package/dist/entity/text-bundle.js +0 -1
- package/dist/entity/url-crawl-cdn-provider.d.ts +0 -1
- package/dist/entity/url-crawl-cdn-provider.js +0 -1
- package/dist/entity/url-crawl-render-mode.d.ts +0 -1
- package/dist/entity/url-crawl-render-mode.js +0 -1
- package/dist/entity/url-link.d.ts +0 -1
- package/dist/entity/url-link.js +0 -1
- package/dist/entity/url-type.d.ts +0 -1
- package/dist/entity/url-type.js +0 -1
- package/dist/entity/valuation-data-confidence.d.ts +0 -1
- package/dist/entity/valuation-data-confidence.js +0 -1
- package/dist/funding/stage.d.ts +0 -1
- package/dist/funding/stage.js +0 -1
- package/dist/fundraise/data-confidence.d.ts +0 -1
- package/dist/fundraise/data-confidence.js +0 -1
- package/dist/fundraise/investment-attribution-type.d.ts +0 -1
- package/dist/fundraise/investment-attribution-type.js +0 -1
- package/dist/fundraise/investment-attribution.d.ts +0 -1
- package/dist/fundraise/investment-attribution.js +0 -1
- package/dist/help/citation.d.ts +1 -0
- package/dist/help/citation.js +1 -1
- package/dist/help/source-type.d.ts +1 -0
- package/dist/help/source-type.js +7 -1
- package/dist/media/object-type.d.ts +0 -1
- package/dist/media/object-type.js +0 -1
- package/dist/media/upload.d.ts +0 -1
- package/dist/media/upload.js +0 -1
- package/dist/news/news.d.ts +0 -2
- package/dist/news/news.js +0 -2
- package/dist/openapi-component-manifest.js +31 -39
- package/dist/pageable/object.d.ts +1 -4
- package/dist/pageable/object.js +1 -4
- package/dist/pagination/schemas.d.ts +86 -159
- package/dist/pagination/schemas.js +37 -60
- package/dist/person/alias-type.d.ts +0 -1
- package/dist/person/alias-type.js +0 -1
- package/dist/person/detail.d.ts +0 -1
- package/dist/person/detail.js +0 -1
- package/dist/person/enrichment.d.ts +0 -1
- package/dist/person/enrichment.js +0 -1
- package/dist/person/image.d.ts +0 -1
- package/dist/person/image.js +0 -1
- package/dist/person/invested-company.d.ts +0 -1
- package/dist/person/invested-company.js +0 -1
- package/dist/person/investment.d.ts +0 -1
- package/dist/person/investment.js +0 -1
- package/dist/person/person.d.ts +0 -1
- package/dist/person/person.js +0 -1
- package/dist/{content → publication}/filter.d.ts +7 -7
- package/dist/{content → publication}/filter.js +9 -9
- package/dist/{content/content.d.ts → publication/publication.d.ts} +9 -9
- package/dist/{content/content.js → publication/publication.js} +13 -13
- package/dist/{content → publication}/relation.d.ts +6 -6
- package/dist/{content → publication}/relation.js +5 -5
- package/dist/{content → publication}/search-interpretation.d.ts +7 -7
- package/dist/{content → publication}/search-interpretation.js +9 -9
- package/dist/{content → publication}/search-result.d.ts +6 -6
- package/dist/publication/search-result.js +22 -0
- package/dist/{content → publication}/sort-field.d.ts +5 -5
- package/dist/{content → publication}/sort-field.js +4 -4
- package/dist/{content → publication}/type.d.ts +6 -6
- package/dist/{content → publication}/type.js +5 -5
- package/dist/research/derived-bucket.d.ts +0 -1
- package/dist/research/derived-bucket.js +0 -1
- package/dist/research/derived-range.d.ts +0 -1
- package/dist/research/derived-range.js +0 -1
- package/dist/round/label.d.ts +0 -1
- package/dist/round/label.js +0 -1
- package/dist/sort/object.d.ts +1 -4
- package/dist/sort/object.js +1 -4
- package/dist/sort/{order-content-sort-field.d.ts → order-publication-sort-field.d.ts} +8 -8
- package/dist/sort/{order-content-sort-field.js → order-publication-sort-field.js} +8 -8
- package/dist/sort/{spec-content-sort-field.d.ts → spec-publication-sort-field.d.ts} +8 -8
- package/dist/sort/{spec-content-sort-field.js → spec-publication-sort-field.js} +8 -8
- package/dist/standardized/classification.d.ts +0 -1
- package/dist/standardized/classification.js +0 -1
- package/dist/unique/id-type.d.ts +0 -1
- package/dist/unique/id-type.js +0 -1
- package/dist/unique/id.d.ts +0 -1
- package/dist/unique/id.js +0 -1
- package/dist/url/type-alias.d.ts +0 -1
- package/dist/url/type-alias.js +0 -1
- package/package.json +1 -1
- package/dist/content/search-result.js +0 -22
- package/dist/external/social-post-platform.d.ts +0 -21
- package/dist/external/social-post-platform.js +0 -21
- package/dist/media/screenshot.d.ts +0 -34
- package/dist/media/screenshot.js +0 -31
- package/dist/url/surface-misclassification-catalog.d.ts +0 -50
- package/dist/url/surface-misclassification-catalog.js +0 -23
- package/dist/url/surface-misclassification-route.d.ts +0 -39
- package/dist/url/surface-misclassification-route.js +0 -44
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const
|
|
2
|
+
declare const PublicationFilterSchemaDefinition: z.ZodObject<{
|
|
3
3
|
contentType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4
4
|
blogPost: "blogPost";
|
|
5
5
|
externalSocialPost: "externalSocialPost";
|
|
@@ -17,19 +17,19 @@ declare const ContentFilterSchemaDefinition: z.ZodObject<{
|
|
|
17
17
|
topic: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
-
type
|
|
20
|
+
type PublicationFilterDefinition = z.infer<typeof PublicationFilterSchemaDefinition>;
|
|
21
21
|
/**
|
|
22
22
|
* Canonical filters for public content cards.
|
|
23
23
|
*
|
|
24
|
-
* @openapiSchema
|
|
24
|
+
* @openapiSchema PublicationFilter
|
|
25
25
|
* @endpoint POST /v1/content/search
|
|
26
26
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
27
27
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
28
|
-
* @usedBySchema
|
|
29
|
-
* @contractShape
|
|
28
|
+
* @usedBySchema PublicationSearchInterpretationSchema
|
|
29
|
+
* @contractShape publication.filter
|
|
30
30
|
* @contractRole canonical
|
|
31
31
|
*/
|
|
32
|
-
export declare const
|
|
33
|
-
export type
|
|
32
|
+
export declare const PublicationFilterSchema: z.ZodType<PublicationFilterDefinition>;
|
|
33
|
+
export type PublicationFilter = z.infer<typeof PublicationFilterSchema>;
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=filter.d.ts.map
|
|
@@ -1,12 +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 {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { PublicationRelationSchema } from "./relation.js";
|
|
4
|
+
import { PublicationTypeSchema } from "./type.js";
|
|
5
|
+
const PublicationFilterSchemaDefinition = z.object({
|
|
6
6
|
/** Public content type filter. */
|
|
7
|
-
contentType:
|
|
7
|
+
contentType: PublicationTypeSchema.nullish(),
|
|
8
8
|
/** Owner relation filter. */
|
|
9
|
-
relation:
|
|
9
|
+
relation: PublicationRelationSchema.nullish(),
|
|
10
10
|
/** Topic key or source category. */
|
|
11
11
|
topic: z.string().nullish(),
|
|
12
12
|
/** Best-effort content year filter. */
|
|
@@ -15,13 +15,13 @@ const ContentFilterSchemaDefinition = z.object({
|
|
|
15
15
|
/**
|
|
16
16
|
* Canonical filters for public content cards.
|
|
17
17
|
*
|
|
18
|
-
* @openapiSchema
|
|
18
|
+
* @openapiSchema PublicationFilter
|
|
19
19
|
* @endpoint POST /v1/content/search
|
|
20
20
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
21
21
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
22
|
-
* @usedBySchema
|
|
23
|
-
* @contractShape
|
|
22
|
+
* @usedBySchema PublicationSearchInterpretationSchema
|
|
23
|
+
* @contractShape publication.filter
|
|
24
24
|
* @contractRole canonical
|
|
25
25
|
*/
|
|
26
|
-
export const
|
|
26
|
+
export const PublicationFilterSchema = PublicationFilterSchemaDefinition;
|
|
27
27
|
//# sourceMappingURL=filter.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const
|
|
2
|
+
declare const PublicationSchemaDefinition: z.ZodObject<{
|
|
3
3
|
canonicalUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
contentId: z.ZodString;
|
|
5
5
|
contentType: z.ZodEnum<{
|
|
@@ -27,23 +27,23 @@ declare const ContentSchemaDefinition: z.ZodObject<{
|
|
|
27
27
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
|
-
type
|
|
30
|
+
type PublicationDefinition = z.infer<typeof PublicationSchemaDefinition>;
|
|
31
31
|
/**
|
|
32
32
|
* Canonical public content card across news, blog posts, social posts, repositories, websites, pages, and research papers.
|
|
33
33
|
*
|
|
34
|
-
* @openapiSchema
|
|
34
|
+
* @openapiSchema Publication
|
|
35
35
|
* @endpoint GET /v1/content
|
|
36
36
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
37
37
|
* @endpoint GET /v1/people/{personId}/content
|
|
38
38
|
* @endpoint POST /v1/content/search
|
|
39
39
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
40
40
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
41
|
-
* @usedBySchema
|
|
42
|
-
* @usedBySchema
|
|
43
|
-
* @contractShape
|
|
41
|
+
* @usedBySchema PagePublicationSchema
|
|
42
|
+
* @usedBySchema PageResultPublicationSchema
|
|
43
|
+
* @contractShape publication.publication
|
|
44
44
|
* @contractRole canonical
|
|
45
45
|
*/
|
|
46
|
-
export declare const
|
|
47
|
-
export type
|
|
46
|
+
export declare const PublicationSchema: z.ZodType<PublicationDefinition>;
|
|
47
|
+
export type Publication = z.infer<typeof PublicationSchema>;
|
|
48
48
|
export {};
|
|
49
|
-
//# sourceMappingURL=
|
|
49
|
+
//# sourceMappingURL=publication.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
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 {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { PublicationRelationSchema } from "./relation.js";
|
|
4
|
+
import { PublicationTypeSchema } from "./type.js";
|
|
5
|
+
const PublicationSchemaDefinition = z.object({
|
|
6
6
|
/** Canonical URL when known. */
|
|
7
7
|
canonicalUrl: z.string().nullish(),
|
|
8
8
|
/** Stable content id scoped by contentType. */
|
|
9
9
|
contentId: z.string(),
|
|
10
10
|
/** Public content source type. */
|
|
11
|
-
contentType:
|
|
12
|
-
/**
|
|
11
|
+
contentType: PublicationTypeSchema,
|
|
12
|
+
/** Publication row creation instant when known. */
|
|
13
13
|
createdAt: z.iso.datetime({ offset: true }).nullish(),
|
|
14
14
|
/** Publication or source activity instant when known. */
|
|
15
15
|
publishedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
16
16
|
/** How this content relates to the requested owner. */
|
|
17
|
-
relation:
|
|
17
|
+
relation: PublicationRelationSchema.nullish(),
|
|
18
18
|
/** Registrable source domain when known. */
|
|
19
19
|
sourceDomain: z.string().nullish(),
|
|
20
20
|
/** Publication, platform owner, or source label. */
|
|
@@ -25,7 +25,7 @@ const ContentSchemaDefinition = z.object({
|
|
|
25
25
|
title: z.string(),
|
|
26
26
|
/** Single canonical topic key (web-crawl section vocabulary) or source category (repository language); null when the source has no classified topic. */
|
|
27
27
|
topic: z.string().nullish(),
|
|
28
|
-
/**
|
|
28
|
+
/** Publication row update instant when known. */
|
|
29
29
|
updatedAt: z.iso.datetime({ offset: true }).nullish(),
|
|
30
30
|
/** Primary URL for this content card. */
|
|
31
31
|
url: z.string().nullish(),
|
|
@@ -35,17 +35,17 @@ const ContentSchemaDefinition = z.object({
|
|
|
35
35
|
/**
|
|
36
36
|
* Canonical public content card across news, blog posts, social posts, repositories, websites, pages, and research papers.
|
|
37
37
|
*
|
|
38
|
-
* @openapiSchema
|
|
38
|
+
* @openapiSchema Publication
|
|
39
39
|
* @endpoint GET /v1/content
|
|
40
40
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
41
41
|
* @endpoint GET /v1/people/{personId}/content
|
|
42
42
|
* @endpoint POST /v1/content/search
|
|
43
43
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
44
44
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
45
|
-
* @usedBySchema
|
|
46
|
-
* @usedBySchema
|
|
47
|
-
* @contractShape
|
|
45
|
+
* @usedBySchema PagePublicationSchema
|
|
46
|
+
* @usedBySchema PageResultPublicationSchema
|
|
47
|
+
* @contractShape publication.publication
|
|
48
48
|
* @contractRole canonical
|
|
49
49
|
*/
|
|
50
|
-
export const
|
|
51
|
-
//# sourceMappingURL=
|
|
50
|
+
export const PublicationSchema = PublicationSchemaDefinition;
|
|
51
|
+
//# sourceMappingURL=publication.js.map
|
|
@@ -2,21 +2,21 @@ import { z } from "zod/v4";
|
|
|
2
2
|
/**
|
|
3
3
|
* How a content card relates to an entity or person owner.
|
|
4
4
|
*
|
|
5
|
-
* @openapiSchema
|
|
5
|
+
* @openapiSchema PublicationRelation
|
|
6
6
|
* @endpoint GET /v1/content
|
|
7
7
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
8
8
|
* @endpoint GET /v1/people/{personId}/content
|
|
9
9
|
* @endpoint POST /v1/content/search
|
|
10
10
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
11
11
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
12
|
-
* @usedBySchema
|
|
13
|
-
* @usedBySchema
|
|
14
|
-
* @contractShape
|
|
12
|
+
* @usedBySchema PublicationFilterSchema
|
|
13
|
+
* @usedBySchema PublicationSchema
|
|
14
|
+
* @contractShape publication.relation
|
|
15
15
|
* @contractRole canonical
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const PublicationRelationSchema: z.ZodEnum<{
|
|
18
18
|
about: "about";
|
|
19
19
|
by: "by";
|
|
20
20
|
}>;
|
|
21
|
-
export type
|
|
21
|
+
export type PublicationRelation = z.infer<typeof PublicationRelationSchema>;
|
|
22
22
|
//# sourceMappingURL=relation.d.ts.map
|
|
@@ -3,17 +3,17 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* How a content card relates to an entity or person owner.
|
|
5
5
|
*
|
|
6
|
-
* @openapiSchema
|
|
6
|
+
* @openapiSchema PublicationRelation
|
|
7
7
|
* @endpoint GET /v1/content
|
|
8
8
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
9
9
|
* @endpoint GET /v1/people/{personId}/content
|
|
10
10
|
* @endpoint POST /v1/content/search
|
|
11
11
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
12
12
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
13
|
-
* @usedBySchema
|
|
14
|
-
* @usedBySchema
|
|
15
|
-
* @contractShape
|
|
13
|
+
* @usedBySchema PublicationFilterSchema
|
|
14
|
+
* @usedBySchema PublicationSchema
|
|
15
|
+
* @contractShape publication.relation
|
|
16
16
|
* @contractRole canonical
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const PublicationRelationSchema = z.enum(["by", "about"]);
|
|
19
19
|
//# sourceMappingURL=relation.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const
|
|
2
|
+
declare const PublicationSearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
3
3
|
confidence: z.ZodEnum<{
|
|
4
4
|
HIGH: "HIGH";
|
|
5
5
|
LOW: "LOW";
|
|
@@ -30,19 +30,19 @@ declare const ContentSearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
30
30
|
}, unknown>>;
|
|
31
31
|
unsupported: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
}, z.core.$strip>;
|
|
33
|
-
type
|
|
33
|
+
type PublicationSearchInterpretationDefinition = z.infer<typeof PublicationSearchInterpretationSchemaDefinition>;
|
|
34
34
|
/**
|
|
35
35
|
* Structured interpretation of a natural-language content search.
|
|
36
36
|
*
|
|
37
|
-
* @openapiSchema
|
|
37
|
+
* @openapiSchema PublicationSearchInterpretation
|
|
38
38
|
* @endpoint POST /v1/content/search
|
|
39
39
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
40
40
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
41
|
-
* @usedBySchema
|
|
42
|
-
* @contractShape
|
|
41
|
+
* @usedBySchema PublicationSearchResultSchema
|
|
42
|
+
* @contractShape publication.search-interpretation
|
|
43
43
|
* @contractRole canonical
|
|
44
44
|
*/
|
|
45
|
-
export declare const
|
|
46
|
-
export type
|
|
45
|
+
export declare const PublicationSearchInterpretationSchema: z.ZodType<PublicationSearchInterpretationDefinition>;
|
|
46
|
+
export type PublicationSearchInterpretation = z.infer<typeof PublicationSearchInterpretationSchema>;
|
|
47
47
|
export {};
|
|
48
48
|
//# sourceMappingURL=search-interpretation.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
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 { ConfidenceSchema } from "../confidence/confidence.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
const
|
|
4
|
+
import { PublicationFilterSchema } from "./filter.js";
|
|
5
|
+
import { SortSpecPublicationSortFieldSchema } from "../sort/spec-publication-sort-field.js";
|
|
6
|
+
const PublicationSearchInterpretationSchemaDefinition = z.object({
|
|
7
7
|
/** Planner confidence in the structured interpretation. */
|
|
8
8
|
confidence: ConfidenceSchema,
|
|
9
9
|
/** Canonical content filter generated from the query. */
|
|
10
|
-
filter:
|
|
10
|
+
filter: PublicationFilterSchema,
|
|
11
11
|
/** Human-readable summary of how the query was interpreted. */
|
|
12
12
|
interpretation: z.string(),
|
|
13
13
|
/** Sort generated from the query. */
|
|
14
|
-
sort:
|
|
14
|
+
sort: SortSpecPublicationSortFieldSchema,
|
|
15
15
|
/** Unsupported constraint, or null when all were translated. */
|
|
16
16
|
unsupported: z.string().nullish(),
|
|
17
17
|
});
|
|
18
18
|
/**
|
|
19
19
|
* Structured interpretation of a natural-language content search.
|
|
20
20
|
*
|
|
21
|
-
* @openapiSchema
|
|
21
|
+
* @openapiSchema PublicationSearchInterpretation
|
|
22
22
|
* @endpoint POST /v1/content/search
|
|
23
23
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
24
24
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
25
|
-
* @usedBySchema
|
|
26
|
-
* @contractShape
|
|
25
|
+
* @usedBySchema PublicationSearchResultSchema
|
|
26
|
+
* @contractShape publication.search-interpretation
|
|
27
27
|
* @contractRole canonical
|
|
28
28
|
*/
|
|
29
|
-
export const
|
|
29
|
+
export const PublicationSearchInterpretationSchema = PublicationSearchInterpretationSchemaDefinition;
|
|
30
30
|
//# sourceMappingURL=search-interpretation.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const
|
|
2
|
+
declare const PublicationSearchResultSchemaDefinition: z.ZodObject<{
|
|
3
3
|
interpretation: z.ZodType<{
|
|
4
4
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
5
5
|
filter: {
|
|
@@ -77,18 +77,18 @@ declare const ContentSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
77
77
|
totalPages: number;
|
|
78
78
|
}, unknown>>;
|
|
79
79
|
}, z.core.$strip>;
|
|
80
|
-
type
|
|
80
|
+
type PublicationSearchResultDefinition = z.infer<typeof PublicationSearchResultSchemaDefinition>;
|
|
81
81
|
/**
|
|
82
82
|
* Natural-language content search result: planner interpretation plus page.
|
|
83
83
|
*
|
|
84
|
-
* @openapiSchema
|
|
84
|
+
* @openapiSchema PublicationSearchResult
|
|
85
85
|
* @endpoint POST /v1/content/search
|
|
86
86
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
87
87
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
88
|
-
* @contractShape
|
|
88
|
+
* @contractShape publication.search-result
|
|
89
89
|
* @contractRole canonical
|
|
90
90
|
*/
|
|
91
|
-
export declare const
|
|
92
|
-
export type
|
|
91
|
+
export declare const PublicationSearchResultSchema: z.ZodType<PublicationSearchResultDefinition>;
|
|
92
|
+
export type PublicationSearchResult = z.infer<typeof PublicationSearchResultSchema>;
|
|
93
93
|
export {};
|
|
94
94
|
//# sourceMappingURL=search-result.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
|
+
import { PageResultPublicationSchema } from "../pagination/schemas.js";
|
|
4
|
+
import { PublicationSearchInterpretationSchema } from "./search-interpretation.js";
|
|
5
|
+
const PublicationSearchResultSchemaDefinition = z.object({
|
|
6
|
+
/** Structured interpretation used to run the content query. */
|
|
7
|
+
interpretation: PublicationSearchInterpretationSchema,
|
|
8
|
+
/** Publication page. */
|
|
9
|
+
result: PageResultPublicationSchema,
|
|
10
|
+
});
|
|
11
|
+
/**
|
|
12
|
+
* Natural-language content search result: planner interpretation plus page.
|
|
13
|
+
*
|
|
14
|
+
* @openapiSchema PublicationSearchResult
|
|
15
|
+
* @endpoint POST /v1/content/search
|
|
16
|
+
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
17
|
+
* @endpoint POST /v1/people/{personId}/content/search
|
|
18
|
+
* @contractShape publication.search-result
|
|
19
|
+
* @contractRole canonical
|
|
20
|
+
*/
|
|
21
|
+
export const PublicationSearchResultSchema = PublicationSearchResultSchemaDefinition;
|
|
22
|
+
//# sourceMappingURL=search-result.js.map
|
|
@@ -2,15 +2,15 @@ import { z } from "zod/v4";
|
|
|
2
2
|
/**
|
|
3
3
|
* Sortable fields for public content cards.
|
|
4
4
|
*
|
|
5
|
-
* @openapiSchema
|
|
5
|
+
* @openapiSchema PublicationSortField
|
|
6
6
|
* @endpoint POST /v1/content/search
|
|
7
7
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
8
8
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
9
|
-
* @usedBySchema
|
|
10
|
-
* @contractShape
|
|
9
|
+
* @usedBySchema SortOrderPublicationSortFieldSchema
|
|
10
|
+
* @contractShape publication.sort-field
|
|
11
11
|
* @contractRole canonical
|
|
12
12
|
*/
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const PublicationSortFieldSchema: z.ZodEnum<{
|
|
14
14
|
CONTENT_ID: "CONTENT_ID";
|
|
15
15
|
CONTENT_TYPE: "CONTENT_TYPE";
|
|
16
16
|
CREATED_AT: "CREATED_AT";
|
|
@@ -21,5 +21,5 @@ export declare const ContentSortFieldSchema: z.ZodEnum<{
|
|
|
21
21
|
UPDATED_AT: "UPDATED_AT";
|
|
22
22
|
YEAR: "YEAR";
|
|
23
23
|
}>;
|
|
24
|
-
export type
|
|
24
|
+
export type PublicationSortField = z.infer<typeof PublicationSortFieldSchema>;
|
|
25
25
|
//# sourceMappingURL=sort-field.d.ts.map
|
|
@@ -3,15 +3,15 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* Sortable fields for public content cards.
|
|
5
5
|
*
|
|
6
|
-
* @openapiSchema
|
|
6
|
+
* @openapiSchema PublicationSortField
|
|
7
7
|
* @endpoint POST /v1/content/search
|
|
8
8
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
9
9
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
10
|
-
* @usedBySchema
|
|
11
|
-
* @contractShape
|
|
10
|
+
* @usedBySchema SortOrderPublicationSortFieldSchema
|
|
11
|
+
* @contractShape publication.sort-field
|
|
12
12
|
* @contractRole canonical
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const PublicationSortFieldSchema = z.enum([
|
|
15
15
|
"CONTENT_ID",
|
|
16
16
|
"CONTENT_TYPE",
|
|
17
17
|
"RELATION",
|
|
@@ -2,19 +2,19 @@ import { z } from "zod/v4";
|
|
|
2
2
|
/**
|
|
3
3
|
* Public source family for canonical content cards.
|
|
4
4
|
*
|
|
5
|
-
* @openapiSchema
|
|
5
|
+
* @openapiSchema PublicationType
|
|
6
6
|
* @endpoint GET /v1/content
|
|
7
7
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
8
8
|
* @endpoint GET /v1/people/{personId}/content
|
|
9
9
|
* @endpoint POST /v1/content/search
|
|
10
10
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
11
11
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
12
|
-
* @usedBySchema
|
|
13
|
-
* @usedBySchema
|
|
14
|
-
* @contractShape
|
|
12
|
+
* @usedBySchema PublicationFilterSchema
|
|
13
|
+
* @usedBySchema PublicationSchema
|
|
14
|
+
* @contractShape publication.type
|
|
15
15
|
* @contractRole canonical
|
|
16
16
|
*/
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const PublicationTypeSchema: z.ZodEnum<{
|
|
18
18
|
blogPost: "blogPost";
|
|
19
19
|
externalSocialPost: "externalSocialPost";
|
|
20
20
|
newsArticle: "newsArticle";
|
|
@@ -24,5 +24,5 @@ export declare const ContentTypeSchema: z.ZodEnum<{
|
|
|
24
24
|
webPage: "webPage";
|
|
25
25
|
webSite: "webSite";
|
|
26
26
|
}>;
|
|
27
|
-
export type
|
|
27
|
+
export type PublicationType = z.infer<typeof PublicationTypeSchema>;
|
|
28
28
|
//# sourceMappingURL=type.d.ts.map
|
|
@@ -3,19 +3,19 @@ import { z } from "zod/v4";
|
|
|
3
3
|
/**
|
|
4
4
|
* Public source family for canonical content cards.
|
|
5
5
|
*
|
|
6
|
-
* @openapiSchema
|
|
6
|
+
* @openapiSchema PublicationType
|
|
7
7
|
* @endpoint GET /v1/content
|
|
8
8
|
* @endpoint GET /v1/entities/{entityId}/content
|
|
9
9
|
* @endpoint GET /v1/people/{personId}/content
|
|
10
10
|
* @endpoint POST /v1/content/search
|
|
11
11
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
12
12
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
13
|
-
* @usedBySchema
|
|
14
|
-
* @usedBySchema
|
|
15
|
-
* @contractShape
|
|
13
|
+
* @usedBySchema PublicationFilterSchema
|
|
14
|
+
* @usedBySchema PublicationSchema
|
|
15
|
+
* @contractShape publication.type
|
|
16
16
|
* @contractRole canonical
|
|
17
17
|
*/
|
|
18
|
-
export const
|
|
18
|
+
export const PublicationTypeSchema = z.enum([
|
|
19
19
|
"newsArticle",
|
|
20
20
|
"blogPost",
|
|
21
21
|
"externalSocialPost",
|
|
@@ -18,7 +18,6 @@ import { z } from "zod/v4";
|
|
|
18
18
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
19
19
|
* @endpoint POST /v1/entities/batch
|
|
20
20
|
* @endpoint POST /v1/entities/detail/batch
|
|
21
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
22
21
|
* @endpoint POST /v1/entities/lookup/batch
|
|
23
22
|
* @endpoint POST /v1/entities/lookup/matches
|
|
24
23
|
* @endpoint POST /v1/entities/natural-search
|
|
@@ -19,7 +19,6 @@ import { z } from "zod/v4";
|
|
|
19
19
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
20
20
|
* @endpoint POST /v1/entities/batch
|
|
21
21
|
* @endpoint POST /v1/entities/detail/batch
|
|
22
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
23
22
|
* @endpoint POST /v1/entities/lookup/batch
|
|
24
23
|
* @endpoint POST /v1/entities/lookup/matches
|
|
25
24
|
* @endpoint POST /v1/entities/natural-search
|
|
@@ -18,7 +18,6 @@ import { z } from "zod/v4";
|
|
|
18
18
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
19
19
|
* @endpoint POST /v1/entities/batch
|
|
20
20
|
* @endpoint POST /v1/entities/detail/batch
|
|
21
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
22
21
|
* @endpoint POST /v1/entities/lookup/batch
|
|
23
22
|
* @endpoint POST /v1/entities/lookup/matches
|
|
24
23
|
* @endpoint POST /v1/entities/natural-search
|
|
@@ -20,7 +20,6 @@ import { ResearchDerivedBucketSchema } from "./derived-bucket.js";
|
|
|
20
20
|
* @endpoint GET /v1/entities/{entityId}/similar
|
|
21
21
|
* @endpoint POST /v1/entities/batch
|
|
22
22
|
* @endpoint POST /v1/entities/detail/batch
|
|
23
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
24
23
|
* @endpoint POST /v1/entities/lookup/batch
|
|
25
24
|
* @endpoint POST /v1/entities/lookup/matches
|
|
26
25
|
* @endpoint POST /v1/entities/natural-search
|
package/dist/round/label.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ import { z } from "zod/v4";
|
|
|
24
24
|
* @endpoint GET /v1/people/{personId}
|
|
25
25
|
* @endpoint POST /v1/entities/batch
|
|
26
26
|
* @endpoint POST /v1/entities/detail/batch
|
|
27
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
28
27
|
* @endpoint POST /v1/entities/lookup/batch
|
|
29
28
|
* @endpoint POST /v1/entities/lookup/matches
|
|
30
29
|
* @endpoint POST /v1/entities/natural-search
|
package/dist/round/label.js
CHANGED
|
@@ -25,7 +25,6 @@ import { z } from "zod/v4";
|
|
|
25
25
|
* @endpoint GET /v1/people/{personId}
|
|
26
26
|
* @endpoint POST /v1/entities/batch
|
|
27
27
|
* @endpoint POST /v1/entities/detail/batch
|
|
28
|
-
* @endpoint POST /v1/entities/detail/resolve
|
|
29
28
|
* @endpoint POST /v1/entities/lookup/batch
|
|
30
29
|
* @endpoint POST /v1/entities/lookup/matches
|
|
31
30
|
* @endpoint POST /v1/entities/natural-search
|
package/dist/sort/object.d.ts
CHANGED
|
@@ -8,9 +8,7 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @endpoint GET /v1/entities/detail/fundraise-investor-joins
|
|
9
9
|
* @endpoint GET /v1/entities/detail/news
|
|
10
10
|
* @endpoint GET /v1/entities/detail/similar
|
|
11
|
-
* @endpoint GET /v1/entities/detail/trending-news
|
|
12
11
|
* @endpoint GET /v1/entities/summary
|
|
13
|
-
* @endpoint GET /v1/media/screenshots
|
|
14
12
|
* @endpoint GET /v1/news
|
|
15
13
|
* @endpoint GET /v1/news/recent
|
|
16
14
|
* @endpoint GET /v1/news/similar
|
|
@@ -69,7 +67,6 @@ import { z } from "zod/v4";
|
|
|
69
67
|
* @usedBySchema PageableObjectSchema
|
|
70
68
|
* @usedBySchema PageBlogPostSchema
|
|
71
69
|
* @usedBySchema PageClassificationSchema
|
|
72
|
-
* @usedBySchema PageContentSchema
|
|
73
70
|
* @usedBySchema PageDatasourceFieldProvenanceSchema
|
|
74
71
|
* @usedBySchema PageEmployeeCountSchema
|
|
75
72
|
* @usedBySchema PageEntityAcquisitionSchema
|
|
@@ -92,13 +89,13 @@ import { z } from "zod/v4";
|
|
|
92
89
|
* @usedBySchema PageEntityValuationTimeSeriesPointSchema
|
|
93
90
|
* @usedBySchema PageGithubRepoSchema
|
|
94
91
|
* @usedBySchema PageLocationDirectoryEntrySchema
|
|
95
|
-
* @usedBySchema PageMediaScreenshotSchema
|
|
96
92
|
* @usedBySchema PageNewsSchema
|
|
97
93
|
* @usedBySchema PagePersonDetailSchema
|
|
98
94
|
* @usedBySchema PagePersonInvestmentSchema
|
|
99
95
|
* @usedBySchema PagePersonInvestorParticipationSchema
|
|
100
96
|
* @usedBySchema PagePersonSchema
|
|
101
97
|
* @usedBySchema PagePersonSimilarityResultSchema
|
|
98
|
+
* @usedBySchema PagePublicationSchema
|
|
102
99
|
* @usedBySchema PageSitemapUrlSlotSchema
|
|
103
100
|
* @usedBySchema PageUniqueIdSchema
|
|
104
101
|
* @usedBySchema PageUrlSlugRedirectSchema
|
package/dist/sort/object.js
CHANGED
|
@@ -9,9 +9,7 @@ import { z } from "zod/v4";
|
|
|
9
9
|
* @endpoint GET /v1/entities/detail/fundraise-investor-joins
|
|
10
10
|
* @endpoint GET /v1/entities/detail/news
|
|
11
11
|
* @endpoint GET /v1/entities/detail/similar
|
|
12
|
-
* @endpoint GET /v1/entities/detail/trending-news
|
|
13
12
|
* @endpoint GET /v1/entities/summary
|
|
14
|
-
* @endpoint GET /v1/media/screenshots
|
|
15
13
|
* @endpoint GET /v1/news
|
|
16
14
|
* @endpoint GET /v1/news/recent
|
|
17
15
|
* @endpoint GET /v1/news/similar
|
|
@@ -70,7 +68,6 @@ import { z } from "zod/v4";
|
|
|
70
68
|
* @usedBySchema PageableObjectSchema
|
|
71
69
|
* @usedBySchema PageBlogPostSchema
|
|
72
70
|
* @usedBySchema PageClassificationSchema
|
|
73
|
-
* @usedBySchema PageContentSchema
|
|
74
71
|
* @usedBySchema PageDatasourceFieldProvenanceSchema
|
|
75
72
|
* @usedBySchema PageEmployeeCountSchema
|
|
76
73
|
* @usedBySchema PageEntityAcquisitionSchema
|
|
@@ -93,13 +90,13 @@ import { z } from "zod/v4";
|
|
|
93
90
|
* @usedBySchema PageEntityValuationTimeSeriesPointSchema
|
|
94
91
|
* @usedBySchema PageGithubRepoSchema
|
|
95
92
|
* @usedBySchema PageLocationDirectoryEntrySchema
|
|
96
|
-
* @usedBySchema PageMediaScreenshotSchema
|
|
97
93
|
* @usedBySchema PageNewsSchema
|
|
98
94
|
* @usedBySchema PagePersonDetailSchema
|
|
99
95
|
* @usedBySchema PagePersonInvestmentSchema
|
|
100
96
|
* @usedBySchema PagePersonInvestorParticipationSchema
|
|
101
97
|
* @usedBySchema PagePersonSchema
|
|
102
98
|
* @usedBySchema PagePersonSimilarityResultSchema
|
|
99
|
+
* @usedBySchema PagePublicationSchema
|
|
103
100
|
* @usedBySchema PageSitemapUrlSlotSchema
|
|
104
101
|
* @usedBySchema PageUniqueIdSchema
|
|
105
102
|
* @usedBySchema PageUrlSlugRedirectSchema
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const
|
|
2
|
+
declare const SortOrderPublicationSortFieldSchemaDefinition: z.ZodObject<{
|
|
3
3
|
descending: z.ZodBoolean;
|
|
4
4
|
field: z.ZodEnum<{
|
|
5
5
|
CONTENT_ID: "CONTENT_ID";
|
|
@@ -13,19 +13,19 @@ declare const SortOrderContentSortFieldSchemaDefinition: z.ZodObject<{
|
|
|
13
13
|
YEAR: "YEAR";
|
|
14
14
|
}>;
|
|
15
15
|
}, z.core.$strip>;
|
|
16
|
-
type
|
|
16
|
+
type SortOrderPublicationSortFieldDefinition = z.infer<typeof SortOrderPublicationSortFieldSchemaDefinition>;
|
|
17
17
|
/**
|
|
18
18
|
* Single sort term: which enumerated sort field to use and whether direction is descending.
|
|
19
19
|
*
|
|
20
|
-
* @openapiSchema
|
|
20
|
+
* @openapiSchema SortOrderPublicationSortField
|
|
21
21
|
* @endpoint POST /v1/content/search
|
|
22
22
|
* @endpoint POST /v1/entities/{entityId}/content/search
|
|
23
23
|
* @endpoint POST /v1/people/{personId}/content/search
|
|
24
|
-
* @usedBySchema
|
|
25
|
-
* @contractShape sort.order-
|
|
24
|
+
* @usedBySchema SortSpecPublicationSortFieldSchema
|
|
25
|
+
* @contractShape sort.order-publication-sort-field
|
|
26
26
|
* @contractRole canonical
|
|
27
27
|
*/
|
|
28
|
-
export declare const
|
|
29
|
-
export type
|
|
28
|
+
export declare const SortOrderPublicationSortFieldSchema: z.ZodType<SortOrderPublicationSortFieldDefinition>;
|
|
29
|
+
export type SortOrderPublicationSortField = z.infer<typeof SortOrderPublicationSortFieldSchema>;
|
|
30
30
|
export {};
|
|
31
|
-
//# sourceMappingURL=order-
|
|
31
|
+
//# sourceMappingURL=order-publication-sort-field.d.ts.map
|