@aventurevc/api-schemas 0.8.237 → 0.8.239

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 (55) hide show
  1. package/dist/agent/task-preset-catalog.d.ts +2 -2
  2. package/dist/agent/task-preset-execution.d.ts +21 -0
  3. package/dist/agent/task-preset-execution.js +14 -0
  4. package/dist/agent/task-preset.d.ts +7 -2
  5. package/dist/agent/task-preset.js +2 -1
  6. package/dist/entity/accelerator-participation.d.ts +8 -9
  7. package/dist/entity/acquisition.d.ts +16 -18
  8. package/dist/entity/brand.d.ts +51 -44
  9. package/dist/entity/detail.d.ts +16 -18
  10. package/dist/entity/enrichment.d.ts +43 -35
  11. package/dist/entity/entity.d.ts +8 -9
  12. package/dist/entity/fundraise-transaction-entity.d.ts +8 -9
  13. package/dist/entity/fundraise-transaction.d.ts +8 -9
  14. package/dist/entity/investor-participation.d.ts +16 -18
  15. package/dist/entity/list.d.ts +16 -18
  16. package/dist/entity/name-alias-entity-alias-type.d.ts +8 -13
  17. package/dist/entity/name-alias-entity-alias-type.js +8 -9
  18. package/dist/entity/person-association-filter.d.ts +1 -0
  19. package/dist/entity/person-association-filter.js +1 -0
  20. package/dist/entity/person-association.d.ts +86 -70
  21. package/dist/entity/provider.d.ts +8 -9
  22. package/dist/entity/relationship.d.ts +8 -9
  23. package/dist/entity/resolution.d.ts +16 -18
  24. package/dist/entity/similarity-summary.d.ts +51 -44
  25. package/dist/entity/url-link.d.ts +43 -48
  26. package/dist/entity/url-link.js +23 -24
  27. package/dist/federated/search.d.ts +648 -82
  28. package/dist/harness/run-detail.d.ts +16 -18
  29. package/dist/identification/subject.js +1 -1
  30. package/dist/link/search.d.ts +632 -64
  31. package/dist/natural/search-result.d.ts +568 -0
  32. package/dist/openapi-component-manifest.js +4 -0
  33. package/dist/pagination/schemas.d.ts +153 -132
  34. package/dist/person/detail.d.ts +86 -70
  35. package/dist/person/enrichment.d.ts +43 -35
  36. package/dist/person/filter.d.ts +2 -0
  37. package/dist/person/filter.js +3 -1
  38. package/dist/person/graph-career-context.d.ts +8 -9
  39. package/dist/person/graph-co-investor.d.ts +8 -9
  40. package/dist/person/graph-similar-entity.d.ts +8 -9
  41. package/dist/person/invested-company.d.ts +8 -9
  42. package/dist/person/list-array-filter.d.ts +1 -0
  43. package/dist/person/list-array-filter.js +1 -0
  44. package/dist/person/similarity-result.d.ts +86 -70
  45. package/dist/research/finding.js +1 -1
  46. package/dist/search/interpretation.d.ts +450 -0
  47. package/dist/search/interpretation.js +3 -0
  48. package/dist/search/judgment.d.ts +8 -9
  49. package/dist/shared/search.d.ts +632 -64
  50. package/dist/unique/id-type.d.ts +3 -1
  51. package/dist/unique/id-type.js +2 -1
  52. package/dist/unique/id.d.ts +2 -0
  53. package/dist/url/host-form-resolution.d.ts +1 -1
  54. package/dist/url/host-form-resolution.js +3 -3
  55. package/package.json +1 -1
@@ -16,10 +16,12 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
16
16
  * @endpoint POST /v1/directory/shared
17
17
  * @endpoint POST /v1/people/search
18
18
  * @endpoint POST /v1/search
19
+ * @endpoint POST /v1/search/natural/entities
19
20
  * @endpoint POST /v1/search/natural/people
20
21
  * @endpoint POST /v1/search/shared
21
22
  * @usedBySchema PersonNaturalSearchSchema
22
23
  * @usedBySchema PersonSearchInterpretationSchema
24
+ * @usedBySchema SearchInterpretationSchema
23
25
  * @usedBySchema SharedDirectoryMutationSchema
