@aventurevc/api-schemas 0.8.183 → 0.8.184

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/billing/subscription.d.ts +20 -0
  2. package/dist/cursor/slice-shared-directory-list.d.ts +30 -0
  3. package/dist/cursor/slice-shared-directory-list.js +15 -0
  4. package/dist/date/range.d.ts +2 -0
  5. package/dist/date/range.js +2 -0
  6. package/dist/decimal/range.d.ts +2 -0
  7. package/dist/decimal/range.js +2 -0
  8. package/dist/enrichment/prompt.d.ts +12 -2
  9. package/dist/enrichment/prompt.js +5 -3
  10. package/dist/entity/detail.js +2 -2
  11. package/dist/entity/filter-logo-option.d.ts +2 -0
  12. package/dist/entity/filter-logo-option.js +2 -0
  13. package/dist/entity/filter.d.ts +2 -0
  14. package/dist/entity/filter.js +2 -0
  15. package/dist/entity/fundraise-filter-criteria.d.ts +2 -0
  16. package/dist/entity/fundraise-filter-criteria.js +2 -0
  17. package/dist/entity/list-filter.d.ts +21 -22
  18. package/dist/entity/list-filter.js +21 -18
  19. package/dist/entity/list-quality-gate.d.ts +2 -0
  20. package/dist/entity/list-quality-gate.js +2 -0
  21. package/dist/entity/operating-status.d.ts +2 -0
  22. package/dist/entity/operating-status.js +2 -0
  23. package/dist/entity/url-type.d.ts +2 -0
  24. package/dist/entity/url-type.js +2 -0
  25. package/dist/harness/run-create.js +2 -2
  26. package/dist/int/range.d.ts +2 -0
  27. package/dist/int/range.js +2 -0
  28. package/dist/investor/activity-filter.d.ts +2 -0
  29. package/dist/investor/activity-filter.js +2 -0
  30. package/dist/openapi-component-manifest.js +25 -0
  31. package/dist/person/enrichment-prompt.d.ts +19 -0
  32. package/dist/person/enrichment-prompt.js +16 -0
  33. package/dist/person/filter.d.ts +4 -0
  34. package/dist/person/filter.js +4 -0
  35. package/dist/person/list-array-filter.d.ts +2 -0
  36. package/dist/person/list-array-filter.js +2 -0
  37. package/dist/research/access-type.d.ts +28 -0
  38. package/dist/research/access-type.js +21 -0
  39. package/dist/research/allowance-usage.d.ts +20 -0
  40. package/dist/research/allowance.d.ts +15 -0
  41. package/dist/research/allowance.js +3 -0
  42. package/dist/research/finding.d.ts +2 -0
  43. package/dist/research/finding.js +2 -0
  44. package/dist/search/interpretation.d.ts +140 -187
  45. package/dist/shared/directory-list.d.ts +31 -0
  46. package/dist/shared/directory-list.js +30 -0
  47. package/dist/shared/directory-mutation.d.ts +463 -0
  48. package/dist/shared/directory-mutation.js +27 -0
  49. package/dist/shared/directory-type.d.ts +20 -0
  50. package/dist/shared/directory-type.js +16 -0
  51. package/dist/shared/directory.d.ts +473 -0
  52. package/dist/shared/directory.js +29 -0
  53. package/dist/url/match-mode.d.ts +2 -0
  54. package/dist/url/match-mode.js +2 -0
  55. package/package.json +1 -1
@@ -33,60 +33,70 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
33
33
  }, import("./additional-usage.ts").BillingAdditionalUsageSchemaInput>>;
