@aventurevc/api-schemas 0.8.177 → 0.8.178

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.
Files changed (92) hide show
  1. package/dist/agent/help-question.js +1 -1
  2. package/dist/billing/catalog-plan.d.ts +10 -1
  3. package/dist/billing/checkout-mutation.d.ts +10 -1
  4. package/dist/billing/checkout.d.ts +10 -1
  5. package/dist/billing/plan-change-mutation.d.ts +10 -1
  6. package/dist/billing/plan-change.d.ts +10 -1
  7. package/dist/billing/plan-type.d.ts +10 -1
  8. package/dist/billing/plan-type.js +9 -11
  9. package/dist/billing/subscription.d.ts +20 -2
  10. package/dist/classification/classification.d.ts +6 -1
  11. package/dist/classification/inactive-tag-details.d.ts +9 -1
  12. package/dist/classification/join-registry.d.ts +6 -1
  13. package/dist/classification/join-registry.js +2 -4
  14. package/dist/content/embedding-match.d.ts +16 -1
  15. package/dist/content/source-type.d.ts +16 -1
  16. package/dist/content/source-type.js +15 -17
  17. package/dist/domain/conflict-type.d.ts +9 -1
  18. package/dist/domain/conflict-type.js +8 -10
  19. package/dist/duplicate/create-review.d.ts +9 -1
  20. package/dist/enrichment/enrichment.d.ts +8 -1
  21. package/dist/enrichment/refusal-type.d.ts +8 -1
  22. package/dist/enrichment/refusal-type.js +7 -4
  23. package/dist/entity/comparison-signals.d.ts +41 -1
  24. package/dist/entity/detail.d.ts +2 -2
  25. package/dist/entity/enrichment.d.ts +41 -1
  26. package/dist/entity/filter-sortable.d.ts +23 -1
  27. package/dist/entity/filter-sortable.js +22 -24
  28. package/dist/entity/funding-detail.d.ts +43 -1
  29. package/dist/entity/funding-detail.js +2 -0
  30. package/dist/entity/fundraise-transaction-entity.d.ts +41 -1
  31. package/dist/entity/fundraise-transaction.d.ts +41 -1
  32. package/dist/entity/investor-participation.d.ts +2 -2
  33. package/dist/entity/list-filter.d.ts +1 -1
  34. package/dist/entity/list-filter.js +2 -2
  35. package/dist/entity/list.d.ts +16 -1
  36. package/dist/entity/natural-search.d.ts +4 -0
  37. package/dist/entity/people-param.js +2 -2
  38. package/dist/entity/relationship.d.ts +41 -1
  39. package/dist/entity/resolution.d.ts +2 -2
  40. package/dist/entity/similarity-summary.d.ts +91 -1
  41. package/dist/entity/similarity-summary.js +4 -1
  42. package/dist/federated/natural-search.d.ts +22 -2
  43. package/dist/federated/natural-search.js +5 -1
  44. package/dist/federated/search.d.ts +2 -2
  45. package/dist/funding/stage.d.ts +42 -1
  46. package/dist/funding/stage.js +41 -42
  47. package/dist/harness/task-input-type.d.ts +6 -1
  48. package/dist/harness/task-input-type.js +2 -1
  49. package/dist/harness/task.d.ts +6 -1
  50. package/dist/help/citation.d.ts +11 -1
  51. package/dist/help/source-type.d.ts +11 -1
  52. package/dist/help/source-type.js +10 -12
  53. package/dist/identification/subject.js +1 -1
  54. package/dist/link/search.d.ts +2 -2
  55. package/dist/natural/search.d.ts +22 -2
  56. package/dist/natural/search.js +5 -1
  57. package/dist/news/source-url-conflict.d.ts +9 -1
  58. package/dist/pagination/schemas.d.ts +30 -6
  59. package/dist/person/graph-career-context.d.ts +41 -1
  60. package/dist/person/graph-similar-entity.d.ts +41 -1
  61. package/dist/person/natural-search.d.ts +4 -0
  62. package/dist/person/person.d.ts +16 -1
  63. package/dist/problem/type.d.ts +62 -2
  64. package/dist/problem/type.js +11 -10
  65. package/dist/prose/problem.d.ts +15 -1
  66. package/dist/prose/problem.js +14 -16
  67. package/dist/prose/violation.d.ts +15 -1
  68. package/dist/reasoning/effort.d.ts +10 -1
  69. package/dist/reasoning/effort.js +9 -4
  70. package/dist/search/answer-citation.d.ts +9 -1
  71. package/dist/search/evidence-source.d.ts +9 -1
  72. package/dist/search/evidence-source.js +8 -10
  73. package/dist/search/investment.d.ts +16 -1
  74. package/dist/search/knowledge-graph-attribute.d.ts +7 -1
  75. package/dist/search/knowledge-graph-fact.d.ts +7 -1
  76. package/dist/search/knowledge-graph-fact.js +2 -4
  77. package/dist/search/mode-execution.d.ts +20 -2
  78. package/dist/search/mode.d.ts +10 -1
  79. package/dist/search/mode.js +11 -4
  80. package/dist/search/passage.d.ts +9 -1
  81. package/dist/search/search.d.ts +7 -1
  82. package/dist/shared/search.d.ts +2 -2
  83. package/dist/sort/order-entity-filter-sortable.d.ts +23 -1
  84. package/dist/standardized/classification.d.ts +6 -1
  85. package/dist/strict/url-lookup-conflict.d.ts +9 -1
  86. package/dist/unique/id-type.d.ts +14 -2
  87. package/dist/unique/id-type.js +12 -11
  88. package/dist/unique/id.d.ts +14 -2
  89. package/dist/url/duplicate-conflict.d.ts +9 -1
  90. package/dist/web/search-provider.d.ts +7 -1
  91. package/dist/web/search-provider.js +2 -4
  92. package/package.json +1 -1
