@aventurevc/api-schemas 0.8.236 → 0.8.237
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/datasource/data-source-type.d.ts +24 -0
- package/dist/datasource/data-source-type.js +24 -0
- package/dist/entity/filter-search.d.ts +4 -0
- package/dist/entity/filter.d.ts +5 -0
- package/dist/entity/filter.js +1 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +4 -0
- package/dist/entity/fundraise-filter-criteria.js +8 -5
- package/dist/entity/list-filter.d.ts +4 -0
- package/dist/entity/list-quality-gate.d.ts +1 -0
- package/dist/entity/list-quality-gate.js +1 -0
- package/dist/entity/natural-search.d.ts +4 -0
- package/dist/entity/operating-status.d.ts +1 -0
- package/dist/entity/operating-status.js +1 -0
- package/dist/entity/person-association-filter.d.ts +202 -0
- package/dist/entity/person-association-filter.js +30 -0
- package/dist/entity/url-type.d.ts +1 -0
- package/dist/entity/url-type.js +1 -0
- package/dist/federated/natural-search.d.ts +4 -0
- package/dist/federated/search.d.ts +236 -0
- package/dist/http/problem-detail.d.ts +1 -0
- package/dist/http/problem-detail.js +2 -0
- package/dist/investor/name-match-mode.d.ts +31 -0
- package/dist/investor/name-match-mode.js +28 -0
- package/dist/link/search.d.ts +236 -0
- package/dist/natural/search-result.d.ts +2 -0
- package/dist/openapi-component-manifest.js +14 -0
- package/dist/person/filter.d.ts +186 -0
- package/dist/person/filter.js +5 -0
- package/dist/person/natural-search-result.d.ts +234 -0
- package/dist/person/natural-search.d.ts +186 -0
- package/dist/person/search-interpretation.d.ts +186 -0
- package/dist/search/interpretation.d.ts +4 -0
- package/dist/search/search.d.ts +8 -0
- package/dist/search/search.js +3 -0
- package/dist/shared/directory-mutation.d.ts +190 -0
- package/dist/shared/directory.d.ts +190 -0
- package/dist/shared/search.d.ts +236 -0
- package/dist/suppression/reason.d.ts +22 -0
- package/dist/suppression/reason.js +17 -0
- package/dist/unique/id-type.d.ts +5 -1
- package/dist/unique/id-type.js +3 -1
- package/dist/unique/id.d.ts +4 -0
- package/dist/url/match-mode.d.ts +1 -0
- package/dist/url/match-mode.js +1 -0
- package/dist/web/search-provider.d.ts +3 -1
- package/dist/web/search-provider.js +2 -2
- package/dist/web/search-recency.d.ts +19 -0
- package/dist/web/search-recency.js +14 -0
- package/dist/web/search.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Full read/storage source type for field-level provenance rows. Write query parameters use DatasourceWritableDataSourceType.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema DatasourceDataSourceType
|
|
6
|
+
* @endpoint GET /v1/people
|
|
7
|
+
* @contractShape datasource.data-source-type
|
|
8
|
+
* @contractRole canonical
|
|
9
|
+
*/
|
|
10
|
+
export declare const DatasourceDataSourceTypeSchema: z.ZodEnum<{
|
|
11
|
+
api: "api";
|
|
12
|
+
aventureStaff: "aventureStaff";
|
|
13
|
+
blogArticle: "blogArticle";
|
|
14
|
+
firstPartyWebsite: "firstPartyWebsite";
|
|
15
|
+
import: "import";
|
|
16
|
+
llm: "llm";
|
|
17
|
+
manual: "manual";
|
|
18
|
+
newsArticle: "newsArticle";
|
|
19
|
+
relatedPartyWebsite: "relatedPartyWebsite";
|
|
20
|
+
requestChangeForm: "requestChangeForm";
|
|
21
|
+
thirdPartyWebsite: "thirdPartyWebsite";
|
|
22
|
+
}>;
|
|
23
|
+
export type DatasourceDataSourceType = z.infer<typeof DatasourceDataSourceTypeSchema>;
|
|
24
|
+
//# sourceMappingURL=data-source-type.d.ts.map
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* Full read/storage source type for field-level provenance rows. Write query parameters use DatasourceWritableDataSourceType.
|
|
5
|
+
*
|
|
6
|
+
* @openapiSchema DatasourceDataSourceType
|
|
7
|
+
* @endpoint GET /v1/people
|
|
8
|
+
* @contractShape datasource.data-source-type
|
|
9
|
+
* @contractRole canonical
|
|
10
|
+
*/
|
|
11
|
+
export const DatasourceDataSourceTypeSchema = z.enum([
|
|
12
|
+
"requestChangeForm",
|
|
13
|
+
"newsArticle",
|
|
14
|
+
"blogArticle",
|
|
15
|
+
"firstPartyWebsite",
|
|
16
|
+
"relatedPartyWebsite",
|
|
17
|
+
"thirdPartyWebsite",
|
|
18
|
+
"llm",
|
|
19
|
+
"aventureStaff",
|
|
20
|
+
"api",
|
|
21
|
+
"manual",
|
|
22
|
+
"import",
|
|
23
|
+
]);
|
|
24
|
+
//# sourceMappingURL=data-source-type.js.map
|
|
@@ -81,6 +81,10 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
|
|
|
81
81
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
82
82
|
}, z.core.$strip>>;
|
|
83
83
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
84
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
85
|
+
any: "any";
|
|
86
|
+
every: "every";
|
|
87
|
+
}>>>;
|
|
84
88
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
85
89
|
max?: number | null | undefined;
|
|
86
90
|
min?: number | null | undefined;
|
package/dist/entity/filter.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { z } from "zod/v4";
|
|
|
18
18
|
* @endpoint POST /v1/search/shared
|
|
19
19
|
* @usedBySchema EntityFilterSearchSchema
|
|
20
20
|
* @usedBySchema EntityNaturalSearchSchema
|
|
21
|
+
* @usedBySchema EntityPersonAssociationFilterSchema
|
|
21
22
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
22
23
|
* @usedBySchema PersonFilterSchema
|
|
23
24
|
* @contractShape entity.filter
|
|
@@ -101,6 +102,10 @@ export declare const EntityFilterSchema: z.ZodObject<{
|
|
|
101
102
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
102
103
|
}, z.core.$strip>>;
|
|
103
104
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
106
|
+
any: "any";
|
|
107
|
+
every: "every";
|
|
108
|
+
}>>>;
|
|
104
109
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
105
110
|
max?: number | null | undefined;
|
|
106
111
|
min?: number | null | undefined;
|
package/dist/entity/filter.js
CHANGED
|
@@ -27,6 +27,7 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
|
|
|
27
27
|
* @endpoint POST /v1/search/shared
|
|
28
28
|
* @usedBySchema EntityFilterSearchSchema
|
|
29
29
|
* @usedBySchema EntityNaturalSearchSchema
|
|
30
|
+
* @usedBySchema EntityPersonAssociationFilterSchema
|
|
30
31
|
* @usedBySchema FederatedNaturalSearchSchema
|
|
31
32
|
* @usedBySchema PersonFilterSchema
|
|
32
33
|
* @contractShape entity.filter
|
|
@@ -83,6 +83,10 @@ export declare const EntityFundraiseFilterCriteriaSchema: z.ZodObject<{
|
|
|
83
83
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
84
84
|
}, z.core.$strip>>;
|
|
85
85
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
87
|
+
any: "any";
|
|
88
|
+
every: "every";
|
|
89
|
+
}>>>;
|
|
86
90
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
87
91
|
max?: number | null | undefined;
|
|
88
92
|
min?: number | null | undefined;
|
|
@@ -4,6 +4,7 @@ import { DateRangeSchema } from "../date/range.js";
|
|
|
4
4
|
import { DecimalRangeSchema } from "../decimal/range.js";
|
|
5
5
|
import { IntRangeSchema } from "../int/range.js";
|
|
6
6
|
import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
|
|
7
|
+
import { InvestorNameMatchModeSchema } from "../investor/name-match-mode.js";
|
|
7
8
|
/**
|
|
8
9
|
* Fundraise and investment filters for entity search
|
|
9
10
|
*
|
|
@@ -34,21 +35,23 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
|
|
|
34
35
|
amountRaisedRange: z.array(DecimalRangeSchema).optional(),
|
|
35
36
|
/** Inclusive announcement timestamp bounds on the same fundraise transaction as round and amountRaisedRange. Announcement dates do not establish funding completion dates. */
|
|
36
37
|
dateAnnouncedRange: DateRangeSchema.nullish(),
|
|
37
|
-
/** Portfolio company names
|
|
38
|
+
/** Portfolio company names matched by brand, legal name, or canonical identity; returns their investors with investedRound, when supplied, bound to the same company transaction regardless of its age. */
|
|
38
39
|
investedCompanyName: z.array(z.string()).optional(),
|
|
39
|
-
/** 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;
|
|
40
|
+
/** 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; the same deal must match investedIndustry and, when investedCompanyName is empty, investedRound. */
|
|
40
41
|
investedCountry: z.array(z.string()).optional(),
|
|
41
|
-
/** Industry terms for the companies an investor backed, such as Software, Artificial Intelligence, or Fintech; a term matches a portfolio company whose industry or industry classification name contains it as whole words, case-insensitively. Restricts returned entities to investors with such a deal inside the investment-activity horizon; with investedRound, the same deal must match both. */
|
|
42
|
+
/** Industry terms for the companies an investor backed, such as Software, Artificial Intelligence, or Fintech; a term matches a portfolio company whose industry or industry classification name contains it as whole words, case-insensitively. Restricts returned entities to investors with such a deal inside the investment-activity horizon; with investedRound and no investedCompanyName, the same deal must match both. */
|
|
42
43
|
investedIndustry: z.array(z.string()).optional(),
|
|
43
|
-
/** Round labels of
|
|
44
|
+
/** Round labels of deals an investor joined, such as Seed or Series A; with investedCompanyName matches those companies' transactions regardless of age, otherwise matches deals inside the investment-activity horizon. */
|
|
44
45
|
investedRound: z.array(z.string()).optional(),
|
|
45
46
|
/** Aggregate investor activity filters. */
|
|
46
47
|
investorActivity: InvestorActivityFilterSchema.optional(),
|
|
47
48
|
/** Investor names. Each matches an investor entity whose brand, legal name, or alias equals it ignoring case and punctuation, or an individual investor's exact full name; a name that begins public entities' brands as whole words ("Sequoia") also matches the one holding many times the recorded investments of every other such entity (Sequoia Capital). Restricts returned entities to companies with a fundraise that investor joined. */
|
|
48
49
|
investorName: z.array(z.string()).optional(),
|
|
50
|
+
/** How investorName names combine: any (default) returns companies one named investor backed; every returns companies every named investor backed, each in any of the company's fundraises. */
|
|
51
|
+
investorNameMatch: InvestorNameMatchModeSchema.nullish(),
|
|
49
52
|
/** Last-round-year ranges for each entity's most recent fundraise round. */
|
|
50
53
|
lastRoundYearRange: z.array(IntRangeSchema).optional(),
|
|
51
|
-
/** True ranks returned investors by recent deal activity ahead of any sort: each deal
|
|
54
|
+
/** True ranks returned investors by recent deal activity ahead of any sort: each deal matching investedIndustry, investedCountry, and (when investedCompanyName is empty) investedRound adds a weight that decays to zero over the investment-activity horizon, nudged by the investor's known USD check. Restricts returned entities to investors with such a deal. */
|
|
52
55
|
rankByInvestmentActivity: z.boolean().nullish(),
|
|
53
56
|
/** Fundraise round labels, such as Seed or Series A. */
|
|
54
57
|
round: z.array(z.string()).optional(),
|
|
@@ -97,6 +97,10 @@ export declare const EntityListFilterSchema: z.ZodObject<{
|
|
|
97
97
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
98
98
|
}, z.core.$strip>>;
|
|
99
99
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
101
|
+
any: "any";
|
|
102
|
+
every: "every";
|
|
103
|
+
}>>>;
|
|
100
104
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
101
105
|
max?: number | null | undefined;
|
|
102
106
|
min?: number | null | undefined;
|
|
@@ -78,6 +78,10 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
78
78
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
79
79
|
}, z.core.$strip>>;
|
|
80
80
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
81
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
82
|
+
any: "any";
|
|
83
|
+
every: "every";
|
|
84
|
+
}>>>;
|
|
81
85
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
82
86
|
max?: number | null | undefined;
|
|
83
87
|
min?: number | null | undefined;
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { z } from "zod/v4";
|
|
2
|
+
/**
|
|
3
|
+
* Constraints on one independent entity-person association.
|
|
4
|
+
*
|
|
5
|
+
* @openapiSchema EntityPersonAssociationFilter
|
|
6
|
+
* @endpoint GET /v1/search/link
|
|
7
|
+
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
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/directory/shared
|
|
12
|
+
* @endpoint POST /v1/people/search
|
|
13
|
+
* @endpoint POST /v1/search
|
|
14
|
+
* @endpoint POST /v1/search/natural/people
|
|
15
|
+
* @endpoint POST /v1/search/shared
|
|
16
|
+
* @usedBySchema PersonFilterSchema
|
|
17
|
+
* @contractShape entity.person-association-filter
|
|
18
|
+
* @contractRole canonical
|
|
19
|
+
*/
|
|
20
|
+
export declare const EntityPersonAssociationFilterSchema: z.ZodObject<{
|
|
21
|
+
entityFilter: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23
|
+
acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
|
+
acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
|
+
acceleratorStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
closedLast: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
29
|
+
max?: number | null | undefined;
|
|
30
|
+
min?: number | null | undefined;
|
|
31
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
32
|
+
max?: number | null | undefined;
|
|
33
|
+
min?: number | null | undefined;
|
|
34
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
35
|
+
entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
36
|
+
entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
+
featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
38
|
+
fundraiseActivity: z.ZodOptional<z.ZodObject<{
|
|
39
|
+
amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
40
|
+
max?: number | null | undefined;
|
|
41
|
+
min?: number | null | undefined;
|
|
42
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
43
|
+
max?: number | null | undefined;
|
|
44
|
+
min?: number | null | undefined;
|
|
45
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
46
|
+
amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
47
|
+
max?: number | null | undefined;
|
|
48
|
+
min?: number | null | undefined;
|
|
49
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
50
|
+
max?: number | null | undefined;
|
|
51
|
+
min?: number | null | undefined;
|
|
52
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
53
|
+
dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
54
|
+
max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
55
|
+
min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
56
|
+
}, z.core.$strip>>>;
|
|
57
|
+
investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
+
investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
+
investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
+
investorActivity: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
63
|
+
max?: number | null | undefined;
|
|
64
|
+
min?: number | null | undefined;
|
|
65
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
66
|
+
max?: number | null | undefined;
|
|
67
|
+
min?: number | null | undefined;
|
|
68
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
69
|
+
largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
70
|
+
max?: number | null | undefined;
|
|
71
|
+
min?: number | null | undefined;
|
|
72
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
73
|
+
max?: number | null | undefined;
|
|
74
|
+
min?: number | null | undefined;
|
|
75
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
76
|
+
smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
77
|
+
max?: number | null | undefined;
|
|
78
|
+
min?: number | null | undefined;
|
|
79
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
80
|
+
max?: number | null | undefined;
|
|
81
|
+
min?: number | null | undefined;
|
|
82
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
83
|
+
totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
84
|
+
max?: number | null | undefined;
|
|
85
|
+
min?: number | null | undefined;
|
|
86
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
87
|
+
max?: number | null | undefined;
|
|
88
|
+
min?: number | null | undefined;
|
|
89
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
90
|
+
totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
91
|
+
max?: number | null | undefined;
|
|
92
|
+
min?: number | null | undefined;
|
|
93
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
94
|
+
max?: number | null | undefined;
|
|
95
|
+
min?: number | null | undefined;
|
|
96
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
97
|
+
}, z.core.$strip>>;
|
|
98
|
+
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
99
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
100
|
+
any: "any";
|
|
101
|
+
every: "every";
|
|
102
|
+
}>>>;
|
|
103
|
+
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
104
|
+
max?: number | null | undefined;
|
|
105
|
+
min?: number | null | undefined;
|
|
106
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
107
|
+
max?: number | null | undefined;
|
|
108
|
+
min?: number | null | undefined;
|
|
109
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
110
|
+
rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
111
|
+
round: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
112
|
+
totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
113
|
+
max?: number | null | undefined;
|
|
114
|
+
min?: number | null | undefined;
|
|
115
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
116
|
+
max?: number | null | undefined;
|
|
117
|
+
min?: number | null | undefined;
|
|
118
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
119
|
+
valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
120
|
+
max?: number | null | undefined;
|
|
121
|
+
min?: number | null | undefined;
|
|
122
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
123
|
+
max?: number | null | undefined;
|
|
124
|
+
min?: number | null | undefined;
|
|
125
|
+
}, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
128
|
+
headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
129
|
+
headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
131
|
+
industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
132
|
+
letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
|
+
location: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
134
|
+
logoOption: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
sortPriority: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
ANY_LOGO_FIRST: "ANY_LOGO_FIRST";
|
|
137
|
+
NONE: "NONE";
|
|
138
|
+
REAL_LOGO_FIRST: "REAL_LOGO_FIRST";
|
|
139
|
+
}>>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
141
|
+
mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
|
+
operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
143
|
+
Acquired: "Acquired";
|
|
144
|
+
"Acquired Subsidiary": "Acquired Subsidiary";
|
|
145
|
+
Closed: "Closed";
|
|
146
|
+
"Closed (Acquihire)": "Closed (Acquihire)";
|
|
147
|
+
Inactive: "Inactive";
|
|
148
|
+
Operating: "Operating";
|
|
149
|
+
}>>>;
|
|
150
|
+
originCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
151
|
+
person: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
+
qualityGate: z.ZodOptional<z.ZodEnum<{
|
|
156
|
+
COMPANY_LISTING_READY: "COMPANY_LISTING_READY";
|
|
157
|
+
NONE: "NONE";
|
|
158
|
+
}>>;
|
|
159
|
+
rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
160
|
+
slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
161
|
+
stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
|
+
suppressLateStage: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
163
|
+
suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
164
|
+
suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
165
|
+
tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
166
|
+
textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
167
|
+
typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
168
|
+
typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
169
|
+
typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
170
|
+
typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
171
|
+
"Business Line": "Business Line";
|
|
172
|
+
Company: "Company";
|
|
173
|
+
Fund: "Fund";
|
|
174
|
+
Government: "Government";
|
|
175
|
+
"Investment Firm": "Investment Firm";
|
|
176
|
+
Nonprofit: "Nonprofit";
|
|
177
|
+
Organization: "Organization";
|
|
178
|
+
Product: "Product";
|
|
179
|
+
Service: "Service";
|
|
180
|
+
}>>>;
|
|
181
|
+
typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
183
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
185
|
+
urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
186
|
+
domain: "domain";
|
|
187
|
+
hostPath: "hostPath";
|
|
188
|
+
}>>>;
|
|
189
|
+
urlType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
190
|
+
yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
191
|
+
max?: number | null | undefined;
|
|
192
|
+
min?: number | null | undefined;
|
|
193
|
+
}, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
|
|
194
|
+
max?: number | null | undefined;
|
|
195
|
+
min?: number | null | undefined;
|
|
196
|
+
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
197
|
+
}, z.core.$strict>>>;
|
|
198
|
+
isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
199
|
+
personTitle: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
200
|
+
}, z.core.$strip>;
|
|
201
|
+
export type EntityPersonAssociationFilter = z.infer<typeof EntityPersonAssociationFilterSchema>;
|
|
202
|
+
//# sourceMappingURL=person-association-filter.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { EntityFilterSchema } from "./filter.js";
|
|
4
|
+
/**
|
|
5
|
+
* Constraints on one independent entity-person association.
|
|
6
|
+
*
|
|
7
|
+
* @openapiSchema EntityPersonAssociationFilter
|
|
8
|
+
* @endpoint GET /v1/search/link
|
|
9
|
+
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
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/directory/shared
|
|
14
|
+
* @endpoint POST /v1/people/search
|
|
15
|
+
* @endpoint POST /v1/search
|
|
16
|
+
* @endpoint POST /v1/search/natural/people
|
|
17
|
+
* @endpoint POST /v1/search/shared
|
|
18
|
+
* @usedBySchema PersonFilterSchema
|
|
19
|
+
* @contractShape entity.person-association-filter
|
|
20
|
+
* @contractRole canonical
|
|
21
|
+
*/
|
|
22
|
+
export const EntityPersonAssociationFilterSchema = z.object({
|
|
23
|
+
/** Constraints on the associated entity, including its exact names. */
|
|
24
|
+
entityFilter: EntityFilterSchema.nullish(),
|
|
25
|
+
/** Filter this association by whether it is current. */
|
|
26
|
+
isCurrent: z.boolean().nullish(),
|
|
27
|
+
/** Titles on this association. */
|
|
28
|
+
personTitle: z.array(z.string()).optional(),
|
|
29
|
+
});
|
|
30
|
+
//# sourceMappingURL=person-association-filter.js.map
|
|
@@ -6,6 +6,7 @@ import { z } from "zod/v4";
|
|
|
6
6
|
* @endpoint GET /v1/entities
|
|
7
7
|
* @endpoint GET /v1/entities/brand
|
|
8
8
|
* @endpoint GET /v1/entities/lookup-exact
|
|
9
|
+
* @endpoint GET /v1/people
|
|
9
10
|
* @endpoint GET /v1/people/lookup-exact
|
|
10
11
|
* @endpoint GET /v1/search/link
|
|
11
12
|
* @endpoint GET /v1/directory/shared/slug/{slug}
|
package/dist/entity/url-type.js
CHANGED
|
@@ -7,6 +7,7 @@ import { z } from "zod/v4";
|
|
|
7
7
|
* @endpoint GET /v1/entities
|
|
8
8
|
* @endpoint GET /v1/entities/brand
|
|
9
9
|
* @endpoint GET /v1/entities/lookup-exact
|
|
10
|
+
* @endpoint GET /v1/people
|
|
10
11
|
* @endpoint GET /v1/people/lookup-exact
|
|
11
12
|
* @endpoint GET /v1/search/link
|
|
12
13
|
* @endpoint GET /v1/directory/shared/slug/{slug}
|
|
@@ -84,6 +84,10 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
84
84
|
}, import("../int/range.ts").IntRangeSchemaInput>>>>;
|
|
85
85
|
}, z.core.$strip>>;
|
|
86
86
|
investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
87
|
+
investorNameMatch: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
88
|
+
any: "any";
|
|
89
|
+
every: "every";
|
|
90
|
+
}>>>;
|
|
87
91
|
lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
|
|
88
92
|
max?: number | null | undefined;
|
|
89
93
|
min?: number | null | undefined;
|