@aventurevc/api-schemas 0.8.411 → 0.8.413
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Result section a search page renders: people;
|
|
3
|
+
* Result section a search page renders: people; operating companies and business lines; other organizations (nonprofits and governments); products and services; investment firms; or funds. Legacy company aggregates operating companies, business lines, nonprofits, and governments; legacy investor aggregates investment firms and funds. Neither legacy aggregate is emitted in section order.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema FederatedSearchSection
|
|
6
6
|
* @endpoint GET /v1/search/link
|
|
@@ -15,13 +15,21 @@ import { z } from "zod/v4";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const FederatedSearchSectionSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
17
17
|
company: "company";
|
|
18
|
+
fund: "fund";
|
|
19
|
+
investmentFirm: "investmentFirm";
|
|
18
20
|
investor: "investor";
|
|
21
|
+
operatingCompany: "operatingCompany";
|
|
22
|
+
otherOrganization: "otherOrganization";
|
|
19
23
|
person: "person";
|
|
20
24
|
productService: "productService";
|
|
21
25
|
}>, z.ZodString]> & {
|
|
22
26
|
enum: {
|
|
23
27
|
company: "company";
|
|
28
|
+
fund: "fund";
|
|
29
|
+
investmentFirm: "investmentFirm";
|
|
24
30
|
investor: "investor";
|
|
31
|
+
operatingCompany: "operatingCompany";
|
|
32
|
+
otherOrganization: "otherOrganization";
|
|
25
33
|
person: "person";
|
|
26
34
|
productService: "productService";
|
|
27
35
|
};
|
|
@@ -5,9 +5,13 @@ const FederatedSearchSectionSchemaKnownMembers = z.enum([
|
|
|
5
5
|
"company",
|
|
6
6
|
"productService",
|
|
7
7
|
"investor",
|
|
8
|
+
"operatingCompany",
|
|
9
|
+
"otherOrganization",
|
|
10
|
+
"investmentFirm",
|
|
11
|
+
"fund",
|
|
8
12
|
]);
|
|
9
13
|
/**
|
|
10
|
-
* Result section a search page renders: people;
|
|
14
|
+
* Result section a search page renders: people; operating companies and business lines; other organizations (nonprofits and governments); products and services; investment firms; or funds. Legacy company aggregates operating companies, business lines, nonprofits, and governments; legacy investor aggregates investment firms and funds. Neither legacy aggregate is emitted in section order.
|
|
11
15
|
*
|
|
12
16
|
* @openapiSchema FederatedSearchSection
|
|
13
17
|
* @endpoint GET /v1/search/link
|
|
@@ -14558,13 +14558,21 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
14558
14558
|
}, z.core.$strip>>>;
|
|
14559
14559
|
section: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
14560
14560
|
company: "company";
|
|
14561
|
+
fund: "fund";
|
|
14562
|
+
investmentFirm: "investmentFirm";
|
|
14561
14563
|
investor: "investor";
|
|
14564
|
+
operatingCompany: "operatingCompany";
|
|
14565
|
+
otherOrganization: "otherOrganization";
|
|
14562
14566
|
person: "person";
|
|
14563
14567
|
productService: "productService";
|
|
14564
14568
|
}>, z.ZodString]> & {
|
|
14565
14569
|
enum: {
|
|
14566
14570
|
company: "company";
|
|
14571
|
+
fund: "fund";
|
|
14572
|
+
investmentFirm: "investmentFirm";
|
|
14567
14573
|
investor: "investor";
|
|
14574
|
+
operatingCompany: "operatingCompany";
|
|
14575
|
+
otherOrganization: "otherOrganization";
|
|
14568
14576
|
person: "person";
|
|
14569
14577
|
productService: "productService";
|
|
14570
14578
|
};
|
package/dist/federated/search.js
CHANGED
|
@@ -28,7 +28,7 @@ const FederatedSearchSchemaDefinition = z.object({
|
|
|
28
28
|
provenance: FederatedSearchProvenanceSchema,
|
|
29
29
|
/** A prompt with rewritten queries offered beside a broad query's results, from the search catalog revision the search read; null when no qualifier rule matches. */
|
|
30
30
|
qualifier: SearchQualifierSchema.nullish(),
|
|
31
|
-
/** Result sections from most to least relevant. People lead when `personLead` is true and come last otherwise.
|
|
31
|
+
/** Result sections from most to least relevant. People lead when `personLead` is true and come last otherwise. An executed entity type scope leads only when all its expanded types select one section. Remaining sections follow their best entity row's rank, then missing sections follow in Companies, Other Organizations, Products and Services, Investment Firms, Funds order. Legacy company and investor aggregates are not emitted. */
|
|
32
32
|
section: z.array(FederatedSearchSectionSchema).optional(),
|
|
33
33
|
});
|
|
34
34
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { UniqueIdOwnerScopeSchema } from "./id-owner-scope.js";
|
|
4
4
|
const UniqueIdTypeAliasSchemaDefinition = z.object({
|
|
5
|
-
/** Other spellings
|
|
5
|
+
/** Other catalog-recognized spellings for this identifier type. */
|
|
6
6
|
alias: z.array(z.string()),
|
|
7
|
-
/**
|
|
7
|
+
/** Canonical catalog identifier. Public reads and writes admit only types enabled for the public API. */
|
|
8
8
|
canonical: z.string(),
|
|
9
9
|
/** Human-readable label. */
|
|
10
10
|
label: z.string(),
|