@aventurevc/api-schemas 0.8.94 → 0.8.96

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.
@@ -36,6 +36,7 @@ declare const EntityFilterSearchSchemaDefinition: z.ZodObject<{
36
36
  min?: number | null | undefined;
37
37
  }, unknown>>>>;
38
38
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
40
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
40
41
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
41
42
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -46,6 +46,7 @@ export declare const EntityFilterSchema: z.ZodObject<{
46
46
  min?: number | null | undefined;
47
47
  }, unknown>>>>;
48
48
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
50
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
51
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
51
52
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -34,6 +34,7 @@ export declare const EntityFundraiseFilterCriteriaSchema: z.ZodObject<{
34
34
  min?: number | null | undefined;
35
35
  }, unknown>>>>;
36
36
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
38
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
39
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
40
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -29,17 +29,19 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
29
29
  amountRaisedRange: z.array(DecimalRangeSchema).optional(),
30
30
  /** 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
31
  investedCompanyName: z.array(z.string()).optional(),
32
+ /** 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. */
33
+ investedCountry: z.array(z.string()).optional(),
32
34
  /** 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. */
33
35
  investedIndustry: z.array(z.string()).optional(),
34
36
  /** Round labels of the deals an investor joined, such as Seed, Pre-Seed, or Series A; restricts returned entities to investors with such a deal inside the investment-activity horizon. */
35
37
  investedRound: z.array(z.string()).optional(),
36
38
  /** Aggregate investor activity filters. */
37
39
  investorActivity: InvestorActivityFilterSchema.optional(),
38
- /** Investor names. Exact, case-sensitive match on the investor's brand or legal name; restricts returned entities to companies with a fundraise that investor joined. */
40
+ /** Investor names. Exact, case-sensitive match on an investor entity's brand or legal name or an individual investor's full name; restricts returned entities to companies with a fundraise that investor joined. */
39
41
  investorName: z.array(z.string()).optional(),
40
42
  /** Last-round-year ranges for each entity's most recent fundraise round. */
41
43
  lastRoundYearRange: z.array(IntRangeSchema).optional(),
42
- /** True ranks returned investors by recent deal activity ahead of any sort: each deal inside investedRound and investedIndustry (every deal when both are empty) 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. */
44
+ /** True ranks returned investors by recent deal activity ahead of any sort: each deal inside investedRound, investedIndustry, and investedCountry (every deal when all are empty) 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. */
43
45
  rankByInvestmentActivity: z.boolean().nullish(),
44
46
  /** Fundraise round labels, such as Seed or Series A. */
45
47
  round: z.array(z.string()).optional(),
@@ -32,6 +32,7 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
32
32
  min?: number | null | undefined;
33
33
  }, unknown>>>>;
34
34
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
36
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
37
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
38
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -33,6 +33,7 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
33
33
  min?: number | null | undefined;
34
34
  }, unknown>>>>;
35
35
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
37
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
38
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
39
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -38,6 +38,7 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
38
38
  min?: number | null | undefined;
39
39
  }, unknown>>>>;
40
40
  investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
41
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
41
42
  investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
42
43
  investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
