@aventurevc/api-schemas 0.8.90 → 0.8.92
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/content/embedding-match.d.ts +1 -0
- package/dist/content/embedding-match.js +1 -0
- package/dist/datasource/source-metadata.d.ts +26 -0
- package/dist/datasource/source-metadata.js +26 -0
- package/dist/entity/alias-type.d.ts +1 -0
- package/dist/entity/alias-type.js +1 -0
- package/dist/entity/entity.d.ts +2 -0
- package/dist/entity/entity.js +2 -0
- package/dist/entity/filter-search.d.ts +3 -0
- package/dist/entity/filter.d.ts +3 -0
- package/dist/entity/funding-detail.d.ts +1 -0
- package/dist/entity/funding-detail.js +1 -0
- package/dist/entity/fundraise-filter-criteria.d.ts +3 -0
- package/dist/entity/fundraise-filter-criteria.js +6 -0
- package/dist/entity/fundraise-transaction-entity.d.ts +1 -0
- package/dist/entity/fundraise-transaction-entity.js +1 -0
- package/dist/entity/fundraise-transaction.d.ts +2 -0
- package/dist/entity/fundraise-transaction.js +2 -0
- package/dist/entity/image.d.ts +1 -0
- package/dist/entity/image.js +1 -0
- package/dist/entity/list-filter.d.ts +3 -0
- package/dist/entity/name-alias-entity-alias-type.d.ts +1 -0
- package/dist/entity/name-alias-entity-alias-type.js +1 -0
- package/dist/entity/natural-search.d.ts +3 -0
- package/dist/entity/person-owner.d.ts +1 -0
- package/dist/entity/person-owner.js +1 -0
- package/dist/entity/sitemap.d.ts +1 -0
- package/dist/entity/sitemap.js +1 -0
- package/dist/federated/natural-search.d.ts +11 -1
- package/dist/federated/search.d.ts +578 -0
- package/dist/funding/stage.d.ts +1 -0
- package/dist/funding/stage.js +1 -0
- package/dist/fundraise/data-confidence.d.ts +1 -0
- package/dist/fundraise/data-confidence.js +1 -0
- package/dist/fundraise/investment-attribution-type.d.ts +1 -0
- package/dist/fundraise/investment-attribution-type.js +1 -0
- package/dist/fundraise/investment-attribution.d.ts +1 -0
- package/dist/fundraise/investment-attribution.js +1 -0
- package/dist/fundraise/investment-evidence.d.ts +214 -0
- package/dist/fundraise/investment-evidence.js +32 -0
- package/dist/identification/candidate.d.ts +8 -0
- package/dist/identification/candidate.js +8 -0
- package/dist/identification/identification.d.ts +32 -0
- package/dist/link/search.d.ts +578 -0
- package/dist/lookup/job-mention.d.ts +32 -0
- package/dist/lookup/job.d.ts +64 -0
- package/dist/mention/lookup.d.ts +32 -0
- package/dist/natural/search-result.d.ts +322 -0
- package/dist/natural/search-result.js +5 -0
- package/dist/natural/search.d.ts +8 -1
- package/dist/openapi-component-manifest.js +9 -0
- package/dist/person/natural-search-result.d.ts +252 -0
- package/dist/person/natural-search-result.js +5 -0
- package/dist/round/label.d.ts +1 -0
- package/dist/round/label.js +1 -0
- package/dist/search/answer-citation.d.ts +6 -1
- package/dist/search/answer-citation.js +1 -1
- package/dist/search/evidence-source.d.ts +7 -9
- package/dist/search/evidence-source.js +5 -6
- package/dist/search/interpretation.d.ts +6 -0
- package/dist/search/investment.d.ts +269 -0
- package/dist/search/investment.js +29 -0
- package/dist/search/judgment.d.ts +50 -0
- package/dist/search/judgment.js +3 -0
- package/dist/search/mode-execution.d.ts +16 -2
- package/dist/search/mode.d.ts +8 -11
- package/dist/search/mode.js +4 -5
- package/dist/search/passage.d.ts +6 -1
- package/dist/shared/search.d.ts +578 -0
- package/package.json +1 -1
|
@@ -147,6 +147,257 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
147
147
|
};
|
|
148
148
|
unsupported?: string | null | undefined;
|
|
149
149
|
}, unknown>>;
|
|
150
|
+
investment: z.ZodArray<z.ZodType<{
|
|
151
|
+
evidence: {
|
|
152
|
+
fundManagerRelationshipSource?: {
|
|
153
|
+
changedAt?: string | null | undefined;
|
|
154
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
155
|
+
pendingApproval?: number | null | undefined;
|
|
156
|
+
sourceId?: string | null | undefined;
|
|
157
|
+
status?: string | null | undefined;
|
|
158
|
+
} | null | undefined;
|
|
159
|
+
fundraiseTransaction: {
|
|
160
|
+
amountRaised?: number | null | undefined;
|
|
161
|
+
createdAt?: string | null | undefined;
|
|
162
|
+
currency?: string | null | undefined;
|
|
163
|
+
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
164
|
+
dateAnnounced?: string | null | undefined;
|
|
165
|
+
dateFundingComplete?: string | null | undefined;
|
|
166
|
+
dateInvestorExit?: string | null | undefined;
|
|
167
|
+
entity?: {
|
|
168
|
+
core: {
|
|
169
|
+
defaultCurrency?: string | null | undefined;
|
|
170
|
+
foundedYear?: number | null | undefined;
|
|
171
|
+
id: string;
|
|
172
|
+
image: {
|
|
173
|
+
isMonogram: boolean;
|
|
174
|
+
logo?: string | null | undefined;
|
|
175
|
+
logoSquare?: string | null | undefined;
|
|
176
|
+
};
|
|
177
|
+
lastModifiedAt?: string | null | undefined;
|
|
178
|
+
nameAlias: {
|
|
179
|
+
displayable?: boolean | null | undefined;
|
|
180
|
+
name: string;
|
|
181
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
182
|
+
}[];
|
|
183
|
+
nameBrand: string;
|
|
184
|
+
nameLegal?: string | null | undefined;
|
|
185
|
+
operatingStatus?: string | null | undefined;
|
|
186
|
+
publicId?: string | null | undefined;
|
|
187
|
+
publicUrl?: string | null | undefined;
|
|
188
|
+
sitemap?: {
|
|
189
|
+
hasAcquisitions?: boolean | undefined;
|
|
190
|
+
hasAnalysis: boolean;
|
|
191
|
+
hasEmployees: boolean;
|
|
192
|
+
hasFundraising: boolean;
|
|
193
|
+
hasNews: boolean;
|
|
194
|
+
productServiceSlug: string[];
|
|
195
|
+
} | null | undefined;
|
|
196
|
+
slug: string;
|
|
197
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
198
|
+
updatedAt?: string | null | undefined;
|
|
199
|
+
};
|
|
200
|
+
fundingDetail?: {
|
|
201
|
+
currency?: string | null | undefined;
|
|
202
|
+
fundingRoundCount: number;
|
|
203
|
+
investorCount: number;
|
|
204
|
+
latestValuation?: number | null | undefined;
|
|
205
|
+
mostRecentAmount?: number | null | undefined;
|
|
206
|
+
mostRecentDate?: string | null | undefined;
|
|
207
|
+
stage?: "Acquired" | "Acquired Subsidiary" | "Angel" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Pre-Seed" | "Public" | "Seed" | "Series A" | "Series B" | "Series C" | "Series D" | "Series E" | "Series F" | "Series G" | "Series H" | "Series I" | "Series J" | "Series K" | "Series L" | "Series M" | "Series N" | "Series O" | "Series P" | "Series Q" | "Series R" | "Series S" | "Series T" | "Series U" | "Series V" | "Series W" | "Series X" | "Series Y" | "Series Z" | null | undefined;
|
|
208
|
+
totalRaised: number;
|
|
209
|
+
} | null | undefined;
|
|
210
|
+
} | null | undefined;
|
|
211
|
+
id: string;
|
|
212
|
+
investorAttribution?: {
|
|
213
|
+
amountInvested?: number | null | undefined;
|
|
214
|
+
attributionType: "direct" | "managedFund";
|
|
215
|
+
beneficialEntityId?: string | null | undefined;
|
|
216
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
217
|
+
joinId: string;
|
|
218
|
+
leadInvestor: boolean;
|
|
219
|
+
recordedEntityId?: string | null | undefined;
|
|
220
|
+
round?: {
|
|
221
|
+
round: string;
|
|
222
|
+
} | null | undefined;
|
|
223
|
+
transactionId: string;
|
|
224
|
+
} | null | undefined;
|
|
225
|
+
investorCount?: number | null | undefined;
|
|
226
|
+
round?: string | null | undefined;
|
|
227
|
+
sourceAttribution: {
|
|
228
|
+
amountInvested?: number | null | undefined;
|
|
229
|
+
attributionType: "direct" | "managedFund";
|
|
230
|
+
beneficialEntityId?: string | null | undefined;
|
|
231
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
232
|
+
joinId: string;
|
|
233
|
+
leadInvestor: boolean;
|
|
234
|
+
recordedEntityId?: string | null | undefined;
|
|
235
|
+
round?: {
|
|
236
|
+
round: string;
|
|
237
|
+
} | null | undefined;
|
|
238
|
+
transactionId: string;
|
|
239
|
+
}[];
|
|
240
|
+
updatedAt?: string | null | undefined;
|
|
241
|
+
valuationPostMoney?: number | null | undefined;
|
|
242
|
+
valuationPreMoney?: number | null | undefined;
|
|
243
|
+
};
|
|
244
|
+
fundraiseTransactionSource?: {
|
|
245
|
+
changedAt?: string | null | undefined;
|
|
246
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
247
|
+
pendingApproval?: number | null | undefined;
|
|
248
|
+
sourceId?: string | null | undefined;
|
|
249
|
+
status?: string | null | undefined;
|
|
250
|
+
} | null | undefined;
|
|
251
|
+
investorJoinSource?: {
|
|
252
|
+
changedAt?: string | null | undefined;
|
|
253
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
254
|
+
pendingApproval?: number | null | undefined;
|
|
255
|
+
sourceId?: string | null | undefined;
|
|
256
|
+
status?: string | null | undefined;
|
|
257
|
+
} | null | undefined;
|
|
258
|
+
};
|
|
259
|
+
investor: {
|
|
260
|
+
entityId?: string | null | undefined;
|
|
261
|
+
personId?: string | null | undefined;
|
|
262
|
+
};
|
|
263
|
+
semanticMatch?: {
|
|
264
|
+
computedAt: string;
|
|
265
|
+
cosineDistance: number;
|
|
266
|
+
cosineScore: number;
|
|
267
|
+
modelVersion: string;
|
|
268
|
+
rank: number;
|
|
269
|
+
sourceHash: string;
|
|
270
|
+
sourceId: string;
|
|
271
|
+
sourceJson: string;
|
|
272
|
+
sourceText: string;
|
|
273
|
+
sourceType: string;
|
|
274
|
+
} | null | undefined;
|
|
275
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
276
|
+
evidence: {
|
|
277
|
+
fundManagerRelationshipSource?: {
|
|
278
|
+
changedAt?: string | null | undefined;
|
|
279
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
280
|
+
pendingApproval?: number | null | undefined;
|
|
281
|
+
sourceId?: string | null | undefined;
|
|
282
|
+
status?: string | null | undefined;
|
|
283
|
+
} | null | undefined;
|
|
284
|
+
fundraiseTransaction: {
|
|
285
|
+
amountRaised?: number | null | undefined;
|
|
286
|
+
createdAt?: string | null | undefined;
|
|
287
|
+
currency?: string | null | undefined;
|
|
288
|
+
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
289
|
+
dateAnnounced?: string | null | undefined;
|
|
290
|
+
dateFundingComplete?: string | null | undefined;
|
|
291
|
+
dateInvestorExit?: string | null | undefined;
|
|
292
|
+
entity?: {
|
|
293
|
+
core: {
|
|
294
|
+
defaultCurrency?: string | null | undefined;
|
|
295
|
+
foundedYear?: number | null | undefined;
|
|
296
|
+
id: string;
|
|
297
|
+
image: {
|
|
298
|
+
isMonogram: boolean;
|
|
299
|
+
logo?: string | null | undefined;
|
|
300
|
+
logoSquare?: string | null | undefined;
|
|
301
|
+
};
|
|
302
|
+
lastModifiedAt?: string | null | undefined;
|
|
303
|
+
nameAlias: {
|
|
304
|
+
displayable?: boolean | null | undefined;
|
|
305
|
+
name: string;
|
|
306
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
307
|
+
}[];
|
|
308
|
+
nameBrand: string;
|
|
309
|
+
nameLegal?: string | null | undefined;
|
|
310
|
+
operatingStatus?: string | null | undefined;
|
|
311
|
+
publicId?: string | null | undefined;
|
|
312
|
+
publicUrl?: string | null | undefined;
|
|
313
|
+
sitemap?: {
|
|
314
|
+
hasAcquisitions?: boolean | undefined;
|
|
315
|
+
hasAnalysis: boolean;
|
|
316
|
+
hasEmployees: boolean;
|
|
317
|
+
hasFundraising: boolean;
|
|
318
|
+
hasNews: boolean;
|
|
319
|
+
productServiceSlug: string[];
|
|
320
|
+
} | null | undefined;
|
|
321
|
+
slug: string;
|
|
322
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
323
|
+
updatedAt?: string | null | undefined;
|
|
324
|
+
};
|
|
325
|
+
fundingDetail?: {
|
|
326
|
+
currency?: string | null | undefined;
|
|
327
|
+
fundingRoundCount: number;
|
|
328
|
+
investorCount: number;
|
|
329
|
+
latestValuation?: number | null | undefined;
|
|
330
|
+
mostRecentAmount?: number | null | undefined;
|
|
331
|
+
mostRecentDate?: string | null | undefined;
|
|
332
|
+
stage?: "Acquired" | "Acquired Subsidiary" | "Angel" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Pre-Seed" | "Public" | "Seed" | "Series A" | "Series B" | "Series C" | "Series D" | "Series E" | "Series F" | "Series G" | "Series H" | "Series I" | "Series J" | "Series K" | "Series L" | "Series M" | "Series N" | "Series O" | "Series P" | "Series Q" | "Series R" | "Series S" | "Series T" | "Series U" | "Series V" | "Series W" | "Series X" | "Series Y" | "Series Z" | null | undefined;
|
|
333
|
+
totalRaised: number;
|
|
334
|
+
} | null | undefined;
|
|
335
|
+
} | null | undefined;
|
|
336
|
+
id: string;
|
|
337
|
+
investorAttribution?: {
|
|
338
|
+
amountInvested?: number | null | undefined;
|
|
339
|
+
attributionType: "direct" | "managedFund";
|
|
340
|
+
beneficialEntityId?: string | null | undefined;
|
|
341
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
342
|
+
joinId: string;
|
|
343
|
+
leadInvestor: boolean;
|
|
344
|
+
recordedEntityId?: string | null | undefined;
|
|
345
|
+
round?: {
|
|
346
|
+
round: string;
|
|
347
|
+
} | null | undefined;
|
|
348
|
+
transactionId: string;
|
|
349
|
+
} | null | undefined;
|
|
350
|
+
investorCount?: number | null | undefined;
|
|
351
|
+
round?: string | null | undefined;
|
|
352
|
+
sourceAttribution: {
|
|
353
|
+
amountInvested?: number | null | undefined;
|
|
354
|
+
attributionType: "direct" | "managedFund";
|
|
355
|
+
beneficialEntityId?: string | null | undefined;
|
|
356
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
357
|
+
joinId: string;
|
|
358
|
+
leadInvestor: boolean;
|
|
359
|
+
recordedEntityId?: string | null | undefined;
|
|
360
|
+
round?: {
|
|
361
|
+
round: string;
|
|
362
|
+
} | null | undefined;
|
|
363
|
+
transactionId: string;
|
|
364
|
+
}[];
|
|
365
|
+
updatedAt?: string | null | undefined;
|
|
366
|
+
valuationPostMoney?: number | null | undefined;
|
|
367
|
+
valuationPreMoney?: number | null | undefined;
|
|
368
|
+
};
|
|
369
|
+
fundraiseTransactionSource?: {
|
|
370
|
+
changedAt?: string | null | undefined;
|
|
371
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
372
|
+
pendingApproval?: number | null | undefined;
|
|
373
|
+
sourceId?: string | null | undefined;
|
|
374
|
+
status?: string | null | undefined;
|
|
375
|
+
} | null | undefined;
|
|
376
|
+
investorJoinSource?: {
|
|
377
|
+
changedAt?: string | null | undefined;
|
|
378
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
379
|
+
pendingApproval?: number | null | undefined;
|
|
380
|
+
sourceId?: string | null | undefined;
|
|
381
|
+
status?: string | null | undefined;
|
|
382
|
+
} | null | undefined;
|
|
383
|
+
};
|
|
384
|
+
investor: {
|
|
385
|
+
entityId?: string | null | undefined;
|
|
386
|
+
personId?: string | null | undefined;
|
|
387
|
+
};
|
|
388
|
+
semanticMatch?: {
|
|
389
|
+
computedAt: string;
|
|
390
|
+
cosineDistance: number;
|
|
391
|
+
cosineScore: number;
|
|
392
|
+
modelVersion: string;
|
|
393
|
+
rank: number;
|
|
394
|
+
sourceHash: string;
|
|
395
|
+
sourceId: string;
|
|
396
|
+
sourceJson: string;
|
|
397
|
+
sourceText: string;
|
|
398
|
+
sourceType: string;
|
|
399
|
+
} | null | undefined;
|
|
400
|
+
}, unknown>>>;
|
|
150
401
|
result: z.ZodType<{
|
|
151
402
|
content: {
|
|
152
403
|
createdAt?: string | null | undefined;
|
|
@@ -240,6 +491,7 @@ declare const PersonNaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
240
491
|
totalElements: number;
|
|
241
492
|
totalPages: number;
|
|
242
493
|
}, unknown>>;
|
|
494
|
+
searchRequestId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
|
|
243
495
|
}, z.core.$strip>;
|
|
244
496
|
type PersonNaturalSearchResultDefinition = z.infer<typeof PersonNaturalSearchResultSchemaDefinition>;
|
|
245
497
|
/**
|
|
@@ -2,11 +2,16 @@
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
import { PageResultPersonSchema } from "../pagination/schemas.js";
|
|
4
4
|
import { PersonSearchInterpretationSchema } from "./search-interpretation.js";
|
|
5
|
+
import { SearchInvestmentSchema } from "../search/investment.js";
|
|
5
6
|
const PersonNaturalSearchResultSchemaDefinition = z.object({
|
|
6
7
|
/** Structured interpretation used to run the people query. */
|
|
7
8
|
interpretation: PersonSearchInterpretationSchema,
|
|
9
|
+
/** Personal investment participation supporting the returned people. Firm portfolio activity is never attributed to employees. Empty for other question intents. */
|
|
10
|
+
investment: z.array(SearchInvestmentSchema),
|
|
8
11
|
/** Person page returned by the canonical person list engine. */
|
|
9
12
|
result: PageResultPersonSchema,
|
|
13
|
+
/** Id of this search's stored record; send it with createSearchInteraction to record which results the user selected or opened. Null when the search was not recorded. */
|
|
14
|
+
searchRequestId: z.uuid().nullish(),
|
|
10
15
|
});
|
|
11
16
|
/**
|
|
12
17
|
* Natural-language people search result: planner interpretation plus the canonical person page produced by the person list engine.
|
package/dist/round/label.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { z } from "zod/v4";
|
|
|
27
27
|
* @endpoint POST /v1/people/lookup-batch
|
|
28
28
|
* @endpoint POST /v1/search
|
|
29
29
|
* @endpoint POST /v1/search/natural/entities
|
|
30
|
+
* @endpoint POST /v1/search/natural/people
|
|
30
31
|
* @endpoint POST /v1/search/shared
|
|
31
32
|
* @usedBySchema EntityInvestorParticipationSchema
|
|
32
33
|
* @usedBySchema FundraiseInvestmentAttributionSchema
|
package/dist/round/label.js
CHANGED
|
@@ -28,6 +28,7 @@ import { z } from "zod/v4";
|
|
|
28
28
|
* @endpoint POST /v1/people/lookup-batch
|
|
29
29
|
* @endpoint POST /v1/search
|
|
30
30
|
* @endpoint POST /v1/search/natural/entities
|
|
31
|
+
* @endpoint POST /v1/search/natural/people
|
|
31
32
|
* @endpoint POST /v1/search/shared
|
|
32
33
|
* @usedBySchema EntityInvestorParticipationSchema
|
|
33
34
|
* @usedBySchema FundraiseInvestmentAttributionSchema
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
declare const SearchAnswerCitationSchemaDefinition: z.ZodObject<{
|
|
3
3
|
entityId: z.ZodUUID;
|
|
4
|
-
source: z.
|
|
4
|
+
source: z.ZodUnion<readonly [z.ZodEnum<{
|
|
5
|
+
entityRecord: "entityRecord";
|
|
6
|
+
fundraiseTransaction: "fundraiseTransaction";
|
|
7
|
+
newsArticle: "newsArticle";
|
|
8
|
+
researchSnippet: "researchSnippet";
|
|
9
|
+
}>, z.ZodString]>;
|
|
5
10
|
sourceId: z.ZodString;
|
|
6
11
|
}, z.core.$strip>;
|
|
7
12
|
type SearchAnswerCitationDefinition = z.infer<typeof SearchAnswerCitationSchemaDefinition>;
|
|
@@ -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`,
|
|
9
|
+
/** Entity id for `entityRecord`, snippet or news article id from `passage`, or the recorded round id for `fundraiseTransaction`. */
|
|
10
10
|
sourceId: z.string(),
|
|
11
11
|
});
|
|
12
12
|
/**
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
|
-
declare const SearchEvidenceSourceSchemaDefinition: z.ZodUnion<readonly [z.ZodEnum<{
|
|
3
|
-
entityRecord: "entityRecord";
|
|
4
|
-
newsArticle: "newsArticle";
|
|
5
|
-
researchSnippet: "researchSnippet";
|
|
6
|
-
}>, z.ZodString]>;
|
|
7
|
-
type SearchEvidenceSourceDefinition = z.infer<typeof SearchEvidenceSourceSchemaDefinition>;
|
|
8
2
|
/**
|
|
9
|
-
* Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity.
|
|
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.
|
|
10
4
|
*
|
|
11
5
|
* @openapiSchema SearchEvidenceSource
|
|
12
6
|
* @endpoint GET /v1/search/link
|
|
@@ -21,7 +15,11 @@ type SearchEvidenceSourceDefinition = z.infer<typeof SearchEvidenceSourceSchemaD
|
|
|
21
15
|
* @contractShape search.evidence-source
|
|
22
16
|
* @contractRole canonical
|
|
23
17
|
*/
|
|
24
|
-
export declare const SearchEvidenceSourceSchema: z.
|
|
18
|
+
export declare const SearchEvidenceSourceSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
19
|
+
entityRecord: "entityRecord";
|
|
20
|
+
fundraiseTransaction: "fundraiseTransaction";
|
|
21
|
+
newsArticle: "newsArticle";
|
|
22
|
+
researchSnippet: "researchSnippet";
|
|
23
|
+
}>, z.ZodString]>;
|
|
25
24
|
export type SearchEvidenceSource = z.infer<typeof SearchEvidenceSourceSchema>;
|
|
26
|
-
export {};
|
|
27
25
|
//# sourceMappingURL=evidence-source.d.ts.map
|
|
@@ -1,11 +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
|
-
const SearchEvidenceSourceSchemaDefinition = z.union([
|
|
4
|
-
z.enum(["entityRecord", "researchSnippet", "newsArticle"]),
|
|
5
|
-
z.string(),
|
|
6
|
-
]);
|
|
7
3
|
/**
|
|
8
|
-
* Owner of search evidence: `entityRecord` is the entity's structured record, `researchSnippet` an entity research snippet, `newsArticle` a news article linked to the entity.
|
|
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.
|
|
9
5
|
*
|
|
10
6
|
* @openapiSchema SearchEvidenceSource
|
|
11
7
|
* @endpoint GET /v1/search/link
|
|
@@ -20,5 +16,8 @@ const SearchEvidenceSourceSchemaDefinition = z.union([
|
|
|
20
16
|
* @contractShape search.evidence-source
|
|
21
17
|
* @contractRole canonical
|
|
22
18
|
*/
|
|
23
|
-
export const SearchEvidenceSourceSchema =
|
|
19
|
+
export const SearchEvidenceSourceSchema = z.union([
|
|
20
|
+
z.enum(["entityRecord", "researchSnippet", "newsArticle", "fundraiseTransaction"]),
|
|
21
|
+
z.string(),
|
|
22
|
+
]);
|
|
24
23
|
//# sourceMappingURL=evidence-source.js.map
|
|
@@ -37,6 +37,8 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
37
37
|
min?: number | null | undefined;
|
|
38
38
|
}[] | undefined;
|
|
39
39
|
investedCompanyName?: string[] | undefined;
|
|
40
|
+
investedIndustry?: string[] | undefined;
|
|
41
|
+
investedRound?: string[] | undefined;
|
|
40
42
|
investorActivity?: {
|
|
41
43
|
averageAmountInvestedUsdRange?: {
|
|
42
44
|
max?: number | null | undefined;
|
|
@@ -64,6 +66,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
64
66
|
max?: number | null | undefined;
|
|
65
67
|
min?: number | null | undefined;
|
|
66
68
|
}[] | undefined;
|
|
69
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
67
70
|
round?: string[] | undefined;
|
|
68
71
|
totalRaisedRange?: {
|
|
69
72
|
max?: number | null | undefined;
|
|
@@ -136,6 +139,8 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
136
139
|
min?: number | null | undefined;
|
|
137
140
|
}[] | undefined;
|
|
138
141
|
investedCompanyName?: string[] | undefined;
|
|
142
|
+
investedIndustry?: string[] | undefined;
|
|
143
|
+
investedRound?: string[] | undefined;
|
|
139
144
|
investorActivity?: {
|
|
140
145
|
averageAmountInvestedUsdRange?: {
|
|
141
146
|
max?: number | null | undefined;
|
|
@@ -163,6 +168,7 @@ declare const SearchInterpretationSchemaDefinition: z.ZodObject<{
|
|
|
163
168
|
max?: number | null | undefined;
|
|
164
169
|
min?: number | null | undefined;
|
|
165
170
|
}[] | undefined;
|
|
171
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
166
172
|
round?: string[] | undefined;
|
|
167
173
|
totalRaisedRange?: {
|
|
168
174
|
max?: number | null | undefined;
|