@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
@@ -19,6 +19,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
19
19
  topic?: string | null | undefined;
20
20
  }[];
21
21
  relatedQuery: string[];
22
+ shareable: boolean;
22
23
  text: string;
23
24
  title?: string | null | undefined;
24
25
  } | null | undefined;
@@ -52,6 +53,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
52
53
  max?: number | null | undefined;
53
54
  min?: number | null | undefined;
54
55
  }[] | undefined;
56
+ dateAnnouncedRange?: {
57
+ max?: string | null | undefined;
58
+ min?: string | null | undefined;
59
+ } | null | undefined;
55
60
  investedCompanyName?: string[] | undefined;
56
61
  investedCountry?: string[] | undefined;
57
62
  investedIndustry?: string[] | undefined;
@@ -139,6 +144,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
139
144
  order: {
140
145
  descending: boolean;
141
146
  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";
147
+ sortKey?: string | null | undefined;
142
148
  }[];
143
149
  relevance?: "keyword" | "semantic" | null | undefined;
144
150
  };
@@ -266,13 +272,13 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
266
272
  rank: number;
267
273
  sourceHash: string;
268
274
  sourceId: string;
269
- sourceJson: string;
270
- sourceText: string;
275
+ sourceJson?: string | undefined;
276
+ sourceText?: string | undefined;
271
277
  sourceType: string;
272
278
  } | null | undefined;
273
279
  }[];
274
280
  judgment: {
275
- entity: {
281
+ entity?: {
276
282
  core: {
277
283
  defaultCurrency?: string | null | undefined;
278
284
  foundedYear?: number | null | undefined;
@@ -743,11 +749,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
743
749
  rank: number;
744
750
  sourceHash: string;
745
751
  sourceId: string;
746
- sourceJson: string;
747
- sourceText: string;
752
+ sourceJson?: string | undefined;
753
+ sourceText?: string | undefined;
748
754
  sourceType: string;
749
755
  } | null | undefined;
750
- };
756
+ } | undefined;
757
+ entityId: string;
751
758
  matchedOffering?: {
752
759
  defaultCurrency?: string | null | undefined;
753
760
  foundedYear?: number | null | undefined;
@@ -1265,8 +1272,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
1265
1272
  rank: number;
1266
1273
  sourceHash: string;
1267
1274
  sourceId: string;
1268
- sourceJson: string;
1269
- sourceText: string;
1275
+ sourceJson?: string | undefined;
1276
+ sourceText?: string | undefined;
1270
1277
  sourceType: string;
1271
1278
  } | null | undefined;
1272
1279
  };
@@ -1756,8 +1763,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
1756
1763
  rank: number;
1757
1764
  sourceHash: string;
1758
1765
  sourceId: string;
1759
- sourceJson: string;
1760
- sourceText: string;
1766
+ sourceJson?: string | undefined;
1767
+ sourceText?: string | undefined;
1761
1768
  sourceType: string;
1762
1769
  } | null | undefined;
1763
1770
  }[];
@@ -2238,8 +2245,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2238
2245
  rank: number;
2239
2246
  sourceHash: string;
2240
2247
  sourceId: string;
2241
- sourceJson: string;
2242
- sourceText: string;
2248
+ sourceJson?: string | undefined;
2249
+ sourceText?: string | undefined;
2243
2250
  sourceType: string;
2244
2251
  } | null | undefined;
2245
2252
  }[];
@@ -2262,6 +2269,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2262
2269
  topic?: string | null | undefined;
2263
2270
  }[];
2264
2271
  relatedQuery: string[];
2272
+ shareable: boolean;
2265
2273
  text: string;
2266
2274
  title?: string | null | undefined;
2267
2275
  } | null | undefined;
@@ -2295,6 +2303,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2295
2303
  max?: number | null | undefined;
2296
2304
  min?: number | null | undefined;
2297
2305
  }[] | undefined;
