@aventurevc/api-schemas 0.8.97 → 0.8.101

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 (70) hide show
  1. package/dist/content/embedding-match.d.ts +2 -2
  2. package/dist/content/embedding-match.js +2 -2
  3. package/dist/date/range.d.ts +27 -0
  4. package/dist/date/range.js +29 -0
  5. package/dist/entity/detail.d.ts +4 -4
  6. package/dist/entity/filter-logo-option.d.ts +2 -0
  7. package/dist/entity/filter-logo-option.js +2 -0
  8. package/dist/entity/filter-search.d.ts +4 -0
  9. package/dist/entity/filter.d.ts +12 -0
  10. package/dist/entity/filter.js +8 -0
  11. package/dist/entity/fundraise-filter-criteria.d.ts +6 -0
  12. package/dist/entity/fundraise-filter-criteria.js +5 -0
  13. package/dist/entity/investor-participation.d.ts +4 -4
  14. package/dist/entity/list-filter.d.ts +4 -0
  15. package/dist/entity/list-quality-gate.d.ts +2 -0
  16. package/dist/entity/list-quality-gate.js +2 -0
  17. package/dist/entity/list.d.ts +28 -31
  18. package/dist/entity/list.js +12 -13
  19. package/dist/entity/natural-search.d.ts +4 -0
  20. package/dist/entity/operating-status.d.ts +2 -0
  21. package/dist/entity/operating-status.js +2 -0
  22. package/dist/entity/resolution.d.ts +4 -4
  23. package/dist/entity/similarity-result.d.ts +226 -243
  24. package/dist/entity/url-type.d.ts +2 -0
  25. package/dist/entity/url-type.js +2 -0
  26. package/dist/federated/natural-search.d.ts +4 -0
  27. package/dist/federated/search.d.ts +270 -40
  28. package/dist/harness/run-create.d.ts +11 -0
  29. package/dist/harness/run-create.js +3 -0
  30. package/dist/http/route.d.ts +19 -0
  31. package/dist/http/route.js +52 -0
  32. package/dist/link/search.d.ts +270 -40
  33. package/dist/lookup/job-mention.d.ts +230 -247
  34. package/dist/lookup/job.d.ts +8 -8
  35. package/dist/mention/lookup.d.ts +8 -8
  36. package/dist/natural/search-result.d.ts +259 -263
  37. package/dist/openapi-component-manifest.js +2 -0
  38. package/dist/pagination/schemas.d.ts +521 -555
  39. package/dist/person/detail.d.ts +4 -4
  40. package/dist/person/filter.d.ts +170 -0
  41. package/dist/person/filter.js +3 -0
  42. package/dist/person/investor-participation.d.ts +4 -4
  43. package/dist/person/natural-search-result.d.ts +224 -8
  44. package/dist/person/natural-search.d.ts +170 -0
  45. package/dist/person/person.d.ts +2 -2
  46. package/dist/person/search-interpretation.d.ts +172 -0
  47. package/dist/person/similarity-result.d.ts +4 -4
  48. package/dist/research/finding.d.ts +21 -0
  49. package/dist/research/finding.js +23 -0
  50. package/dist/search/answer-citation.d.ts +1 -0
  51. package/dist/search/answer-citation.js +1 -1
  52. package/dist/search/answer.d.ts +1 -0
  53. package/dist/search/answer.js +2 -0
  54. package/dist/search/evidence-source.d.ts +2 -1
  55. package/dist/search/evidence-source.js +8 -2
  56. package/dist/search/interpretation.d.ts +10 -0
  57. package/dist/search/investment.d.ts +2 -2
  58. package/dist/search/judgment.d.ts +227 -243
  59. package/dist/search/judgment.js +3 -1
  60. package/dist/search/ordering-entity-filter-sortable.d.ts +2 -0
  61. package/dist/search/ordering-person-sort-field.d.ts +2 -0
  62. package/dist/search/passage.d.ts +1 -0
  63. package/dist/shared/search.d.ts +270 -40
  64. package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
  65. package/dist/sort/order-entity-filter-sortable.js +2 -0
  66. package/dist/sort/order-person-sort-field.d.ts +1 -0
  67. package/dist/sort/order-person-sort-field.js +2 -0
  68. package/dist/url/match-mode.d.ts +2 -0
  69. package/dist/url/match-mode.js +2 -0
  70. package/package.json +1 -1