34
34
  allowance: z.ZodType<{
35
35
  company: {
36
+ access?: string | null | undefined;
36
37
  limit?: number | null | undefined;
37
38
  remaining?: number | null | undefined;
38
39
  resetAt: string;
39
40
  used: number;
40
41
  };
41
42
  entityBrand: {
43
+ access?: string | null | undefined;
42
44
  limit?: number | null | undefined;
43
45
  remaining?: number | null | undefined;
44
46
  resetAt: string;
45
47
  used: number;
46
48
  };
47
49
  entityView: {
50
+ access?: string | null | undefined;
48
51
  limit?: number | null | undefined;
49
52
  remaining?: number | null | undefined;
50
53
  resetAt: string;
51
54
  used: number;
52
55
  };
53
56
  newCompany: {
57
+ access?: string | null | undefined;
54
58
  limit?: number | null | undefined;
55
59
  remaining?: number | null | undefined;
56
60
  resetAt: string;
57
61
  used: number;
58
62
  };
59
63
  newPerson: {
64
+ access?: string | null | undefined;
60
65
  limit?: number | null | undefined;
61
66
  remaining?: number | null | undefined;
62
67
  resetAt: string;
63
68
  used: number;
64
69
  };
65
70
  person: {
71
+ access?: string | null | undefined;
66
72
  limit?: number | null | undefined;
67
73
  remaining?: number | null | undefined;
68
74
  resetAt: string;
69
75
  used: number;
70
76
  };
71
77
  personView: {
78
+ access?: string | null | undefined;
72
79
  limit?: number | null | undefined;
73
80
  remaining?: number | null | undefined;
74
81
  resetAt: string;
75
82
  used: number;
76
83
  };
77
84
  update: {
85
+ access?: string | null | undefined;
78
86
  limit?: number | null | undefined;
79
87
  remaining?: number | null | undefined;
80
88
  resetAt: string;
81
89
  used: number;
82
90
  };
83
91
  updatePerson: {
92
+ access?: string | null | undefined;
84
93
  limit?: number | null | undefined;
85
94
  remaining?: number | null | undefined;
86
95
  resetAt: string;
87
96
  used: number;
88
97
  };
89
98
  webSearch: {
99
+ access?: string | null | undefined;
90
100
  limit?: number | null | undefined;
91
101
  remaining?: number | null | undefined;
92
102
  resetAt: string;
@@ -94,60 +104,70 @@ declare const BillingSubscriptionSchemaDefinition: z.ZodObject<{
94
104
  };
95
105
  }, import("../research/allowance-usage.ts").ResearchAllowanceUsageSchemaInput, z.core.$ZodTypeInternals<{
96
106
  company: {
107
+ access?: string | null | undefined;
97
108
  limit?: number | null | undefined;
98
109
  remaining?: number | null | undefined;
99
110
  resetAt: string;
100
111
  used: number;
101
112
  };
102
113
  entityBrand: {
114
+ access?: string | null | undefined;
103
115
  limit?: number | null | undefined;
104
116
  remaining?: number | null | undefined;
105
117
  resetAt: string;
106
118
  used: number;
107
119
  };
108
120
  entityView: {
121
+ access?: string | null | undefined;
109
122
  limit?: number | null | undefined;
110
123
  remaining?: number | null | undefined;
111
124
  resetAt: string;
112
125
  used: number;
113
126
  };
114
127
  newCompany: {
128
+ access?: string | null | undefined;
115
129
  limit?: number | null | undefined;
116
130
  remaining?: number | null | undefined;
117
131
  resetAt: string;
118
132
  used: number;
119
133
  };
120
134
  newPerson: {
135
+ access?: string | null | undefined;
121
136
  limit?: number | null | undefined;
122
137
  remaining?: number | null | undefined;
123
138
  resetAt: string;
124
139
  used: number;
125
140
  };
126
141
  person: {
142
+ access?: string | null | undefined;
127
143
  limit?: number | null | undefined;
128
144
  remaining?: number | null | undefined;
129
145
  resetAt: string;
130
146
  used: number;
131
147
  };
132
148
  personView: {
149
+ access?: string | null | undefined;
133
150
  limit?: number | null | undefined;
134
151
  remaining?: number | null | undefined;
135
152
  resetAt: string;
136
153
  used: number;
137
154
  };
138
155
  update: {
156
+ access?: string | null | undefined;
139
157
  limit?: number | null | undefined;
140
158
  remaining?: number | null | undefined;
141
159
  resetAt: string;
142
160
  used: number;
143
161
  };
144
162
  updatePerson: {
163
+ access?: string | null | undefined;
145
164
  limit?: number | null | undefined;
146
165
  remaining?: number | null | undefined;
147
166
  resetAt: string;
148
167
  used: number;
149
168
  };
150
169
  webSearch: {
170
+ access?: string | null | undefined;
151
171
  limit?: number | null | undefined;
152
172
  remaining?: number | null | undefined;
153
173
  resetAt: string;
@@ -0,0 +1,30 @@
1
+ import { z } from "zod/v4";
2
+ declare const CursorSliceSharedDirectoryListSchemaDefinition: z.ZodObject<{
3
+ content: z.ZodArray<z.ZodType<{
4
+ createdAt: string;
5
+ directory: "companies" | "investors" | "people";
6
+ heading: string;
7
+ id: string;
8
+ slug: string;
9
+ }, import("../shared/directory-list.ts").SharedDirectoryListSchemaInput, z.core.$ZodTypeInternals<{
10
+ createdAt: string;
11
+ directory: "companies" | "investors" | "people";
12
+ heading: string;
13
+ id: string;
14
+ slug: string;
15
+ }, import("../shared/directory-list.ts").SharedDirectoryListSchemaInput>>>;
16
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>;
18
+ type CursorSliceSharedDirectoryListDefinition = z.infer<typeof CursorSliceSharedDirectoryListSchemaDefinition>;
19
+ export interface CursorSliceSharedDirectoryListSchemaInput extends z.input<typeof CursorSliceSharedDirectoryListSchemaDefinition> {
20
+ }
21
+ /**
22
+ * @openapiSchema CursorSliceSharedDirectoryList
23
+ * @endpoint GET /v1/directory/shared
24
+ * @contractShape cursor.slice-shared-directory-list
25
+ * @contractRole canonical
26
+ */
27
+ export declare const CursorSliceSharedDirectoryListSchema: z.ZodType<CursorSliceSharedDirectoryListDefinition, CursorSliceSharedDirectoryListSchemaInput>;
28
+ export type CursorSliceSharedDirectoryList = z.infer<typeof CursorSliceSharedDirectoryListSchema>;
29
+ export {};
30
+ //# sourceMappingURL=slice-shared-directory-list.d.ts.map
@@ -0,0 +1,15 @@
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
+ import { z } from "zod/v4";
3
+ import { SharedDirectoryListSchema } from "../shared/directory-list.js";
4
+ const CursorSliceSharedDirectoryListSchemaDefinition = z.object({
5
+ content: z.array(SharedDirectoryListSchema),
6
+ nextCursor: z.string().nullish(),
7
+ });
8
+ /**
9
+ * @openapiSchema CursorSliceSharedDirectoryList
10
+ * @endpoint GET /v1/directory/shared
11
+ * @contractShape cursor.slice-shared-directory-list
12
+ * @contractRole canonical
13
+ */
14
+ export const CursorSliceSharedDirectoryListSchema = CursorSliceSharedDirectoryListSchemaDefinition;
15
+ //# sourceMappingURL=slice-shared-directory-list.js.map
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema DateRange
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema DateRange
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -13,9 +13,11 @@ export interface DecimalRangeSchemaInput extends z.input<typeof DecimalRangeSche
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
@@ -13,9 +13,11 @@ const DecimalRangeSchemaDefinition = z.object({
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
@@ -1,16 +1,26 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const EnrichmentPromptSchemaDefinition: 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
+ }, import("../research/finding.ts").ResearchFindingSchemaInput, z.core.$ZodTypeInternals<{
9
+ gateId?: string | null | undefined;
10
+ quote: string;
11
+ sourceUrl: string;
12
+ statement: string;
13
+ }, import("../research/finding.ts").ResearchFindingSchemaInput>>>>>;
3
14
  userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
15
  }, z.core.$strip>;
5
16
  type EnrichmentPromptDefinition = z.infer<typeof EnrichmentPromptSchemaDefinition>;
6
17
  export interface EnrichmentPromptSchemaInput extends z.input<typeof EnrichmentPromptSchemaDefinition> {
7
18
  }
8
19
  /**
9
- * Optional steering for one company or person enrichment run
20
+ * Optional steering prompt or cited findings for one company, product, or service enrichment run
10
21
  *
11
22
  * @openapiSchema EnrichmentPrompt
12
23
  * @endpoint POST /v1/entities/{entityId}/enrichments
13
- * @endpoint POST /v1/people/{personId}/enrichments
14
24
  * @contractShape enrichment.prompt
15
25
  * @contractRole canonical
16
26
  */
@@ -1,15 +1,17 @@
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
+ import { ResearchFindingSchema } from "../research/finding.js";
3
4
  const EnrichmentPromptSchemaDefinition = z.object({
4
- /** Plain-language instruction for this run, such as which facts or sources to check first */
5
+ /** Facts you already read verbatim on an external source page for an entity, each with statement, sourceUrl, and exact quote; omit taskPresetKey to default to apply-cited-findings */
6
+ finding: z.array(ResearchFindingSchema).nullish(),
7
+ /** Plain-language instruction for this run, such as an observed update and its source URL (newsUrlOriginal or web URL) or which facts to check first */
5
8
  userPrompt: z.string().max(2000).nullish(),
6
9
  });
7
10
  /**
8
- * Optional steering for one company or person enrichment run
11
+ * Optional steering prompt or cited findings for one company, product, or service enrichment run
9
12
  *
10
13
  * @openapiSchema EnrichmentPrompt
11
14
  * @endpoint POST /v1/entities/{entityId}/enrichments
12
- * @endpoint POST /v1/people/{personId}/enrichments
13
15
  * @contractShape enrichment.prompt
14
16
  * @contractRole canonical
15
17
  */
@@ -37,9 +37,9 @@ export const EntityDetailSchema = z.object({
37
37
  core: EntitySchema,
38
38
  /** Entity enrichment: addresses, classification, funding summary, text, and URL links. */
39
39
  enrichment: EntityEnrichmentSchema,
40
- /** Fundraise rounds associated with this entity. */
40
+ /** Fundraise rounds associated with this entity. When newsArticle or an external source reports a newer round not yet listed here, report both and ask the user whether to request a record update via POST /v1/entities/{entityId}/enrichments (CLI: entities enrichments enrich; MCP: aventure_job enrichEntity). */
41
41
  fundraiseRound: z.array(EntityFundraiseTransactionSchema),
42
- /** News articles associated with this entity; full-detail search carries the first few, and GET /v1/news?owner.entityId={entityId} lists them all. */
42
+ /** News articles associated with this entity; full-detail search carries the first few, and GET /v1/news?owner.entityId={entityId} lists them all. When an indexed article reports a newer funding round, role, or milestone not yet reflected in structured fields, report both and offer to request an update on the record. */
43
43
  newsArticle: z.array(NewsSchema),
44
44
  /** People associated with this entity; full-detail search carries the first few, and GET /v1/entities/{entityId}/people lists them all. */
45
45
  person: z.array(PersonDetailSchema),
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFilterLogoOption
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema EntityFilterLogoOption
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFilter
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/people/search
@@ -13,9 +13,11 @@ import { UrlMatchModeSchema } from "../url/match-mode.js";
13
13
  *
14
14
  * @openapiSchema EntityFilter
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/people/search
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityFundraiseFilterCriteria
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search
@@ -9,9 +9,11 @@ import { InvestorActivityFilterSchema } from "../investor/activity-filter.js";
9
9
  *
10
10
  * @openapiSchema EntityFundraiseFilterCriteria
11
11
  * @endpoint GET /v1/search/link
12
+ * @endpoint GET /v1/directory/shared/slug/{slug}
12
13
  * @endpoint GET /v1/search/link/jobs/{jobId}
13
14
  * @endpoint GET /v1/search/shared/{id}
14
15
  * @endpoint GET /v1/search/shared/slug/{slug}
16
+ * @endpoint POST /v1/directory/shared
15
17
  * @endpoint POST /v1/entities/filters/refine
16
18
  * @endpoint POST /v1/entities/filters/search
17
19
  * @endpoint POST /v1/entities/search
@@ -1,5 +1,25 @@
1
1
  import { z } from "zod/v4";
2
- declare const EntityListFilterSchemaDefinition: z.ZodObject<{
2
+ /**
3
+ * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
4
+ *
5
+ * @openapiSchema EntityListFilter
6
+ * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
+ * @endpoint GET /v1/search/link/jobs/{jobId}
9
+ * @endpoint GET /v1/search/shared/{id}
10
+ * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
12
+ * @endpoint POST /v1/entities/search
13
+ * @endpoint POST /v1/search
14
+ * @endpoint POST /v1/search/natural/entities
15
+ * @endpoint POST /v1/search/shared
16
+ * @usedBySchema SearchInterpretationSchema
17
+ * @usedBySchema SharedDirectoryMutationSchema
18
+ * @usedBySchema SharedDirectorySchema
19
+ * @contractShape entity.list-filter
20
+ * @contractRole canonical
21
+ */
22
+ export declare const EntityListFilterSchema: z.ZodObject<{
3
23
  acceleratorBrand: z.ZodOptional<z.ZodArray<z.ZodString>>;
4
24
  acceleratorCohort: z.ZodOptional<z.ZodArray<z.ZodString>>;
5
25
  acceleratorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -173,26 +193,5 @@ declare const EntityListFilterSchemaDefinition: z.ZodObject<{
173
193
  min?: number | null | undefined;
174
194
  }, import("../int/range.ts").IntRangeSchemaInput>>>>;
175
195
  }, z.core.$strict>;
176
- type EntityListFilterDefinition = z.infer<typeof EntityListFilterSchemaDefinition>;
177
- export interface EntityListFilterSchemaInput extends z.input<typeof EntityListFilterSchemaDefinition> {
178
- }
179
- /**
180
- * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
181
- *
182
- * @openapiSchema EntityListFilter
183
- * @endpoint GET /v1/search/link
184
- * @endpoint GET /v1/search/link/jobs/{jobId}
185
- * @endpoint GET /v1/search/shared/{id}
186
- * @endpoint GET /v1/search/shared/slug/{slug}
187
- * @endpoint POST /v1/entities/search
188
- * @endpoint POST /v1/search
189
- * @endpoint POST /v1/search/natural/entities
190
- * @endpoint POST /v1/search/shared
191
- * @usedBySchema SearchInterpretationSchema
192
- * @contractShape entity.list-filter
193
- * @contractRole canonical
194
- */
195
- export declare const EntityListFilterSchema: z.ZodType<EntityListFilterDefinition, EntityListFilterSchemaInput>;
196
196
  export type EntityListFilter = z.infer<typeof EntityListFilterSchema>;
197
- export {};
198
197
  //# sourceMappingURL=list-filter.d.ts.map
@@ -8,7 +8,27 @@ import { EntityTypeSchema } from "./type.js";
8
8
  import { EntityUrlTypeSchema } from "./url-type.js";
9
9
  import { IntRangeSchema } from "../int/range.js";
10
10
  import { UrlMatchModeSchema } from "../url/match-mode.js";
11
- const EntityListFilterSchemaDefinition = z.strictObject({
11
+ /**
12
+ * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
13
+ *
14
+ * @openapiSchema EntityListFilter
15
+ * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
17
+ * @endpoint GET /v1/search/link/jobs/{jobId}
18
+ * @endpoint GET /v1/search/shared/{id}
19
+ * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
21
+ * @endpoint POST /v1/entities/search
22
+ * @endpoint POST /v1/search
23
+ * @endpoint POST /v1/search/natural/entities
24
+ * @endpoint POST /v1/search/shared
25
+ * @usedBySchema SearchInterpretationSchema
26
+ * @usedBySchema SharedDirectoryMutationSchema
27
+ * @usedBySchema SharedDirectorySchema
28
+ * @contractShape entity.list-filter
29
+ * @contractRole canonical
30
+ */
31
+ export const EntityListFilterSchema = z.strictObject({
12
32
  /** Accelerator brand or operator name. */
13
33
  acceleratorBrand: z.array(z.string()).optional(),
14
34
  /** Accelerator batch or cohort label. */
@@ -109,21 +129,4 @@ const EntityListFilterSchemaDefinition = z.strictObject({
109
129
  /** Inclusive founding-year ranges, in calendar years. */
110
130
  yearFoundedRange: z.array(IntRangeSchema).optional(),
111
131
  });
112
- /**
113
- * Entity list filters and saved-view query state including semantic entity search. semanticQuery executes on GET /v1/entities and POST /v1/entities/search; saved views persist it for replay. Every other reused EntityFilter surface accepts the base EntityFilter, which omits semanticQuery. There is no query field: send free text describing the companies as semanticQuery, a keyword as textSearch, or a known company name as entityName.
114
- *
115
- * @openapiSchema EntityListFilter
116
- * @endpoint GET /v1/search/link
117
- * @endpoint GET /v1/search/link/jobs/{jobId}
118
- * @endpoint GET /v1/search/shared/{id}
119
- * @endpoint GET /v1/search/shared/slug/{slug}
120
- * @endpoint POST /v1/entities/search
121
- * @endpoint POST /v1/search
122
- * @endpoint POST /v1/search/natural/entities
123
- * @endpoint POST /v1/search/shared
124
- * @usedBySchema SearchInterpretationSchema
125
- * @contractShape entity.list-filter
126
- * @contractRole canonical
127
- */
128
- export const EntityListFilterSchema = EntityListFilterSchemaDefinition;
129
132
  //# sourceMappingURL=list-filter.js.map
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  * @openapiSchema EntityListQualityGate
6
6
  * @endpoint GET /v1/entities
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -6,9 +6,11 @@ import { z } from "zod/v4";
6
6
  * @openapiSchema EntityListQualityGate
7
7
  * @endpoint GET /v1/entities
8
8
  * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/directory/shared/slug/{slug}
9
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
10
11
  * @endpoint GET /v1/search/shared/{id}
11
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/shared
12
14
  * @endpoint POST /v1/entities/filters/refine
13
15
  * @endpoint POST /v1/entities/filters/search
14
16
  * @endpoint POST /v1/entities/search
@@ -5,9 +5,11 @@ import { z } from "zod/v4";
5
5
  * @openapiSchema EntityOperatingStatus
6
6
  * @endpoint GET /v1/entities
7
7
  * @endpoint GET /v1/search/link
8
+ * @endpoint GET /v1/directory/shared/slug/{slug}
8
9
  * @endpoint GET /v1/search/link/jobs/{jobId}
9
10
  * @endpoint GET /v1/search/shared/{id}
10
11
  * @endpoint GET /v1/search/shared/slug/{slug}
12
+ * @endpoint POST /v1/directory/shared
11
13
  * @endpoint POST /v1/entities/filters/refine
12
14
  * @endpoint POST /v1/entities/filters/search
13
15
  * @endpoint POST /v1/entities/search
@@ -6,9 +6,11 @@ import { z } from "zod/v4";
6
6
  * @openapiSchema EntityOperatingStatus
7
7
  * @endpoint GET /v1/entities
8
8
  * @endpoint GET /v1/search/link
9
+ * @endpoint GET /v1/directory/shared/slug/{slug}
9
10
  * @endpoint GET /v1/search/link/jobs/{jobId}
10
11
  * @endpoint GET /v1/search/shared/{id}
11
12
  * @endpoint GET /v1/search/shared/slug/{slug}
13
+ * @endpoint POST /v1/directory/shared
12
14
  * @endpoint POST /v1/entities/filters/refine
13
15
  * @endpoint POST /v1/entities/filters/search
14
16
  * @endpoint POST /v1/entities/search
@@ -8,6 +8,7 @@ import { z } from "zod/v4";
8
8
  * @endpoint GET /v1/entities/lookup-exact
9
9
  * @endpoint GET /v1/people/lookup-exact
10
10
  * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/directory/shared/slug/{slug}
11
12
  * @endpoint GET /v1/entities/{entityId}
12
13
  * @endpoint GET /v1/entities/{entityId}/investors
13
14
  * @endpoint GET /v1/entities/{entityId}/people
@@ -27,6 +28,7 @@ import { z } from "zod/v4";
27
28
  * @endpoint GET /v1/search/link/jobs/{jobId}
28
29
  * @endpoint GET /v1/search/shared/{id}
29
30
  * @endpoint GET /v1/search/shared/slug/{slug}
31
+ * @endpoint POST /v1/directory/shared
30
32
  * @endpoint POST /v1/entities/filters/refine
31
33
  * @endpoint POST /v1/entities/filters/search
32
34
  * @endpoint POST /v1/entities/lookup-batch
@@ -9,6 +9,7 @@ import { z } from "zod/v4";
9
9
  * @endpoint GET /v1/entities/lookup-exact
10
10
  * @endpoint GET /v1/people/lookup-exact
11
11
  * @endpoint GET /v1/search/link
12
+ * @endpoint GET /v1/directory/shared/slug/{slug}
12
13
  * @endpoint GET /v1/entities/{entityId}
13
14
  * @endpoint GET /v1/entities/{entityId}/investors
14
15
  * @endpoint GET /v1/entities/{entityId}/people
@@ -28,6 +29,7 @@ import { z } from "zod/v4";
28
29
  * @endpoint GET /v1/search/link/jobs/{jobId}
29
30
  * @endpoint GET /v1/search/shared/{id}
30
31
  * @endpoint GET /v1/search/shared/slug/{slug}
32
+ * @endpoint POST /v1/directory/shared
31
33
  * @endpoint POST /v1/entities/filters/refine
32
34
  * @endpoint POST /v1/entities/filters/search
33
35
  * @endpoint POST /v1/entities/lookup-batch
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
3
3
  import { EnrichmentModeSchema } from "../enrichment/mode.js";
4
4
  import { ResearchFindingSchema } from "../research/finding.js";
5
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 that accepts findings; the run checks each quote against its page and writes only the facts it confirms. Any other run refuses findings with 400. */
6
+ /** Facts you already read verbatim on an external source page for an entity, each citing the page and exact text that support it. Omit taskPresetKey to default to apply-cited-findings, or send a preset from GET /v1/research-runs/presets; the run checks each quote against its page and writes only the facts it confirms. When the detail comes from an indexed news article or a page not read verbatim, send userPrompt instead. */
7
7
  finding: z.array(ResearchFindingSchema).nullish(),
8
8
  /** How broadly the run researches the subject; omit it for COMPREHENSIVE */
9
9
  mode: EnrichmentModeSchema.optional(),
@@ -15,7 +15,7 @@ const HarnessRunCreateSchemaDefinition = z.object({
15
15
  taskPresetKey: z.array(z.string()).nullish(),
16
16
  /** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
17
17
  url: z.string(),
18
- /** Optional steering prompt */
18
+ /** Optional steering prompt, such as an observed update and its source URL (newsUrlOriginal or web URL) or which facts to check first */
19
19
  userPrompt: z.string().nullish(),
20
20
  });
21
21
  /**
@@ -13,9 +13,11 @@ export interface IntRangeSchemaInput extends z.input<typeof IntRangeSchemaDefini
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
package/dist/int/range.js CHANGED
@@ -13,9 +13,11 @@ const IntRangeSchemaDefinition = z.object({
13
13
  * @endpoint GET /v1/entities
14
14
  * @endpoint GET /v1/people
15
15
  * @endpoint GET /v1/search/link
16
+ * @endpoint GET /v1/directory/shared/slug/{slug}
16
17
  * @endpoint GET /v1/search/link/jobs/{jobId}
17
18
  * @endpoint GET /v1/search/shared/{id}
18
19
  * @endpoint GET /v1/search/shared/slug/{slug}
20
+ * @endpoint POST /v1/directory/shared
19
21
  * @endpoint POST /v1/entities/filters/refine
20
22
  * @endpoint POST /v1/entities/filters/search
21
23
  * @endpoint POST /v1/entities/search
@@ -4,9 +4,11 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema InvestorActivityFilter
6
6
  * @endpoint GET /v1/search/link
7
+ * @endpoint GET /v1/directory/shared/slug/{slug}
7
8
  * @endpoint GET /v1/search/link/jobs/{jobId}
8
9
  * @endpoint GET /v1/search/shared/{id}
9
10
  * @endpoint GET /v1/search/shared/slug/{slug}
11
+ * @endpoint POST /v1/directory/shared
10
12
  * @endpoint POST /v1/entities/filters/refine
11
13
  * @endpoint POST /v1/entities/filters/search
12
14
  * @endpoint POST /v1/entities/search