@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
@@ -1,39 +1,57 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const SearchJudgmentSchemaDefinition: z.ZodObject<{
3
- entity: z.ZodType<{
4
- core: {
5
- defaultCurrency?: string | null | undefined;
6
- foundedYear?: number | null | undefined;
7
- id: string;
8
- image: {
3
+ entity: z.ZodOptional<z.ZodObject<{
4
+ core: z.ZodObject<{
5
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7
+ id: z.ZodUUID;
8
+ image: z.ZodType<{
9
9
  isMonogram: boolean;
10
10
  logo?: string | null | undefined;
11
11
  logoSquare?: string | null | undefined;
12
- };
13
- lastModifiedAt?: string | null | undefined;
14
- nameAlias: {
12
+ }, unknown, z.core.$ZodTypeInternals<{
13
+ isMonogram: boolean;
14
+ logo?: string | null | undefined;
15
+ logoSquare?: string | null | undefined;
16
+ }, unknown>>;
17
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18
+ nameAlias: z.ZodArray<z.ZodType<{
15
19
  displayable?: boolean | null | undefined;
16
20
  name: string;
17
21
  type?: "alternativeDba" | "relatedLegal" | null | undefined;
18
- }[];
19
- nameBrand: string;
20
- nameLegal?: string | null | undefined;
21
- operatingStatus?: string | null | undefined;
22
- publicId?: string | null | undefined;
23
- publicUrl?: string | null | undefined;
24
- sitemap?: {
25
- hasAcquisitions?: boolean | undefined;
26
- hasAnalysis: boolean;
27
- hasEmployees: boolean;
28
- hasFundraising: boolean;
29
- hasNews: boolean;
30
- productServiceSlug: string[];
31
- } | null | undefined;
32
- slug: string;
33
- typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
34
- updatedAt?: string | null | undefined;
35
- };
36
- enrichment: {
22
+ }, unknown, z.core.$ZodTypeInternals<{
23
+ displayable?: boolean | null | undefined;
24
+ name: string;
25
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
26
+ }, unknown>>>;
27
+ nameBrand: z.ZodString;
28
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
34
+ hasAnalysis: z.ZodBoolean;
35
+ hasEmployees: z.ZodBoolean;
36
+ hasFundraising: z.ZodBoolean;
37
+ hasNews: z.ZodBoolean;
38
+ productServiceSlug: z.ZodArray<z.ZodString>;
39
+ }, z.core.$strip>>>;
40
+ slug: z.ZodString;
41
+ typeRecord: z.ZodEnum<{
42
+ "Business Line": "Business Line";
43
+ Company: "Company";
44
+ Fund: "Fund";
45
+ Government: "Government";
46
+ "Investment Firm": "Investment Firm";
47
+ Nonprofit: "Nonprofit";
48
+ Organization: "Organization";
49
+ Product: "Product";
50
+ Service: "Service";
51
+ }>;
52
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
+ }, z.core.$strip>;
54
+ enrichment: z.ZodType<{
37
55
  address: {
38
56
  address?: number | null | undefined;
39
57
  addressLine1?: string | null | undefined;
@@ -312,203 +330,7 @@ declare const SearchJudgmentSchemaDefinition: z.ZodObject<{
312
330
  urlType: string;
313
331
  }[];
314
332
  urlLinkSuppressedCount: number;
315
- };
316
- fundraiseRound: {
317
- amountRaised?: number | null | undefined;
318
- createdAt?: string | null | undefined;
319
- currency?: string | null | undefined;
320
- dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
321
- dateAnnounced?: string | null | undefined;
322
- dateFundingComplete?: string | null | undefined;
323
- dateInvestorExit?: string | null | undefined;
324
- entity?: {
325
- core: {
326
- defaultCurrency?: string | null | undefined;
327
- foundedYear?: number | null | undefined;
328
- id: string;
329
- image: {
330
- isMonogram: boolean;
331
- logo?: string | null | undefined;
332
- logoSquare?: string | null | undefined;
333
- };
334
- lastModifiedAt?: string | null | undefined;
335
- nameAlias: {
336
- displayable?: boolean | null | undefined;
337
- name: string;
338
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
339
- }[];
340
- nameBrand: string;
341
- nameLegal?: string | null | undefined;
342
- operatingStatus?: string | null | undefined;
343
- publicId?: string | null | undefined;
344
- publicUrl?: string | null | undefined;
345
- sitemap?: {
346
- hasAcquisitions?: boolean | undefined;
347
- hasAnalysis: boolean;
348
- hasEmployees: boolean;
349
- hasFundraising: boolean;
350
- hasNews: boolean;
351
- productServiceSlug: string[];
352
- } | null | undefined;
353
- slug: string;
354
- typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
355
- updatedAt?: string | null | undefined;
356
- };
357
- fundingDetail?: {
358
- currency?: string | null | undefined;
359
- fundingRoundCount: number;
360
- investorCount: number;
361
- latestValuation?: number | null | undefined;
362
- mostRecentAmount?: number | null | undefined;
363
- mostRecentDate?: string | null | undefined;
364
- 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;
365
- totalRaised: number;
366
- } | null | undefined;
367
- } | null | undefined;
368
- id: string;
369
- investorAttribution?: {
370
- amountInvested?: number | null | undefined;
371
- attributionType: "direct" | "managedFund";
372
- beneficialEntityId?: string | null | undefined;
373
- fundManagerRelationshipId?: number | null | undefined;
374
- joinId: string;
375
- leadInvestor: boolean;
376
- recordedEntityId?: string | null | undefined;
377
- round?: {
378
- round: string;
379
- } | null | undefined;
380
- transactionId: string;
381
- } | null | undefined;
382
- investorCount?: number | null | undefined;
383
- round?: string | null | undefined;
384
- sourceAttribution: {
385
- amountInvested?: number | null | undefined;
386
- attributionType: "direct" | "managedFund";
387
- beneficialEntityId?: string | null | undefined;
388
- fundManagerRelationshipId?: number | null | undefined;
389
- joinId: string;
390
- leadInvestor: boolean;
391
- recordedEntityId?: string | null | undefined;
392
- round?: {
393
- round: string;
394
- } | null | undefined;
395
- transactionId: string;
396
- }[];
397
- updatedAt?: string | null | undefined;
398
- valuationPostMoney?: number | null | undefined;
399
- valuationPreMoney?: number | null | undefined;
400
- }[];
401
- research: {
402
- acceleratorParticipation: {
403
- accelerator: {
404
- defaultCurrency?: string | null | undefined;
405
- foundedYear?: number | null | undefined;
406
- id: string;
407
- image: {
408
- isMonogram: boolean;
409
- logo?: string | null | undefined;
410
- logoSquare?: string | null | undefined;
411
- };
412
- lastModifiedAt?: string | null | undefined;
413
- nameAlias: {
414
- displayable?: boolean | null | undefined;
415
- name: string;
416
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
417
- }[];
418
- nameBrand: string;
419
- nameLegal?: string | null | undefined;
420
- operatingStatus?: string | null | undefined;
421
- publicId?: string | null | undefined;
422
- publicUrl?: string | null | undefined;
423
- sitemap?: {
424
- hasAcquisitions?: boolean | undefined;
425
- hasAnalysis: boolean;
426
- hasEmployees: boolean;
427
- hasFundraising: boolean;
428
- hasNews: boolean;
429
- productServiceSlug: string[];
430
- } | null | undefined;
431
- slug: string;
432
- typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
433
- updatedAt?: string | null | undefined;
434
- };
435
- acceleratorName: string;
436
- asOfDate: string;
437
- batch?: string | null | undefined;
438
- id: string;
439
- program?: string | null | undefined;
440
- status?: string | null | undefined;
441
- }[];
442
- detail: {
443
- asOfDate?: string | null | undefined;
444
- derivedRange?: {
445
- asOfDate: string;
446
- bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
447
- monthsFromNow: number;
448
- targetDate: string;
449
- } | null | undefined;
450
- discreteValue?: number | null | undefined;
451
- entityId: string;
452
- id: number;
453
- publicSource?: {
454
- lastFetchedAt?: string | null | undefined;
455
- publishedAt?: string | null | undefined;
456
- recordedAt: string;
457
- sourceDetail: string;
458
- } | null | undefined;
459
- textValue?: string | null | undefined;
460
- typeResearchDetail: string;
461
- updatedAt?: string | null | undefined;
462
- valueResearchDetail?: string | null | undefined;
463
- valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
464
- }[];
465
- };
466
- semanticMatch?: {
467
- computedAt: string;
468
- cosineDistance: number;
469
- cosineScore: number;
470
- modelVersion: string;
471
- rank: number;
472
- sourceHash: string;
473
- sourceId: string;
474
- sourceJson: string;
475
- sourceText: string;
476
- sourceType: string;
477
- } | null | undefined;
478
- }, unknown, z.core.$ZodTypeInternals<{
479
- core: {
480
- defaultCurrency?: string | null | undefined;
481
- foundedYear?: number | null | undefined;
482
- id: string;
483
- image: {
484
- isMonogram: boolean;
485
- logo?: string | null | undefined;
486
- logoSquare?: string | null | undefined;
487
- };
488
- lastModifiedAt?: string | null | undefined;
489
- nameAlias: {
490
- displayable?: boolean | null | undefined;
491
- name: string;
492
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
493
- }[];
494
- nameBrand: string;
495
- nameLegal?: string | null | undefined;
496
- operatingStatus?: string | null | undefined;
497
- publicId?: string | null | undefined;
498
- publicUrl?: string | null | undefined;
499
- sitemap?: {
500
- hasAcquisitions?: boolean | undefined;
501
- hasAnalysis: boolean;
502
- hasEmployees: boolean;
503
- hasFundraising: boolean;
504
- hasNews: boolean;
505
- productServiceSlug: string[];
506
- } | null | undefined;
507
- slug: string;
508
- typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
509
- updatedAt?: string | null | undefined;
510
- };
511
- enrichment: {
333
+ }, unknown, z.core.$ZodTypeInternals<{
512
334
  address: {
513
335
  address?: number | null | undefined;
514
336
  addressLine1?: string | null | undefined;
@@ -787,8 +609,92 @@ declare const SearchJudgmentSchemaDefinition: z.ZodObject<{
787
609
  urlType: string;
788
610
  }[];
789
611
  urlLinkSuppressedCount: number;
790
- };
791
- fundraiseRound: {
612
+ }, unknown>>;
613
+ fundraiseRound: z.ZodArray<z.ZodType<{
614
+ amountRaised?: number | null | undefined;
615
+ createdAt?: string | null | undefined;
616
+ currency?: string | null | undefined;
617
+ dataConfidence?: "High" | "Low" | "Medium" | "Verified" | null | undefined;
618
+ dateAnnounced?: string | null | undefined;
619
+ dateFundingComplete?: string | null | undefined;
620
+ dateInvestorExit?: string | null | undefined;
621
+ entity?: {
622
+ core: {
623
+ defaultCurrency?: string | null | undefined;
624
+ foundedYear?: number | null | undefined;
625
+ id: string;
626
+ image: {
627
+ isMonogram: boolean;
628
+ logo?: string | null | undefined;
629
+ logoSquare?: string | null | undefined;
630
+ };
631
+ lastModifiedAt?: string | null | undefined;
632
+ nameAlias: {
633
+ displayable?: boolean | null | undefined;
634
+ name: string;
635
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
636
+ }[];
637
+ nameBrand: string;
638
+ nameLegal?: string | null | undefined;
639
+ operatingStatus?: string | null | undefined;
640
+ publicId?: string | null | undefined;
641
+ publicUrl?: string | null | undefined;
642
+ sitemap?: {
643
+ hasAcquisitions?: boolean | undefined;
644
+ hasAnalysis: boolean;
645
+ hasEmployees: boolean;
646
+ hasFundraising: boolean;
647
+ hasNews: boolean;
648
+ productServiceSlug: string[];
649
+ } | null | undefined;
650
+ slug: string;
651
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
652
+ updatedAt?: string | null | undefined;
653
+ };
654
+ fundingDetail?: {
655
+ currency?: string | null | undefined;
656
+ fundingRoundCount: number;
657
+ investorCount: number;
658
+ latestValuation?: number | null | undefined;
659
+ mostRecentAmount?: number | null | undefined;
660
+ mostRecentDate?: string | null | undefined;
661
+ 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;
662
+ totalRaised: number;
663
+ } | null | undefined;
664
+ } | null | undefined;
665
+ id: string;
666
+ investorAttribution?: {
667
+ amountInvested?: number | null | undefined;
668
+ attributionType: "direct" | "managedFund";
669
+ beneficialEntityId?: string | null | undefined;
670
+ fundManagerRelationshipId?: number | null | undefined;
671
+ joinId: string;
672
+ leadInvestor: boolean;
673
+ recordedEntityId?: string | null | undefined;
674
+ round?: {
675
+ round: string;
676
+ } | null | undefined;
677
+ transactionId: string;
678
+ } | null | undefined;
679
+ investorCount?: number | null | undefined;
680
+ round?: string | null | undefined;
681
+ sourceAttribution: {
682
+ amountInvested?: number | null | undefined;
683
+ attributionType: "direct" | "managedFund";
684
+ beneficialEntityId?: string | null | undefined;
685
+ fundManagerRelationshipId?: number | null | undefined;
686
+ joinId: string;
687
+ leadInvestor: boolean;
688
+ recordedEntityId?: string | null | undefined;
689
+ round?: {
690
+ round: string;
691
+ } | null | undefined;
692
+ transactionId: string;
693
+ }[];
694
+ updatedAt?: string | null | undefined;
695
+ valuationPostMoney?: number | null | undefined;
696
+ valuationPreMoney?: number | null | undefined;
697
+ }, unknown, z.core.$ZodTypeInternals<{
792
698
  amountRaised?: number | null | undefined;
793
699
  createdAt?: string | null | undefined;
794
700
  currency?: string | null | undefined;
@@ -872,8 +778,72 @@ declare const SearchJudgmentSchemaDefinition: z.ZodObject<{
872
778
  updatedAt?: string | null | undefined;
873
779
  valuationPostMoney?: number | null | undefined;
874
780
  valuationPreMoney?: number | null | undefined;
875
- }[];
876
- research: {
781
+ }, unknown>>>;
782
+ research: z.ZodType<{
783
+ acceleratorParticipation: {
784
+ accelerator: {
785
+ defaultCurrency?: string | null | undefined;
786
+ foundedYear?: number | null | undefined;
787
+ id: string;
788
+ image: {
789
+ isMonogram: boolean;
790
+ logo?: string | null | undefined;
791
+ logoSquare?: string | null | undefined;
792
+ };
793
+ lastModifiedAt?: string | null | undefined;
794
+ nameAlias: {
795
+ displayable?: boolean | null | undefined;
796
+ name: string;
797
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
798
+ }[];
799
+ nameBrand: string;
800
+ nameLegal?: string | null | undefined;
801
+ operatingStatus?: string | null | undefined;
802
+ publicId?: string | null | undefined;
803
+ publicUrl?: string | null | undefined;
804
+ sitemap?: {
805
+ hasAcquisitions?: boolean | undefined;
806
+ hasAnalysis: boolean;
807
+ hasEmployees: boolean;
808
+ hasFundraising: boolean;
809
+ hasNews: boolean;
810
+ productServiceSlug: string[];
811
+ } | null | undefined;
812
+ slug: string;
813
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
814
+ updatedAt?: string | null | undefined;
815
+ };
816
+ acceleratorName: string;
817
+ asOfDate: string;
818
+ batch?: string | null | undefined;
819
+ id: string;
820
+ program?: string | null | undefined;
821
+ status?: string | null | undefined;
822
+ }[];
823
+ detail: {
824
+ asOfDate?: string | null | undefined;
825
+ derivedRange?: {
826
+ asOfDate: string;
827
+ bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
828
+ monthsFromNow: number;
829
+ targetDate: string;
830
+ } | null | undefined;
831
+ discreteValue?: number | null | undefined;
832
+ entityId: string;
833
+ id: number;
834
+ publicSource?: {
835
+ lastFetchedAt?: string | null | undefined;
836
+ publishedAt?: string | null | undefined;
837
+ recordedAt: string;
838
+ sourceDetail: string;
839
+ } | null | undefined;
840
+ textValue?: string | null | undefined;
841
+ typeResearchDetail: string;
842
+ updatedAt?: string | null | undefined;
843
+ valueResearchDetail?: string | null | undefined;
844
+ valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
845
+ }[];
846
+ }, unknown, z.core.$ZodTypeInternals<{
877
847
  acceleratorParticipation: {
878
848
  accelerator: {
879
849
  defaultCurrency?: string | null | undefined;
@@ -937,20 +907,34 @@ declare const SearchJudgmentSchemaDefinition: z.ZodObject<{
937
907
  valueResearchDetail?: string | null | undefined;
938
908
  valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
939
909
  }[];
940
- };
941
- semanticMatch?: {
942
- computedAt: string;
943
- cosineDistance: number;
944
- cosineScore: number;
945
- modelVersion: string;
946
- rank: number;
947
- sourceHash: string;
948
- sourceId: string;
949
- sourceJson: string;
950
- sourceText: string;
951
- sourceType: string;
952
- } | null | undefined;
953
- }, unknown>>;
910
+ }, unknown>>;
911
+ semanticMatch: z.ZodOptional<z.ZodNullable<z.ZodObject<{
912
+ computedAt: z.ZodISODateTime;
913
+ cosineDistance: z.ZodNumber;
914
+ cosineScore: z.ZodNumber;
915
+ modelVersion: z.ZodString;
916
+ rank: z.ZodInt;
917
+ sourceHash: z.ZodString;
918
+ sourceId: z.ZodString;
919
+ sourceJson: z.ZodOptional<z.ZodString>;
920
+ sourceText: z.ZodOptional<z.ZodString>;
921
+ sourceType: z.ZodUnion<readonly [z.ZodEnum<{
922
+ agentHelpDoc: "agentHelpDoc";
923
+ blogPost: "blogPost";
924
+ classificationCode: "classificationCode";
925
+ classificationTag: "classificationTag";
926
+ entity: "entity";
927
+ newsArticle: "newsArticle";
928
+ person: "person";
929
+ product: "product";
930
+ researchSnippet: "researchSnippet";
931
+ service: "service";
932
+ sourceDocument: "sourceDocument";
933
+ text: "text";
934
+ }>, z.ZodString]>;
935
+ }, z.core.$strip>>>;
936
+ }, z.core.$strip>>;
937
+ entityId: z.ZodUUID;
954
938
  matchedOffering: z.ZodOptional<z.ZodNullable<z.ZodObject<{
955
939
  defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
956
940
  foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -4,7 +4,9 @@ import { EntitySchema } from "../entity/entity.js";
4
4
  import { EntityListSchema } from "../entity/list.js";
5
5
  const SearchJudgmentSchemaDefinition = z.object({
6
6
  /** The answering entity. */
7
- entity: EntityListSchema,
7
+ entity: EntityListSchema.optional(),
8
+ /** Id of the answering entity; its row is in `result`. */
9
+ entityId: z.uuid(),
8
10
  /** Current public Product/Service that supports this answer. */
9
11
  matchedOffering: EntitySchema.nullish(),
10
12
  /** Judged probability, 0 to 1, that the entity answers the question. */
@@ -3,9 +3,11 @@ declare const SearchOrderingEntityFilterSortableSchemaDefinition: z.ZodObject<{
3
3
  order: z.ZodArray<z.ZodType<{
4
4
  descending: boolean;
5
5
  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";
6
+ sortKey?: string | null | undefined;
6
7
  }, unknown, z.core.$ZodTypeInternals<{
7
8
  descending: boolean;
8
9
  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";
10
+ sortKey?: string | null | undefined;
9
11
  }, unknown>>>;
10
12
  relevance: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11
13
  keyword: "keyword";
@@ -3,9 +3,11 @@ declare const SearchOrderingPersonSortFieldSchemaDefinition: z.ZodObject<{
3
3
  order: z.ZodArray<z.ZodType<{
4
4
  descending: boolean;
5
5
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
6
+ sortKey?: string | null | undefined;
6
7
  }, unknown, z.core.$ZodTypeInternals<{
7
8
  descending: boolean;
8
9
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
10
+ sortKey?: string | null | undefined;
9
11
  }, unknown>>>;
10
12
  relevance: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11
13
  keyword: "keyword";
@@ -8,6 +8,7 @@ declare const SearchPassageSchemaDefinition: z.ZodObject<{
8
8
  entityRecord: "entityRecord";
9
9
  fundraiseTransaction: "fundraiseTransaction";
10
10
  newsArticle: "newsArticle";
11
+ personRecord: "personRecord";
11
12
  researchSnippet: "researchSnippet";
12
13
  }>, z.ZodString]>;
13
14
  sourceId: z.ZodString;