2306
+ dateAnnouncedRange?: {
2307
+ max?: string | null | undefined;
2308
+ min?: string | null | undefined;
2309
+ } | null | undefined;
2298
2310
  investedCompanyName?: string[] | undefined;
2299
2311
  investedCountry?: string[] | undefined;
2300
2312
  investedIndustry?: string[] | undefined;
@@ -2382,6 +2394,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2382
2394
  order: {
2383
2395
  descending: boolean;
2384
2396
  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";
2397
+ sortKey?: string | null | undefined;
2385
2398
  }[];
2386
2399
  relevance?: "keyword" | "semantic" | null | undefined;
2387
2400
  };
@@ -2509,13 +2522,13 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2509
2522
  rank: number;
2510
2523
  sourceHash: string;
2511
2524
  sourceId: string;
2512
- sourceJson: string;
2513
- sourceText: string;
2525
+ sourceJson?: string | undefined;
2526
+ sourceText?: string | undefined;
2514
2527
  sourceType: string;
2515
2528
  } | null | undefined;
2516
2529
  }[];
2517
2530
  judgment: {
2518
- entity: {
2531
+ entity?: {
2519
2532
  core: {
2520
2533
  defaultCurrency?: string | null | undefined;
2521
2534
  foundedYear?: number | null | undefined;
@@ -2986,11 +2999,12 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
2986
2999
  rank: number;
2987
3000
  sourceHash: string;
2988
3001
  sourceId: string;
2989
- sourceJson: string;
2990
- sourceText: string;
3002
+ sourceJson?: string | undefined;
3003
+ sourceText?: string | undefined;
2991
3004
  sourceType: string;
2992
3005
  } | null | undefined;
2993
- };
3006
+ } | undefined;
3007
+ entityId: string;
2994
3008
  matchedOffering?: {
2995
3009
  defaultCurrency?: string | null | undefined;
2996
3010
  foundedYear?: number | null | undefined;
@@ -3508,8 +3522,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3508
3522
  rank: number;
3509
3523
  sourceHash: string;
3510
3524
  sourceId: string;
3511
- sourceJson: string;
3512
- sourceText: string;
3525
+ sourceJson?: string | undefined;
3526
+ sourceText?: string | undefined;
3513
3527
  sourceType: string;
3514
3528
  } | null | undefined;
3515
3529
  };
@@ -3999,8 +4013,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3999
4013
  rank: number;
4000
4014
  sourceHash: string;
4001
4015
  sourceId: string;
4002
- sourceJson: string;
4003
- sourceText: string;
4016
+ sourceJson?: string | undefined;
4017
+ sourceText?: string | undefined;
4004
4018
  sourceType: string;
4005
4019
  } | null | undefined;
4006
4020
  }[];
@@ -4481,8 +4495,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
4481
4495
  rank: number;
4482
4496
  sourceHash: string;
4483
4497
  sourceId: string;
4484
- sourceJson: string;
4485
- sourceText: string;
4498
+ sourceJson?: string | undefined;
4499
+ sourceText?: string | undefined;
4486
4500
  sourceType: string;
4487
4501
  } | null | undefined;
4488
4502
  }[];
@@ -5473,8 +5487,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
5473
5487
  rank: number;
5474
5488
  sourceHash: string;
5475
5489
  sourceId: string;
5476
- sourceJson: string;
5477
- sourceText: string;
5490
+ sourceJson?: string | undefined;
5491
+ sourceText?: string | undefined;
5478
5492
  sourceType: string;
5479
5493
  } | null | undefined;
5480
5494
  slug: string;
@@ -5805,8 +5819,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
5805
5819
  rank: number;
5806
5820
  sourceHash: string;
5807
5821
  sourceId: string;
5808
- sourceJson: string;
5809
- sourceText: string;
5822
+ sourceJson?: string | undefined;
5823
+ sourceText?: string | undefined;
5810
5824
  sourceType: string;