24
26
  * @usedBySchema SharedDirectorySchema
25
27
  * @contractShape person.filter
@@ -54,7 +56,7 @@ export const PersonFilterSchema = z.object({
54
56
  personId: z.array(z.uuid()).max(200).optional(),
55
57
  /** Exact normalized match against a person's full name or slug. */
56
58
  personName: z.array(z.string()).optional(),
57
- /** Rank people who run the most prominent matching employers first, ahead of sort (founders and management, then other operators, then board seats). */
59
+ /** Rank people who run the most prominent matching employers first, ahead of sort (founders and management, then other operators, then board seats). Applies only when entityId, entitySlug, arrayFilter.entityName, or the entityId, slug, entityName, or fundraiseActivity.investorName of entityFilter or additionalAssociation.entityFilter names the employers. */
58
60
  rankByEmployer: z.boolean().nullish(),
59
61
  /** Associated entity role or title. */
60
62
  role: z.string().nullish(),
@@ -63,15 +63,14 @@ declare const PersonGraphCareerContextSchemaDefinition: z.ZodObject<{
63
63
  logoSquare?: string | null | undefined;
64
64
  }, import("../entity/image.ts").EntityImageSchemaInput>>;
65
65
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
66
- nameAlias: z.ZodArray<z.ZodType<{
67
- displayable?: boolean | null | undefined;
68
- name: string;
69
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
70
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
71
- displayable?: boolean | null | undefined;
72
- name: string;
73
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
74
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
66
+ nameAlias: z.ZodArray<z.ZodObject<{
67
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
+ name: z.ZodString;
69
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
70
+ alternativeDba: "alternativeDba";
71
+ relatedLegal: "relatedLegal";
72
+ }>>>;
73
+ }, z.core.$strip>>;
75
74
  nameBrand: z.ZodString;
76
75
  nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
76
  operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -37,15 +37,14 @@ declare const PersonGraphCoInvestorSchemaDefinition: z.ZodObject<{
37
37
  logoSquare?: string | null | undefined;
38
38
  }, import("../entity/image.ts").EntityImageSchemaInput>>;
39
39
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
40
- nameAlias: z.ZodArray<z.ZodType<{
41
- displayable?: boolean | null | undefined;
42
- name: string;
43
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
44
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
45
- displayable?: boolean | null | undefined;
46
- name: string;
47
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
48
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
40
+ nameAlias: z.ZodArray<z.ZodObject<{
41
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ name: z.ZodString;
43
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
44
+ alternativeDba: "alternativeDba";
45
+ relatedLegal: "relatedLegal";
46
+ }>>>;
47
+ }, z.core.$strip>>;
49
48
  nameBrand: z.ZodString;
50
49
  nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
50
  operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -15,15 +15,14 @@ declare const PersonGraphSimilarEntitySchemaDefinition: z.ZodObject<{
15
15
  logoSquare?: string | null | undefined;
16
16
  }, import("../entity/image.ts").EntityImageSchemaInput>>;
17
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
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
23
- displayable?: boolean | null | undefined;
24
- name: string;
25
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
26
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
18
+ nameAlias: z.ZodArray<z.ZodObject<{
19
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
+ name: z.ZodString;
21
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22
+ alternativeDba: "alternativeDba";
23
+ relatedLegal: "relatedLegal";
24
+ }>>>;
25
+ }, z.core.$strip>>;
27
26
  nameBrand: z.ZodString;
28
27
  nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
28
  operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14,15 +14,14 @@ declare const PersonInvestedCompanySchemaDefinition: z.ZodObject<{
14
14
  logoSquare?: string | null | undefined;
15
15
  }, import("../entity/image.ts").EntityImageSchemaInput>>;
16
16
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
- nameAlias: z.ZodArray<z.ZodType<{
18
- displayable?: boolean | null | undefined;
19
- name: string;
20
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
21
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
22
- displayable?: boolean | null | undefined;
23
- name: string;
24
- type?: "alternativeDba" | "relatedLegal" | null | undefined;
25
- }, import("../entity/name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
17
+ nameAlias: z.ZodArray<z.ZodObject<{
18
+ displayable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ name: z.ZodString;
20
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
21
+ alternativeDba: "alternativeDba";
22
+ relatedLegal: "relatedLegal";
23
+ }>>>;
24
+ }, z.core.$strip>>;
26
25
  nameBrand: z.ZodString;
27
26
  nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
27
  operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint POST /v1/directory/shared
12
12
  * @endpoint POST /v1/people/search
13
13
  * @endpoint POST /v1/search
14
+ * @endpoint POST /v1/search/natural/entities
14
15
  * @endpoint POST /v1/search/natural/people
15
16
  * @endpoint POST /v1/search/shared
16
17
  * @usedBySchema PersonFilterSchema
@@ -15,6 +15,7 @@ import { IntRangeSchema } from "../int/range.js";
15
15
  * @endpoint POST /v1/directory/shared
16
16
  * @endpoint POST /v1/people/search
17
17
  * @endpoint POST /v1/search
18
+ * @endpoint POST /v1/search/natural/entities
18
19
  * @endpoint POST /v1/search/natural/people
19
20
  * @endpoint POST /v1/search/shared
20
21
  * @usedBySchema PersonFilterSchema
@@ -75,41 +75,49 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
75
75
  Product: "Product";
76
76
  Service: "Service";
77
77
  }>>>;
