@aventurevc/api-schemas 0.8.103 → 0.8.105
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 +2 -2
- package/dist/entity/detail.d.ts +6 -10
- package/dist/entity/enrichment.d.ts +2 -2
- package/dist/entity/filter.js +1 -1
- package/dist/entity/funding-detail.d.ts +2 -2
- package/dist/entity/fundraise-transaction-entity.d.ts +2 -2
- package/dist/entity/fundraise-transaction.d.ts +2 -2
- package/dist/entity/investor-participation.d.ts +6 -10
- package/dist/entity/list-filter.js +1 -1
- package/dist/entity/list.d.ts +32 -32
- package/dist/entity/list.js +13 -13
- package/dist/entity/relationship.d.ts +2 -2
- package/dist/entity/resolution.d.ts +6 -10
- package/dist/entity/similarity-result.d.ts +242 -229
- package/dist/federated/search.d.ts +735 -1719
- package/dist/funding/stage.d.ts +2 -2
- package/dist/funding/stage.js +40 -37
- package/dist/fundraise/investment-evidence.d.ts +2 -2
- package/dist/link/search.d.ts +322 -1306
- package/dist/lookup/job-mention.d.ts +242 -233
- package/dist/lookup/job.d.ts +4 -12
- package/dist/mention/lookup.d.ts +4 -12
- package/dist/natural/search-result.d.ts +385 -1336
- package/dist/pagination/schemas.d.ts +548 -554
- package/dist/person/detail.d.ts +0 -4
- package/dist/person/graph-career-context.d.ts +4 -4
- package/dist/person/graph-similar-entity.d.ts +2 -2
- package/dist/person/graph.d.ts +4 -4
- package/dist/person/investor-participation.d.ts +0 -4
- package/dist/person/natural-search-result.d.ts +2 -10
- package/dist/person/person.d.ts +0 -2
- package/dist/person/similarity-result.d.ts +0 -4
- package/dist/research/allowance.d.ts +1 -1
- package/dist/research/allowance.js +1 -1
- package/dist/search/investment.d.ts +2 -4
- package/dist/search/judgment.d.ts +0 -934
- package/dist/search/judgment.js +0 -3
- package/dist/shared/search.d.ts +322 -1306
- 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
|
});
|
|
@@ -22,7 +22,7 @@ import { z } from "zod/v4";
|
|
|
22
22
|
* @contractRole canonical
|
|
23
23
|
*/
|
|
24
24
|
export declare const EntityComparisonSignalsSchema: z.ZodObject<{
|
|
25
|
-
fundingStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
25
|
+
fundingStage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
26
26
|
Acquired: "Acquired";
|
|
27
27
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
28
28
|
Angel: "Angel";
|
|
@@ -59,7 +59,7 @@ export declare const EntityComparisonSignalsSchema: z.ZodObject<{
|
|
|
59
59
|
"Series X": "Series X";
|
|
60
60
|
"Series Y": "Series Y";
|
|
61
61
|
"Series Z": "Series Z";
|
|
62
|
-
}>>>;
|
|
62
|
+
}>, z.ZodString]>>>;
|
|
63
63
|
ownership: z.ZodArray<z.ZodString>;
|
|
64
64
|
pricingModel: z.ZodArray<z.ZodString>;
|
|
65
65
|
sellsTo: z.ZodArray<z.ZodString>;
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
325
325
|
latestValuation?: number | null | undefined;
|
|
326
326
|
mostRecentAmount?: number | null | undefined;
|
|
327
327
|
mostRecentDate?: string | null | undefined;
|
|
328
|
-
stage?:
|
|
328
|
+
stage?: string | null | undefined;
|
|
329
329
|
totalRaised: number;
|
|
330
330
|
} | null | undefined;
|
|
331
331
|
text: {
|
|
@@ -604,7 +604,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
604
604
|
latestValuation?: number | null | undefined;
|
|
605
605
|
mostRecentAmount?: number | null | undefined;
|
|
606
606
|
mostRecentDate?: string | null | undefined;
|
|
607
|
-
stage?:
|
|
607
|
+
stage?: string | null | undefined;
|
|
608
608
|
totalRaised: number;
|
|
609
609
|
} | null | undefined;
|
|
610
610
|
text: {
|
|
@@ -680,7 +680,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
680
680
|
latestValuation?: number | null | undefined;
|
|
681
681
|
mostRecentAmount?: number | null | undefined;
|
|
682
682
|
mostRecentDate?: string | null | undefined;
|
|
683
|
-
stage?:
|
|
683
|
+
stage?: string | null | undefined;
|
|
684
684
|
totalRaised: number;
|
|
685
685
|
} | null | undefined;
|
|
686
686
|
} | null | undefined;
|
|
@@ -764,7 +764,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
764
764
|
latestValuation?: number | null | undefined;
|
|
765
765
|
mostRecentAmount?: number | null | undefined;
|
|
766
766
|
mostRecentDate?: string | null | undefined;
|
|
767
|
-
stage?:
|
|
767
|
+
stage?: string | null | undefined;
|
|
768
768
|
totalRaised: number;
|
|
769
769
|
} | null | undefined;
|
|
770
770
|
} | null | undefined;
|
|
@@ -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;
|
|
@@ -1499,7 +1495,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1499
1495
|
relationship: z.ZodArray<z.ZodType<{
|
|
1500
1496
|
asOf?: string | null | undefined;
|
|
1501
1497
|
comparisonSignals?: {
|
|
1502
|
-
fundingStage?:
|
|
1498
|
+
fundingStage?: string | null | undefined;
|
|
1503
1499
|
ownership: string[];
|
|
1504
1500
|
pricingModel: string[];
|
|
1505
1501
|
sellsTo: string[];
|
|
@@ -1557,7 +1553,7 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1557
1553
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
1558
1554
|
asOf?: string | null | undefined;
|
|
1559
1555
|
comparisonSignals?: {
|
|
1560
|
-
fundingStage?:
|
|
1556
|
+
fundingStage?: string | null | undefined;
|
|
1561
1557
|
ownership: string[];
|
|
1562
1558
|
pricingModel: string[];
|
|
1563
1559
|
sellsTo: string[];
|
|
@@ -458,7 +458,7 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
458
458
|
latestValuation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
459
459
|
mostRecentAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
460
460
|
mostRecentDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
461
|
-
stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
461
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
462
462
|
Acquired: "Acquired";
|
|
463
463
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
464
464
|
Angel: "Angel";
|
|
@@ -495,7 +495,7 @@ declare const EntityEnrichmentSchemaDefinition: z.ZodObject<{
|
|
|
495
495
|
"Series X": "Series X";
|
|
496
496
|
"Series Y": "Series Y";
|
|
497
497
|
"Series Z": "Series Z";
|
|
498
|
-
}>>>;
|
|
498
|
+
}>, z.ZodString]>>>;
|
|
499
499
|
totalRaised: z.ZodNumber;
|
|
500
500
|
}, z.core.$strip>>>;
|
|
501
501
|
text: z.ZodType<{
|
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(),
|
|
@@ -37,7 +37,7 @@ export declare const EntityFundingDetailSchema: z.ZodObject<{
|
|
|
37
37
|
latestValuation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
38
38
|
mostRecentAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
39
39
|
mostRecentDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
40
|
-
stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
40
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
41
41
|
Acquired: "Acquired";
|
|
42
42
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
43
43
|
Angel: "Angel";
|
|
@@ -74,7 +74,7 @@ export declare const EntityFundingDetailSchema: z.ZodObject<{
|
|
|
74
74
|
"Series X": "Series X";
|
|
75
75
|
"Series Y": "Series Y";
|
|
76
76
|
"Series Z": "Series Z";
|
|
77
|
-
}>>>;
|
|
77
|
+
}>, z.ZodString]>>>;
|
|
78
78
|
totalRaised: z.ZodNumber;
|
|
79
79
|
}, z.core.$strip>;
|
|
80
80
|
export type EntityFundingDetail = z.infer<typeof EntityFundingDetailSchema>;
|
|
@@ -89,7 +89,7 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
|
|
|
89
89
|
latestValuation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
90
90
|
mostRecentAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
91
91
|
mostRecentDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
92
|
-
stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
92
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
93
93
|
Acquired: "Acquired";
|
|
94
94
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
95
95
|
Angel: "Angel";
|
|
@@ -126,7 +126,7 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
|
|
|
126
126
|
"Series X": "Series X";
|
|
127
127
|
"Series Y": "Series Y";
|
|
128
128
|
"Series Z": "Series Z";
|
|
129
|
-
}>>>;
|
|
129
|
+
}>, z.ZodString]>>>;
|
|
130
130
|
totalRaised: z.ZodNumber;
|
|
131
131
|
}, z.core.$strip>>>;
|
|
132
132
|
}, z.core.$strip>;
|
|
@@ -70,7 +70,7 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
70
70
|
latestValuation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
71
71
|
mostRecentAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
72
72
|
mostRecentDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
73
|
-
stage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
73
|
+
stage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
74
74
|
Acquired: "Acquired";
|
|
75
75
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
76
76
|
Angel: "Angel";
|
|
@@ -107,7 +107,7 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
|
|
|
107
107
|
"Series X": "Series X";
|
|
108
108
|
"Series Y": "Series Y";
|
|
109
109
|
"Series Z": "Series Z";
|
|
110
|
-
}>>>;
|
|
110
|
+
}>, z.ZodString]>>>;
|
|
111
111
|
totalRaised: z.ZodNumber;
|
|
112
112
|
}, z.core.$strip>>>;
|
|
113
113
|
}, z.core.$strip>>>;
|
|
@@ -303,7 +303,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
303
303
|
latestValuation?: number | null | undefined;
|
|
304
304
|
mostRecentAmount?: number | null | undefined;
|
|
305
305
|
mostRecentDate?: string | null | undefined;
|
|
306
|
-
stage?:
|
|
306
|
+
stage?: string | null | undefined;
|
|
307
307
|
totalRaised: number;
|
|
308
308
|
} | null | undefined;
|
|
309
309
|
text: {
|
|
@@ -582,7 +582,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
582
582
|
latestValuation?: number | null | undefined;
|
|
583
583
|
mostRecentAmount?: number | null | undefined;
|
|
584
584
|
mostRecentDate?: string | null | undefined;
|
|
585
|
-
stage?:
|
|
585
|
+
stage?: string | null | undefined;
|
|
586
586
|
totalRaised: number;
|
|
587
587
|
} | null | undefined;
|
|
588
588
|
text: {
|
|
@@ -658,7 +658,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
658
658
|
latestValuation?: number | null | undefined;
|
|
659
659
|
mostRecentAmount?: number | null | undefined;
|
|
660
660
|
mostRecentDate?: string | null | undefined;
|
|
661
|
-
stage?:
|
|
661
|
+
stage?: string | null | undefined;
|
|
662
662
|
totalRaised: number;
|
|
663
663
|
} | null | undefined;
|
|
664
664
|
} | null | undefined;
|
|
@@ -742,7 +742,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
742
742
|
latestValuation?: number | null | undefined;
|
|
743
743
|
mostRecentAmount?: number | null | undefined;
|
|
744
744
|
mostRecentDate?: string | null | undefined;
|
|
745
|
-
stage?:
|
|
745
|
+
stage?: string | null | undefined;
|
|
746
746
|
totalRaised: number;
|
|
747
747
|
} | null | undefined;
|
|
748
748
|
} | null | undefined;
|
|
@@ -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;
|
|
@@ -1477,7 +1473,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1477
1473
|
relationship: z.ZodArray<z.ZodType<{
|
|
1478
1474
|
asOf?: string | null | undefined;
|
|
1479
1475
|
comparisonSignals?: {
|
|
1480
|
-
fundingStage?:
|
|
1476
|
+
fundingStage?: string | null | undefined;
|
|
1481
1477
|
ownership: string[];
|
|
1482
1478
|
pricingModel: string[];
|
|
1483
1479
|
sellsTo: string[];
|
|
@@ -1535,7 +1531,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1535
1531
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
1536
1532
|
asOf?: string | null | undefined;
|
|
1537
1533
|
comparisonSignals?: {
|
|
1538
|
-
fundingStage?:
|
|
1534
|
+
fundingStage?: string | null | undefined;
|
|
1539
1535
|
ownership: string[];
|
|
1540
1536
|
pricingModel: string[];
|
|
1541
1537
|
sellsTo: 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>>;
|
|
@@ -327,7 +302,7 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
327
302
|
latestValuation?: number | null | undefined;
|
|
328
303
|
mostRecentAmount?: number | null | undefined;
|
|
329
304
|
mostRecentDate?: string | null | undefined;
|
|
330
|
-
stage?:
|
|
305
|
+
stage?: string | null | undefined;
|
|
331
306
|
totalRaised: number;
|
|
332
307
|
} | null | undefined;
|
|
333
308
|
text: {
|
|
@@ -606,7 +581,7 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
606
581
|
latestValuation?: number | null | undefined;
|
|
607
582
|
mostRecentAmount?: number | null | undefined;
|
|
608
583
|
mostRecentDate?: string | null | undefined;
|
|
609
|
-
stage?:
|
|
584
|
+
stage?: string | null | undefined;
|
|
610
585
|
totalRaised: number;
|
|
611
586
|
} | null | undefined;
|
|
612
587
|
text: {
|
|
@@ -682,7 +657,7 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
682
657
|
latestValuation?: number | null | undefined;
|
|
683
658
|
mostRecentAmount?: number | null | undefined;
|
|
684
659
|
mostRecentDate?: string | null | undefined;
|
|
685
|
-
stage?:
|
|
660
|
+
stage?: string | null | undefined;
|
|
686
661
|
totalRaised: number;
|
|
687
662
|
} | null | undefined;
|
|
688
663
|
} | null | undefined;
|
|
@@ -766,7 +741,7 @@ export declare const EntityListSchema: z.ZodObject<{
|
|
|
766
741
|
latestValuation?: number | null | undefined;
|
|
767
742
|
mostRecentAmount?: number | null | undefined;
|
|
768
743
|
mostRecentDate?: string | null | undefined;
|
|
769
|
-
stage?:
|
|
744
|
+
stage?: string | null | undefined;
|
|
770
745
|
totalRaised: number;
|
|
771
746
|
} | null | undefined;
|
|
772
747
|
} | null | undefined;
|
|
@@ -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
|
|
@@ -2,7 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
3
3
|
asOf: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4
4
|
comparisonSignals: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5
|
-
fundingStage: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5
|
+
fundingStage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6
6
|
Acquired: "Acquired";
|
|
7
7
|
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
8
8
|
Angel: "Angel";
|
|
@@ -39,7 +39,7 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
|
|
|
39
39
|
"Series X": "Series X";
|
|
40
40
|
"Series Y": "Series Y";
|
|
41
41
|
"Series Z": "Series Z";
|
|
42
|
-
}>>>;
|
|
42
|
+
}>, z.ZodString]>>>;
|
|
43
43
|
ownership: z.ZodArray<z.ZodString>;
|
|
44
44
|
pricingModel: z.ZodArray<z.ZodString>;
|
|
45
45
|
sellsTo: z.ZodArray<z.ZodString>;
|
|
@@ -304,7 +304,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
304
304
|
latestValuation?: number | null | undefined;
|
|
305
305
|
mostRecentAmount?: number | null | undefined;
|
|
306
306
|
mostRecentDate?: string | null | undefined;
|
|
307
|
-
stage?:
|
|
307
|
+
stage?: string | null | undefined;
|
|
308
308
|
totalRaised: number;
|
|
309
309
|
} | null | undefined;
|
|
310
310
|
text: {
|
|
@@ -583,7 +583,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
583
583
|
latestValuation?: number | null | undefined;
|
|
584
584
|
mostRecentAmount?: number | null | undefined;
|
|
585
585
|
mostRecentDate?: string | null | undefined;
|
|
586
|
-
stage?:
|
|
586
|
+
stage?: string | null | undefined;
|
|
587
587
|
totalRaised: number;
|
|
588
588
|
} | null | undefined;
|
|
589
589
|
text: {
|
|
@@ -659,7 +659,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
659
659
|
latestValuation?: number | null | undefined;
|
|
660
660
|
mostRecentAmount?: number | null | undefined;
|
|
661
661
|
mostRecentDate?: string | null | undefined;
|
|
662
|
-
stage?:
|
|
662
|
+
stage?: string | null | undefined;
|
|
663
663
|
totalRaised: number;
|
|
664
664
|
} | null | undefined;
|
|
665
665
|
} | null | undefined;
|
|
@@ -743,7 +743,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
743
743
|
latestValuation?: number | null | undefined;
|
|
744
744
|
mostRecentAmount?: number | null | undefined;
|
|
745
745
|
mostRecentDate?: string | null | undefined;
|
|
746
|
-
stage?:
|
|
746
|
+
stage?: string | null | undefined;
|
|
747
747
|
totalRaised: number;
|
|
748
748
|
} | null | undefined;
|
|
749
749
|
} | null | undefined;
|
|
@@ -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;
|
|
@@ -1478,7 +1474,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1478
1474
|
relationship: z.ZodArray<z.ZodType<{
|
|
1479
1475
|
asOf?: string | null | undefined;
|
|
1480
1476
|
comparisonSignals?: {
|
|
1481
|
-
fundingStage?:
|
|
1477
|
+
fundingStage?: string | null | undefined;
|
|
1482
1478
|
ownership: string[];
|
|
1483
1479
|
pricingModel: string[];
|
|
1484
1480
|
sellsTo: string[];
|
|
@@ -1536,7 +1532,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1536
1532
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
1537
1533
|
asOf?: string | null | undefined;
|
|
1538
1534
|
comparisonSignals?: {
|
|
1539
|
-
fundingStage?:
|
|
1535
|
+
fundingStage?: string | null | undefined;
|
|
1540
1536
|
ownership: string[];
|
|
1541
1537
|
pricingModel: string[];
|
|
1542
1538
|
sellsTo: string[];
|