@aventurevc/api-schemas 0.8.104 → 0.8.105

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.
@@ -1,57 +1,39 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
3
- entity: 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
- isMonogram: boolean;
10
- logo?: string | null | undefined;
11
- logoSquare?: string | null | undefined;
12
- }, unknown, z.core.$ZodTypeInternals<{
3
+ entity: z.ZodType<{
4
+ core: {
5
+ defaultCurrency?: string | null | undefined;
6
+ foundedYear?: number | null | undefined;
7
+ id: string;
8
+ image: {
13
9
  isMonogram: boolean;
14
10
  logo?: string | null | undefined;
15
11
  logoSquare?: string | null | undefined;
16
- }, unknown>>;
17
- lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18
- nameAlias: z.ZodArray<z.ZodType<{
19
- displayable?: boolean | null | undefined;
20
- name: string;
21
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
22
- }, unknown, z.core.$ZodTypeInternals<{
12
+ };
13
+ lastModifiedAt?: string | null | undefined;
14
+ nameAlias: {
23
15
  displayable?: boolean | null | undefined;
24
16
  name: string;
25
17
  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<{
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: {
55
37
  address: {
56
38
  address?: number | null | undefined;
57
39
  addressLine1?: string | null | undefined;
@@ -330,7 +312,201 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
330
312
  urlType: string;
331
313
  }[];
332
314
  urlLinkSuppressedCount: number;
333
- }, unknown, z.core.$ZodTypeInternals<{
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?: string | 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
+ sourceType: string;
475
+ } | null | undefined;
476
+ }, unknown, z.core.$ZodTypeInternals<{
477
+ core: {
478
+ defaultCurrency?: string | null | undefined;
479
+ foundedYear?: number | null | undefined;
480
+ id: string;
481
+ image: {
482
+ isMonogram: boolean;
483
+ logo?: string | null | undefined;
484
+ logoSquare?: string | null | undefined;
485
+ };
486
+ lastModifiedAt?: string | null | undefined;
487
+ nameAlias: {
488
+ displayable?: boolean | null | undefined;
489
+ name: string;
490
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
491
+ }[];
492
+ nameBrand: string;
493
+ nameLegal?: string | null | undefined;
494
+ operatingStatus?: string | null | undefined;
495
+ publicId?: string | null | undefined;
496
+ publicUrl?: string | null | undefined;
497
+ sitemap?: {
498
+ hasAcquisitions?: boolean | undefined;
499
+ hasAnalysis: boolean;
500
+ hasEmployees: boolean;
501
+ hasFundraising: boolean;
502
+ hasNews: boolean;
503
+ productServiceSlug: string[];
504
+ } | null | undefined;
505
+ slug: string;
506
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
507
+ updatedAt?: string | null | undefined;
508
+ };
509
+ enrichment: {
334
510
  address: {
335
511
  address?: number | null | undefined;
336
512
  addressLine1?: string | null | undefined;
@@ -609,92 +785,8 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
609
785
  urlType: string;
610
786
  }[];
611
787
  urlLinkSuppressedCount: number;
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?: string | 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<{
788
+ };
789
+ fundraiseRound: {
698
790
  amountRaised?: number | null | undefined;
699
791
  createdAt?: string | null | undefined;
700
792
  currency?: string | null | undefined;
@@ -778,8 +870,8 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
778
870
  updatedAt?: string | null | undefined;
779
871
  valuationPostMoney?: number | null | undefined;
780
872
  valuationPreMoney?: number | null | undefined;
781
- }, unknown>>>;
782
- research: z.ZodType<{
873
+ }[];
874
+ research: {
783
875
  acceleratorParticipation: {
784
876
  accelerator: {
785
877
  defaultCurrency?: string | null | undefined;
@@ -843,97 +935,18 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
843
935
  valueResearchDetail?: string | null | undefined;
844
936
  valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
845
937
  }[];
846
- }, unknown, z.core.$ZodTypeInternals<{
847
- acceleratorParticipation: {
848
- accelerator: {
849
- defaultCurrency?: string | null | undefined;
850
- foundedYear?: number | null | undefined;
851
- id: string;
852
- image: {
853
- isMonogram: boolean;
854
- logo?: string | null | undefined;
855
- logoSquare?: string | null | undefined;
856
- };
857
- lastModifiedAt?: string | null | undefined;
858
- nameAlias: {
859
- displayable?: boolean | null | undefined;
860
- name: string;
861
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
862
- }[];
863
- nameBrand: string;
864
- nameLegal?: string | null | undefined;
865
- operatingStatus?: string | null | undefined;
866
- publicId?: string | null | undefined;
867
- publicUrl?: string | null | undefined;
868
- sitemap?: {
869
- hasAcquisitions?: boolean | undefined;
870
- hasAnalysis: boolean;
871
- hasEmployees: boolean;
872
- hasFundraising: boolean;
873
- hasNews: boolean;
874
- productServiceSlug: string[];
875
- } | null | undefined;
876
- slug: string;
877
- typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
878
- updatedAt?: string | null | undefined;
879
- };
880
- acceleratorName: string;
881
- asOfDate: string;
882
- batch?: string | null | undefined;
883
- id: string;
884
- program?: string | null | undefined;
885
- status?: string | null | undefined;
886
- }[];
887
- detail: {
888
- asOfDate?: string | null | undefined;
889
- derivedRange?: {
890
- asOfDate: string;
891
- bucket: "beyondTwoYears" | "pastDue" | "sixToTwelveMonths" | "threeToSixMonths" | "twelveToTwentyFourMonths" | "withinThreeMonths";
892
- monthsFromNow: number;
893
- targetDate: string;
894
- } | null | undefined;
895
- discreteValue?: number | null | undefined;
896
- entityId: string;
897
- id: number;
898
- publicSource?: {
899
- lastFetchedAt?: string | null | undefined;
900
- publishedAt?: string | null | undefined;
901
- recordedAt: string;
902
- sourceDetail: string;
903
- } | null | undefined;
904
- textValue?: string | null | undefined;
905
- typeResearchDetail: string;
906
- updatedAt?: string | null | undefined;
907
- valueResearchDetail?: string | null | undefined;
908
- valueType: "date" | "monetary" | "numeric" | "percentage" | "text";
909
- }[];
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>;
938
+ };
939
+ semanticMatch?: {
940
+ computedAt: string;
941
+ cosineDistance: number;
942
+ cosineScore: number;
943
+ modelVersion: string;
944
+ rank: number;
945
+ sourceHash: string;
946
+ sourceId: string;
947
+ sourceType: string;
948
+ } | null | undefined;
949
+ }, unknown>>;
937
950
  similarity: z.ZodType<{
938
951
  compositeScore?: number | null | undefined;
939
952
  cosineScore?: number | null | undefined;