@@ -1,5 +1,26 @@
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
+ const EntityFilterSortableSchemaKnownMembers = z.enum([
4
+ "ID",
5
+ "NAME_BRAND",
6
+ "YEAR_FOUNDED",
7
+ "STATUS_OPERATING",
8
+ "UPDATED_AT",
9
+ "CREATED_AT",
10
+ "NEXT_DUE_AT",
11
+ "DATA_COMPLETION_COVERAGE",
12
+ "TOTAL_RAISED",
13
+ "AMOUNT_INVESTED",
14
+ "RECENT_INVESTMENT_AT",
15
+ "STAGE",
16
+ "MOST_RECENT_AMOUNT",
17
+ "LATEST_VALUATION",
18
+ "MOST_RECENT_DATE",
19
+ "ACCELERATOR_BRAND",
20
+ "ACCELERATOR_COHORT",
21
+ "HEADQUARTERS_COUNTRY",
22
+ "EMPLOYEE_COUNT",
23
+ ]);
3
24
  /**
4
25
  * Entity filter sortable
5
26
  *
@@ -15,28 +36,5 @@ import { z } from "zod/v4";
15
36
  * @contractShape entity.filter-sortable
16
37
  * @contractRole canonical
17
38
  */
18
- export const EntityFilterSortableSchema = z.union([
19
- z.enum([
20
- "ID",
21
- "NAME_BRAND",
22
- "YEAR_FOUNDED",
23
- "STATUS_OPERATING",
24
- "UPDATED_AT",
25
- "CREATED_AT",
26
- "NEXT_DUE_AT",
27
- "DATA_COMPLETION_COVERAGE",
28
- "TOTAL_RAISED",
29
- "AMOUNT_INVESTED",
30
- "RECENT_INVESTMENT_AT",
31
- "STAGE",
32
- "MOST_RECENT_AMOUNT",
33
- "LATEST_VALUATION",
34
- "MOST_RECENT_DATE",
35
- "ACCELERATOR_BRAND",
36
- "ACCELERATOR_COHORT",
37
- "HEADQUARTERS_COUNTRY",
38
- "EMPLOYEE_COUNT",
39
- ]),
40
- z.string(),
41
- ]);
39
+ export const EntityFilterSortableSchema = Object.assign(z.union([EntityFilterSortableSchemaKnownMembers, z.string()]), { enum: EntityFilterSortableSchemaKnownMembers.enum });
42
40
  //# sourceMappingURL=filter-sortable.js.map
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
12
12
  * @endpoint GET /v1/entities/{entityId}/investments
13
13
  * @endpoint GET /v1/entities/{entityId}/investors
14
14
  * @endpoint GET /v1/entities/{entityId}/similar