@@ -39,6 +39,176 @@ declare const PersonNaturalSearchSchemaDefinition: z.ZodObject<{
39
39
  Service: "Service";
40
40
  }>>>>;
41
41
  }, z.core.$strip>>;
42
+ entityFilter: z.ZodOptional<z.ZodObject<{
43
+ acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
+ acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
+ acceleratorStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
+ affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ closedLast: z.ZodOptional<z.ZodBoolean>;
49
+ employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
50
+ max?: number | null | undefined;
51
+ min?: number | null | undefined;
52
+ }, unknown, z.core.$ZodTypeInternals<{
53
+ max?: number | null | undefined;
54
+ min?: number | null | undefined;
55
+ }, unknown>>>>;
56
+ entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
57
+ entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
59
+ fundraiseActivity: z.ZodOptional<z.ZodObject<{
60
+ amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
61
+ max?: number | null | undefined;
62
+ min?: number | null | undefined;
63
+ }, unknown, z.core.$ZodTypeInternals<{
64
+ max?: number | null | undefined;
65
+ min?: number | null | undefined;
66
+ }, unknown>>>>;
67
+ amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
68
+ max?: number | null | undefined;
69
+ min?: number | null | undefined;
70
+ }, unknown, z.core.$ZodTypeInternals<{
71
+ max?: number | null | undefined;
72
+ min?: number | null | undefined;
73
+ }, unknown>>>>;
74
+ dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
75
+ max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
76
+ min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
77
+ }, z.core.$strip>>>;
78
+ investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
79
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
80
+ investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
81
+ investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
82
+ investorActivity: z.ZodOptional<z.ZodObject<{
83
+ averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
84
+ max?: number | null | undefined;
85
+ min?: number | null | undefined;
86
+ }, unknown, z.core.$ZodTypeInternals<{
87
+ max?: number | null | undefined;
88
+ min?: number | null | undefined;
89
+ }, unknown>>>>;
90
+ largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
91
+ max?: number | null | undefined;
92
+ min?: number | null | undefined;
93
+ }, unknown, z.core.$ZodTypeInternals<{
94
+ max?: number | null | undefined;
95
+ min?: number | null | undefined;
96
+ }, unknown>>>>;
97
+ smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
98
+ max?: number | null | undefined;
99
+ min?: number | null | undefined;
100
+ }, unknown, z.core.$ZodTypeInternals<{
101
+ max?: number | null | undefined;
102
+ min?: number | null | undefined;
103
+ }, unknown>>>>;
104
+ totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
105
+ max?: number | null | undefined;
106
+ min?: number | null | undefined;
107
+ }, unknown, z.core.$ZodTypeInternals<{
108
+ max?: number | null | undefined;
109
+ min?: number | null | undefined;
110
+ }, unknown>>>>;
111
+ totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
112
+ max?: number | null | undefined;
113
+ min?: number | null | undefined;
114
+ }, unknown, z.core.$ZodTypeInternals<{
115
+ max?: number | null | undefined;
116
+ min?: number | null | undefined;
117
+ }, unknown>>>>;
118
+ }, z.core.$strip>>;
119
+ investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
120
+ lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
121
+ max?: number | null | undefined;
122
+ min?: number | null | undefined;
123
+ }, unknown, z.core.$ZodTypeInternals<{
124
+ max?: number | null | undefined;
125
+ min?: number | null | undefined;
126
+ }, unknown>>>>;
127
+ rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
128
+ round: z.ZodOptional<z.ZodArray<z.ZodString>>;
129
+ totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
130
+ max?: number | null | undefined;
131
+ min?: number | null | undefined;
132
+ }, unknown, z.core.$ZodTypeInternals<{
133
+ max?: number | null | undefined;
134
+ min?: number | null | undefined;
135
+ }, unknown>>>>;
136
+ valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
137
+ max?: number | null | undefined;
138
+ min?: number | null | undefined;
139
+ }, unknown, z.core.$ZodTypeInternals<{
140
+ max?: number | null | undefined;
141
+ min?: number | null | undefined;
142
+ }, unknown>>>>;
143
+ }, z.core.$strip>>;
144
+ hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
145
+ headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
+ headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
148
+ industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
149
+ letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ location: z.ZodOptional<z.ZodArray<z.ZodString>>;
151
+ logoOption: z.ZodOptional<z.ZodObject<{
152
+ sortPriority: z.ZodOptional<z.ZodEnum<{
153
+ ANY_LOGO_FIRST: "ANY_LOGO_FIRST";
154
+ NONE: "NONE";
155
+ REAL_LOGO_FIRST: "REAL_LOGO_FIRST";
156
+ }>>;
157
+ }, z.core.$strip>>;
158
+ mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
160
+ Acquired: "Acquired";
161
+ "Acquired Subsidiary": "Acquired Subsidiary";
162
+ Closed: "Closed";
163
+ "Closed (Acquihire)": "Closed (Acquihire)";
164
+ Inactive: "Inactive";
165
+ Operating: "Operating";
166
+ }>>>;
167
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
168
+ portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
169
+ portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
+ portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
+ qualityGate: z.ZodOptional<z.ZodEnum<{
172
+ COMPANY_LISTING_READY: "COMPANY_LISTING_READY";
173
+ NONE: "NONE";
174
+ }>>;
175
+ slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
176
+ stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
+ suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
178
+ suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
179
+ tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
180
+ textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
181
+ typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
+ typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
+ typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
185
+ "Business Line": "Business Line";
186
+ Company: "Company";
187
+ Fund: "Fund";
188
+ Government: "Government";
189
+ "Investment Firm": "Investment Firm";
190
+ Nonprofit: "Nonprofit";
191
+ Organization: "Organization";
192
+ Product: "Product";
193
+ Service: "Service";
194
+ }>>>;
195
+ typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
+ urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
200
+ domain: "domain";
201
+ hostPath: "hostPath";
202
+ }>>>;
203
+ urlType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
204
+ yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
205
+ max?: number | null | undefined;
206
+ min?: number | null | undefined;
207
+ }, unknown, z.core.$ZodTypeInternals<{
208
+ max?: number | null | undefined;
209
+ min?: number | null | undefined;
210
+ }, unknown>>>>;
211
+ }, z.core.$strict>>;
42
212
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
43
213
  entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
