@aventurevc/api-schemas 0.8.96 → 0.8.100
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 +2 -2
- package/dist/content/embedding-match.js +2 -2
- package/dist/date/range.d.ts +27 -0
- package/dist/date/range.js +29 -0
- package/dist/entity/detail.d.ts +4 -4
- package/dist/entity/filter-logo-option.d.ts +2 -0
- package/dist/entity/filter-logo-option.js +2 -0
- package/dist/entity/filter-search.d.ts +4 -0
- package/dist/entity/filter.d.ts +12 -0
- package/dist/entity/filter.js +8 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +6 -0
- package/dist/entity/fundraise-filter-criteria.js +5 -0
- package/dist/entity/investor-participation.d.ts +4 -4
- package/dist/entity/list-filter.d.ts +4 -0
- package/dist/entity/list-quality-gate.d.ts +2 -0
- package/dist/entity/list-quality-gate.js +2 -0
- package/dist/entity/list.d.ts +28 -31
- package/dist/entity/list.js +12 -13
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/entity/operating-status.d.ts +2 -0
- package/dist/entity/operating-status.js +2 -0
- package/dist/entity/resolution.d.ts +4 -4
- package/dist/entity/similarity-result.d.ts +226 -243
- package/dist/entity/url-type.d.ts +2 -0
- package/dist/entity/url-type.js +2 -0
- package/dist/federated/natural-search.d.ts +4 -0
- package/dist/federated/search.d.ts +274 -40
- package/dist/harness/run-create.d.ts +11 -0
- package/dist/harness/run-create.js +3 -0
- package/dist/link/search.d.ts +274 -40
- package/dist/lookup/job-mention.d.ts +230 -247
- package/dist/lookup/job.d.ts +8 -8
- package/dist/mention/lookup.d.ts +8 -8
- package/dist/natural/search-result.d.ts +261 -263
- package/dist/openapi-component-manifest.js +2 -0
- package/dist/pagination/schemas.d.ts +521 -555
- package/dist/person/detail.d.ts +4 -4
- package/dist/person/filter.d.ts +170 -0
- package/dist/person/filter.js +3 -0
- package/dist/person/investor-participation.d.ts +4 -4
- package/dist/person/natural-search-result.d.ts +224 -8
- package/dist/person/natural-search.d.ts +170 -0
- package/dist/person/person.d.ts +2 -2
- package/dist/person/search-interpretation.d.ts +172 -0
- package/dist/person/similarity-result.d.ts +4 -4
- package/dist/research/finding.d.ts +21 -0
- package/dist/research/finding.js +23 -0
- package/dist/search/answer-citation.d.ts +1 -0
- package/dist/search/answer-citation.js +1 -1
- package/dist/search/answer.d.ts +3 -0
- package/dist/search/answer.js +6 -0
- package/dist/search/evidence-source.d.ts +2 -1
- package/dist/search/evidence-source.js +8 -2
- package/dist/search/interpretation.d.ts +10 -0
- package/dist/search/investment.d.ts +2 -2
- package/dist/search/judgment.d.ts +227 -243
- package/dist/search/judgment.js +3 -1
- package/dist/search/ordering-entity-filter-sortable.d.ts +2 -0
- package/dist/search/ordering-person-sort-field.d.ts +2 -0
- package/dist/search/passage.d.ts +1 -0
- package/dist/shared/search.d.ts +274 -40
- package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
- package/dist/sort/order-entity-filter-sortable.js +2 -0
- package/dist/sort/order-person-sort-field.d.ts +1 -0
- package/dist/sort/order-person-sort-field.js +2 -0
- package/dist/url/match-mode.d.ts +2 -0
- package/dist/url/match-mode.js +2 -0
- package/package.json +1 -1
|
@@ -42,8 +42,8 @@ export declare const ContentEmbeddingMatchSchema: z.ZodObject<{
|
|
|
42
42
|
rank: z.ZodInt;
|
|
43
43
|
sourceHash: z.ZodString;
|
|
44
44
|
sourceId: z.ZodString;
|
|
45
|
-
sourceJson: z.ZodString
|
|
46
|
-
sourceText: z.ZodString
|
|
45
|
+
sourceJson: z.ZodOptional<z.ZodString>;
|
|
46
|
+
sourceText: z.ZodOptional<z.ZodString>;
|
|
47
47
|
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
48
48
|
agentHelpDoc: "agentHelpDoc";
|
|
49
49
|
blogPost: "blogPost";
|
|
@@ -52,9 +52,9 @@ export const ContentEmbeddingMatchSchema = z.object({
|
|
|
52
52
|
/** Content embedding source identifier. */
|
|
53
53
|
sourceId: z.string(),
|
|
54
54
|
/** Serialized JSONB source document stored for the embedding row. */
|
|
55
|
-
sourceJson: z.string(),
|
|
55
|
+
sourceJson: z.string().optional(),
|
|
56
56
|
/** Source text used to compute the stored embedding. */
|
|
57
|
-
sourceText: z.string(),
|
|
57
|
+
sourceText: z.string().optional(),
|
|
58
58
|
/** Stored content embedding source partition. */
|
|
59
59
|
sourceType: ContentSourceTypeSchema,
|
|
60
60
|
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* ISO-8601 timestamp range for temporal filters.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema DateRange
|
|
6
|
+
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
9
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
10
|
+
* @endpoint POST /v1/entities/filters/refine
|
|
11
|
+
* @endpoint POST /v1/entities/filters/search
|
|
12
|
+
* @endpoint POST /v1/entities/search
|
|
13
|
+
* @endpoint POST /v1/people/search
|
|
14
|
+
* @endpoint POST /v1/search
|
|
15
|
+
* @endpoint POST /v1/search/natural/entities
|
|
16
|
+
* @endpoint POST /v1/search/natural/people
|
|
17
|
+
* @endpoint POST /v1/search/shared
|
|
18
|
+
* @usedBySchema EntityFundraiseFilterCriteriaSchema
|
|
19
|
+
* @contractShape date.range
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export declare const DateRangeSchema: z.ZodObject<{
|
|
23
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
24
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type DateRange = z.infer<typeof DateRangeSchema>;
|
|
27
|
+
//# sourceMappingURL=range.d.ts.map
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
/**
|
|
4
|
+
* ISO-8601 timestamp range for temporal filters.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema DateRange
|
|
7
|
+
* @endpoint GET /v1/search/link
|
|
8
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
9
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
10
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
11
|
+
* @endpoint POST /v1/entities/filters/refine
|
|
12
|
+
* @endpoint POST /v1/entities/filters/search
|
|
13
|
+
* @endpoint POST /v1/entities/search
|
|
14
|
+
* @endpoint POST /v1/people/search
|
|
15
|
+
* @endpoint POST /v1/search
|
|
16
|
+
* @endpoint POST /v1/search/natural/entities
|
|
17
|
+
* @endpoint POST /v1/search/natural/people
|
|
18
|
+
* @endpoint POST /v1/search/shared
|
|
19
|
+
* @usedBySchema EntityFundraiseFilterCriteriaSchema
|
|
20
|
+
* @contractShape date.range
|
|
21
|
+
* @contractRole canonical
|
|
22
|
+
*/
|
|
23
|
+
export const DateRangeSchema = z.object({
|
|
24
|
+
/** Inclusive latest timestamp. */
|
|
25
|
+
max: z.iso.datetime({ offset: true }).nullish(),
|
|
26
|
+
/** Inclusive earliest timestamp. */
|
|
27
|
+
min: z.iso.datetime({ offset: true }).nullish(),
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=range.js.map
|
package/dist/entity/detail.d.ts
CHANGED
|
@@ -1008,8 +1008,8 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1008
1008
|
rank: number;
|
|
1009
1009
|
sourceHash: string;
|
|
1010
1010
|
sourceId: string;
|
|
1011
|
-
sourceJson
|
|
1012
|
-
sourceText
|
|
1011
|
+
sourceJson?: string | undefined;
|
|
1012
|
+
sourceText?: string | undefined;
|
|
1013
1013
|
sourceType: string;
|
|
1014
1014
|
} | null | undefined;
|
|
1015
1015
|
slug: string;
|
|
@@ -1340,8 +1340,8 @@ export declare const EntityDetailSchema: z.ZodObject<{
|
|
|
1340
1340
|
rank: number;
|
|
1341
1341
|
sourceHash: string;
|
|
1342
1342
|
sourceId: string;
|
|
1343
|
-
sourceJson
|
|
1344
|
-
sourceText
|
|
1343
|
+
sourceJson?: string | undefined;
|
|
1344
|
+
sourceText?: string | undefined;
|
|
1345
1345
|
sourceType: string;
|
|
1346
1346
|
} | null | undefined;
|
|
1347
1347
|
slug: string;
|
|
@@ -10,8 +10,10 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @endpoint POST /v1/entities/filters/refine
|
|
11
11
|
* @endpoint POST /v1/entities/filters/search
|
|
12
12
|
* @endpoint POST /v1/entities/search
|
|
13
|
+
* @endpoint POST /v1/people/search
|
|
13
14
|
* @endpoint POST /v1/search
|
|
14
15
|
* @endpoint POST /v1/search/natural/entities
|
|
16
|
+
* @endpoint POST /v1/search/natural/people
|
|
15
17
|
* @endpoint POST /v1/search/shared
|
|
16
18
|
* @usedBySchema EntityFilterSchema
|
|
17
19
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -11,8 +11,10 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/entities/filters/refine
|
|
12
12
|
* @endpoint POST /v1/entities/filters/search
|
|
13
13
|
* @endpoint POST /v1/entities/search
|
|
14
|
+
* @endpoint POST /v1/people/search
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
17
|
+
* @endpoint POST /v1/search/natural/people
|
|
16
18
|
* @endpoint POST /v1/search/shared
|
|
17
19
|
* @usedBySchema EntityFilterSchema
|
|
18
20
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -35,6 +35,10 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
35
35
|
max?: number | null | undefined;
|
|
36
36
|
min?: number | null | undefined;
|
|
37
37
|
}, unknown>>>>;
|
|
38
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
40
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
38
42
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
43
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
44
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -3,13 +3,21 @@ import { z } from "zod/v4";
|
|
|
3
3
|
* Entity list and search filters. GET flattens these fields as query parameters; POST accepts the same shape as JSON.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EntityFilter
|
|
6
|
+
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
8
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
9
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
6
10
|
* @endpoint POST /v1/entities/filters/refine
|
|
7
11
|
* @endpoint POST /v1/entities/filters/search
|
|
12
|
+
* @endpoint POST /v1/people/search
|
|
8
13
|
* @endpoint POST /v1/search
|
|
9
14
|
* @endpoint POST /v1/search/natural/entities
|
|
15
|
+
* @endpoint POST /v1/search/natural/people
|
|
16
|
+
* @endpoint POST /v1/search/shared
|
|
10
17
|
* @usedBySchema EntityFilterSearchSchema
|
|
11
18
|
* @usedBySchema EntityNaturalSearchSchema
|
|
12
19
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
20
|
+
* @usedBySchema PersonFilterSchema
|
|
13
21
|
* @contractShape entity.filter
|
|
14
22
|
* @contractRole canonical
|
|
15
23
|
*/
|
|
@@ -45,6 +53,10 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
45
53
|
max?: number | null | undefined;
|
|
46
54
|
min?: number | null | undefined;
|
|
47
55
|
}, unknown>>>>;
|
|
56
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
57
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
58
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
59
|
+
}, z.core.$strip>>>;
|
|
48
60
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
61
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
62
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
package/dist/entity/filter.js
CHANGED
|
@@ -12,13 +12,21 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
|
|
|
12
12
|
* Entity list and search filters. GET flattens these fields as query parameters; POST accepts the same shape as JSON.
|
|
13
13
|
*
|
|
14
14
|
* @openapiSchema EntityFilter
|
|
15
|
+
* @endpoint GET /v1/search/link
|
|
16
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
17
|
+
* @endpoint GET /v1/search/shared/{id}
|
|
18
|
+
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
15
19
|
* @endpoint POST /v1/entities/filters/refine
|
|
16
20
|
* @endpoint POST /v1/entities/filters/search
|
|
21
|
+
* @endpoint POST /v1/people/search
|
|
17
22
|
* @endpoint POST /v1/search
|
|
18
23
|
* @endpoint POST /v1/search/natural/entities
|
|
24
|
+
* @endpoint POST /v1/search/natural/people
|
|
25
|
+
* @endpoint POST /v1/search/shared
|
|
19
26
|
* @usedBySchema EntityFilterSearchSchema
|
|
20
27
|
* @usedBySchema EntityNaturalSearchSchema
|
|
21
28
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
29
|
+
* @usedBySchema PersonFilterSchema
|
|
22
30
|
* @contractShape entity.filter
|
|
23
31
|
* @contractRole canonical
|
|
24
32
|
*/
|
|
@@ -10,8 +10,10 @@ import { z } from "zod/v4";
|
|
|
10
10
|
* @endpoint POST /v1/entities/filters/refine
|
|
11
11
|
* @endpoint POST /v1/entities/filters/search
|
|
12
12
|
* @endpoint POST /v1/entities/search
|
|
13
|
+
* @endpoint POST /v1/people/search
|
|
13
14
|
* @endpoint POST /v1/search
|
|
14
15
|
* @endpoint POST /v1/search/natural/entities
|
|
16
|
+
* @endpoint POST /v1/search/natural/people
|
|
15
17
|
* @endpoint POST /v1/search/shared
|
|
16
18
|
* @usedBySchema EntityFilterSchema
|
|
17
19
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -33,6 +35,10 @@ export declare const EntityFundraiseFilterCriteriaSchema: z.ZodObject<{
|
|
|
33
35
|
max?: number | null | undefined;
|
|
34
36
|
min?: number | null | undefined;
|
|
35
37
|
}, unknown>>>>;
|
|
38
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
40
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
41
|
+
}, z.core.$strip>>>;
|
|
36
42
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
43
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
38
44
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -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 { DateRangeSchema } from "../date/range.js";
|
|
3
4
|
import { DecimalRangeSchema } from "../decimal/range.js";
|
|
4
5
|
import { IntRangeSchema } from "../int/range.js";
|
|
5
6
|
import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
|
|
@@ -14,8 +15,10 @@ import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
|
|
|
14
15
|
* @endpoint POST /v1/entities/filters/refine
|
|
15
16
|
* @endpoint POST /v1/entities/filters/search
|
|
16
17
|
* @endpoint POST /v1/entities/search
|
|
18
|
+
* @endpoint POST /v1/people/search
|
|
17
19
|
* @endpoint POST /v1/search
|
|
18
20
|
* @endpoint POST /v1/search/natural/entities
|
|
21
|
+
* @endpoint POST /v1/search/natural/people
|
|
19
22
|
* @endpoint POST /v1/search/shared
|
|
20
23
|
* @usedBySchema EntityFilterSchema
|
|
21
24
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -27,6 +30,8 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
|
|
|
27
30
|
amountInvestedRange: z.array(DecimalRangeSchema).optional(),
|
|
28
31
|
/** Per-round amount-raised ranges in USD. Use plain JSON numbers. */
|
|
29
32
|
amountRaisedRange: z.array(DecimalRangeSchema).optional(),
|
|
33
|
+
/** Inclusive announcement timestamp bounds on the same fundraise transaction as round and amountRaisedRange. Announcement dates do not establish funding completion dates. */
|
|
34
|
+
dateAnnouncedRange: DateRangeSchema.nullish(),
|
|
30
35
|
/** Portfolio company names. Exact, case-sensitive match on the portfolio company's brand or legal name; restricts returned entities to investors in those companies. */
|
|
31
36
|
investedCompanyName: z.array(z.string()).optional(),
|
|
32
37
|
/** Countries of the companies an investor backed, as country names or ids; a deal matches when its company's current headquarters is in one of them. Restricts returned entities to investors with such a deal inside the investment-activity horizon; with investedRound or investedIndustry, the same deal must match each. */
|
|
@@ -986,8 +986,8 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
986
986
|
rank: number;
|
|
987
987
|
sourceHash: string;
|
|
988
988
|
sourceId: string;
|
|
989
|
-
sourceJson
|
|
990
|
-
sourceText
|
|
989
|
+
sourceJson?: string | undefined;
|
|
990
|
+
sourceText?: string | undefined;
|
|
991
991
|
sourceType: string;
|
|
992
992
|
} | null | undefined;
|
|
993
993
|
slug: string;
|
|
@@ -1318,8 +1318,8 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
|
|
|
1318
1318
|
rank: number;
|
|
1319
1319
|
sourceHash: string;
|
|
1320
1320
|
sourceId: string;
|
|
1321
|
-
sourceJson
|
|
1322
|
-
sourceText
|
|
1321
|
+
sourceJson?: string | undefined;
|
|
1322
|
+
sourceText?: string | undefined;
|
|
1323
1323
|
sourceType: string;
|
|
1324
1324
|
} | null | undefined;
|
|
1325
1325
|
slug: string;
|
|
@@ -31,6 +31,10 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
|
|
|
31
31
|
max?: number | null | undefined;
|
|
32
32
|
min?: number | null | undefined;
|
|
33
33
|
}, unknown>>>>;
|
|
34
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
35
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
36
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
34
38
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
35
39
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
40
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -11,8 +11,10 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/entities/filters/refine
|
|
12
12
|
* @endpoint POST /v1/entities/filters/search
|
|
13
13
|
* @endpoint POST /v1/entities/search
|
|
14
|
+
* @endpoint POST /v1/people/search
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
17
|
+
* @endpoint POST /v1/search/natural/people
|
|
16
18
|
* @endpoint POST /v1/search/shared
|
|
17
19
|
* @usedBySchema EntityFilterSchema
|
|
18
20
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -12,8 +12,10 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @endpoint POST /v1/entities/filters/refine
|
|
13
13
|
* @endpoint POST /v1/entities/filters/search
|
|
14
14
|
* @endpoint POST /v1/entities/search
|
|
15
|
+
* @endpoint POST /v1/people/search
|
|
15
16
|
* @endpoint POST /v1/search
|
|
16
17
|
* @endpoint POST /v1/search/natural/entities
|
|
18
|
+
* @endpoint POST /v1/search/natural/people
|
|
17
19
|
* @endpoint POST /v1/search/shared
|
|
18
20
|
* @usedBySchema EntityFilterSchema
|
|
19
21
|
* @usedBySchema EntityListFilterSchema
|
package/dist/entity/list.d.ts
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
|
|
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<{
|
|
3
28
|
core: z.ZodObject<{
|
|
4
29
|
defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5
30
|
foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -915,8 +940,8 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
915
940
|
rank: z.ZodInt;
|
|
916
941
|
sourceHash: z.ZodString;
|
|
917
942
|
sourceId: z.ZodString;
|
|
918
|
-
sourceJson: z.ZodString
|
|
919
|
-
sourceText: z.ZodString
|
|
943
|
+
sourceJson: z.ZodOptional<z.ZodString>;
|
|
944
|
+
sourceText: z.ZodOptional<z.ZodString>;
|
|
920
945
|
sourceType: z.ZodUnion<readonly [z.ZodEnum<{
|
|
921
946
|
agentHelpDoc: "agentHelpDoc";
|
|
922
947
|
blogPost: "blogPost";
|
|
@@ -933,33 +958,5 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
|
|
|
933
958
|
}>, z.ZodString]>;
|
|
934
959
|
}, z.core.$strip>>>;
|
|
935
960
|
}, z.core.$strip>;
|
|
936
|
-
type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
|
|
937
|
-
/**
|
|
938
|
-
* 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.
|
|
939
|
-
*
|
|
940
|
-
* @openapiSchema EntityList
|
|
941
|
-
* @endpoint GET /v1/entities
|
|
942
|
-
* @endpoint GET /v1/search/link
|
|
943
|
-
* @endpoint GET /v1/entities/{entityId}/similar
|
|
944
|
-
* @endpoint GET /v1/lookup-jobs/{jobId}
|
|
945
|
-
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
946
|
-
* @endpoint GET /v1/search/shared/{id}
|
|
947
|
-
* @endpoint GET /v1/search/shared/slug/{slug}
|
|
948
|
-
* @endpoint POST /v1/entities/search
|
|
949
|
-
* @endpoint POST /v1/lookup-mentions
|
|
950
|
-
* @endpoint POST /v1/search
|
|
951
|
-
* @endpoint POST /v1/search/natural/entities
|
|
952
|
-
* @endpoint POST /v1/search/shared
|
|
953
|
-
* @usedBySchema EntitySimilarityResultSchema
|
|
954
|
-
* @usedBySchema LookupJobMentionSchema
|
|
955
|
-
* @usedBySchema NaturalSearchResultSchema
|
|
956
|
-
* @usedBySchema PageEntityListSchema
|
|
957
|
-
* @usedBySchema PageResultEntityListSchema
|
|
958
|
-
* @usedBySchema SearchJudgmentSchema
|
|
959
|
-
* @contractShape entity.list
|
|
960
|
-
* @contractRole canonical
|
|
961
|
-
*/
|
|
962
|
-
export declare const EntityListSchema: z.ZodType<EntityListDefinition>;
|
|
963
961
|
export type EntityList = z.infer<typeof EntityListSchema>;
|
|
964
|
-
export {};
|
|
965
962
|
//# sourceMappingURL=list.d.ts.map
|
package/dist/entity/list.js
CHANGED
|
@@ -5,18 +5,6 @@ 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
|
-
});
|
|
20
8
|
/**
|
|
21
9
|
* 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.
|
|
22
10
|
*
|
|
@@ -42,5 +30,16 @@ const EntityListSchemaDefinition = z.object({
|
|
|
42
30
|
* @contractShape entity.list
|
|
43
31
|
* @contractRole canonical
|
|
44
32
|
*/
|
|
45
|
-
export const EntityListSchema =
|
|
33
|
+
export const EntityListSchema = z.object({
|
|
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
|
+
});
|
|
46
45
|
//# sourceMappingURL=list.js.map
|
|
@@ -32,6 +32,10 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
32
32
|
max?: number | null | undefined;
|
|
33
33
|
min?: number | null | undefined;
|
|
34
34
|
}, unknown>>>>;
|
|
35
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
36
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
37
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
35
39
|
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
36
40
|
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
41
|
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -11,8 +11,10 @@ import { z } from "zod/v4";
|
|
|
11
11
|
* @endpoint POST /v1/entities/filters/refine
|
|
12
12
|
* @endpoint POST /v1/entities/filters/search
|
|
13
13
|
* @endpoint POST /v1/entities/search
|
|
14
|
+
* @endpoint POST /v1/people/search
|
|
14
15
|
* @endpoint POST /v1/search
|
|
15
16
|
* @endpoint POST /v1/search/natural/entities
|
|
17
|
+
* @endpoint POST /v1/search/natural/people
|
|
16
18
|
* @endpoint POST /v1/search/shared
|
|
17
19
|
* @usedBySchema EntityFilterSchema
|
|
18
20
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -12,8 +12,10 @@ import { z } from "zod/v4";
|
|
|
12
12
|
* @endpoint POST /v1/entities/filters/refine
|
|
13
13
|
* @endpoint POST /v1/entities/filters/search
|
|
14
14
|
* @endpoint POST /v1/entities/search
|
|
15
|
+
* @endpoint POST /v1/people/search
|
|
15
16
|
* @endpoint POST /v1/search
|
|
16
17
|
* @endpoint POST /v1/search/natural/entities
|
|
18
|
+
* @endpoint POST /v1/search/natural/people
|
|
17
19
|
* @endpoint POST /v1/search/shared
|
|
18
20
|
* @usedBySchema EntityFilterSchema
|
|
19
21
|
* @usedBySchema EntityListFilterSchema
|
|
@@ -987,8 +987,8 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
987
987
|
rank: number;
|
|
988
988
|
sourceHash: string;
|
|
989
989
|
sourceId: string;
|
|
990
|
-
sourceJson
|
|
991
|
-
sourceText
|
|
990
|
+
sourceJson?: string | undefined;
|
|
991
|
+
sourceText?: string | undefined;
|
|
992
992
|
sourceType: string;
|
|
993
993
|
} | null | undefined;
|
|
994
994
|
slug: string;
|
|
@@ -1319,8 +1319,8 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
|
|
|
1319
1319
|
rank: number;
|
|
1320
1320
|
sourceHash: string;
|
|
1321
1321
|
sourceId: string;
|
|
1322
|
-
sourceJson
|
|
1323
|
-
sourceText
|
|
1322
|
+
sourceJson?: string | undefined;
|
|
1323
|
+
sourceText?: string | undefined;
|
|
1324
1324
|
sourceType: string;
|
|
1325
1325
|
} | null | undefined;
|
|
1326
1326
|
slug: string;
|