15
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
15
16
  * @endpoint GET /v1/lookup-jobs/{jobId}
16
17
  * @endpoint GET /v1/people/{personId}/graph
17
18
  * @endpoint GET /v1/search/link/jobs/{jobId}
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint POST /v1/search/shared
28
29
  * @usedBySchema EntityEnrichmentSchema
29
30
  * @usedBySchema EntityFundraiseTransactionEntitySchema
31
+ * @usedBySchema EntitySimilaritySummarySchema
30
32
  * @contractShape entity.funding-detail
31
33
  * @contractRole canonical
32
34
  */
@@ -75,7 +77,47 @@ export declare const EntityFundingDetailSchema: z.ZodObject<{
75
77
  "Series X": "Series X";
76
78
  "Series Y": "Series Y";
77
79
  "Series Z": "Series Z";
78
- }>, z.ZodString]>>>;
80
+ }>, z.ZodString]> & {
81
+ enum: {
82
+ Acquired: "Acquired";
83
+ "Acquired Subsidiary": "Acquired Subsidiary";
84
+ Angel: "Angel";
85
+ Fund: "Fund";
86
+ Government: "Government";
87
+ "Investment Firm": "Investment Firm";
88
+ "Late Stage Private": "Late Stage Private";
89
+ Nonprofit: "Nonprofit";
90
+ "Pre-Seed": "Pre-Seed";
91
+ Public: "Public";
92
+ Seed: "Seed";
93
+ "Series A": "Series A";
94
+ "Series B": "Series B";
95
+ "Series C": "Series C";
96
+ "Series D": "Series D";
97
+ "Series E": "Series E";
98
+ "Series F": "Series F";
99
+ "Series G": "Series G";
100
+ "Series H": "Series H";
101
+ "Series I": "Series I";
102
+ "Series J": "Series J";
103
+ "Series K": "Series K";
104
+ "Series L": "Series L";
105
+ "Series M": "Series M";
106
+ "Series N": "Series N";
107
+ "Series O": "Series O";
108
+ "Series P": "Series P";
109
+ "Series Q": "Series Q";
110
+ "Series R": "Series R";
111
+ "Series S": "Series S";
112
+ "Series T": "Series T";
113
+ "Series U": "Series U";
114
+ "Series V": "Series V";
115
+ "Series W": "Series W";
116
+ "Series X": "Series X";
117
+ "Series Y": "Series Y";
118
+ "Series Z": "Series Z";
119
+ };
120
+ }>>;
79
121
  totalRaised: z.ZodNumber;
80
122
  totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
81
123
  unconvertedRoundCount: z.ZodInt;
@@ -14,6 +14,7 @@ import { FundingStageSchema } from "../funding/stage.js";
14
14
  * @endpoint GET /v1/entities/{entityId}/investments
15
15
  * @endpoint GET /v1/entities/{entityId}/investors
16
16
  * @endpoint GET /v1/entities/{entityId}/similar
17
+ * @endpoint GET /v1/entities/{entityId}/similar/summary
17
18
  * @endpoint GET /v1/lookup-jobs/{jobId}
18
19
  * @endpoint GET /v1/people/{personId}/graph
19
20
  * @endpoint GET /v1/search/link/jobs/{jobId}
@@ -29,6 +30,7 @@ import { FundingStageSchema } from "../funding/stage.js";
29
30
  * @endpoint POST /v1/search/shared
30
31
  * @usedBySchema EntityEnrichmentSchema
31
32
  * @usedBySchema EntityFundraiseTransactionEntitySchema
33
+ * @usedBySchema EntitySimilaritySummarySchema
32
34
  * @contractShape entity.funding-detail
33
35
  * @contractRole canonical
34
36
  */