214
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -34,8 +34,8 @@ declare const PersonSchemaDefinition: z.ZodObject<{
34
34
  rank: z.ZodInt;
35
35
  sourceHash: z.ZodString;
36
36
  sourceId: z.ZodString;
37
- sourceJson: z.ZodString;
38
- sourceText: z.ZodString;
37
+ sourceJson: z.ZodOptional<z.ZodString>;
38
+ sourceText: z.ZodOptional<z.ZodString>;
39
39
  sourceType: z.ZodUnion<readonly [z.ZodEnum<{
40
40
  agentHelpDoc: "agentHelpDoc";
41
41
  blogPost: "blogPost";
@@ -52,6 +52,176 @@ declare const PersonSearchInterpretationSchemaDefinition: z.ZodObject<{
52
52
  Service: "Service";
53
53
  }>>>>;
54
54
  }, z.core.$strip>>;
55
+ entityFilter: z.ZodOptional<z.ZodObject<{
56
+ acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ acceleratorStatus: z.ZodOptional<z.ZodArray<z.ZodString>>;
60
+ affinity: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
+ closedLast: z.ZodOptional<z.ZodBoolean>;
62
+ employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
63
+ max?: number | null | undefined;
64
+ min?: number | null | undefined;
65
+ }, unknown, z.core.$ZodTypeInternals<{
66
+ max?: number | null | undefined;
67
+ min?: number | null | undefined;
68
+ }, unknown>>>>;
69
+ entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
70
+ entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
+ featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
72
+ fundraiseActivity: z.ZodOptional<z.ZodObject<{
73
+ amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
74
+ max?: number | null | undefined;
75
+ min?: number | null | undefined;
76
+ }, unknown, z.core.$ZodTypeInternals<{
77
+ max?: number | null | undefined;
78
+ min?: number | null | undefined;
79
+ }, unknown>>>>;
80
+ amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
81
+ max?: number | null | undefined;
82
+ min?: number | null | undefined;
83
+ }, unknown, z.core.$ZodTypeInternals<{
84
+ max?: number | null | undefined;
85
+ min?: number | null | undefined;
86
+ }, unknown>>>>;
87
+ dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
88
+ max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
89
+ min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
90
+ }, z.core.$strip>>>;
91
+ investedCompanyName: z.ZodOptional<z.ZodArray<z.ZodString>>;
92
+ investedCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
93
+ investedIndustry: z.ZodOptional<z.ZodArray<z.ZodString>>;
94
+ investedRound: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ investorActivity: z.ZodOptional<z.ZodObject<{
96
+ averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
97
+ max?: number | null | undefined;
98
+ min?: number | null | undefined;
99
+ }, unknown, z.core.$ZodTypeInternals<{
100
+ max?: number | null | undefined;
101
+ min?: number | null | undefined;
102
+ }, unknown>>>>;
103
+ largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
104
+ max?: number | null | undefined;
105
+ min?: number | null | undefined;
106
+ }, unknown, z.core.$ZodTypeInternals<{
107
+ max?: number | null | undefined;
108
+ min?: number | null | undefined;
109
+ }, unknown>>>>;
110
+ smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
111
+ max?: number | null | undefined;
112
+ min?: number | null | undefined;
113
+ }, unknown, z.core.$ZodTypeInternals<{
114
+ max?: number | null | undefined;
115
+ min?: number | null | undefined;
116
+ }, unknown>>>>;
117
+ totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
118
+ max?: number | null | undefined;
119
+ min?: number | null | undefined;
120
+ }, unknown, z.core.$ZodTypeInternals<{
121
+ max?: number | null | undefined;
122
+ min?: number | null | undefined;
123
+ }, unknown>>>>;
124
+ totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
125
+ max?: number | null | undefined;
126
+ min?: number | null | undefined;
127
+ }, unknown, z.core.$ZodTypeInternals<{
128
+ max?: number | null | undefined;
129
+ min?: number | null | undefined;
130
+ }, unknown>>>>;
131
+ }, z.core.$strip>>;
132
+ investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
133
+ lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
134
+ max?: number | null | undefined;
135
+ min?: number | null | undefined;
136
+ }, unknown, z.core.$ZodTypeInternals<{
137
+ max?: number | null | undefined;
138
+ min?: number | null | undefined;
139
+ }, unknown>>>>;
140
+ rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
141
+ round: z.ZodOptional<z.ZodArray<z.ZodString>>;
142
+ totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
143
+ max?: number | null | undefined;
144
+ min?: number | null | undefined;
145
+ }, unknown, z.core.$ZodTypeInternals<{
146
+ max?: number | null | undefined;
147
+ min?: number | null | undefined;
148
+ }, unknown>>>>;
149
+ valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
150
+ max?: number | null | undefined;
151
+ min?: number | null | undefined;
152
+ }, unknown, z.core.$ZodTypeInternals<{
153
+ max?: number | null | undefined;
154
+ min?: number | null | undefined;
155
+ }, unknown>>>>;
156
+ }, z.core.$strip>>;
157
+ hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
158
+ headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ headquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
160
+ headquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ industry: z.ZodOptional<z.ZodArray<z.ZodString>>;
162
+ letter: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ location: z.ZodOptional<z.ZodArray<z.ZodString>>;
164
+ logoOption: z.ZodOptional<z.ZodObject<{
165
+ sortPriority: z.ZodOptional<z.ZodEnum<{
166
+ ANY_LOGO_FIRST: "ANY_LOGO_FIRST";
167
+ NONE: "NONE";
168
+ REAL_LOGO_FIRST: "REAL_LOGO_FIRST";
169
+ }>>;
170
+ }, z.core.$strip>>;
171
+ mainProduct: z.ZodOptional<z.ZodArray<z.ZodString>>;
172
+ operatingStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<{
173
+ Acquired: "Acquired";
174
+ "Acquired Subsidiary": "Acquired Subsidiary";
175
+ Closed: "Closed";
176
+ "Closed (Acquihire)": "Closed (Acquihire)";
177
+ Inactive: "Inactive";
178
+ Operating: "Operating";
179
+ }>>>;
180
+ person: z.ZodOptional<z.ZodArray<z.ZodString>>;
181
+ portfolioHeadquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
182
+ portfolioHeadquartersCountry: z.ZodOptional<z.ZodArray<z.ZodString>>;
183
+ portfolioHeadquartersState: z.ZodOptional<z.ZodArray<z.ZodString>>;
184
+ qualityGate: z.ZodOptional<z.ZodEnum<{
185
+ COMPANY_LISTING_READY: "COMPANY_LISTING_READY";
186
+ NONE: "NONE";
187
+ }>>;
188
+ slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
+ stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
190
+ suppressNonOperating: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
191
+ suppressZeroTotalRaised: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
192
+ tag: z.ZodOptional<z.ZodArray<z.ZodString>>;
193
+ textSearch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ typeCustomer: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
+ typeModel: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ typeOwnership: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ typeRecord: z.ZodOptional<z.ZodArray<z.ZodEnum<{
198
+ "Business Line": "Business Line";
199
+ Company: "Company";
200
+ Fund: "Fund";
201
+ Government: "Government";
202
+ "Investment Firm": "Investment Firm";
203
+ Nonprofit: "Nonprofit";
204
+ Organization: "Organization";
205
+ Product: "Product";
206
+ Service: "Service";
207
+ }>>>;
208
+ typeRevenue: z.ZodOptional<z.ZodArray<z.ZodString>>;
209
+ typeTechnologyUsed: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
+ urlDomain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
+ urlMatchMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
213
+ domain: "domain";
214
+ hostPath: "hostPath";
215
+ }>>>;
216
+ urlType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
218
+ max?: number | null | undefined;
219
+ min?: number | null | undefined;
220
+ }, unknown, z.core.$ZodTypeInternals<{
221
+ max?: number | null | undefined;
222
+ min?: number | null | undefined;
223
+ }, unknown>>>>;
224
+ }, z.core.$strict>>;
55
225
  entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