5811
5825
  } | null | undefined;
5812
5826
  slug: string;
@@ -6373,6 +6387,113 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6373
6387
  }[] | null | undefined;
6374
6388
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | null | undefined;
6375
6389
  } | undefined;
6390
+ entityFilter?: {
6391
+ acceleratorBrand?: string[] | undefined;
6392
+ acceleratorCohort?: string[] | undefined;
6393
+ acceleratorName?: string[] | undefined;
6394
+ acceleratorStatus?: string[] | undefined;
6395
+ affinity?: string[] | undefined;
6396
+ closedLast?: boolean | undefined;
6397
+ employeeCountRange?: {
6398
+ max?: number | null | undefined;
6399
+ min?: number | null | undefined;
6400
+ }[] | undefined;
6401
+ entityId?: string[] | undefined;
6402
+ entityName?: string[] | undefined;
6403
+ featured?: boolean | null | undefined;
6404
+ fundraiseActivity?: {
6405
+ amountInvestedRange?: {
6406
+ max?: number | null | undefined;
6407
+ min?: number | null | undefined;
6408
+ }[] | undefined;
6409
+ amountRaisedRange?: {
6410
+ max?: number | null | undefined;
6411
+ min?: number | null | undefined;
6412
+ }[] | undefined;
6413
+ dateAnnouncedRange?: {
6414
+ max?: string | null | undefined;
6415
+ min?: string | null | undefined;
6416
+ } | null | undefined;
6417
+ investedCompanyName?: string[] | undefined;
6418
+ investedCountry?: string[] | undefined;
6419
+ investedIndustry?: string[] | undefined;
6420
+ investedRound?: string[] | undefined;
6421
+ investorActivity?: {
6422
+ averageAmountInvestedUsdRange?: {
6423
+ max?: number | null | undefined;
6424
+ min?: number | null | undefined;
6425
+ }[] | undefined;
6426
+ largestAmountInvestedUsdRange?: {
6427
+ max?: number | null | undefined;
6428
+ min?: number | null | undefined;
6429
+ }[] | undefined;
6430
+ smallestAmountInvestedUsdRange?: {
6431
+ max?: number | null | undefined;
6432
+ min?: number | null | undefined;
6433
+ }[] | undefined;
6434
+ totalAmountInvestedUsdRange?: {
6435
+ max?: number | null | undefined;
6436
+ min?: number | null | undefined;
6437
+ }[] | undefined;
6438
+ totalInvestmentRange?: {
6439
+ max?: number | null | undefined;
6440
+ min?: number | null | undefined;
6441
+ }[] | undefined;
6442
+ } | undefined;
6443
+ investorName?: string[] | undefined;
6444
+ lastRoundYearRange?: {
6445
+ max?: number | null | undefined;
6446
+ min?: number | null | undefined;
6447
+ }[] | undefined;
6448
+ rankByInvestmentActivity?: boolean | null | undefined;
6449
+ round?: string[] | undefined;
6450
+ totalRaisedRange?: {
6451
+ max?: number | null | undefined;
6452
+ min?: number | null | undefined;
6453
+ }[] | undefined;
6454
+ valuationRange?: {
6455
+ max?: number | null | undefined;
6456
+ min?: number | null | undefined;
6457
+ }[] | undefined;
6458
+ } | undefined;
6459
+ hasFundraising?: boolean | null | undefined;
6460
+ headquartersCity?: string[] | undefined;
6461
+ headquartersCountry?: string[] | undefined;
6462
+ headquartersState?: string[] | undefined;
6463
+ industry?: string[] | undefined;
6464
+ letter?: string | null | undefined;
6465
+ location?: string[] | undefined;
6466
+ logoOption?: {
6467
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
6468
+ } | undefined;
6469
+ mainProduct?: string[] | undefined;
6470
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
6471
+ person?: string[] | undefined;
6472
+ portfolioHeadquartersCity?: string[] | undefined;
6473
+ portfolioHeadquartersCountry?: string[] | undefined;
6474
+ portfolioHeadquartersState?: string[] | undefined;
6475
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
6476
+ slug?: string[] | undefined;
6477
+ stage?: string[] | undefined;
6478
+ suppressNonOperating?: boolean | null | undefined;
6479
+ suppressZeroTotalRaised?: boolean | null | undefined;
6480
+ tag?: string[] | undefined;
6481
+ textSearch?: string | null | undefined;
6482
+ typeCustomer?: string[] | undefined;
6483
+ typeModel?: string[] | undefined;
6484
+ typeOwnership?: string[] | undefined;
6485
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
6486
+ typeRevenue?: string[] | undefined;
6487
+ typeTechnologyUsed?: string[] | undefined;
6488
+ url?: string | null | undefined;
6489
+ urlDomain?: string | null | undefined;
6490
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
6491
+ urlType?: string | null | undefined;
6492
+ yearFoundedRange?: {
6493
+ max?: number | null | undefined;
6494
+ min?: number | null | undefined;
6495
+ }[] | undefined;
6496
+ } | undefined;
6376
6497
  entityId?: string | null | undefined;