@@ -127,7 +127,47 @@ export declare const EntityFundraiseTransactionEntitySchema: z.ZodObject<{
127
127
  "Series X": "Series X";
128
128
  "Series Y": "Series Y";
129
129
  "Series Z": "Series Z";
130
- }>, z.ZodString]>>>;
130
+ }>, z.ZodString]> & {
131
+ enum: {
132
+ Acquired: "Acquired";
133
+ "Acquired Subsidiary": "Acquired Subsidiary";
134
+ Angel: "Angel";
135
+ Fund: "Fund";
136
+ Government: "Government";
137
+ "Investment Firm": "Investment Firm";
138
+ "Late Stage Private": "Late Stage Private";
139
+ Nonprofit: "Nonprofit";
140
+ "Pre-Seed": "Pre-Seed";
141
+ Public: "Public";
142
+ Seed: "Seed";
143
+ "Series A": "Series A";
144
+ "Series B": "Series B";
145
+ "Series C": "Series C";
146
+ "Series D": "Series D";
147
+ "Series E": "Series E";
148
+ "Series F": "Series F";
149
+ "Series G": "Series G";
150
+ "Series H": "Series H";
151
+ "Series I": "Series I";
152
+ "Series J": "Series J";
153
+ "Series K": "Series K";
154
+ "Series L": "Series L";
155
+ "Series M": "Series M";
156
+ "Series N": "Series N";
157
+ "Series O": "Series O";
158
+ "Series P": "Series P";
159
+ "Series Q": "Series Q";
160
+ "Series R": "Series R";
161
+ "Series S": "Series S";
162
+ "Series T": "Series T";
163
+ "Series U": "Series U";
164
+ "Series V": "Series V";
165
+ "Series W": "Series W";
166
+ "Series X": "Series X";
167
+ "Series Y": "Series Y";
168
+ "Series Z": "Series Z";
169
+ };
170
+ }>>;
131
171
  totalRaised: z.ZodNumber;
132
172
  totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
133
173
  unconvertedRoundCount: z.ZodInt;
@@ -108,7 +108,47 @@ declare const EntityFundraiseTransactionSchemaDefinition: z.ZodObject<{
108
108
  "Series X": "Series X";
109
109
  "Series Y": "Series Y";
110
110
  "Series Z": "Series Z";
111
- }>, z.ZodString]>>>;
111
+ }>, z.ZodString]> & {
112
+ enum: {
113
+ Acquired: "Acquired";
114
+ "Acquired Subsidiary": "Acquired Subsidiary";
115
+ Angel: "Angel";
116
+ Fund: "Fund";
117
+ Government: "Government";
118
+ "Investment Firm": "Investment Firm";
119
+ "Late Stage Private": "Late Stage Private";
120
+ Nonprofit: "Nonprofit";
121
+ "Pre-Seed": "Pre-Seed";
122
+ Public: "Public";
123
+ Seed: "Seed";
124
+ "Series A": "Series A";
125
+ "Series B": "Series B";
126
+ "Series C": "Series C";
127
+ "Series D": "Series D";
128
+ "Series E": "Series E";
129
+ "Series F": "Series F";
130
+ "Series G": "Series G";
131
+ "Series H": "Series H";
132
+ "Series I": "Series I";
133
+ "Series J": "Series J";
134
+ "Series K": "Series K";
135
+ "Series L": "Series L";
136
+ "Series M": "Series M";
137
+ "Series N": "Series N";
138
+ "Series O": "Series O";
139
+ "Series P": "Series P";
140
+ "Series Q": "Series Q";
141
+ "Series R": "Series R";
142
+ "Series S": "Series S";
143
+ "Series T": "Series T";
144
+ "Series U": "Series U";
145
+ "Series V": "Series V";
146
+ "Series W": "Series W";
147
+ "Series X": "Series X";
148
+ "Series Y": "Series Y";
149
+ "Series Z": "Series Z";
150
+ };
151
+ }>>;
112
152
  totalRaised: z.ZodNumber;
113
153
  totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
114
154
  unconvertedRoundCount: z.ZodInt;
@@ -1800,7 +1800,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
1800
1800
  createdAt: string;
1801
1801
  id: number;
1802
1802
  identifier: string;
