@aventurevc/api-schemas 0.8.232 → 0.8.234
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/entity/provider.d.ts +1 -1
- package/dist/entity/provider.js +1 -1
- package/dist/federated/search.d.ts +6 -0
- package/dist/link/search.d.ts +6 -0
- package/dist/natural/search-result.d.ts +1 -0
- package/dist/natural/search-result.js +2 -0
- package/dist/person/natural-search-result.d.ts +3 -0
- package/dist/person/natural-search-result.js +2 -0
- package/dist/person/search-interpretation.d.ts +1 -0
- package/dist/person/search-interpretation.js +3 -1
- package/dist/search/person-profile.js +1 -1
- package/dist/shared/search.d.ts +6 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* The current entity a fund or product/service is offered by: a fund's manager
|
|
3
|
+
* The current entity a fund or product/service is offered by: a fund's manager organization, a product/service's provider, through its current primary edge to a live, listed provider. Null on every other entity type.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema EntityProvider
|
|
6
6
|
* @endpoint GET /v1/entities
|
package/dist/entity/provider.js
CHANGED
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { AddressSchema } from "../address/address.js";
|
|
4
4
|
import { EntitySchema } from "./entity.js";
|
|
5
5
|
/**
|
|
6
|
-
* The current entity a fund or product/service is offered by: a fund's manager
|
|
6
|
+
* The current entity a fund or product/service is offered by: a fund's manager organization, a product/service's provider, through its current primary edge to a live, listed provider. Null on every other entity type.
|
|
7
7
|
*
|
|
8
8
|
* @openapiSchema EntityProvider
|
|
9
9
|
* @endpoint GET /v1/entities
|
|
@@ -916,6 +916,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
916
916
|
};
|
|
917
917
|
}[];
|
|
918
918
|
pendingWebQuery: string[];
|
|
919
|
+
personLead: boolean;
|
|
919
920
|
result: {
|
|
920
921
|
content: {
|
|
921
922
|
core: {
|
|
@@ -2931,6 +2932,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2931
2932
|
};
|
|
2932
2933
|
}[];
|
|
2933
2934
|
pendingWebQuery: string[];
|
|
2935
|
+
personLead: boolean;
|
|
2934
2936
|
result: {
|
|
2935
2937
|
content: {
|
|
2936
2938
|
core: {
|
|
@@ -6940,6 +6942,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
6940
6942
|
person: z.ZodType<{
|
|
6941
6943
|
interpretation: {
|
|
6942
6944
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
6945
|
+
employerSemanticQuery?: string | null | undefined;
|
|
6943
6946
|
execution: {
|
|
6944
6947
|
modeRequested: string;
|
|
6945
6948
|
modeUsed: string;
|
|
@@ -7272,6 +7275,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7272
7275
|
sourceType: string;
|
|
7273
7276
|
} | null | undefined;
|
|
7274
7277
|
}[];
|
|
7278
|
+
personLead: boolean;
|
|
7275
7279
|
profile: {
|
|
7276
7280
|
currentCompany?: string | null | undefined;
|
|
7277
7281
|
headline?: string | null | undefined;
|
|
@@ -7334,6 +7338,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7334
7338
|
}, import("../person/natural-search-result.ts").PersonNaturalSearchResultSchemaInput, z.core.$ZodTypeInternals<{
|
|
7335
7339
|
interpretation: {
|
|
7336
7340
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
7341
|
+
employerSemanticQuery?: string | null | undefined;
|
|
7337
7342
|
execution: {
|
|
7338
7343
|
modeRequested: string;
|
|
7339
7344
|
modeUsed: string;
|
|
@@ -7666,6 +7671,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
7666
7671
|
sourceType: string;
|
|
7667
7672
|
} | null | undefined;
|
|
7668
7673
|
}[];
|
|
7674
|
+
personLead: boolean;
|
|
7669
7675
|
profile: {
|
|
7670
7676
|
currentCompany?: string | null | undefined;
|
|
7671
7677
|
headline?: string | null | undefined;
|
package/dist/link/search.d.ts
CHANGED
|
@@ -918,6 +918,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
918
918
|
};
|
|
919
919
|
}[];
|
|
920
920
|
pendingWebQuery: string[];
|
|
921
|
+
personLead: boolean;
|
|
921
922
|
result: {
|
|
922
923
|
content: {
|
|
923
924
|
core: {
|
|
@@ -3516,6 +3517,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3516
3517
|
person: {
|
|
3517
3518
|
interpretation: {
|
|
3518
3519
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3520
|
+
employerSemanticQuery?: string | null | undefined;
|
|
3519
3521
|
execution: {
|
|
3520
3522
|
modeRequested: string;
|
|
3521
3523
|
modeUsed: string;
|
|
@@ -3848,6 +3850,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3848
3850
|
sourceType: string;
|
|
3849
3851
|
} | null | undefined;
|
|
3850
3852
|
}[];
|
|
3853
|
+
personLead: boolean;
|
|
3851
3854
|
profile: {
|
|
3852
3855
|
currentCompany?: string | null | undefined;
|
|
3853
3856
|
headline?: string | null | undefined;
|
|
@@ -5666,6 +5669,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
5666
5669
|
};
|
|
5667
5670
|
}[];
|
|
5668
5671
|
pendingWebQuery: string[];
|
|
5672
|
+
personLead: boolean;
|
|
5669
5673
|
result: {
|
|
5670
5674
|
content: {
|
|
5671
5675
|
core: {
|
|
@@ -8264,6 +8268,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
8264
8268
|
person: {
|
|
8265
8269
|
interpretation: {
|
|
8266
8270
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
8271
|
+
employerSemanticQuery?: string | null | undefined;
|
|
8267
8272
|
execution: {
|
|
8268
8273
|
modeRequested: string;
|
|
8269
8274
|
modeUsed: string;
|
|
@@ -8596,6 +8601,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
8596
8601
|
sourceType: string;
|
|
8597
8602
|
} | null | undefined;
|
|
8598
8603
|
}[];
|
|
8604
|
+
personLead: boolean;
|
|
8599
8605
|
profile: {
|
|
8600
8606
|
currentCompany?: string | null | undefined;
|
|
8601
8607
|
headline?: string | null | undefined;
|
|
@@ -1816,6 +1816,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1816
1816
|
};
|
|
1817
1817
|
}, import("../entity/similarity-result.ts").EntitySimilarityResultSchemaInput>>>;
|
|
1818
1818
|
pendingWebQuery: z.ZodArray<z.ZodString>;
|
|
1819
|
+
personLead: z.ZodBoolean;
|
|
1819
1820
|
result: z.ZodType<{
|
|
1820
1821
|
content: {
|
|
1821
1822
|
core: {
|
|
@@ -26,6 +26,8 @@ const NaturalSearchResultSchemaDefinition = z.object({
|
|
|
26
26
|
peer: z.array(EntitySimilarityResultSchema),
|
|
27
27
|
/** Web searches for this question not yet stored; their evidence joins a later request. Empty without the `web` layer. */
|
|
28
28
|
pendingWebQuery: z.array(z.string()),
|
|
29
|
+
/** Whether people lead this search, stamped only on entity stream events. */
|
|
30
|
+
personLead: z.boolean(),
|
|
29
31
|
/** Entity list page returned by the canonical entity list engine. */
|
|
30
32
|
result: PageResultEntityListSchema,
|
|
31
33
|
/** Id of this search's stored record. Null when the search was not recorded. */
|
|
@@ -2,6 +2,7 @@ import { z } from "zod/v4";
|
|
|
2
2
|
declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
3
3
|
interpretation: z.ZodType<{
|
|
4
4
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
5
|
+
employerSemanticQuery?: string | null | undefined;
|
|
5
6
|
execution: {
|
|
6
7
|
modeRequested: string;
|
|
7
8
|
modeUsed: string;
|
|
@@ -186,6 +187,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
186
187
|
unsupported?: string | null | undefined;
|
|
187
188
|
}, import("./search-interpretation.ts").PersonSearchInterpretationSchemaInput, z.core.$ZodTypeInternals<{
|
|
188
189
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
190
|
+
employerSemanticQuery?: string | null | undefined;
|
|
189
191
|
execution: {
|
|
190
192
|
modeRequested: string;
|
|
191
193
|
modeUsed: string;
|
|
@@ -666,6 +668,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
666
668
|
sourceType: string;
|
|
667
669
|
} | null | undefined;
|
|
668
670
|
}, import("../search/investment.ts").SearchInvestmentSchemaInput>>>;
|
|
671
|
+
personLead: z.ZodBoolean;
|
|
669
672
|
profile: z.ZodArray<z.ZodType<{
|
|
670
673
|
currentCompany?: string | null | undefined;
|
|
671
674
|
headline?: string | null | undefined;
|
|
@@ -9,6 +9,8 @@ const PersonNaturalSearchResultSchemaDefinition = z.object({
|
|
|
9
9
|
interpretation: PersonSearchInterpretationSchema,
|
|
10
10
|
/** Personal investment participation supporting the returned people. Firm portfolio activity is never attributed to employees. Empty for other question intents. */
|
|
11
11
|
investment: z.array(SearchInvestmentSchema),
|
|
12
|
+
/** Whether people are the confirmed requested focus of this search. */
|
|
13
|
+
personLead: z.boolean(),
|
|
12
14
|
/** aVenture people resolved or filed from web-discovered LinkedIn profiles whom no returned person matches, grouped by `named` in query order. A search that has not run yet runs only for a signed-in subscriber with `layer=web`. */
|
|
13
15
|
profile: z.array(SearchPersonProfileSchema),
|
|
14
16
|
/** Person page returned by the canonical person list engine. */
|
|
@@ -5,8 +5,10 @@ import { PersonFilterSchema } from "./filter.js";
|
|
|
5
5
|
import { SearchModeExecutionSchema } from "../search/mode-execution.js";
|
|
6
6
|
import { SearchOrderingPersonSortFieldSchema } from "../search/ordering-person-sort-field.js";
|
|
7
7
|
const PersonSearchInterpretationSchemaDefinition = z.object({
|
|
8
|
-
/**
|
|
8
|
+
/** Confidence in interpreting the request as this structured people query. */
|
|
9
9
|
confidence: ConfidenceSchema,
|
|
10
|
+
/** Employer-business topic resolved through entity similarity before people paging. Matching employer IDs narrow filter.entityFilter.entityId; an empty selection returns no people without removing hard constraints. Employer kinds exclude Product and Service records, which are offerings rather than employers. Personal expertise stays in filter.semanticQuery. Null when employer selection is entirely structured. */
|
|
11
|
+
employerSemanticQuery: z.string().nullish(),
|
|
10
12
|
/** Requested and executed search strategy. */
|
|
11
13
|
execution: SearchModeExecutionSchema,
|
|
12
14
|
/** True when the semantic fallback replaced an unconstrained planner result with a semantic search over the original query. */
|
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
const SearchPersonProfileSchemaDefinition = z.object({
|
|
4
4
|
/** Current company named by aVenture's stored LinkedIn capture; null until one is stored. */
|
|
5
5
|
currentCompany: z.string().nullish(),
|
|
6
|
-
/** Profile headline
|
|
6
|
+
/** Profile headline from aVenture's stored LinkedIn capture, or the web search index until a capture is stored; null when that source has no headline. */
|
|
7
7
|
headline: z.string().nullish(),
|
|
8
8
|
/** Canonical aVenture person id. */
|
|
9
9
|
id: z.uuid(),
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -929,6 +929,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
929
929
|
};
|
|
930
930
|
}[];
|
|
931
931
|
pendingWebQuery: string[];
|
|
932
|
+
personLead: boolean;
|
|
932
933
|
result: {
|
|
933
934
|
content: {
|
|
934
935
|
core: {
|
|
@@ -3527,6 +3528,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3527
3528
|
person: {
|
|
3528
3529
|
interpretation: {
|
|
3529
3530
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3531
|
+
employerSemanticQuery?: string | null | undefined;
|
|
3530
3532
|
execution: {
|
|
3531
3533
|
modeRequested: string;
|
|
3532
3534
|
modeUsed: string;
|
|
@@ -3859,6 +3861,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3859
3861
|
sourceType: string;
|
|
3860
3862
|
} | null | undefined;
|
|
3861
3863
|
}[];
|
|
3864
|
+
personLead: boolean;
|
|
3862
3865
|
profile: {
|
|
3863
3866
|
currentCompany?: string | null | undefined;
|
|
3864
3867
|
headline?: string | null | undefined;
|
|
@@ -5677,6 +5680,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
5677
5680
|
};
|
|
5678
5681
|
}[];
|
|
5679
5682
|
pendingWebQuery: string[];
|
|
5683
|
+
personLead: boolean;
|
|
5680
5684
|
result: {
|
|
5681
5685
|
content: {
|
|
5682
5686
|
core: {
|
|
@@ -8275,6 +8279,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8275
8279
|
person: {
|
|
8276
8280
|
interpretation: {
|
|
8277
8281
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
8282
|
+
employerSemanticQuery?: string | null | undefined;
|
|
8278
8283
|
execution: {
|
|
8279
8284
|
modeRequested: string;
|
|
8280
8285
|
modeUsed: string;
|
|
@@ -8607,6 +8612,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8607
8612
|
sourceType: string;
|
|
8608
8613
|
} | null | undefined;
|
|
8609
8614
|
}[];
|
|
8615
|
+
personLead: boolean;
|
|
8610
8616
|
profile: {
|
|
8611
8617
|
currentCompany?: string | null | undefined;
|
|
8612
8618
|
headline?: string | null | undefined;
|