78
- entityUrlLink: z.ZodArray<z.ZodType<{
79
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
80
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
81
- createdAt?: string | null | undefined;
82
- id?: number | null | undefined;
83
- isCurrent?: boolean | null | undefined;
84
- isPrimary?: boolean | null | undefined;
85
- owner?: {
86
- entityId?: string | null | undefined;
87
- personId?: string | null | undefined;
88
- } | null | undefined;
89
- sourceId?: string | null | undefined;
90
- status?: string | null | undefined;
91
- statusChecked?: string | null | undefined;
92
- updatedAt?: string | null | undefined;
93
- url: string;
94
- urlType: string;
95
- }, import("../entity/url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
96
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
97
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
98
- createdAt?: string | null | undefined;
99
- id?: number | null | undefined;
100
- isCurrent?: boolean | null | undefined;
101
- isPrimary?: boolean | null | undefined;
102
- owner?: {
103
- entityId?: string | null | undefined;
104
- personId?: string | null | undefined;
105
- } | null | undefined;
106
- sourceId?: string | null | undefined;
107
- status?: string | null | undefined;
108
- statusChecked?: string | null | undefined;
109
- updatedAt?: string | null | undefined;
110
- url: string;
111
- urlType: string;
112
- }, import("../entity/url-link.ts").EntityUrlLinkSchemaInput>>>;
78
+ entityUrlLink: z.ZodArray<z.ZodObject<{
79
+ crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
80
+ akamai: "akamai";
81
+ awsCloudfront: "awsCloudfront";
82
+ azureCdn: "azureCdn";
83
+ bunny: "bunny";
84
+ cdn77: "cdn77";
85
+ cdnetworks: "cdnetworks";
86
+ cloudflare: "cloudflare";
87
+ digitalocean: "digitalocean";
88
+ fastly: "fastly";
89
+ gcore: "gcore";
90
+ googlecloudCdn: "googlecloudCdn";
91
+ incapsula: "incapsula";
92
+ keycdn: "keycdn";
93
+ leaseweb: "leaseweb";
94
+ netlify: "netlify";
95
+ none: "none";
96
+ stackpath: "stackpath";
97
+ sucuri: "sucuri";
98
+ unknown: "unknown";
99
+ vercel: "vercel";
100
+ }>>>;
101
+ crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
102
+ jsEnhanced: "jsEnhanced";
103
+ jsRequired: "jsRequired";
104
+ static: "static";
105
+ }>>>;
106
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
107
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
108
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
109
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
110
+ owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
111
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
112
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
113
+ }, z.core.$strip>>>;
114
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
115
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
116
+ statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
117
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
118
+ url: z.ZodString;
119
+ urlType: z.ZodString;
120
+ }, z.core.$strip>>;
113
121
  isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