1803
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1803
+ idType: string;
1804
1804
  owner: {
1805
1805
  entityId?: string | null | undefined;
1806
1806
  personId?: string | null | undefined;
@@ -1811,7 +1811,7 @@ declare const EntityInvestorParticipationSchemaDefinition: z.ZodObject<{
1811
1811
  createdAt: string;
1812
1812
  id: number;
1813
1813
  identifier: string;
1814
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1814
+ idType: string;
1815
1815
  owner: {
1816
1816
  entityId?: string | null | undefined;
1817
1817
  personId?: string | null | undefined;
@@ -177,7 +177,7 @@ type EntityListFilterDefinition = z.infer<typeof EntityListFilterSchemaDefinitio
177
177
  export interface EntityListFilterSchemaInput extends z.input<typeof EntityListFilterSchemaDefinition> {
178
178
  }
179
179
  /**
180
- * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery.
180
+ * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
181
181
  *
182
182
  * @openapiSchema EntityListFilter
183
183
  * @endpoint GET /v1/search/link
@@ -65,7 +65,7 @@ const EntityListFilterSchemaDefinition = z.strictObject({
65
65
  qualityGate: EntityListQualityGateSchema.optional(),
66
66
  /** Rank most prominent first (funding, stage, headcount, momentum, recent news, investor breadth), ahead of sort: what best, top, or most promising mean. */
67
67
  rankByProminence: z.boolean().nullish(),
68
- /** Semantic entity search phrase. Executable on POST /v1/entities/search; saved views persist it for replay. A semantic page ranks a bounded nearest-neighbor window: totalElements counts the ranked candidates reachable through continuation, not every matching entity. */
68
+ /** Free-text semantic search phrase, this body's query text (there is no query field), such as "AI tools for dental clinics". To find one company by name, send entityName instead. Executable on POST /v1/entities/search; saved views persist it for replay. A semantic page ranks a bounded nearest-neighbor window: totalElements counts the ranked candidates reachable through continuation, not every matching entity. */
69
69
  semanticQuery: z.string().nullish(),
70
70
  /** Restrict results to entity slugs. */
71
71
  slug: z
@@ -110,7 +110,7 @@ const EntityListFilterSchemaDefinition = z.strictObject({
110
110
  yearFoundedRange: z.array(IntRangeSchema).optional(),
111
111
  });
112
112
  /**
113
- * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery.
113
+ * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
114
114
  *
115
115
  * @openapiSchema EntityListFilter
116
116
  * @endpoint GET /v1/search/link
@@ -962,7 +962,22 @@ declare const EntityListSchemaDefinition: z.ZodObject<{
962
962
  service: "service";
963
963
  sourceDocument: "sourceDocument";
964
964
  text: "text";
965
- }>, z.ZodString]>;
965
+ }>, z.ZodString]> & {
966
+ enum: {
967
+ agentHelpDoc: "agentHelpDoc";
968
+ blogPost: "blogPost";
969
+ classificationCode: "classificationCode";
970
+ classificationTag: "classificationTag";
971
+ entity: "entity";
972
+ newsArticle: "newsArticle";
973
+ person: "person";
974
+ product: "product";
975
+ researchSnippet: "researchSnippet";
976
+ service: "service";
977
+ sourceDocument: "sourceDocument";
978
+ text: "text";
979
+ };
980
+ };
966
981
  }, z.core.$strip>>>;
967
982
  }, z.core.$strip>;
968
983
  type EntityListDefinition = z.infer<typeof EntityListSchemaDefinition>;
@@ -178,17 +178,21 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
178
178
  cacheMode?: "bypass" | "refresh" | "use" | undefined;
179
179
  mode?: string | undefined;
180
180
  model?: string | null | undefined;
181
+ modelCatalogRevision?: number | null | undefined;
181
182
  query: string;
182
183
  reasoningEffort?: string | null | undefined;
183
184
  searchCatalogRevision?: number | null | undefined;
185
+ tenantPolicyRevision?: number | null | undefined;
184
186
  }, import("../natural/search.ts").NaturalSearchSchemaInput, z.core.$ZodTypeInternals<{
185
187
  answerModel?: string | null | undefined;
186
188
  cacheMode?: "bypass" | "refresh" | "use" | undefined;
187
189
  mode?: string | undefined;
188
190
  model?: string | null | undefined;
191
+ modelCatalogRevision?: number | null | undefined;
189
192
  query: string;
190
193
  reasoningEffort?: string | null | undefined;
191
194
  searchCatalogRevision?: number | null | undefined;
195
+ tenantPolicyRevision?: number | null | undefined;
192
196
  }, import("../natural/search.ts").NaturalSearchSchemaInput>>;
193
197
  }, z.core.$strip>;
194
198
  type EntityNaturalSearchDefinition = z.infer<typeof EntityNaturalSearchSchemaDefinition>;
@@ -22,9 +22,9 @@ export const EntityPeopleParamSchema = PageParamSchema.extend({
22
22
  isCurrent: z.boolean().optional(),
23
23
  /** Permit generated monogram fallback */
24
24
  permitMonogram: z.boolean().optional(),
25
- /** Person slug fallback for entity-keyed writes */
25
+ /** Writes only: the person's slug when the body omits personId. List reads ignore it; use search to narrow listed people. */
26
26
  personSlug: z.string().optional(),
27
- /** Match the complete titleName, ignoring case (for example, Co-Founder & CEO). Omit to include all titles; this does not filter titleFunction or titleLevel. */
27
+ /** Match titleName containing this text as a whole-word phrase, ignoring case: founder matches Co-Founder, Founder & CEO, and CEO and Co-Founder, but not Founding Partner. Omit to include all titles; this does not filter titleFunction or titleLevel. */
28
28
  role: z.string().optional(),
29
29
  /** Search term filter */
30
30
  search: z.string().optional(),
@@ -40,7 +40,47 @@ declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
40
40
  "Series X": "Series X";
41
41
  "Series Y": "Series Y";
42
42
  "Series Z": "Series Z";
43
- }>, z.ZodString]>>>;
43
+ }>, z.ZodString]> & {
44
+ enum: {
45
+ Acquired: "Acquired";
46
+ "Acquired Subsidiary": "Acquired Subsidiary";
47
+ Angel: "Angel";
48
+ Fund: "Fund";
49
+ Government: "Government";
50
+ "Investment Firm": "Investment Firm";
51
+ "Late Stage Private": "Late Stage Private";
52
+ Nonprofit: "Nonprofit";
53
+ "Pre-Seed": "Pre-Seed";
54
+ Public: "Public";
55
+ Seed: "Seed";
56
+ "Series A": "Series A";
57
+ "Series B": "Series B";
58
+ "Series C": "Series C";
59
+ "Series D": "Series D";
60
+ "Series E": "Series E";
61
+ "Series F": "Series F";
62
+ "Series G": "Series G";
63
+ "Series H": "Series H";
64
+ "Series I": "Series I";
65
+ "Series J": "Series J";
66
+ "Series K": "Series K";
67
+ "Series L": "Series L";
68
+ "Series M": "Series M";
69
+ "Series N": "Series N";
70
+ "Series O": "Series O";
71
+ "Series P": "Series P";
72
+ "Series Q": "Series Q";
73
+ "Series R": "Series R";
74
+ "Series S": "Series S";
75
+ "Series T": "Series T";
76
+ "Series U": "Series U";
77
+ "Series V": "Series V";
78
+ "Series W": "Series W";
79
+ "Series X": "Series X";
80
+ "Series Y": "Series Y";
81
+ "Series Z": "Series Z";
82
+ };
83
+ }>>;
44
84
  ownership: z.ZodArray<z.ZodString>;