6377
6498
  entitySlug?: string | null | undefined;
6378
6499
  firstName?: string | null | undefined;
@@ -6415,6 +6536,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6415
6536
  order: {
6416
6537
  descending: boolean;
6417
6538
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
6539
+ sortKey?: string | null | undefined;
6418
6540
  }[];
6419
6541
  relevance?: "keyword" | "semantic" | null | undefined;
6420
6542
  };
@@ -6541,8 +6663,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6541
6663
  rank: number;
6542
6664
  sourceHash: string;
6543
6665
  sourceId: string;
6544
- sourceJson: string;
6545
- sourceText: string;
6666
+ sourceJson?: string | undefined;
6667
+ sourceText?: string | undefined;
6546
6668
  sourceType: string;
6547
6669
  } | null | undefined;
6548
6670
  }[];
@@ -6575,8 +6697,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6575
6697
  rank: number;
6576
6698
  sourceHash: string;
6577
6699
  sourceId: string;
6578
- sourceJson: string;
6579
- sourceText: string;
6700
+ sourceJson?: string | undefined;
6701
+ sourceText?: string | undefined;
6580
6702
  sourceType: string;
6581
6703
  } | null | undefined;
6582
6704
  slug: string;
@@ -6622,6 +6744,113 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6622
6744
  }[] | null | undefined;
6623
6745
  typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | null | undefined;
6624
6746
  } | undefined;