56
226
  entitySlug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
227
  firstName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -109,12 +279,14 @@ declare const PersonSearchInterpretationSchemaDefinition: z.ZodObject<{
109
279
  order: {
110
280
  descending: boolean;
111
281
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
282
+ sortKey?: string | null | undefined;
112
283
  }[];
113
284
  relevance?: "keyword" | "semantic" | null | undefined;
114
285
  }, unknown, z.core.$ZodTypeInternals<{
115
286
  order: {
116
287
  descending: boolean;
117
288
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
289
+ sortKey?: string | null | undefined;
118
290
  }[];
119
291
  relevance?: "keyword" | "semantic" | null | undefined;
120
292
  }, unknown>>;
@@ -239,8 +239,8 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
239
239
  rank: number;
240
240
  sourceHash: string;
241
241
  sourceId: string;
242
- sourceJson: string;
243
- sourceText: string;
242
+ sourceJson?: string | undefined;
243
+ sourceText?: string | undefined;
244
244
  sourceType: string;
245
245
  } | null | undefined;
246
246
  slug: string;
@@ -279,8 +279,8 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
279
279
  rank: number;
280
280
  sourceHash: string;
281
281
  sourceId: string;
282
- sourceJson: string;
283
- sourceText: string;
282
+ sourceJson?: string | undefined;
283
+ sourceText?: string | undefined;
284
284
  sourceType: string;