45
85
  pricingModel: z.ZodArray<z.ZodString>;
46
86
  sellsTo: z.ZodArray<z.ZodString>;
@@ -1801,7 +1801,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
1801
1801
  createdAt: string;
1802
1802
  id: number;
1803
1803
  identifier: string;
1804
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1804
+ idType: string;
1805
1805
  owner: {
1806
1806
  entityId?: string | null | undefined;
1807
1807
  personId?: string | null | undefined;
@@ -1812,7 +1812,7 @@ declare const EntityResolutionSchemaDefinition: z.ZodObject<{
1812
1812
  createdAt: string;
1813
1813
  id: number;
1814
1814
  identifier: string;
1815
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
1815
+ idType: string;
1816
1816
  owner: {
1817
1817
  entityId?: string | null | undefined;
1818
1818
  personId?: string | null | undefined;
@@ -50,6 +50,96 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
50
50
  }>;
51
51
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
52
  }, z.core.$strip>;
53
+ fundingDetail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
54
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ fundingRoundCount: z.ZodInt;
56
+ investorCount: z.ZodInt;
57
+ latestValuation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
+ mostRecentAmount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
59
+ mostRecentDate: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
60
+ stage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
61
+ Acquired: "Acquired";
62
+ "Acquired Subsidiary": "Acquired Subsidiary";
63
+ Angel: "Angel";
64
+ Fund: "Fund";
65
+ Government: "Government";
66
+ "Investment Firm": "Investment Firm";
67
+ "Late Stage Private": "Late Stage Private";
68
+ Nonprofit: "Nonprofit";
69
+ "Pre-Seed": "Pre-Seed";
70
+ Public: "Public";
71
+ Seed: "Seed";
72
+ "Series A": "Series A";
73
+ "Series B": "Series B";
74
+ "Series C": "Series C";
75
+ "Series D": "Series D";
76
+ "Series E": "Series E";
77
+ "Series F": "Series F";
78
+ "Series G": "Series G";
79
+ "Series H": "Series H";
80
+ "Series I": "Series I";
81
+ "Series J": "Series J";
82
+ "Series K": "Series K";
83
+ "Series L": "Series L";
84
+ "Series M": "Series M";
85
+ "Series N": "Series N";
86
+ "Series O": "Series O";
87
+ "Series P": "Series P";
88
+ "Series Q": "Series Q";
89
+ "Series R": "Series R";
90
+ "Series S": "Series S";
91
+ "Series T": "Series T";
92
+ "Series U": "Series U";
93
+ "Series V": "Series V";
94
+ "Series W": "Series W";
95
+ "Series X": "Series X";
96
+ "Series Y": "Series Y";
97
+ "Series Z": "Series Z";
98
+ }>, z.ZodString]> & {
99
+ enum: {
100
+ Acquired: "Acquired";
101
+ "Acquired Subsidiary": "Acquired Subsidiary";
102
+ Angel: "Angel";
103
+ Fund: "Fund";
104
+ Government: "Government";
105
+ "Investment Firm": "Investment Firm";
106
+ "Late Stage Private": "Late Stage Private";
107
+ Nonprofit: "Nonprofit";
108
+ "Pre-Seed": "Pre-Seed";
109
+ Public: "Public";
110
+ Seed: "Seed";
111
+ "Series A": "Series A";
112
+ "Series B": "Series B";
113
+ "Series C": "Series C";
114
+ "Series D": "Series D";
115
+ "Series E": "Series E";
116
+ "Series F": "Series F";
117
+ "Series G": "Series G";
118
+ "Series H": "Series H";
119
+ "Series I": "Series I";
120
+ "Series J": "Series J";
121
+ "Series K": "Series K";
122
+ "Series L": "Series L";
123
+ "Series M": "Series M";
124
+ "Series N": "Series N";
125
+ "Series O": "Series O";
126
+ "Series P": "Series P";
127
+ "Series Q": "Series Q";
128
+ "Series R": "Series R";
129
+ "Series S": "Series S";
130
+ "Series T": "Series T";
131
+ "Series U": "Series U";
132
+ "Series V": "Series V";
133
+ "Series W": "Series W";
134
+ "Series X": "Series X";
135
+ "Series Y": "Series Y";
136
+ "Series Z": "Series Z";
137
+ };
138
+ }>>;
139
+ totalRaised: z.ZodNumber;
140
+ totalRaisedUsd: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
141
+ unconvertedRoundCount: z.ZodInt;
142
+ }, z.core.$strip>>>;
53
143
  similarity: z.ZodType<{
54
144
  compositeScore?: number | null | undefined;
55
145
  cosineScore?: number | null | undefined;
@@ -113,7 +203,7 @@ type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummaryS
113
203
  export interface EntitySimilaritySummarySchemaInput extends z.input<typeof EntitySimilaritySummarySchemaDefinition> {
114
204
  }
115
205
  /**
116
- * Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
206
+ * Lean similar-entity rail row: core identity, current URL links, funding totals, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
117
207
  *
118
208
  * @openapiSchema EntitySimilaritySummary
119
209
  * @endpoint GET /v1/entities/{entityId}/similar/summary
@@ -1,16 +1,19 @@
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
3
  import { EntitySchema } from "./entity.js";
4
+ import { EntityFundingDetailSchema } from "./funding-detail.js";
4
5
  import { EntitySimilarityContextSchema } from "./similarity-context.js";
5
6
  import { EntityUrlLinkSchema } from "./url-link.js";
6
7
  const EntitySimilaritySummarySchemaDefinition = z.object({
7
8
  core: EntitySchema,
9
+ /** Funding totals, so similar companies compare without one read each */
10
+ fundingDetail: EntityFundingDetailSchema.nullish(),
8
11
  similarity: EntitySimilarityContextSchema,
9
12
  /** Current primary URL links, one per URL type */
10
13
  urlLink: z.array(EntityUrlLinkSchema),
11
14
  });