6747
+ entityFilter?: {
6748
+ acceleratorBrand?: string[] | undefined;
6749
+ acceleratorCohort?: string[] | undefined;
6750
+ acceleratorName?: string[] | undefined;
6751
+ acceleratorStatus?: string[] | undefined;
6752
+ affinity?: string[] | undefined;
6753
+ closedLast?: boolean | undefined;
6754
+ employeeCountRange?: {
6755
+ max?: number | null | undefined;
6756
+ min?: number | null | undefined;
6757
+ }[] | undefined;
6758
+ entityId?: string[] | undefined;
6759
+ entityName?: string[] | undefined;
6760
+ featured?: boolean | null | undefined;
6761
+ fundraiseActivity?: {
6762
+ amountInvestedRange?: {
6763
+ max?: number | null | undefined;
6764
+ min?: number | null | undefined;
6765
+ }[] | undefined;
6766
+ amountRaisedRange?: {
6767
+ max?: number | null | undefined;
6768
+ min?: number | null | undefined;
6769
+ }[] | undefined;
6770
+ dateAnnouncedRange?: {
6771
+ max?: string | null | undefined;
6772
+ min?: string | null | undefined;
6773
+ } | null | undefined;
6774
+ investedCompanyName?: string[] | undefined;
6775
+ investedCountry?: string[] | undefined;
6776
+ investedIndustry?: string[] | undefined;
6777
+ investedRound?: string[] | undefined;
6778
+ investorActivity?: {
6779
+ averageAmountInvestedUsdRange?: {
6780
+ max?: number | null | undefined;
6781
+ min?: number | null | undefined;
6782
+ }[] | undefined;
6783
+ largestAmountInvestedUsdRange?: {
6784
+ max?: number | null | undefined;
6785
+ min?: number | null | undefined;
6786
+ }[] | undefined;
6787
+ smallestAmountInvestedUsdRange?: {
6788
+ max?: number | null | undefined;
6789
+ min?: number | null | undefined;
6790
+ }[] | undefined;
6791
+ totalAmountInvestedUsdRange?: {
6792
+ max?: number | null | undefined;
6793
+ min?: number | null | undefined;
6794
+ }[] | undefined;
6795
+ totalInvestmentRange?: {
6796
+ max?: number | null | undefined;
6797
+ min?: number | null | undefined;
6798
+ }[] | undefined;
6799
+ } | undefined;
6800
+ investorName?: string[] | undefined;
6801
+ lastRoundYearRange?: {
6802
+ max?: number | null | undefined;
6803
+ min?: number | null | undefined;
6804
+ }[] | undefined;
6805
+ rankByInvestmentActivity?: boolean | null | undefined;
6806
+ round?: string[] | undefined;
6807
+ totalRaisedRange?: {
6808
+ max?: number | null | undefined;
6809
+ min?: number | null | undefined;
6810
+ }[] | undefined;
6811
+ valuationRange?: {
6812
+ max?: number | null | undefined;
6813
+ min?: number | null | undefined;
6814
+ }[] | undefined;
6815
+ } | undefined;
6816
+ hasFundraising?: boolean | null | undefined;
6817
+ headquartersCity?: string[] | undefined;
6818
+ headquartersCountry?: string[] | undefined;
6819
+ headquartersState?: string[] | undefined;
6820
+ industry?: string[] | undefined;
6821
+ letter?: string | null | undefined;
6822
+ location?: string[] | undefined;
6823
+ logoOption?: {
6824
+ sortPriority?: "ANY_LOGO_FIRST" | "NONE" | "REAL_LOGO_FIRST" | undefined;
6825
+ } | undefined;
6826
+ mainProduct?: string[] | undefined;
6827
+ operatingStatus?: ("Acquired" | "Acquired Subsidiary" | "Closed" | "Closed (Acquihire)" | "Inactive" | "Operating")[] | undefined;
6828
+ person?: string[] | undefined;
6829
+ portfolioHeadquartersCity?: string[] | undefined;
6830
+ portfolioHeadquartersCountry?: string[] | undefined;
6831
+ portfolioHeadquartersState?: string[] | undefined;
6832
+ qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
6833
+ slug?: string[] | undefined;
6834
+ stage?: string[] | undefined;
6835
+ suppressNonOperating?: boolean | null | undefined;
6836
+ suppressZeroTotalRaised?: boolean | null | undefined;
6837
+ tag?: string[] | undefined;
6838
+ textSearch?: string | null | undefined;
6839
+ typeCustomer?: string[] | undefined;
6840
+ typeModel?: string[] | undefined;
6841
+ typeOwnership?: string[] | undefined;
6842
+ typeRecord?: ("Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service")[] | undefined;
6843
+ typeRevenue?: string[] | undefined;
6844
+ typeTechnologyUsed?: string[] | undefined;
6845
+ url?: string | null | undefined;
6846
+ urlDomain?: string | null | undefined;
6847
+ urlMatchMode?: "domain" | "hostPath" | null | undefined;
6848
+ urlType?: string | null | undefined;
6849
+ yearFoundedRange?: {
6850
+ max?: number | null | undefined;
6851
+ min?: number | null | undefined;
6852
+ }[] | undefined;
6853
+ } | undefined;
6625
6854
  entityId?: string | null | undefined;
