@aventurevc/api-schemas 0.8.104 → 0.8.106
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/content/embedding-match.d.ts +0 -2
- package/dist/content/embedding-match.js +0 -4
- package/dist/entity/comparison-signals.d.ts +1 -0
- package/dist/entity/detail.d.ts +0 -4
- package/dist/entity/enrichment.d.ts +1 -0
- package/dist/entity/filter.js +1 -1
- package/dist/entity/funding-detail.d.ts +1 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +1 -0
- package/dist/entity/fundraise-transaction.d.ts +1 -0
- package/dist/entity/investor-participation.d.ts +0 -4
- package/dist/entity/list-filter.js +1 -1
- package/dist/entity/list.d.ts +28 -28
- package/dist/entity/list.js +13 -13
- package/dist/entity/relationship.d.ts +1 -0
- package/dist/entity/resolution.d.ts +0 -4
- package/dist/entity/similarity-result.d.ts +239 -226
- package/dist/federated/search.d.ts +714 -1698
- package/dist/funding/stage.d.ts +1 -0
- package/dist/funding/stage.js +1 -0
- package/dist/link/search.d.ts +300 -1284
- package/dist/lookup/job-mention.d.ts +239 -230
- package/dist/lookup/job.d.ts +0 -8
- package/dist/mention/lookup.d.ts +0 -8
- package/dist/natural/search-result.d.ts +372 -1323
- package/dist/pagination/schemas.d.ts +520 -526
- package/dist/person/detail.d.ts +0 -4
- package/dist/person/graph-career-context.d.ts +1 -0
- package/dist/person/graph-similar-entity.d.ts +1 -0
- package/dist/person/investor-participation.d.ts +0 -4
- package/dist/person/natural-search-result.d.ts +0 -8
- package/dist/person/person.d.ts +0 -2
- package/dist/person/similarity-result.d.ts +0 -4
- package/dist/search/investment.d.ts +0 -2
- package/dist/search/judgment.d.ts +0 -934
- package/dist/search/judgment.js +0 -3
- package/dist/shared/search.d.ts +301 -1284
- package/dist/shared/search.js +5 -0
- package/package.json +1 -1
|
@@ -42,8 +42,6 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
|
|
|
42
42
|
rank: z.ZodInt;
|
|
43
43
|
sourceHash: z.ZodString;
|
|
44
44
|
sourceId: z.ZodString;
|
|
45
|
-
sourceJson: z.ZodOptional<z.ZodString>;
|
|
46
|
-
sourceText: z.ZodOptional<z.ZodString>;
|
|
47
45
|
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
48
46
|
agentHelpDoc: "agentHelpDoc";
|
|
49
47
|
blogPost: "blogPost";
|
|
@@ -51,10 +51,6 @@ export const ContentEmbeddingMatchSchema = z.object({
|
|
|
51
51
|
sourceHash: z.string(),
|
|
52
52
|
/** Content embedding source identifier. */
|
|
53
53
|
sourceId: z.string(),
|
|
54
|
-
/** Serialized JSONB source document stored for the embedding row. */
|
|
55
|
-
sourceJson: z.string().optional(),
|
|
56
|
-
/** Source text used to compute the stored embedding. */
|
|
57
|
-
sourceText: z.string().optional(),
|
|
58
54
|
/** Stored content embedding source partition. */
|
|
59
55
|
sourceType: ContentSourceTypeSchema,
|
|
60
56
|
});
|
|
@@ -29,6 +29,7 @@ export declare const EntityComparisonSignalsSchema: z.ZodObject<{
|
|
|
29
29
|
Fund: "Fund";
|
|
30
30
|
Government: "Government";
|
|
31
31
|
"Investment Firm": "Investment Firm";
|
|
32
|
+
"Late Stage Private": "Late Stage Private";
|
|
32
33
|
Nonprofit: "Nonprofit";
|
|
33
34
|
"Pre-Seed": "Pre-Seed";
|
|
34
35
|
Public: "Public";
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -1008,8 +1008,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1008
1008
|
rank: number;
|
|
1009
1009
|
sourceHash: string;
|
|
1010
1010
|
sourceId: string;
|
|
1011
|
-
sourceJson?: string | undefined;
|
|
1012
|
-
sourceText?: string | undefined;
|
|
1013
1011
|
sourceType: string;
|
|
1014
1012
|
} | null | undefined;
|
|
1015
1013
|
slug: string;
|
|
@@ -1340,8 +1338,6 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1340
1338
|
rank: number;
|
|
1341
1339
|
sourceHash: string;
|
|
1342
1340
|
sourceId: string;
|
|
1343
|
-
sourceJson?: string | undefined;
|
|
1344
|
-
sourceText?: string | undefined;
|
|
1345
1341
|
sourceType: string;
|
|
1346
1342
|
} | null | undefined;
|
|
1347
1343
|
slug: string;
|
|
@@ -465,6 +465,7 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
465
465
|
Fund: "Fund";
|
|
466
466
|
Government: "Government";
|
|
467
467
|
"Investment Firm": "Investment Firm";
|
|
468
|
+
"Late Stage Private": "Late Stage Private";
|
|
468
469
|
Nonprofit: "Nonprofit";
|
|
469
470
|
"Pre-Seed": "Pre-Seed";
|
|
470
471
|
Public: "Public";
|
package/dist/entity/filter.js
CHANGED
|
@@ -94,7 +94,7 @@ export const EntityFilterSchema = z.strictObject({
|
|
|
94
94
|
.optional(),
|
|
95
95
|
/** Investment stage classification values. */
|
|
96
96
|
stage: z.array(z.string()).optional(),
|
|
97
|
-
/** Exclude public companies
|
|
97
|
+
/** Exclude public companies, companies at Series D or later, and acquired companies (including acquired subsidiaries); what startup means. Companies without a recorded stage or operating status stay. */
|
|
98
98
|
suppressLateStage: z.boolean().nullish(),
|
|
99
99
|
/** Suppress entities with terminal operating status. */
|
|
100
100
|
suppressNonOperating: z.boolean().nullish(),
|
|
@@ -44,6 +44,7 @@ export declare const EntityFundingDetailSchema: z.ZodObject<{
|
|
|
44
44
|
Fund: "Fund";
|
|
45
45
|
Government: "Government";
|
|
46
46
|
"Investment Firm": "Investment Firm";
|
|
47
|
+
"Late Stage Private": "Late Stage Private";
|
|
47
48
|
Nonprofit: "Nonprofit";
|
|
48
49
|
"Pre-Seed": "Pre-Seed";
|
|
49
50
|
Public: "Public";
|
|
@@ -96,6 +96,7 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
|
|
|
96
96
|
Fund: "Fund";
|
|
97
97
|
Government: "Government";
|
|
98
98
|
"Investment Firm": "Investment Firm";
|
|
99
|
+
"Late Stage Private": "Late Stage Private";
|
|
99
100
|
Nonprofit: "Nonprofit";
|
|
100
101
|
"Pre-Seed": "Pre-Seed";
|
|
101
102
|
Public: "Public";
|
|
@@ -77,6 +77,7 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
77
77
|
Fund: "Fund";
|
|
78
78
|
Government: "Government";
|
|
79
79
|
"Investment Firm": "Investment Firm";
|
|
80
|
+
"Late Stage Private": "Late Stage Private";
|
|
80
81
|
Nonprofit: "Nonprofit";
|
|
81
82
|
"Pre-Seed": "Pre-Seed";
|
|
82
83
|
Public: "Public";
|
|
@@ -986,8 +986,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
986
986
|
rank: number;
|
|
987
987
|
sourceHash: string;
|
|
988
988
|
sourceId: string;
|
|
989
|
-
sourceJson?: string | undefined;
|
|
990
|
-
sourceText?: string | undefined;
|
|
991
989
|
sourceType: string;
|
|
992
990
|
} | null | undefined;
|
|
993
991
|
slug: string;
|
|
@@ -1318,8 +1316,6 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1318
1316
|
rank: number;
|
|
1319
1317
|
sourceHash: string;
|
|
1320
1318
|
sourceId: string;
|
|
1321
|
-
sourceJson?: string | undefined;
|
|
1322
|
-
sourceText?: string | undefined;
|
|
1323
1319
|
sourceType: string;
|
|
1324
1320
|
} | null | undefined;
|
|
1325
1321
|
slug: string;
|
|
@@ -74,7 +74,7 @@ const EntityListFilterSchemaDefinition = z.strictObject({
|
|
|
74
74
|
.optional(),
|
|
75
75
|
/** Investment stage classification values. */
|
|
76
76
|
stage: z.array(z.string()).optional(),
|
|
77
|
-
/** Exclude public companies
|
|
77
|
+
/** Exclude public companies, companies at Series D or later, and acquired companies (including acquired subsidiaries); what startup means. Companies without a recorded stage or operating status stay. */
|
|
78
78
|
suppressLateStage: z.boolean().nullish(),
|
|
79
79
|
/** Suppress entities with terminal operating status. */
|
|
80
80
|
suppressNonOperating: z.boolean().nullish(),
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -1,30 +1,5 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
3
|
-
* Narrow entity row for list and batch-list reads. Keeps core identity, enrichment, governed research detail, accelerator participation, and fundraise rounds while omitting detail-only relationship, newsArticle, person, sitemap, and research snippet sections. Classification enrichment is current-only on list rows; use the entity classifications subresource with includeInactive=true to audit historical joins.
|
|
4
|
-
*
|
|
5
|
-
* @openapiSchema EntityList
|
|
6
|
-
* @endpoint GET /v1/entities
|
|
7
|
-
* @endpoint GET /v1/search/link
|
|
8
|
-
* @endpoint GET /v1/entities/{entityId}/similar
|
|
9
|
-
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
10
|
-
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
11
|
-
* @endpoint GET /v1/search/shared/{id}
|
|
12
|
-
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
13
|
-
* @endpoint POST /v1/entities/search
|
|
14
|
-
* @endpoint POST /v1/lookup-mentions
|
|
15
|
-
* @endpoint POST /v1/search
|
|
16
|
-
* @endpoint POST /v1/search/natural/entities
|
|
17
|
-
* @endpoint POST /v1/search/shared
|
|
18
|
-
* @usedBySchema EntitySimilarityResultSchema
|
|
19
|
-
* @usedBySchema LookupJobMentionSchema
|
|
20
|
-
* @usedBySchema NaturalSearchResultSchema
|
|
21
|
-
* @usedBySchema PageEntityListSchema
|
|
22
|
-
* @usedBySchema PageResultEntityListSchema
|
|
23
|
-
* @usedBySchema SearchJudgmentSchema
|
|
24
|
-
* @contractShape entity.list
|
|
25
|
-
* @contractRole canonical
|
|
26
|
-
*/
|
|
27
|
-
export declare const EntityListSchema: z.ZodObject<{
|
|
2
|
+
declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
28
3
|
core: z.ZodObject<{
|
|
29
4
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
5
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -940,8 +915,6 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
940
915
|
rank: z.ZodInt;
|
|
941
916
|
sourceHash: z.ZodString;
|
|
942
917
|
sourceId: z.ZodString;
|
|
943
|
-
sourceJson: z.ZodOptional<z.ZodString>;
|
|
944
|
-
sourceText: z.ZodOptional<z.ZodString>;
|
|
945
918
|
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
946
919
|
agentHelpDoc: "agentHelpDoc";
|
|
947
920
|
blogPost: "blogPost";
|
|
@@ -958,5 +931,32 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
958
931
|
}>, z.ZodString]>;
|
|
959
932
|
}, z.core.$strip>>>;
|
|
960
933
|
}, z.core.$strip>;
|
|
934
|
+
type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
|
|
935
|
+
/**
|
|
936
|
+
* Narrow entity row for list and batch-list reads. Keeps core identity, enrichment, governed research detail, accelerator participation, and fundraise rounds while omitting detail-only relationship, newsArticle, person, sitemap, and research snippet sections. Classification enrichment is current-only on list rows; use the entity classifications subresource with includeInactive=true to audit historical joins.
|
|
937
|
+
*
|
|
938
|
+
* @openapiSchema EntityList
|
|
939
|
+
* @endpoint GET /v1/entities
|
|
940
|
+
* @endpoint GET /v1/search/link
|
|
941
|
+
* @endpoint GET /v1/entities/{entityId}/similar
|
|
942
|
+
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
943
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
944
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
945
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
946
|
+
* @endpoint POST /v1/entities/search
|
|
947
|
+
* @endpoint POST /v1/lookup-mentions
|
|
948
|
+
* @endpoint POST /v1/search
|
|
949
|
+
* @endpoint POST /v1/search/natural/entities
|
|
950
|
+
* @endpoint POST /v1/search/shared
|
|
951
|
+
* @usedBySchema EntitySimilarityResultSchema
|
|
952
|
+
* @usedBySchema LookupJobMentionSchema
|
|
953
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
954
|
+
* @usedBySchema PageEntityListSchema
|
|
955
|
+
* @usedBySchema PageResultEntityListSchema
|
|
956
|
+
* @contractShape entity.list
|
|
957
|
+
* @contractRole canonical
|
|
958
|
+
*/
|
|
959
|
+
export declare const EntityListSchema: z.ZodType<EntityListDefinition>;
|
|
961
960
|
export type EntityList = z.infer<typeof EntityListSchema>;
|
|
961
|
+
export {};
|
|
962
962
|
//# sourceMappingURL=list.d.ts.map
|
package/dist/entity/list.js
CHANGED
|
@@ -5,6 +5,18 @@ import { EntityEnrichmentSchema } from "./enrichment.js";
|
|
|
5
5
|
import { EntitySchema } from "./entity.js";
|
|
6
6
|
import { EntityFundraiseTransactionSchema } from "./fundraise-transaction.js";
|
|
7
7
|
import { EntityListResearchSchema } from "./list-research.js";
|
|
8
|
+
const EntityListSchemaDefinition = z.object({
|
|
9
|
+
/** Flat entity core — identity, naming, status, image, and source metadata */
|
|
10
|
+
core: EntitySchema,
|
|
11
|
+
/** Supplemental entity data — addresses, classification tags, funding, text content, and URL links */
|
|
12
|
+
enrichment: EntityEnrichmentSchema,
|
|
13
|
+
/** Fundraise rounds associated with this entity */
|
|
14
|
+
fundraiseRound: z.array(EntityFundraiseTransactionSchema),
|
|
15
|
+
/** List-safe research disclosure without text snippets */
|
|
16
|
+
research: EntityListResearchSchema,
|
|
17
|
+
/** Semantic embedding match evidence populated only for semantic list reads. */
|
|
18
|
+
semanticMatch: ContentEmbeddingMatchSchema.nullish(),
|
|
19
|
+
});
|
|
8
20
|
/**
|
|
9
21
|
* Narrow entity row for list and batch-list reads. Keeps core identity, enrichment, governed research detail, accelerator participation, and fundraise rounds while omitting detail-only relationship, newsArticle, person, sitemap, and research snippet sections. Classification enrichment is current-only on list rows; use the entity classifications subresource with includeInactive=true to audit historical joins.
|
|
10
22
|
*
|
|
@@ -26,20 +38,8 @@ import { EntityListResearchSchema } from "./list-research.js";
|
|
|
26
38
|
* @usedBySchema NaturalSearchResultSchema
|
|
27
39
|
* @usedBySchema PageEntityListSchema
|
|
28
40
|
* @usedBySchema PageResultEntityListSchema
|
|
29
|
-
* @usedBySchema SearchJudgmentSchema
|
|
30
41
|
* @contractShape entity.list
|
|
31
42
|
* @contractRole canonical
|
|
32
43
|
*/
|
|
33
|
-
export const EntityListSchema =
|
|
34
|
-
/** Flat entity core — identity, naming, status, image, and source metadata */
|
|
35
|
-
core: EntitySchema,
|
|
36
|
-
/** Supplemental entity data — addresses, classification tags, funding, text content, and URL links */
|
|
37
|
-
enrichment: EntityEnrichmentSchema,
|
|
38
|
-
/** Fundraise rounds associated with this entity */
|
|
39
|
-
fundraiseRound: z.array(EntityFundraiseTransactionSchema),
|
|
40
|
-
/** List-safe research disclosure without text snippets */
|
|
41
|
-
research: EntityListResearchSchema,
|
|
42
|
-
/** Semantic embedding match evidence populated only for semantic list reads. */
|
|
43
|
-
semanticMatch: ContentEmbeddingMatchSchema.nullish(),
|
|
44
|
-
});
|
|
44
|
+
export const EntityListSchema = EntityListSchemaDefinition;
|
|
45
45
|
//# sourceMappingURL=list.js.map
|
|
@@ -9,6 +9,7 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
|
9
9
|
Fund: "Fund";
|
|
10
10
|
Government: "Government";
|
|
11
11
|
"Investment Firm": "Investment Firm";
|
|
12
|
+
"Late Stage Private": "Late Stage Private";
|
|
12
13
|
Nonprofit: "Nonprofit";
|
|
13
14
|
"Pre-Seed": "Pre-Seed";
|
|
14
15
|
Public: "Public";
|
|
@@ -987,8 +987,6 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
987
987
|
rank: number;
|
|
988
988
|
sourceHash: string;
|
|
989
989
|
sourceId: string;
|
|
990
|
-
sourceJson?: string | undefined;
|
|
991
|
-
sourceText?: string | undefined;
|
|
992
990
|
sourceType: string;
|
|
993
991
|
} | null | undefined;
|
|
994
992
|
slug: string;
|
|
@@ -1319,8 +1317,6 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1319
1317
|
rank: number;
|
|
1320
1318
|
sourceHash: string;
|
|
1321
1319
|
sourceId: string;
|
|
1322
|
-
sourceJson?: string | undefined;
|
|
1323
|
-
sourceText?: string | undefined;
|
|
1324
1320
|
sourceType: string;
|
|
1325
1321
|
} | null | undefined;
|
|
1326
1322
|
slug: string;
|