@aventurevc/api-schemas 0.8.91 → 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 +574 -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/link/search.d.ts +574 -0
- package/dist/natural/search-result.d.ts +321 -0
- package/dist/natural/search-result.js +3 -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 +251 -0
- package/dist/person/natural-search-result.js +3 -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 +574 -0
- package/package.json +1 -1
|
@@ -66,6 +66,8 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
66
66
|
min?: number | null | undefined;
|
|
67
67
|
}[] | undefined;
|
|
68
68
|
investedCompanyName?: string[] | undefined;
|
|
69
|
+
investedIndustry?: string[] | undefined;
|
|
70
|
+
investedRound?: string[] | undefined;
|
|
69
71
|
investorActivity?: {
|
|
70
72
|
averageAmountInvestedUsdRange?: {
|
|
71
73
|
max?: number | null | undefined;
|
|
@@ -93,6 +95,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
93
95
|
max?: number | null | undefined;
|
|
94
96
|
min?: number | null | undefined;
|
|
95
97
|
}[] | undefined;
|
|
98
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
96
99
|
round?: string[] | undefined;
|
|
97
100
|
totalRaisedRange?: {
|
|
98
101
|
max?: number | null | undefined;
|
|
@@ -184,6 +187,8 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
184
187
|
min?: number | null | undefined;
|
|
185
188
|
}[] | undefined;
|
|
186
189
|
investedCompanyName?: string[] | undefined;
|
|
190
|
+
investedIndustry?: string[] | undefined;
|
|
191
|
+
investedRound?: string[] | undefined;
|
|
187
192
|
investorActivity?: {
|
|
188
193
|
averageAmountInvestedUsdRange?: {
|
|
189
194
|
max?: number | null | undefined;
|
|
@@ -211,6 +216,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
211
216
|
max?: number | null | undefined;
|
|
212
217
|
min?: number | null | undefined;
|
|
213
218
|
}[] | undefined;
|
|
219
|
+
rankByInvestmentActivity?: boolean | null | undefined;
|
|
214
220
|
round?: string[] | undefined;
|
|
215
221
|
totalRaisedRange?: {
|
|
216
222
|
max?: number | null | undefined;
|
|
@@ -272,6 +278,257 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
272
278
|
subjectEntityName: string[];
|
|
273
279
|
unsupported?: string | null | undefined;
|
|
274
280
|
}, unknown>>;
|
|
281
|
+
investment: z.ZodArray<z.ZodType<{
|
|
282
|
+
evidence: {
|
|
283
|
+
fundManagerRelationshipSource?: {
|
|
284
|
+
changedAt?: string | null | undefined;
|
|
285
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
286
|
+
pendingApproval?: number | null | undefined;
|
|
287
|
+
sourceId?: string | null | undefined;
|
|
288
|
+
status?: string | null | undefined;
|
|
289
|
+
} | null | undefined;
|
|
290
|
+
fundraiseTransaction: {
|
|
291
|
+
amountRaised?: number | null | undefined;
|
|
292
|
+
createdAt?: string | null | undefined;
|
|
293
|
+
currency?: string | null | undefined;
|
|
294
|
+
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
295
|
+
dateAnnounced?: string | null | undefined;
|
|
296
|
+
dateFundingComplete?: string | null | undefined;
|
|
297
|
+
dateInvestorExit?: string | null | undefined;
|
|
298
|
+
entity?: {
|
|
299
|
+
core: {
|
|
300
|
+
defaultCurrency?: string | null | undefined;
|
|
301
|
+
foundedYear?: number | null | undefined;
|
|
302
|
+
id: string;
|
|
303
|
+
image: {
|
|
304
|
+
isMonogram: boolean;
|
|
305
|
+
logo?: string | null | undefined;
|
|
306
|
+
logoSquare?: string | null | undefined;
|
|
307
|
+
};
|
|
308
|
+
lastModifiedAt?: string | null | undefined;
|
|
309
|
+
nameAlias: {
|
|
310
|
+
displayable?: boolean | null | undefined;
|
|
311
|
+
name: string;
|
|
312
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
313
|
+
}[];
|
|
314
|
+
nameBrand: string;
|
|
315
|
+
nameLegal?: string | null | undefined;
|
|
316
|
+
operatingStatus?: string | null | undefined;
|
|
317
|
+
publicId?: string | null | undefined;
|
|
318
|
+
publicUrl?: string | null | undefined;
|
|
319
|
+
sitemap?: {
|
|
320
|
+
hasAcquisitions?: boolean | undefined;
|
|
321
|
+
hasAnalysis: boolean;
|
|
322
|
+
hasEmployees: boolean;
|
|
323
|
+
hasFundraising: boolean;
|
|
324
|
+
hasNews: boolean;
|
|
325
|
+
productServiceSlug: string[];
|
|
326
|
+
} | null | undefined;
|
|
327
|
+
slug: string;
|
|
328
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
329
|
+
updatedAt?: string | null | undefined;
|
|
330
|
+
};
|
|
331
|
+
fundingDetail?: {
|
|
332
|
+
currency?: string | null | undefined;
|
|
333
|
+
fundingRoundCount: number;
|
|
334
|
+
investorCount: number;
|
|
335
|
+
latestValuation?: number | null | undefined;
|
|
336
|
+
mostRecentAmount?: number | null | undefined;
|
|
337
|
+
mostRecentDate?: string | null | undefined;
|
|
338
|
+
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;
|
|
339
|
+
totalRaised: number;
|
|
340
|
+
} | null | undefined;
|
|
341
|
+
} | null | undefined;
|
|
342
|
+
id: string;
|
|
343
|
+
investorAttribution?: {
|
|
344
|
+
amountInvested?: number | null | undefined;
|
|
345
|
+
attributionType: "direct" | "managedFund";
|
|
346
|
+
beneficialEntityId?: string | null | undefined;
|
|
347
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
348
|
+
joinId: string;
|
|
349
|
+
leadInvestor: boolean;
|
|
350
|
+
recordedEntityId?: string | null | undefined;
|
|
351
|
+
round?: {
|
|
352
|
+
round: string;
|
|
353
|
+
} | null | undefined;
|
|
354
|
+
transactionId: string;
|
|
355
|
+
} | null | undefined;
|
|
356
|
+
investorCount?: number | null | undefined;
|
|
357
|
+
round?: string | null | undefined;
|
|
358
|
+
sourceAttribution: {
|
|
359
|
+
amountInvested?: number | null | undefined;
|
|
360
|
+
attributionType: "direct" | "managedFund";
|
|
361
|
+
beneficialEntityId?: string | null | undefined;
|
|
362
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
363
|
+
joinId: string;
|
|
364
|
+
leadInvestor: boolean;
|
|
365
|
+
recordedEntityId?: string | null | undefined;
|
|
366
|
+
round?: {
|
|
367
|
+
round: string;
|
|
368
|
+
} | null | undefined;
|
|
369
|
+
transactionId: string;
|
|
370
|
+
}[];
|
|
371
|
+
updatedAt?: string | null | undefined;
|
|
372
|
+
valuationPostMoney?: number | null | undefined;
|
|
373
|
+
valuationPreMoney?: number | null | undefined;
|
|
374
|
+
};
|
|
375
|
+
fundraiseTransactionSource?: {
|
|
376
|
+
changedAt?: string | null | undefined;
|
|
377
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
378
|
+
pendingApproval?: number | null | undefined;
|
|
379
|
+
sourceId?: string | null | undefined;
|
|
380
|
+
status?: string | null | undefined;
|
|
381
|
+
} | null | undefined;
|
|
382
|
+
investorJoinSource?: {
|
|
383
|
+
changedAt?: string | null | undefined;
|
|
384
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
385
|
+
pendingApproval?: number | null | undefined;
|
|
386
|
+
sourceId?: string | null | undefined;
|
|
387
|
+
status?: string | null | undefined;
|
|
388
|
+
} | null | undefined;
|
|
389
|
+
};
|
|
390
|
+
investor: {
|
|
391
|
+
entityId?: string | null | undefined;
|
|
392
|
+
personId?: string | null | undefined;
|
|
393
|
+
};
|
|
394
|
+
semanticMatch?: {
|
|
395
|
+
computedAt: string;
|
|
396
|
+
cosineDistance: number;
|
|
397
|
+
cosineScore: number;
|
|
398
|
+
modelVersion: string;
|
|
399
|
+
rank: number;
|
|
400
|
+
sourceHash: string;
|
|
401
|
+
sourceId: string;
|
|
402
|
+
sourceJson: string;
|
|
403
|
+
sourceText: string;
|
|
404
|
+
sourceType: string;
|
|
405
|
+
} | null | undefined;
|
|
406
|
+
}, unknown, z.core.$ZodTypeInternals<{
|
|
407
|
+
evidence: {
|
|
408
|
+
fundManagerRelationshipSource?: {
|
|
409
|
+
changedAt?: string | null | undefined;
|
|
410
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
411
|
+
pendingApproval?: number | null | undefined;
|
|
412
|
+
sourceId?: string | null | undefined;
|
|
413
|
+
status?: string | null | undefined;
|
|
414
|
+
} | null | undefined;
|
|
415
|
+
fundraiseTransaction: {
|
|
416
|
+
amountRaised?: number | null | undefined;
|
|
417
|
+
createdAt?: string | null | undefined;
|
|
418
|
+
currency?: string | null | undefined;
|
|
419
|
+
dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
|
|
420
|
+
dateAnnounced?: string | null | undefined;
|
|
421
|
+
dateFundingComplete?: string | null | undefined;
|
|
422
|
+
dateInvestorExit?: string | null | undefined;
|
|
423
|
+
entity?: {
|
|
424
|
+
core: {
|
|
425
|
+
defaultCurrency?: string | null | undefined;
|
|
426
|
+
foundedYear?: number | null | undefined;
|
|
427
|
+
id: string;
|
|
428
|
+
image: {
|
|
429
|
+
isMonogram: boolean;
|
|
430
|
+
logo?: string | null | undefined;
|
|
431
|
+
logoSquare?: string | null | undefined;
|
|
432
|
+
};
|
|
433
|
+
lastModifiedAt?: string | null | undefined;
|
|
434
|
+
nameAlias: {
|
|
435
|
+
displayable?: boolean | null | undefined;
|
|
436
|
+
name: string;
|
|
437
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
438
|
+
}[];
|
|
439
|
+
nameBrand: string;
|
|
440
|
+
nameLegal?: string | null | undefined;
|
|
441
|
+
operatingStatus?: string | null | undefined;
|
|
442
|
+
publicId?: string | null | undefined;
|
|
443
|
+
publicUrl?: string | null | undefined;
|
|
444
|
+
sitemap?: {
|
|
445
|
+
hasAcquisitions?: boolean | undefined;
|
|
446
|
+
hasAnalysis: boolean;
|
|
447
|
+
hasEmployees: boolean;
|
|
448
|
+
hasFundraising: boolean;
|
|
449
|
+
hasNews: boolean;
|
|
450
|
+
productServiceSlug: string[];
|
|
451
|
+
} | null | undefined;
|
|
452
|
+
slug: string;
|
|
453
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
454
|
+
updatedAt?: string | null | undefined;
|
|
455
|
+
};
|
|
456
|
+
fundingDetail?: {
|
|
457
|
+
currency?: string | null | undefined;
|
|
458
|
+
fundingRoundCount: number;
|
|
459
|
+
investorCount: number;
|
|
460
|
+
latestValuation?: number | null | undefined;
|
|
461
|
+
mostRecentAmount?: number | null | undefined;
|
|
462
|
+
mostRecentDate?: string | null | undefined;
|
|
463
|
+
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;
|
|
464
|
+
totalRaised: number;
|
|
465
|
+
} | null | undefined;
|
|
466
|
+
} | null | undefined;
|
|
467
|
+
id: string;
|
|
468
|
+
investorAttribution?: {
|
|
469
|
+
amountInvested?: number | null | undefined;
|
|
470
|
+
attributionType: "direct" | "managedFund";
|
|
471
|
+
beneficialEntityId?: string | null | undefined;
|
|
472
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
473
|
+
joinId: string;
|
|
474
|
+
leadInvestor: boolean;
|
|
475
|
+
recordedEntityId?: string | null | undefined;
|
|
476
|
+
round?: {
|
|
477
|
+
round: string;
|
|
478
|
+
} | null | undefined;
|
|
479
|
+
transactionId: string;
|
|
480
|
+
} | null | undefined;
|
|
481
|
+
investorCount?: number | null | undefined;
|
|
482
|
+
round?: string | null | undefined;
|
|
483
|
+
sourceAttribution: {
|
|
484
|
+
amountInvested?: number | null | undefined;
|
|
485
|
+
attributionType: "direct" | "managedFund";
|
|
486
|
+
beneficialEntityId?: string | null | undefined;
|
|
487
|
+
fundManagerRelationshipId?: number | null | undefined;
|
|
488
|
+
joinId: string;
|
|
489
|
+
leadInvestor: boolean;
|
|
490
|
+
recordedEntityId?: string | null | undefined;
|
|
491
|
+
round?: {
|
|
492
|
+
round: string;
|
|
493
|
+
} | null | undefined;
|
|
494
|
+
transactionId: string;
|
|
495
|
+
}[];
|
|
496
|
+
updatedAt?: string | null | undefined;
|
|
497
|
+
valuationPostMoney?: number | null | undefined;
|
|
498
|
+
valuationPreMoney?: number | null | undefined;
|
|
499
|
+
};
|
|
500
|
+
fundraiseTransactionSource?: {
|
|
501
|
+
changedAt?: string | null | undefined;
|
|
502
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
503
|
+
pendingApproval?: number | null | undefined;
|
|
504
|
+
sourceId?: string | null | undefined;
|
|
505
|
+
status?: string | null | undefined;
|
|
506
|
+
} | null | undefined;
|
|
507
|
+
investorJoinSource?: {
|
|
508
|
+
changedAt?: string | null | undefined;
|
|
509
|
+
dataSourceUpdatedAt?: string | null | undefined;
|
|
510
|
+
pendingApproval?: number | null | undefined;
|
|
511
|
+
sourceId?: string | null | undefined;
|
|
512
|
+
status?: string | null | undefined;
|
|
513
|
+
} | null | undefined;
|
|
514
|
+
};
|
|
515
|
+
investor: {
|
|
516
|
+
entityId?: string | null | undefined;
|
|
517
|
+
personId?: string | null | undefined;
|
|
518
|
+
};
|
|
519
|
+
semanticMatch?: {
|
|
520
|
+
computedAt: string;
|
|
521
|
+
cosineDistance: number;
|
|
522
|
+
cosineScore: number;
|
|
523
|
+
modelVersion: string;
|
|
524
|
+
rank: number;
|
|
525
|
+
sourceHash: string;
|
|
526
|
+
sourceId: string;
|
|
527
|
+
sourceJson: string;
|
|
528
|
+
sourceText: string;
|
|
529
|
+
sourceType: string;
|
|
530
|
+
} | null | undefined;
|
|
531
|
+
}, unknown>>>;
|
|
275
532
|
judgment: z.ZodArray<z.ZodType<{
|
|
276
533
|
entity: {
|
|
277
534
|
core: {
|
|
@@ -749,6 +1006,38 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
749
1006
|
sourceType: string;
|
|
750
1007
|
} | null | undefined;
|
|
751
1008
|
};
|
|
1009
|
+
matchedOffering?: {
|
|
1010
|
+
defaultCurrency?: string | null | undefined;
|
|
1011
|
+
foundedYear?: number | null | undefined;
|
|
1012
|
+
id: string;
|
|
1013
|
+
image: {
|
|
1014
|
+
isMonogram: boolean;
|
|
1015
|
+
logo?: string | null | undefined;
|
|
1016
|
+
logoSquare?: string | null | undefined;
|
|
1017
|
+
};
|
|
1018
|
+
lastModifiedAt?: string | null | undefined;
|
|
1019
|
+
nameAlias: {
|
|
1020
|
+
displayable?: boolean | null | undefined;
|
|
1021
|
+
name: string;
|
|
1022
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
1023
|
+
}[];
|
|
1024
|
+
nameBrand: string;
|
|
1025
|
+
nameLegal?: string | null | undefined;
|
|
1026
|
+
operatingStatus?: string | null | undefined;
|
|
1027
|
+
publicId?: string | null | undefined;
|
|
1028
|
+
publicUrl?: string | null | undefined;
|
|
1029
|
+
sitemap?: {
|
|
1030
|
+
hasAcquisitions?: boolean | undefined;
|
|
1031
|
+
hasAnalysis: boolean;
|
|
1032
|
+
hasEmployees: boolean;
|
|
1033
|
+
hasFundraising: boolean;
|
|
1034
|
+
hasNews: boolean;
|
|
1035
|
+
productServiceSlug: string[];
|
|
1036
|
+
} | null | undefined;
|
|
1037
|
+
slug: string;
|
|
1038
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1039
|
+
updatedAt?: string | null | undefined;
|
|
1040
|
+
} | null | undefined;
|
|
752
1041
|
probability: number;
|
|
753
1042
|
webUrl: string[];
|
|
754
1043
|
}, unknown, z.core.$ZodTypeInternals<{
|
|
@@ -1228,6 +1517,38 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
1228
1517
|
sourceType: string;
|
|
1229
1518
|
} | null | undefined;
|
|
1230
1519
|
};
|
|
1520
|
+
matchedOffering?: {
|
|
1521
|
+
defaultCurrency?: string | null | undefined;
|
|
1522
|
+
foundedYear?: number | null | undefined;
|
|
1523
|
+
id: string;
|
|
1524
|
+
image: {
|
|
1525
|
+
isMonogram: boolean;
|
|
1526
|
+
logo?: string | null | undefined;
|
|
1527
|
+
logoSquare?: string | null | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
lastModifiedAt?: string | null | undefined;
|
|
1530
|
+
nameAlias: {
|
|
1531
|
+
displayable?: boolean | null | undefined;
|
|
1532
|
+
name: string;
|
|
1533
|
+
type?: "alternativeDba" | "relatedLegal" | null | undefined;
|
|
1534
|
+
}[];
|
|
1535
|
+
nameBrand: string;
|
|
1536
|
+
nameLegal?: string | null | undefined;
|
|
1537
|
+
operatingStatus?: string | null | undefined;
|
|
1538
|
+
publicId?: string | null | undefined;
|
|
1539
|
+
publicUrl?: string | null | undefined;
|
|
1540
|
+
sitemap?: {
|
|
1541
|
+
hasAcquisitions?: boolean | undefined;
|
|
1542
|
+
hasAnalysis: boolean;
|
|
1543
|
+
hasEmployees: boolean;
|
|
1544
|
+
hasFundraising: boolean;
|
|
1545
|
+
hasNews: boolean;
|
|
1546
|
+
productServiceSlug: string[];
|
|
1547
|
+
} | null | undefined;
|
|
1548
|
+
slug: string;
|
|
1549
|
+
typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
|
|
1550
|
+
updatedAt?: string | null | undefined;
|
|
1551
|
+
} | null | undefined;
|
|
1231
1552
|
probability: number;
|
|
1232
1553
|
webUrl: string[];
|
|
1233
1554
|
}, unknown>>>;
|
|
@@ -5,6 +5,7 @@ import { EntitySimilarityResultSchema } from "../entity/similarity-result.js";
|
|
|
5
5
|
import { PageResultEntityListSchema } from "../pagination/schemas.js";
|
|
6
6
|
import { SearchAnswerSchema } from "../search/answer.js";
|
|
7
7
|
import { SearchInterpretationSchema } from "../search/interpretation.js";
|
|
8
|
+
import { SearchInvestmentSchema } from "../search/investment.js";
|
|
8
9
|
import { SearchJudgmentSchema } from "../search/judgment.js";
|
|
9
10
|
import { SearchPassageSchema } from "../search/passage.js";
|
|
10
11
|
const NaturalSearchResultSchemaDefinition = z.object({
|
|
@@ -12,6 +13,8 @@ const NaturalSearchResultSchemaDefinition = z.object({
|
|
|
12
13
|
answer: SearchAnswerSchema.nullish(),
|
|
13
14
|
/** Structured interpretation used to run the entity list query. */
|
|
14
15
|
interpretation: SearchInterpretationSchema,
|
|
16
|
+
/** Recorded investment participation supporting investor discovery. Each row keeps its entity or personal investor, portfolio company, transaction attribution, and query-matched offering evidence. Empty for other question intents. */
|
|
17
|
+
investment: z.array(SearchInvestmentSchema),
|
|
15
18
|
/** Judged rows of the `result` page for a competitor, market, or provider question: the same entities in the same order, each with its judged probability. Empty for other questions. */
|
|
16
19
|
judgment: z.array(SearchJudgmentSchema),
|
|
17
20
|
/** Passages that best answer the question, ranked by score; empty unless the request asks for the `passage` layer. */
|
package/dist/natural/search.d.ts
CHANGED
|
@@ -5,7 +5,14 @@ declare const NaturalSearchSchemaDefinition: z.ZodObject<{
|
|
|
5
5
|
refresh: "refresh";
|
|
6
6
|
use: "use";
|
|
7
7
|
}>>>;
|
|
8
|
-
mode: z.ZodOptional<z.ZodDefault<z.
|
|
8
|
+
mode: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
|
|
9
|
+
auto: "auto";
|
|
10
|
+
exact: "exact";
|
|
11
|
+
hybrid: "hybrid";
|
|
12
|
+
keyword: "keyword";
|
|
13
|
+
natural: "natural";
|
|
14
|
+
semantic: "semantic";
|
|
15
|
+
}>, z.ZodString]>>>;
|
|
9
16
|
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
17
|
query: z.ZodString;
|
|
11
18
|
reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -189,6 +189,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
189
189
|
modulePath: "datasource/provenance-actor-type",
|
|
190
190
|
schemaName: "DatasourceProvenanceActorTypeSchema",
|
|
191
191
|
},
|
|
192
|
+
DatasourceSourceMetadata: {
|
|
193
|
+
modulePath: "datasource/source-metadata",
|
|
194
|
+
schemaName: "DatasourceSourceMetadataSchema",
|
|
195
|
+
},
|
|
192
196
|
DecimalRange: { modulePath: "decimal/range", schemaName: "DecimalRangeSchema" },
|
|
193
197
|
DomainConflictDetails: {
|
|
194
198
|
modulePath: "domain/conflict-details",
|
|
@@ -477,6 +481,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
477
481
|
modulePath: "fundraise/investment-attribution-type",
|
|
478
482
|
schemaName: "FundraiseInvestmentAttributionTypeSchema",
|
|
479
483
|
},
|
|
484
|
+
FundraiseInvestmentEvidence: {
|
|
485
|
+
modulePath: "fundraise/investment-evidence",
|
|
486
|
+
schemaName: "FundraiseInvestmentEvidenceSchema",
|
|
487
|
+
},
|
|
480
488
|
FundraiseTransactionStatus: {
|
|
481
489
|
modulePath: "fundraise/transaction-status",
|
|
482
490
|
schemaName: "FundraiseTransactionStatusSchema",
|
|
@@ -843,6 +851,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
|
|
|
843
851
|
modulePath: "search/interpretation",
|
|
844
852
|
schemaName: "SearchInterpretationSchema",
|
|
845
853
|
},
|
|
854
|
+
SearchInvestment: { modulePath: "search/investment", schemaName: "SearchInvestmentSchema" },
|
|
846
855
|
SearchJudgment: { modulePath: "search/judgment", schemaName: "SearchJudgmentSchema" },
|
|
847
856
|
SearchLayer: { modulePath: "search/layer", schemaName: "SearchLayerSchema" },
|
|
848
857
|
SearchMode: { modulePath: "search/mode", schemaName: "SearchModeSchema" },
|