285
285
  } | null | undefined;
286
286
  slug: string;
@@ -0,0 +1,21 @@
1
+ import { z } from "zod/v4";
2
+ declare const ResearchFindingSchemaDefinition: z.ZodObject<{
3
+ gateId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ quote: z.ZodString;
5
+ sourceUrl: z.ZodString;
6
+ statement: z.ZodString;
7
+ }, z.core.$strip>;
8
+ type ResearchFindingDefinition = z.infer<typeof ResearchFindingSchemaDefinition>;
9
+ /**
10
+ * One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
11
+ *
12
+ * @openapiSchema ResearchFinding
13
+ * @endpoint POST /v1/harness/runs
14
+ * @usedBySchema HarnessRunCreateSchema
15
+ * @contractShape research.finding
16
+ * @contractRole canonical
17
+ */
18
+ export declare const ResearchFindingSchema: z.ZodType<ResearchFindingDefinition>;
19
+ export type ResearchFinding = z.infer<typeof ResearchFindingSchema>;
20
+ export {};
21
+ //# sourceMappingURL=finding.d.ts.map
@@ -0,0 +1,23 @@
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
+ const ResearchFindingSchemaDefinition = z.object({
4
+ /** Completion gate the fact fills, when known; omit it and the run picks the field the fact belongs to. */
5
+ gateId: z.string().nullish(),
6
+ /** The exact text on sourceUrl that states the fact, copied verbatim; a fragment short enough to appear on any page is refused. */
7
+ quote: z.string(),
8
+ /** Absolute http or https URL of the page that supports the fact; aVenture pages are refused. */
9
+ sourceUrl: z.string(),
10
+ /** The fact to write, in plain words. */
11
+ statement: z.string(),
12
+ });
13
+ /**
14
+ * One fact you researched, with the page and exact text that support it. The run checks the quote against the page before it writes the fact.
15
+ *
16
+ * @openapiSchema ResearchFinding
17
+ * @endpoint POST /v1/harness/runs
18
+ * @usedBySchema HarnessRunCreateSchema
19
+ * @contractShape research.finding
20
+ * @contractRole canonical
21
+ */
22
+ export const ResearchFindingSchema = ResearchFindingSchemaDefinition;
23
+ //# sourceMappingURL=finding.js.map
@@ -5,6 +5,7 @@ declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
5
5
  entityRecord: "entityRecord";