12
15
  /**
13
- * Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
16
+ * Lean similar-entity rail row: core identity, current URL links, funding totals, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
14
17
  *
15
18
  * @openapiSchema EntitySimilaritySummary
16
19
  * @endpoint GET /v1/entities/{entityId}/similar/summary
@@ -186,8 +186,18 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
186
186
  keyword: "keyword";
187
187
  natural: "natural";
188
188
  semantic: "semantic";
189
- }>, z.ZodString]>>>;
189
+ }>, z.ZodString]> & {
190
+ enum: {
191
+ auto: "auto";
192
+ exact: "exact";
193
+ hybrid: "hybrid";
194
+ keyword: "keyword";
195
+ natural: "natural";
196
+ semantic: "semantic";
197
+ };
198
+ }>>;
190
199
  model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
200
+ modelCatalogRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
191
201
  newsSize: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
192
202
  personSize: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
193
203
  query: z.ZodString;
@@ -198,8 +208,18 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
198
208
  medium: "medium";
199
209
  minimal: "minimal";
200
210
  xhigh: "xhigh";
201
- }>, z.ZodString]>>>;
211
+ }>, z.ZodString]> & {
212
+ enum: {
213
+ high: "high";
214
+ low: "low";
215
+ max: "max";
216
+ medium: "medium";
217
+ minimal: "minimal";
218
+ xhigh: "xhigh";
219
+ };
220
+ }>>;
202
221
  searchCatalogRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
222
+ tenantPolicyRevision: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
203
223
  }, z.core.$strip>;
204
224
  type FederatedNaturalSearchDefinition = z.infer<typeof FederatedNaturalSearchSchemaDefinition>;
205
225
  export interface FederatedNaturalSearchSchemaInput extends z.input<typeof FederatedNaturalSearchSchemaDefinition> {
@@ -15,6 +15,8 @@ const FederatedNaturalSearchSchemaDefinition = z.object({
15
15
  mode: SearchModeSchema.default("auto").optional(),
16
16
  /** Optional supported model for planning the search. Omit it to use the default; an unsupported model answers 422. */