44
  investorActivity: z.ZodOptional<z.ZodObject<{
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
3
+ answerUnavailable: z.ZodBoolean;
3
4
  entity: z.ZodType<{
4
5
  modeRequested: string;
5
6
  modeUsed: string;
@@ -3,6 +3,8 @@ import { z } from "zod/v4";
3
3
  import { FederatedSearchRejectionSchema } from "./search-rejection.js";
4
4
  import { SearchModeExecutionSchema } from "../search/mode-execution.js";
5
5
  const FederatedSearchProvenanceSchemaDefinition = z.object({
6
+ /** True when synthesis was requested but the answer model was temporarily unavailable (an upstream outage, open circuit, full concurrency limit, or expired deadline), so the entity scope carries no answer while every scope's rows returned. Retrying the same query may succeed. */
7
+ answerUnavailable: z.boolean(),
6
8
  /** Entity search strategy execution. */
7
9
  entity: SearchModeExecutionSchema,
8
10
  /** News search strategy execution. */
@@ -51,6 +51,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
51
51
  min?: number | null | undefined;
52
52
  }[] | undefined;
53
53
  investedCompanyName?: string[] | undefined;
54
+ investedCountry?: string[] | undefined;
54
55
  investedIndustry?: string[] | undefined;
55
56
  investedRound?: string[] | undefined;
56
57
  investorActivity?: {
@@ -2291,6 +2292,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2291
2292
  min?: number | null | undefined;
2292
2293
  }[] | undefined;
2293
2294
  investedCompanyName?: string[] | undefined;
2295
+ investedCountry?: string[] | undefined;
2294
2296
  investedIndustry?: string[] | undefined;
2295
2297
  investedRound?: string[] | undefined;
2296
2298
  investorActivity?: {
@@ -7504,6 +7506,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7504
7506
  }[];
7505
7507
  }, unknown>>>;
7506
7508
  provenance: z.ZodType<{
7509
+ answerUnavailable: boolean;
7507
7510
  entity: {
7508
7511
  modeRequested: string;
7509
7512
  modeUsed: string;
@@ -7523,6 +7526,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7523
7526
  }[];
7524
7527
  unavailable: ("entity" | "news" | "person")[];
7525
7528
  }, unknown, z.core.$ZodTypeInternals<{
7529
+ answerUnavailable: boolean;
7526
7530
  entity: {
7527
7531
  modeRequested: string;
7528
7532
  modeUsed: string;
@@ -53,6 +53,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
53
53
  min?: number | null | undefined;
54
54
  }[] | undefined;
55
55
  investedCompanyName?: string[] | undefined;
56
+ investedCountry?: string[] | undefined;
56
57
  investedIndustry?: string[] | undefined;
57
58
  investedRound?: string[] | undefined;
58
59
  investorActivity?: {
@@ -3773,6 +3774,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
3773
3774
  }[];
3774
3775
  }[];
3775
3776
  provenance: {
3777
+ answerUnavailable: boolean;
3776
3778
  entity: {
3777
3779
  modeRequested: string;
3778
3780
  modeUsed: string;
@@ -3844,6 +3846,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
3844
3846
  min?: number | null | undefined;
3845
3847
  }[] | undefined;
3846
3848
  investedCompanyName?: string[] | undefined;
3849
+ investedCountry?: string[] | undefined;
3847
3850
  investedIndustry?: string[] | undefined;
3848
3851
  investedRound?: string[] | undefined;
3849
3852
  investorActivity?: {
@@ -7564,6 +7567,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
7564
7567
  }[];
7565
7568
  }[];
7566
7569
  provenance: {
7570
+ answerUnavailable: boolean;
7567
7571
  entity: {
7568
7572
  modeRequested: string;
7569
7573
  modeUsed: string;
@@ -66,6 +66,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
66
66
  min?: number | null | undefined;
67
67
  }[] | undefined;
68
68
  investedCompanyName?: string[] | undefined;
69
+ investedCountry?: string[] | undefined;
69
70
  investedIndustry?: string[] | undefined;
70
71
  investedRound?: string[] | undefined;
71
72
  investorActivity?: {
@@ -187,6 +188,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
187
188
  min?: number | null | undefined;
188
189
  }[] | undefined;
189
190
  investedCompanyName?: string[] | undefined;
191
+ investedCountry?: string[] | undefined;
190
192
  investedIndustry?: string[] | undefined;
191
193
  investedRound?: string[] | undefined;
192
194
  investorActivity?: {
@@ -37,6 +37,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
37
37
  min?: number | null | undefined;
38
38
  }[] | undefined;
39
39
  investedCompanyName?: string[] | undefined;
40
+ investedCountry?: string[] | undefined;
40
41
  investedIndustry?: string[] | undefined;
41
42
  investedRound?: string[] | undefined;
42
43
  investorActivity?: {
@@ -139,6 +140,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
139
140
  min?: number | null | undefined;
140
141
  }[] | undefined;
141
142
  investedCompanyName?: string[] | undefined;
143
+ investedCountry?: string[] | undefined;
142
144
  investedIndustry?: string[] | undefined;
143
145
  investedRound?: string[] | undefined;
144
146
  investorActivity?: {
@@ -10,7 +10,7 @@ const SearchInterpretationSchemaDefinition = z.object({
10
10
  confidence: ConfidenceSchema,
11
11
  /** Requested and executed search strategy. */
12
12
  execution: SearchModeExecutionSchema,
13
- /** True when the semantic fallback replaced an untranslatable planner result with a semantic search over the original query. */
13
+ /** True when the semantic fallback replaced an untranslatable planner result with a semantic search over the original query, or when a plan that matched no entity was relaxed into one that did. */
14
14
  fallbackUsed: z.boolean(),
15
15
  /** Canonical entity filter generated from the natural-language query. */
16
16
  filter: EntityListFilterSchema,
@@ -22,7 +22,7 @@ const SearchInterpretationSchemaDefinition = z.object({
22
22
  sort: SearchOrderingEntityFilterSortableSchema,
23
23
  /** Brand or legal names of the entities the question is about, as written in the query; empty for discovery questions. */
24
24
  subjectEntityName: z.array(z.string()),
25
- /** Constraint the planner could not translate into the canonical EntityFilter contract; null when every material constraint was supported. */
25
+ /** Constraint the planner could not translate into the canonical EntityFilter contract, and the planned constraints a zero-row search relaxed; null when every material constraint was supported and applied. */
26
26
  unsupported: z.string().nullish(),
27
27
  });
28
28
  /**
@@ -63,6 +63,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
63
63
  min?: number | null | undefined;
64
64
  }[] | undefined;
65
65
  investedCompanyName?: string[] | undefined;
66
+ investedCountry?: string[] | undefined;
66
67
  investedIndustry?: string[] | undefined;
67
68
  investedRound?: string[] | undefined;
68
69
  investorActivity?: {
@@ -3783,6 +3784,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
3783
3784
  }[];
3784
3785
  }[];
3785
3786
  provenance: {
3787
+ answerUnavailable: boolean;
3786
3788
  entity: {
3787
3789
  modeRequested: string;
3788
3790
  modeUsed: string;
@@ -3854,6 +3856,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
3854
3856
  min?: number | null | undefined;
3855
3857
  }[] | undefined;
3856
3858
  investedCompanyName?: string[] | undefined;
3859
+ investedCountry?: string[] | undefined;
3857
3860
  investedIndustry?: string[] | undefined;
3858
3861
  investedRound?: string[] | undefined;
3859
3862
  investorActivity?: {
@@ -7574,6 +7577,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
7574
7577
  }[];
7575
7578
  }[];
7576
7579
  provenance: {
7580
+ answerUnavailable: boolean;
7577
7581
  entity: {
7578
7582
  modeRequested: string;
7579
7583
  modeUsed: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.94",
3
+ "version": "0.8.96",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",