6
6
  fundraiseTransaction: "fundraiseTransaction";
7
7
  newsArticle: "newsArticle";
8
+ personRecord: "personRecord";
8
9
  researchSnippet: "researchSnippet";
9
10
  }>, z.ZodString]>;
10
11
  sourceId: z.ZodString;
@@ -6,7 +6,7 @@ const SearchAnswerCitationSchemaDefinition = z.object({
6
6
  entityId: z.uuid(),
7
7
  /** Record that owns the cited evidence. */
8
8
  source: SearchEvidenceSourceSchema,
9
- /** Entity id for `entityRecord`, snippet or news article id from `passage`, or the recorded round id for `fundraiseTransaction`. */
9
+ /** Entity id for `entityRecord`, snippet or news article id from `passage`, person id for `personRecord`, or the recorded round id for `fundraiseTransaction`. */
10
10
  sourceId: z.string(),
11
11
  });
12
12
  /**
@@ -48,6 +48,7 @@ export declare const SearchAnswerSchema: z.ZodObject<{
48
48
  topic?: string | null | undefined;
49
49
  }, unknown>>>;
50
50
  relatedQuery: z.ZodArray<z.ZodString>;
51
+ shareable: z.ZodBoolean;
51
52
  text: z.ZodString;
52
53
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
54
  }, z.core.$strip>;
@@ -29,6 +29,8 @@ export const SearchAnswerSchema = z.object({
29
29
  paragraph: z.array(SearchAnswerParagraphSchema),
30
30
  /** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
31
31
  relatedQuery: z.array(z.string()),
32
+ /** True when the answer has grounded paragraphs and the answer model did not judge the question advertising or promotion; only a shareable answer can be published as a public search page. */
33
+ shareable: z.boolean(),
32
34
  /** Every paragraph's text in reading order, separated by blank lines; read `paragraph` to place each citation beside the text it supports. */
33
35
  text: z.string(),