6626
6855
  entitySlug?: string | null | undefined;
6627
6856
  firstName?: string | null | undefined;
@@ -6664,6 +6893,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6664
6893
  order: {
6665
6894
  descending: boolean;
6666
6895
  field: "AMOUNT_INVESTED" | "CREATED_AT" | "FIRST_NAME" | "FULL_NAME" | "GENDER" | "ID" | "LAST_NAME" | "SLUG" | "STATUS" | "TOTAL_INVESTMENTS" | "UPDATED_AT";
6896
+ sortKey?: string | null | undefined;
6667
6897
  }[];
6668
6898
  relevance?: "keyword" | "semantic" | null | undefined;
6669
6899
  };
@@ -6790,8 +7020,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6790
7020
  rank: number;
6791
7021
  sourceHash: string;
6792
7022
  sourceId: string;
6793
- sourceJson: string;
6794
- sourceText: string;
7023
+ sourceJson?: string | undefined;
7024
+ sourceText?: string | undefined;
6795
7025
  sourceType: string;
6796
7026
  } | null | undefined;
6797
7027
  }[];
@@ -6824,8 +7054,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6824
7054
  rank: number;
6825
7055
  sourceHash: string;
6826
7056
  sourceId: string;
6827
- sourceJson: string;
6828
- sourceText: string;
7057
+ sourceJson?: string | undefined;
7058
+ sourceText?: string | undefined;
6829
7059
  sourceType: string;
6830
7060
  } | null | undefined;
6831
7061
  slug: string;
@@ -7022,8 +7252,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7022
7252
  rank: number;
7023
7253
  sourceHash: string;
7024
7254
  sourceId: string;
7025
- sourceJson: string;
7026
- sourceText: string;
7255
+ sourceJson?: string | undefined;
7256
+ sourceText?: string | undefined;
7027
7257
  sourceType: string;
7028
7258
  } | null | undefined;
7029
7259
  slug: string;
@@ -7354,8 +7584,8 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
7354
7584
  rank: number;
7355
7585
  sourceHash: string;
7356
7586
  sourceId: string;
7357
- sourceJson: string;
7358
- sourceText: string;
7587
+ sourceJson?: string | undefined;
7588
+ sourceText?: string | undefined;
7359
7589
  sourceType: string;
7360
7590
  } | null | undefined;
7361
7591
  slug: string;
