@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
@@ -172,21 +172,6 @@ export declare const EntityListFilterSchema: z.ZodObject<{
172
172
  NONE: "NONE";
173
173
  }>>;
174
174
  rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
175
- researchDetailRange: z.ZodOptional<z.ZodArray<z.ZodType<{
176
- max?: string | null | undefined;
177
- measurementBasis?: string | null | undefined;
178
- min?: string | null | undefined;
179
- reportingScope?: string | null | undefined;
180
- targetPath: string;
181
- valueResearchDetail: string;
182
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput, z.core.$ZodTypeInternals<{
183
- max?: string | null | undefined;
184
- measurementBasis?: string | null | undefined;
185
- min?: string | null | undefined;
186
- reportingScope?: string | null | undefined;
187
- targetPath: string;
188
- valueResearchDetail: string;
189
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput>>>>;
190
175
  semanticQuery: z.ZodOptional<z.ZodNullable<z.ZodString>>;
191
176
  slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
192
177
  stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -9,7 +9,6 @@ import { EntityTypeSchema } from "./type.js";
9
9
  import { EntityUniqueIdFilterSchema } from "./unique-id-filter.js";
10
10
  import { EntityUrlTypeSchema } from "./url-type.js";
11
11
  import { IntRangeSchema } from "../int/range.js";
12
- import { ResearchDetailRangeSchema } from "../research/detail-range.js";
13
12
  import { StandardizedClassificationFilterSchema } from "../standardized/classification-filter.js";
14
13
  import { UrlMatchModeSchema } from "../url/match-mode.js";
15
14
  /**
@@ -95,8 +94,6 @@ export const EntityListFilterSchema = z.strictObject({
95
94
  qualityGate: EntityListQualityGateSchema.optional(),
96
95
  /** Rank most prominent first (funding, stage, headcount, momentum, recent news, investor breadth), ahead of sort: what best, top, or most promising mean. */
97
96
  rankByProminence: z.boolean().nullish(),
98
- /** Reader adoption only: stored criteria load; execution and new writes refuse. */
99
- researchDetailRange: z.array(ResearchDetailRangeSchema).max(10).optional(),
100
97
  /** Free-text semantic search phrase, this body's query text (there is no query field), such as "AI tools for dental clinics". To filter this search to companies by name, send this body's entityName field instead; to identify one record from a name, call lookupRecord (POST /v1/lookup) with name, which accepts no entityName. Executable on POST /v1/entities/search; saved views persist it for replay. A semantic page ranks a bounded nearest-neighbor window: totalElements counts the ranked candidates reachable through continuation, not every matching entity. */
101
98
  semanticQuery: z.string().nullish(),
102
99
  /** Restrict results to entity slugs. */
@@ -151,21 +151,6 @@ declare const EntityNaturalSearchSchemaDefinition: z.ZodObject<{
151
151
  NONE: "NONE";
152
152
  }>>;
153
153
  rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
154
- researchDetailRange: z.ZodOptional<z.ZodArray<z.ZodType<{
155
- max?: string | null | undefined;
156
- measurementBasis?: string | null | undefined;
157
- min?: string | null | undefined;
158
- reportingScope?: string | null | undefined;
159
- targetPath: string;
160
- valueResearchDetail: string;
161
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput, z.core.$ZodTypeInternals<{
162
- max?: string | null | undefined;
163
- measurementBasis?: string | null | undefined;
164
- min?: string | null | undefined;
165
- reportingScope?: string | null | undefined;
166
- targetPath: string;
167
- valueResearchDetail: string;
168
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput>>>>;
169
154
  slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
155
  stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
156
  standardizedClassification: z.ZodOptional<z.ZodArray<z.ZodType<{
@@ -171,21 +171,6 @@ export declare const EntityPersonAssociationFilterSchema: z.ZodObject<{
171
171
  NONE: "NONE";
172
172
  }>>;
173
173
  rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
174
- researchDetailRange: z.ZodOptional<z.ZodArray<z.ZodType<{
175
- max?: string | null | undefined;
176
- measurementBasis?: string | null | undefined;
177
- min?: string | null | undefined;
178
- reportingScope?: string | null | undefined;
179
- targetPath: string;
180
- valueResearchDetail: string;
181
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput, z.core.$ZodTypeInternals<{
182
- max?: string | null | undefined;
183
- measurementBasis?: string | null | undefined;
184
- min?: string | null | undefined;
185
- reportingScope?: string | null | undefined;
186
- targetPath: string;
187
- valueResearchDetail: string;
188
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput>>>>;
189
174
  slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
190
175
  stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
191
176
  standardizedClassification: z.ZodOptional<z.ZodArray<z.ZodType<{
@@ -2,6 +2,79 @@ import { z } from "zod/v4";
2
2
  declare const EntityRelationshipSchemaDefinition: z.ZodObject<{
3
3
  asOf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
4
  comparisonSignals: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5
+ acquirer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8
+ id: z.ZodUUID;
9
+ image: z.ZodType<{
10
+ isMonogram: boolean;
11
+ logo?: string | null | undefined;
12
+ logoSquare?: string | null | undefined;
13
+ logoSquareVariant?: {
14
+ contentType: string;
15
+ height: number;
16
+ path: string;
17
+ width: number;
18
+ }[] | null | undefined;
19
+ logoVariant?: {
20
+ contentType: string;
21
+ height: number;
22
+ path: string;
23
+ width: number;
24
+ }[] | null | undefined;
25
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
26
+ isMonogram: boolean;
27
+ logo?: string | null | undefined;
28
+ logoSquare?: string | null | undefined;
29
+ logoSquareVariant?: {
30
+ contentType: string;
31
+ height: number;
32
+ path: string;
33
+ width: number;
34
+ }[] | null | undefined;
35
+ logoVariant?: {
36
+ contentType: string;
37
+ height: number;
38
+ path: string;
39
+ width: number;
40
+ }[] | null | undefined;
41
+ }, import("./image.ts").EntityImageSchemaInput>>;
42
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
43
+ nameAlias: z.ZodArray<z.ZodObject<{
44
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
+ name: z.ZodString;
46
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
47
+ alternativeDba: "alternativeDba";
48
+ relatedLegal: "relatedLegal";
49
+ }>>>;
50
+ }, z.core.$strip>>;
51
+ nameBrand: z.ZodString;
52
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
58
+ hasAnalysis: z.ZodBoolean;
59
+ hasEmployees: z.ZodBoolean;
60
+ hasFundraising: z.ZodBoolean;
61
+ hasNews: z.ZodBoolean;
62
+ productServiceSlug: z.ZodArray<z.ZodString>;
63
+ }, z.core.$strip>>>;
64
+ slug: z.ZodString;
65
+ typeRecord: z.ZodEnum<{
66
+ "Business Line": "Business Line";
67
+ Company: "Company";
68
+ Fund: "Fund";
69
+ Government: "Government";
70
+ "Investment Firm": "Investment Firm";
71
+ Nonprofit: "Nonprofit";
72
+ Organization: "Organization";
73
+ Product: "Product";
74
+ Service: "Service";
75
+ }>;
76
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
77
+ }, z.core.$strip>>>;
5
78
  fundingStage: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
6
79
  Acquired: "Acquired";
7
80
  "Acquired Subsidiary": "Acquired Subsidiary";
@@ -10,6 +10,79 @@ import { z } from "zod/v4";
10
10
  export declare const EntityResolutionSchema: z.ZodObject<{
11
11
  candidateEntityId: z.ZodArray<z.ZodUUID>;
12
12
  detail: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ acquirer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ defaultCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ foundedYear: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
16
+ id: z.ZodUUID;
17
+ image: z.ZodType<{
18
+ isMonogram: boolean;
19
+ logo?: string | null | undefined;
20
+ logoSquare?: string | null | undefined;
21
+ logoSquareVariant?: {
22
+ contentType: string;
23
+ height: number;
24
+ path: string;
25
+ width: number;
26
+ }[] | null | undefined;
27
+ logoVariant?: {
28
+ contentType: string;
29
+ height: number;
30
+ path: string;
31
+ width: number;
32
+ }[] | null | undefined;
33
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
34
+ isMonogram: boolean;
35
+ logo?: string | null | undefined;
36
+ logoSquare?: string | null | undefined;
37
+ logoSquareVariant?: {
38
+ contentType: string;
39
+ height: number;
40
+ path: string;
41
+ width: number;
42
+ }[] | null | undefined;
43
+ logoVariant?: {
44
+ contentType: string;
45
+ height: number;
46
+ path: string;
47
+ width: number;
48
+ }[] | null | undefined;
49
+ }, import("./image.ts").EntityImageSchemaInput>>;
50
+ lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
51
+ nameAlias: z.ZodArray<z.ZodObject<{
52
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ name: z.ZodString;
54
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
55
+ alternativeDba: "alternativeDba";
56
+ relatedLegal: "relatedLegal";
57
+ }>>>;
58
+ }, z.core.$strip>>;
59
+ nameBrand: z.ZodString;
60
+ nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
+ operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ publicId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ publicUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ sitemap: z.ZodOptional<z.ZodNullable<z.ZodObject<{
65
+ hasAcquisitions: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
66
+ hasAnalysis: z.ZodBoolean;
67
+ hasEmployees: z.ZodBoolean;
68
+ hasFundraising: z.ZodBoolean;
69
+ hasNews: z.ZodBoolean;
70
+ productServiceSlug: z.ZodArray<z.ZodString>;
71
+ }, z.core.$strip>>>;
72
+ slug: z.ZodString;
73
+ typeRecord: z.ZodEnum<{
74
+ "Business Line": "Business Line";
75
+ Company: "Company";
76
+ Fund: "Fund";
77
+ Government: "Government";
78
+ "Investment Firm": "Investment Firm";
79
+ Nonprofit: "Nonprofit";
80
+ Organization: "Organization";
81
+ Product: "Product";
82
+ Service: "Service";
83
+ }>;
84
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
85
+ }, z.core.$strip>>>;
13
86
  comparisonAnswer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
87
  citation: z.ZodArray<z.ZodType<{
15
88
  entityId: string;
@@ -3775,6 +3848,50 @@ export declare const EntityResolutionSchema: z.ZodObject<{
3775
3848
  relationship: z.ZodArray<z.ZodType<{
3776
3849
  asOf?: string | null | undefined;
3777
3850
  comparisonSignals?: {
3851
+ acquirer?: {
3852
+ defaultCurrency?: string | null | undefined;
3853
+ foundedYear?: number | null | undefined;
3854
+ id: string;
3855
+ image: {
3856
+ isMonogram: boolean;
3857
+ logo?: string | null | undefined;
3858
+ logoSquare?: string | null | undefined;
3859
+ logoSquareVariant?: {
3860
+ contentType: string;
3861
+ height: number;
3862
+ path: string;
3863
+ width: number;
3864
+ }[] | null | undefined;
3865
+ logoVariant?: {
3866
+ contentType: string;
3867
+ height: number;
3868
+ path: string;
3869
+ width: number;
3870
+ }[] | null | undefined;
3871
+ };
3872
+ lastModifiedAt?: string | null | undefined;
3873
+ nameAlias: {
3874
+ displayable?: boolean | null | undefined;
3875
+ name: string;
3876
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
3877
+ }[];
3878
+ nameBrand: string;
3879
+ nameLegal?: string | null | undefined;
3880
+ operatingStatus?: string | null | undefined;
3881
+ publicId?: string | null | undefined;
3882
+ publicUrl?: string | null | undefined;
3883
+ sitemap?: {
3884
+ hasAcquisitions?: boolean | undefined;
3885
+ hasAnalysis: boolean;
3886
+ hasEmployees: boolean;
3887
+ hasFundraising: boolean;
3888
+ hasNews: boolean;
3889
+ productServiceSlug: string[];
3890
+ } | null | undefined;
3891
+ slug: string;
3892
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
3893
+ updatedAt?: string | null | undefined;
3894
+ } | null | undefined;
3778
3895
  fundingStage?: string | null | undefined;
3779
3896
  ownership: string[];
3780
3897
  pricingModel: string[];
@@ -3857,6 +3974,50 @@ export declare const EntityResolutionSchema: z.ZodObject<{
3857
3974
  }, import("./relationship.ts").EntityRelationshipSchemaInput, z.core.$ZodTypeInternals<{
3858
3975
  asOf?: string | null | undefined;
3859
3976
  comparisonSignals?: {
3977
+ acquirer?: {
3978
+ defaultCurrency?: string | null | undefined;
3979
+ foundedYear?: number | null | undefined;
3980
+ id: string;
3981
+ image: {
3982
+ isMonogram: boolean;
3983
+ logo?: string | null | undefined;
3984
+ logoSquare?: string | null | undefined;
3985
+ logoSquareVariant?: {
3986
+ contentType: string;
3987
+ height: number;
3988
+ path: string;
3989
+ width: number;
3990
+ }[] | null | undefined;
3991
+ logoVariant?: {
3992
+ contentType: string;
3993
+ height: number;
3994
+ path: string;
3995
+ width: number;
3996
+ }[] | null | undefined;
3997
+ };
3998
+ lastModifiedAt?: string | null | undefined;
3999
+ nameAlias: {
4000
+ displayable?: boolean | null | undefined;
4001
+ name: string;
4002
+ type?: "alternativeDba" | "relatedLegal" | null | undefined;
4003
+ }[];
4004
+ nameBrand: string;
4005
+ nameLegal?: string | null | undefined;
4006
+ operatingStatus?: string | null | undefined;
4007
+ publicId?: string | null | undefined;
4008
+ publicUrl?: string | null | undefined;
4009
+ sitemap?: {
4010
+ hasAcquisitions?: boolean | undefined;
4011
+ hasAnalysis: boolean;
4012
+ hasEmployees: boolean;
4013
+ hasFundraising: boolean;
4014
+ hasNews: boolean;
4015
+ productServiceSlug: string[];
4016
+ } | null | undefined;
4017
+ slug: string;
4018
+ typeRecord: "Business Line" | "Company" | "Fund" | "Government" | "Investment Firm" | "Nonprofit" | "Organization" | "Product" | "Service";
4019
+ updatedAt?: string | null | undefined;
4020
+ } | null | undefined;
3860
4021
  fundingStage?: string | null | undefined;
3861
4022
  ownership: string[];
3862
4023
  pricingModel: string[];
@@ -157,21 +157,6 @@ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
157
157
  NONE: "NONE";
158
158
  }>>;
159
159
  rankByProminence: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
160
- researchDetailRange: z.ZodOptional<z.ZodArray<z.ZodType<{
161
- max?: string | null | undefined;
162
- measurementBasis?: string | null | undefined;
163
- min?: string | null | undefined;
164
- reportingScope?: string | null | undefined;
165
- targetPath: string;
166
- valueResearchDetail: string;
167
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput, z.core.$ZodTypeInternals<{
168
- max?: string | null | undefined;
169
- measurementBasis?: string | null | undefined;
170
- min?: string | null | undefined;
171
- reportingScope?: string | null | undefined;
172
- targetPath: string;
173
- valueResearchDetail: string;
174
- }, import("../research/detail-range.ts").ResearchDetailRangeSchemaInput>>>>;
175
160
  slug: z.ZodOptional<z.ZodArray<z.ZodString>>;
176
161
  stage: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
162
  standardizedClassification: z.ZodOptional<z.ZodArray<z.ZodType<{