34
36
  /** Page title of at most 60 characters naming the answer's subject and scope, written by the same model call; absent when the answer abstains. */
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod/v4";
2
2
  /**
3
- * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
3
+ * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
4
4
  *
5
5
  * @openapiSchema SearchEvidenceSource
6
6
  * @endpoint GET /v1/search/link
@@ -19,6 +19,7 @@ export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<
19
19
  entityRecord: "entityRecord";
20
20
  fundraiseTransaction: "fundraiseTransaction";
21
21
  newsArticle: "newsArticle";
22
+ personRecord: "personRecord";
22
23
  researchSnippet: "researchSnippet";
23
24
  }>, z.ZodString]>;
24
25
  export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
@@ -1,7 +1,7 @@
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
  /**
4
- * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
4
+ * Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity; `personRecord` a person linked to the entity; `fundraiseTransaction` a recorded investment round with investor attribution.
5
5
  *
6
6
  * @openapiSchema SearchEvidenceSource
7
7
  * @endpoint GET /v1/search/link
@@ -17,7 +17,13 @@ import { z } from "zod/v4";
17
17
  * @contractRole canonical
18
18
  */
19
19
  export const SearchEvidenceSourceSchema = z.union([
20
- z.enum(["entityRecord", "researchSnippet", "newsArticle", "fundraiseTransaction"]),
20
+ z.enum([
21
+ "entityRecord",
22
+ "researchSnippet",
23
+ "newsArticle",
24
+ "personRecord",
25
+ "fundraiseTransaction",
26
+ ]),
21
27
  z.string(),
22
28
  ]);
23
29
  //# sourceMappingURL=evidence-source.js.map
@@ -36,6 +36,10 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
36
36
  max?: number | null | undefined;
37
37
  min?: number | null | undefined;
38
38
  }[] | undefined;
39
+ dateAnnouncedRange?: {
40
+ max?: string | null | undefined;
41
+ min?: string | null | undefined;
42
+ } | null | undefined;
39
43
  investedCompanyName?: string[] | undefined;
40
44
  investedCountry?: string[] | undefined;
41
45
  investedIndustry?: string[] | undefined;
@@ -139,6 +143,10 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
139
143
  max?: number | null | undefined;
140
144
  min?: number | null | undefined;
141
145
  }[] | undefined;
146
+ dateAnnouncedRange?: {
147
+ max?: string | null | undefined;
148
+ min?: string | null | undefined;
149
+ } | null | undefined;
142
150
  investedCompanyName?: string[] | undefined;
143
151
  investedCountry?: string[] | undefined;
144
152
  investedIndustry?: string[] | undefined;
@@ -231,12 +239,14 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
231
239
  order: {
232
240
  descending: boolean;
233
241
  field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
242
+ sortKey?: string | null | undefined;
234
243
  }[];
235
244
  relevance?: "keyword" | "semantic" | null | undefined;
236
245
  }, unknown, z.core.$ZodTypeInternals<{
237
246
  order: {
238
247
  descending: boolean;
239
248
  field: "ACCELERATOR_BRAND" | "ACCELERATOR_COHORT" | "AMOUNT_INVESTED" | "CREATED_AT" | "EMPLOYEE_COUNT" | "HEADQUARTERS_COUNTRY" | "ID" | "LATEST_VALUATION" | "MOST_RECENT_AMOUNT" | "MOST_RECENT_DATE" | "NAME_BRAND" | "RECENT_INVESTMENT_AT" | "STAGE" | "STATUS_OPERATING" | "TOTAL_RAISED" | "UPDATED_AT" | "YEAR_FOUNDED";
249
+ sortKey?: string | null | undefined;
240
250
  }[];
241
251
  relevance?: "keyword" | "semantic" | null | undefined;
242
252
  }, unknown>>;
@@ -227,8 +227,8 @@ declare const SearchInvestmentSchemaDefinition: z.ZodObject<{
227
227
  rank: z.ZodInt;
228
228
  sourceHash: z.ZodString;
229
229
  sourceId: z.ZodString;
230
- sourceJson: z.ZodString;
231
- sourceText: z.ZodString;
230
+ sourceJson: z.ZodOptional<z.ZodString>;
231
+ sourceText: z.ZodOptional<z.ZodString>;
232
232
  sourceType: z.ZodUnion<readonly [z.ZodEnum<{
233
233
  agentHelpDoc: "agentHelpDoc";
234
234
  blogPost: "blogPost";