@@ -1,5 +1,16 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const HarnessRunCreateSchemaDefinition: z.ZodObject<{
3
+ finding: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
4
+ gateId?: string | null | undefined;
5
+ quote: string;
6
+ sourceUrl: string;
7
+ statement: string;
8
+ }, unknown, z.core.$ZodTypeInternals<{
9
+ gateId?: string | null | undefined;
10
+ quote: string;
11
+ sourceUrl: string;
12
+ statement: string;
13
+ }, unknown>>>>>;
3
14
  mode: z.ZodOptional<z.ZodEnum<{
4
15
  COMPREHENSIVE: "COMPREHENSIVE";
5
16
  INDIVIDUAL: "INDIVIDUAL";
@@ -1,7 +1,10 @@
1
1
  // LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
2
2
  import { z } from "zod/v4";
3
3
  import { EnrichmentModeSchema } from "../enrichment/mode.js";
4
+ import { ResearchFindingSchema } from "../research/finding.js";
4
5
  const HarnessRunCreateSchemaDefinition = z.object({
6
+ /** Facts you already researched, each citing the page and exact text that support it. Send them with a taskPresetKey whose task accepts findings; the run checks each quote against its page and writes only the facts it confirms. Any other run refuses findings with 400. */
7
+ finding: z.array(ResearchFindingSchema).nullish(),
5
8
  /** Enrichment breadth. Omitted by older clients to request the comprehensive default. */
6
9
  mode: EnrichmentModeSchema.optional(),
7
10
  /** Optional orchestrator model override; omitted uses the configured role default */
@@ -0,0 +1,19 @@
1
+ /**
2
+ * The one method-plus-path matching rule for aVenture API operations. The MCP server resolves an
3
+ * `aventure_*` call that names a method and path with it, and `operation/route` answers the same
4
+ * question for callers that only hold that method and path.
5
+ *
6
+ * @shared primitive:multi route matching for MCP and its consumers; not generated from OpenAPI
7
+ * @contractShape http.route
8
+ * @contractRole canonical
9
+ * @ownerModule http/route.ts
10
+ */
11
+ /** The path a request names, without its query string or fragment. */
12
+ export declare function pathWithoutQuery(path: string): string;
13
+ /**
14
+ * A concrete request path matches a template when both have the same segment count and each
15
+ * template segment is either the same literal or one `{name}` parameter. A path that still carries
16
+ * a raw or percent-encoded `{name}` segment matches nothing, because it never filled the parameter.
17
+ */
18
+ export declare function routeTemplateMatches(template: string, path: string): boolean;
19
+ //# sourceMappingURL=route.d.ts.map
@@ -0,0 +1,52 @@
1
+ // Generated alternate api-schemas support copy from TypeScript source api-schemas/http/route.ts
2
+ /**
3
+ * The one method-plus-path matching rule for aVenture API operations. The MCP server resolves an
4
+ * `aventure_*` call that names a method and path with it, and `operation/route` answers the same
5
+ * question for callers that only hold that method and path.
6
+ *
7
+ * @shared primitive:multi route matching for MCP and its consumers; not generated from OpenAPI
8
+ * @contractShape http.route
9
+ * @contractRole canonical
10
+ * @ownerModule http/route.ts
11
+ */
12
+ /** The path a request names, without its query string or fragment. */
13
+ export function pathWithoutQuery(path) {
14
+ return new URL(path, "https://placeholder.invalid").pathname;
15
+ }
16
+ /**
17
+ * A concrete request path matches a template when both have the same segment count and each
18
+ * template segment is either the same literal or one `{name}` parameter. A path that still carries
19
+ * a raw or percent-encoded `{name}` segment matches nothing, because it never filled the parameter.
20
+ */
21
+ export function routeTemplateMatches(template, path) {
22
+ const templateParts = template.split("/").filter(Boolean);
23
+ const pathParts = path.split("/").filter(Boolean);
24
+ if (templateParts.length !== pathParts.length)
25
+ return false;
26
+ if (pathParts.some(isUnresolvedTemplateSegment))
27
+ return false;
28
+ return templateParts.every((templatePart, index) => isOpenApiTemplateSegment(templatePart) || templatePart === pathParts[index]);
29
+ }
30
+ function isOpenApiTemplateSegment(pathSegment) {
31
+ const innerSegment = pathSegment.slice(1, -1);
32
+ return (pathSegment.startsWith("{") &&
33
+ pathSegment.endsWith("}") &&
34
+ innerSegment.length > 0 &&
35
+ !innerSegment.includes("/") &&
36
+ !innerSegment.includes("{") &&
37
+ !innerSegment.includes("}"));
38
+ }
39
+ function isUnresolvedTemplateSegment(pathSegment) {
40
+ if (isOpenApiTemplateSegment(pathSegment))
41
+ return true;
42
+ const lowerSegment = pathSegment.toLowerCase();
43
+ const innerSegment = pathSegment.slice(3, -3);
44
+ return (lowerSegment.startsWith("%7b") &&
45
+ lowerSegment.endsWith("%7d") &&
46
+ innerSegment.length > 0 &&
47
+ !innerSegment.includes("/") &&
48
+ !innerSegment.includes("%") &&
49
+ !innerSegment.includes("{") &&
50
+ !innerSegment.includes("}"));
51
+ }
52
+ //# sourceMappingURL=route.js.map