114
122
  personAddress: z.ZodArray<z.ZodObject<{
115
123
  address: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -169,41 +177,49 @@ declare const PersonSimilarityResultSchemaDefinition: z.ZodObject<{
169
177
  }, import("./image.ts").PersonImageSchemaInput>>;
170
178
  personName: z.ZodString;
171
179
  personSlug: z.ZodString;
172
- personUrlLink: z.ZodArray<z.ZodType<{
173
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
174
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
175
- createdAt?: string | null | undefined;
176
- id?: number | null | undefined;
177
- isCurrent?: boolean | null | undefined;
178
- isPrimary?: boolean | null | undefined;
179
- owner?: {
180
- entityId?: string | null | undefined;
181
- personId?: string | null | undefined;
182
- } | null | undefined;
183
- sourceId?: string | null | undefined;
184
- status?: string | null | undefined;
185
- statusChecked?: string | null | undefined;
186
- updatedAt?: string | null | undefined;
187
- url: string;
188
- urlType: string;
189
- }, import("../entity/url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
190
- crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
191
- crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
192
- createdAt?: string | null | undefined;
193
- id?: number | null | undefined;
194
- isCurrent?: boolean | null | undefined;
195
- isPrimary?: boolean | null | undefined;
196
- owner?: {
197
- entityId?: string | null | undefined;
198
- personId?: string | null | undefined;
199
- } | null | undefined;
200
- sourceId?: string | null | undefined;
201
- status?: string | null | undefined;
202
- statusChecked?: string | null | undefined;
203
- updatedAt?: string | null | undefined;
204
- url: string;
205
- urlType: string;
206
- }, import("../entity/url-link.ts").EntityUrlLinkSchemaInput>>>;
180
+ personUrlLink: z.ZodArray<z.ZodObject<{
181
+ crawlCdnProvider: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
182
+ akamai: "akamai";
183
+ awsCloudfront: "awsCloudfront";
184
+ azureCdn: "azureCdn";
185
+ bunny: "bunny";
186
+ cdn77: "cdn77";
187
+ cdnetworks: "cdnetworks";
188
+ cloudflare: "cloudflare";
189
+ digitalocean: "digitalocean";
190
+ fastly: "fastly";
191
+ gcore: "gcore";
192
+ googlecloudCdn: "googlecloudCdn";
193
+ incapsula: "incapsula";
194
+ keycdn: "keycdn";
195
+ leaseweb: "leaseweb";
196
+ netlify: "netlify";
197
+ none: "none";
198
+ stackpath: "stackpath";
199
+ sucuri: "sucuri";
200
+ unknown: "unknown";
201
+ vercel: "vercel";
202
+ }>>>;
203
+ crawlRenderMode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
204
+ jsEnhanced: "jsEnhanced";
205
+ jsRequired: "jsRequired";
206
+ static: "static";
207
+ }>>>;
208
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
209
+ id: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
210
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
211
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
212
+ owner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
213
+ entityId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
214
+ personId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
215
+ }, z.core.$strip>>>;
216
+ sourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
217
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
218
+ statusChecked: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
219
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
220
+ url: z.ZodString;
221
+ urlType: z.ZodString;
222
+ }, z.core.$strip>>;
207
223
  score: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
208
224
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
225
  titleFunction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6,7 +6,7 @@ const ResearchFindingSchemaDefinition = z.object({
6
6
  gateId: z.string().nullish(),
7
7
  /** The exact text on sourceUrl that states the fact, copied verbatim; a fragment short enough to appear on any page is refused. */
8
8
  quote: z.string(),
9
- /** Absolute http or https URL of the page that supports the fact; aVenture pages are refused. Direct writes require a resolved sourceDetail page and may supplement it with eligible pages associated with the subject; harness-run writes use the sourceDetail page or eligible pages read through aVenture by the authorizing run. Each quote must occur in its page's stored text. */
9
+ /** Absolute http or https URL of the page that supports the fact; aVenture pages are refused. Direct writes require a resolved sourceDetail page and may supplement it with eligible pages associated with the subject or explicitly bound through sourceDocumentId on a pending full create; harness-run writes use the sourceDetail page or eligible pages read through aVenture by the authorizing run. Each quote must occur in its page's stored text. */
10
10
  sourceUrl: z.string(),
11
11
  /** The fact to write, in plain words. */
12
12
  statement: z.string(),