17
17
  model: z.string().nullish(),
18
+ /** Model catalog revision this search uses for its model defaults and inference policy; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
19
+ modelCatalogRevision: z.int().nullish(),
18
20
  /** News scope page size; omitted uses the size query parameter, under the same page-size cap. */
19
21
  newsSize: z.int().nullish(),
20
22
  /** Person scope page size; omitted uses the size query parameter, under the same page-size cap. */
@@ -23,8 +25,10 @@ const FederatedNaturalSearchSchemaDefinition = z.object({
23
25
  query: z.string().min(1),
24
26
  /** Optional reasoning effort for every model call this search makes: the query planner and the synthesis answer. Each call sends the nearest level its model supports, the lower one on a tie. Accounts without private-data access are capped at `medium`; higher values are lowered. */
25
27
  reasoningEffort: ReasoningEffortSchema.nullish(),
26
- /** Search catalog revision this search reads its qualifier prompts and startup vocabulary from, to compare catalog edits; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
28
+ /** Search catalog revision this search uses for its global search policy and vocabulary; null reads the current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
27
29
  searchCatalogRevision: z.int().nullish(),
30
+ /** Runtime policy revision this search uses for the serving deployment's execution budgets; null reads that deployment's current revision. Callers without private-data access always read the current revision. An unknown revision returns 404. */
31
+ tenantPolicyRevision: z.int().nullish(),
28
32
  });
29
33
  /**
30
34
  * Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
@@ -5459,7 +5459,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
5459
5459
  createdAt: string;
5460
5460
  id: number;
5461
5461
  identifier: string;
5462
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
5462
+ idType: string;
5463
5463
  owner: {
5464
5464
  entityId?: string | null | undefined;
5465
5465
  personId?: string | null | undefined;
@@ -5470,7 +5470,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
5470
5470
  createdAt: string;
5471
5471
  id: number;
5472
5472
  identifier: string;
5473
- idType: "crd" | "cusip" | "duns" | "ein" | "isin" | "lei" | "orcid" | "secCik" | "ticker";
5473
+ idType: string;
5474
5474
  owner: {
5475
5475
  entityId?: string | null | undefined;
5476
5476
  personId?: string | null | undefined;