@aventurevc/api-schemas 0.8.359 → 0.8.361

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 (40) hide show
  1. package/dist/directory/export-mutation.d.ts +0 -45
  2. package/dist/enrichment/batch.d.ts +13 -0
  3. package/dist/enrichment/batch.js +3 -0
  4. package/dist/entity/comparison-signals.d.ts +73 -0
  5. package/dist/entity/comparison-signals.js +3 -0
  6. package/dist/entity/detail.d.ts +161 -0
  7. package/dist/entity/detail.js +2 -0
  8. package/dist/entity/entity.d.ts +1 -0
  9. package/dist/entity/entity.js +1 -0
  10. package/dist/entity/filter-search.d.ts +0 -15
  11. package/dist/entity/filter.d.ts +0 -15
  12. package/dist/entity/filter.js +0 -3
  13. package/dist/entity/investor-participation.d.ts +161 -0
  14. package/dist/entity/list-filter.d.ts +0 -15
  15. package/dist/entity/list-filter.js +0 -3
  16. package/dist/entity/natural-search.d.ts +0 -15
  17. package/dist/entity/person-association-filter.d.ts +0 -15
  18. package/dist/entity/relationship.d.ts +73 -0
  19. package/dist/entity/resolution.d.ts +161 -0
  20. package/dist/federated/natural-search.d.ts +0 -15
  21. package/dist/federated/search.d.ts +161 -80
  22. package/dist/harness/run-lane.d.ts +1 -0
  23. package/dist/harness/run-lane.js +1 -0
  24. package/dist/harness/run.js +1 -1
  25. package/dist/identification/subject.js +1 -1
  26. package/dist/link/search.d.ts +176 -80
  27. package/dist/natural/search-result.d.ts +0 -48
  28. package/dist/openapi-component-manifest.js +0 -4
  29. package/dist/pagination/schemas.d.ts +425 -0
  30. package/dist/person/filter.d.ts +0 -30
  31. package/dist/person/natural-search-result.d.ts +0 -32
  32. package/dist/person/natural-search.d.ts +0 -30
  33. package/dist/person/search-interpretation.d.ts +0 -30
  34. package/dist/search/interpretation.d.ts +0 -45
  35. package/dist/shared/directory-mutation.d.ts +0 -45
  36. package/dist/shared/directory.d.ts +0 -45
  37. package/dist/shared/search.d.ts +176 -80
  38. package/package.json +1 -1
  39. package/dist/research/detail-range.d.ts +0 -42
  40. package/dist/research/detail-range.js +0 -50
@@ -136,14 +136,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
136
136
  portfolioHeadquartersState?: string[] | undefined;
137
137
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
138
138
  rankByProminence?: boolean | null | undefined;
139
- researchDetailRange?: {
140
- max?: string | null | undefined;
141
- measurementBasis?: string | null | undefined;
142
- min?: string | null | undefined;
143
- reportingScope?: string | null | undefined;
144
- targetPath: string;
145
- valueResearchDetail: string;
146
- }[] | undefined;
147
139
  semanticQuery?: string | null | undefined;
148
140
  slug?: string[] | undefined;
149
141
  stage?: string[] | undefined;
@@ -279,14 +271,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
279
271
  portfolioHeadquartersState?: string[] | undefined;
280
272
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
281
273
  rankByProminence?: boolean | null | undefined;
282
- researchDetailRange?: {
283
- max?: string | null | undefined;
284
- measurementBasis?: string | null | undefined;
285
- min?: string | null | undefined;
286
- reportingScope?: string | null | undefined;
287
- targetPath: string;
288
- valueResearchDetail: string;
289
- }[] | undefined;
290
274
  slug?: string[] | undefined;
291
275
  stage?: string[] | undefined;
292
276
  standardizedClassification?: {
@@ -439,14 +423,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
439
423
  portfolioHeadquartersState?: string[] | undefined;
440
424
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
441
425
  rankByProminence?: boolean | null | undefined;
442
- researchDetailRange?: {
443
- max?: string | null | undefined;
444
- measurementBasis?: string | null | undefined;
445
- min?: string | null | undefined;
446
- reportingScope?: string | null | undefined;
447
- targetPath: string;
448
- valueResearchDetail: string;
449
- }[] | undefined;
450
426
  slug?: string[] | undefined;
451
427
  stage?: string[] | undefined;
452
428
  standardizedClassification?: {
@@ -3184,14 +3160,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3184
3160
  portfolioHeadquartersState?: string[] | undefined;
3185
3161
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
3186
3162
  rankByProminence?: boolean | null | undefined;
3187
- researchDetailRange?: {
3188
- max?: string | null | undefined;
3189
- measurementBasis?: string | null | undefined;
3190
- min?: string | null | undefined;
3191
- reportingScope?: string | null | undefined;
3192
- targetPath: string;
3193
- valueResearchDetail: string;
3194
- }[] | undefined;
3195
3163
  semanticQuery?: string | null | undefined;
3196
3164
  slug?: string[] | undefined;
3197
3165
  stage?: string[] | undefined;
@@ -3327,14 +3295,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3327
3295
  portfolioHeadquartersState?: string[] | undefined;
3328
3296
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
3329
3297
  rankByProminence?: boolean | null | undefined;
3330
- researchDetailRange?: {
3331
- max?: string | null | undefined;
3332
- measurementBasis?: string | null | undefined;
3333
- min?: string | null | undefined;
3334
- reportingScope?: string | null | undefined;
3335
- targetPath: string;
3336
- valueResearchDetail: string;
3337
- }[] | undefined;
3338
3298
  slug?: string[] | undefined;
3339
3299
  stage?: string[] | undefined;
3340
3300
  standardizedClassification?: {
@@ -3487,14 +3447,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
3487
3447
  portfolioHeadquartersState?: string[] | undefined;
3488
3448
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
3489
3449
  rankByProminence?: boolean | null | undefined;
3490
- researchDetailRange?: {
3491
- max?: string | null | undefined;
3492
- measurementBasis?: string | null | undefined;
3493
- min?: string | null | undefined;
3494
- reportingScope?: string | null | undefined;
3495
- targetPath: string;
3496
- valueResearchDetail: string;
3497
- }[] | undefined;
3498
3450
  slug?: string[] | undefined;
3499
3451
  stage?: string[] | undefined;
3500
3452
  standardizedClassification?: {
@@ -6098,6 +6050,79 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
6098
6050
  }[];
6099
6051
  }, import("../natural/search-result.ts").NaturalSearchResultSchemaInput>>;
6100
6052
  entityDetail: z.ZodArray<z.ZodObject<{
6053
+ acquirer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6054
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6055
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6056
+ id: z.ZodUUID;
6057
+ image: z.ZodType<{
6058
+ isMonogram: boolean;
6059
+ logo?: string | null | undefined;
6060
+ logoSquare?: string | null | undefined;
6061
+ logoSquareVariant?: {
6062
+ contentType: string;
6063
+ height: number;
6064
+ path: string;
6065
+ width: number;
6066
+ }[] | null | undefined;
6067
+ logoVariant?: {
6068
+ contentType: string;
6069
+ height: number;
6070
+ path: string;
6071
+ width: number;
6072
+ }[] | null | undefined;
6073
+ }, import("../entity/image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
6074
+ isMonogram: boolean;
6075
+ logo?: string | null | undefined;
6076
+ logoSquare?: string | null | undefined;
6077
+ logoSquareVariant?: {
6078
+ contentType: string;
6079
+ height: number;
6080
+ path: string;
6081
+ width: number;
6082
+ }[] | null | undefined;
6083
+ logoVariant?: {
6084
+ contentType: string;
6085
+ height: number;
6086
+ path: string;
6087
+ width: number;
6088
+ }[] | null | undefined;
6089
+ }, import("../entity/image.ts").EntityImageSchemaInput>>;
6090
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6091
+ nameAlias: z.ZodArray<z.ZodObject<{
6092
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
6093
+ name: z.ZodString;
6094
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6095
+ alternativeDba: "alternativeDba";
6096
+ relatedLegal: "relatedLegal";
6097
+ }>>>;
6098
+ }, z.core.$strip>>;
6099
+ nameBrand: z.ZodString;
6100
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6101
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6102
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6103
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6104
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6105
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
6106
+ hasAnalysis: z.ZodBoolean;
6107
+ hasEmployees: z.ZodBoolean;
6108
+ hasFundraising: z.ZodBoolean;
6109
+ hasNews: z.ZodBoolean;
6110
+ productServiceSlug: z.ZodArray<z.ZodString>;
6111
+ }, z.core.$strip>>>;
6112
+ slug: z.ZodString;
6113
+ typeRecord: z.ZodEnum<{
6114
+ "Business Line": "Business Line";
6115
+ Company: "Company";
6116
+ Fund: "Fund";
6117
+ Government: "Government";
6118
+ "Investment Firm": "Investment Firm";
6119
+ Nonprofit: "Nonprofit";
6120
+ Organization: "Organization";
6121
+ Product: "Product";
6122
+ Service: "Service";
6123
+ }>;
6124
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6125
+ }, z.core.$strip>>>;
6101
6126
  comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6102
6127
  citation: z.ZodArray<z.ZodType<{
6103
6128
  entityId: string;
@@ -9863,6 +9888,50 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
9863
9888
  relationship: z.ZodArray<z.ZodType<{
9864
9889
  asOf?: string | null | undefined;
9865
9890
  comparisonSignals?: {
9891
+ acquirer?: {
9892
+ defaultCurrency?: string | null | undefined;
9893
+ foundedYear?: number | null | undefined;
9894
+ id: string;
9895
+ image: {
9896
+ isMonogram: boolean;
9897
+ logo?: string | null | undefined;
9898
+ logoSquare?: string | null | undefined;
9899
+ logoSquareVariant?: {
9900
+ contentType: string;
9901
+ height: number;
9902
+ path: string;
9903
+ width: number;
9904
+ }[] | null | undefined;
9905
+ logoVariant?: {
9906
+ contentType: string;
9907
+ height: number;
9908
+ path: string;
9909
+ width: number;
9910
+ }[] | null | undefined;
9911
+ };
9912
+ lastModifiedAt?: string | null | undefined;
9913
+ nameAlias: {
9914
+ displayable?: boolean | null | undefined;
9915
+ name: string;
9916
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
9917
+ }[];
9918
+ nameBrand: string;
9919
+ nameLegal?: string | null | undefined;
9920
+ operatingStatus?: string | null | undefined;
9921
+ publicId?: string | null | undefined;
9922
+ publicUrl?: string | null | undefined;
9923
+ sitemap?: {
9924
+ hasAcquisitions?: boolean | undefined;
9925
+ hasAnalysis: boolean;
9926
+ hasEmployees: boolean;
9927
+ hasFundraising: boolean;
9928
+ hasNews: boolean;
9929
+ productServiceSlug: string[];
9930
+ } | null | undefined;
9931
+ slug: string;
9932
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
9933
+ updatedAt?: string | null | undefined;
9934
+ } | null | undefined;
9866
9935
  fundingStage?: string | null | undefined;
9867
9936
  ownership: string[];
9868
9937
  pricingModel: string[];
@@ -9945,6 +10014,50 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
9945
10014
  }, import("../entity/relationship.ts").EntityRelationshipSchemaInput, z.core.$ZodTypeInternals<{
9946
10015
  asOf?: string | null | undefined;
9947
10016
  comparisonSignals?: {
10017
+ acquirer?: {
10018
+ defaultCurrency?: string | null | undefined;
10019
+ foundedYear?: number | null | undefined;
10020
+ id: string;
10021
+ image: {
10022
+ isMonogram: boolean;
10023
+ logo?: string | null | undefined;
10024
+ logoSquare?: string | null | undefined;
10025
+ logoSquareVariant?: {
10026
+ contentType: string;
10027
+ height: number;
10028
+ path: string;
10029
+ width: number;
10030
+ }[] | null | undefined;
10031
+ logoVariant?: {
10032
+ contentType: string;
10033
+ height: number;
10034
+ path: string;
10035
+ width: number;
10036
+ }[] | null | undefined;
10037
+ };
10038
+ lastModifiedAt?: string | null | undefined;
10039
+ nameAlias: {
10040
+ displayable?: boolean | null | undefined;
10041
+ name: string;
10042
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
10043
+ }[];
10044
+ nameBrand: string;
10045
+ nameLegal?: string | null | undefined;
10046
+ operatingStatus?: string | null | undefined;
10047
+ publicId?: string | null | undefined;
10048
+ publicUrl?: string | null | undefined;
10049
+ sitemap?: {
10050
+ hasAcquisitions?: boolean | undefined;
10051
+ hasAnalysis: boolean;
10052
+ hasEmployees: boolean;
10053
+ hasFundraising: boolean;
10054
+ hasNews: boolean;
10055
+ productServiceSlug: string[];
10056
+ } | null | undefined;
10057
+ slug: string;
10058
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
10059
+ updatedAt?: string | null | undefined;
10060
+ } | null | undefined;
9948
10061
  fundingStage?: string | null | undefined;
9949
10062
  ownership: string[];
9950
10063
  pricingModel: string[];
@@ -10492,14 +10605,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
10492
10605
  portfolioHeadquartersState?: string[] | undefined;
10493
10606
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
10494
10607
  rankByProminence?: boolean | null | undefined;
10495
- researchDetailRange?: {
10496
- max?: string | null | undefined;
10497
- measurementBasis?: string | null | undefined;
10498
- min?: string | null | undefined;
10499
- reportingScope?: string | null | undefined;
10500
- targetPath: string;
10501
- valueResearchDetail: string;
10502
- }[] | undefined;
10503
10608
  slug?: string[] | undefined;
10504
10609
  stage?: string[] | undefined;
10505
10610
  standardizedClassification?: {
@@ -10652,14 +10757,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
10652
10757
  portfolioHeadquartersState?: string[] | undefined;
10653
10758
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
10654
10759
  rankByProminence?: boolean | null | undefined;
10655
- researchDetailRange?: {
10656
- max?: string | null | undefined;
10657
- measurementBasis?: string | null | undefined;
10658
- min?: string | null | undefined;
10659
- reportingScope?: string | null | undefined;
10660
- targetPath: string;
10661
- valueResearchDetail: string;
10662
- }[] | undefined;
10663
10760
  slug?: string[] | undefined;
10664
10761
  stage?: string[] | undefined;
10665
10762
  standardizedClassification?: {
@@ -11149,14 +11246,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
11149
11246
  portfolioHeadquartersState?: string[] | undefined;
11150
11247
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
11151
11248
  rankByProminence?: boolean | null | undefined;
11152
- researchDetailRange?: {
11153
- max?: string | null | undefined;
11154
- measurementBasis?: string | null | undefined;
11155
- min?: string | null | undefined;
11156
- reportingScope?: string | null | undefined;
11157
- targetPath: string;
11158
- valueResearchDetail: string;
11159
- }[] | undefined;
11160
11249
  slug?: string[] | undefined;
11161
11250
  stage?: string[] | undefined;
11162
11251
  standardizedClassification?: {
@@ -11309,14 +11398,6 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
11309
11398
  portfolioHeadquartersState?: string[] | undefined;
11310
11399
  qualityGate?: "COMPANY_LISTING_READY" | "NONE" | undefined;
11311
11400
  rankByProminence?: boolean | null | undefined;
11312
- researchDetailRange?: {
11313
- max?: string | null | undefined;
11314
- measurementBasis?: string | null | undefined;
11315
- min?: string | null | undefined;
11316
- reportingScope?: string | null | undefined;
11317
- targetPath: string;
11318
- valueResearchDetail: string;
11319
- }[] | undefined;
11320
11401
  slug?: string[] | undefined;
11321
11402
  stage?: string[] | undefined;
11322
11403
  standardizedClassification?: {
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
12
12
  * @endpoint POST /v1/people/{personId}/enrichments
13
13
  * @endpoint POST /v1/research-runs
14
14
  * @endpoint POST /v1/research/runs
15
+ * @usedBySchema EnrichmentBatchSchema
15
16
  * @usedBySchema HarnessRunSchema
16
17
  * @contractShape harness.run-lane
17
18
  * @contractRole canonical
@@ -14,6 +14,7 @@ const HarnessRunLaneSchemaKnownMembers = z.enum(["live", "interactive", "bulk",
14
14
  * @endpoint POST /v1/people/{personId}/enrichments
15
15
  * @endpoint POST /v1/research-runs
16
16
  * @endpoint POST /v1/research/runs
17
+ * @usedBySchema EnrichmentBatchSchema
17
18
  * @usedBySchema HarnessRunSchema
18
19
  * @contractShape harness.run-lane
19
20
  * @contractRole canonical
@@ -61,7 +61,7 @@ export const HarnessRunSchema = z.object({
61
61
  id: z.uuid(),
62
62
  /** Current loop iteration */
63
63
  iteration: z.int(),
64
- /** Queue lane for admission priority */
64
+ /** Admission class (interactive or background) on client-facing responses; Prefer: run-lane-origin returns the actual queue lane. Engine lifecycle responses always return the actual lane. */
65
65
  lane: HarnessRunLaneSchema,
66
66
  /** Latest enrich-loop status as an opaque JSON string */
67
67
  latestStatus: z.string().nullish(),
@@ -35,7 +35,7 @@ export const IdentificationSubjectSchema = z.object({
35
35
  name: z.string().max(200).nullish(),
36
36
  /** Provider entity id for a Product or Service lookup. Omit it when the provider is unknown. With no typeRecord, searches both Product and Service. Invalid for a company type or a person lookup. */
37
37
  providerId: z.uuid().nullish(),
38
- /** Part the subject plays in the source: INVESTOR when the source lists it as an investor. Unlike typeRecord it keeps every record type a candidate, so a Company or Nonprofit that invests can still match. With it, a lookup with no url, filing, sourceIdentifier, or sourceNewsId binds a same-named Investment Firm or Fund over a record that does not invest, and answers NEEDS_REVIEW when the bound record shares its name with another live firm or record of its type family, unless the location matches only the bound record's address. Without it, an Investment Firm or Fund typeRecord applies the firm preference alone. Omit it otherwise. */
38
+ /** Part the subject plays in the source: INVESTOR when the source lists it as an investor. Unlike typeRecord it keeps every record type a candidate, so a Company or Nonprofit that invests can still match. With it, a lookup with no url, filing, or sourceIdentifier binds a same-named Investment Firm or Fund over a record that does not invest; without a sourceNewsId it also answers NEEDS_REVIEW when the bound record shares its name with another live firm, or a visible record of its type family, unless the location's place names only the bound record's address and every namesake stores one. Without it, an Investment Firm or Fund typeRecord applies the firm preference alone. Omit it otherwise. */
39
39
  role: z.enum(["INVESTOR"]).nullish(),
40
40
  /** Exact stored capture of sourceUrl, never an owned website. Requires capture-read authority and a matching successful evidence body; cannot accompany sourceNewsId. */
41
41
  sourceDocumentId: z.uuid().nullish(),