@aventurevc/api-schemas 0.8.183 → 0.8.185

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 (88) hide show
  1. package/dist/address/association-role.d.ts +2 -0
  2. package/dist/address/association-role.js +2 -0
  3. package/dist/address/link.d.ts +29 -0
  4. package/dist/address/link.js +22 -0
  5. package/dist/billing/catalog-allowance.d.ts +11 -2
  6. package/dist/billing/catalog-allowance.js +2 -1
  7. package/dist/billing/catalog-tier.d.ts +2 -2
  8. package/dist/billing/catalog.d.ts +2 -2
  9. package/dist/billing/subscription.d.ts +20 -0
  10. package/dist/cursor/slice-address-link.d.ts +32 -0
  11. package/dist/cursor/slice-address-link.js +15 -0
  12. package/dist/cursor/slice-shared-directory-list.d.ts +30 -0
  13. package/dist/cursor/slice-shared-directory-list.js +15 -0
  14. package/dist/date/range.d.ts +2 -0
  15. package/dist/date/range.js +2 -0
  16. package/dist/decimal/range.d.ts +2 -0
  17. package/dist/decimal/range.js +2 -0
  18. package/dist/enrichment/enrichment.d.ts +17 -0
  19. package/dist/enrichment/prompt.d.ts +12 -2
  20. package/dist/enrichment/prompt.js +5 -3
  21. package/dist/entity/detail.js +2 -2
  22. package/dist/entity/filter-logo-option.d.ts +2 -0
  23. package/dist/entity/filter-logo-option.js +2 -0
  24. package/dist/entity/filter.d.ts +2 -0
  25. package/dist/entity/filter.js +2 -0
  26. package/dist/entity/fundraise-filter-criteria.d.ts +2 -0
  27. package/dist/entity/fundraise-filter-criteria.js +2 -0
  28. package/dist/entity/list-filter.d.ts +21 -22
  29. package/dist/entity/list-filter.js +21 -18
  30. package/dist/entity/list-quality-gate.d.ts +2 -0
  31. package/dist/entity/list-quality-gate.js +2 -0
  32. package/dist/entity/operating-status.d.ts +2 -0
  33. package/dist/entity/operating-status.js +2 -0
  34. package/dist/entity/person-owner.d.ts +1 -0
  35. package/dist/entity/person-owner.js +1 -0
  36. package/dist/entity/url-type.d.ts +2 -0
  37. package/dist/entity/url-type.js +2 -0
  38. package/dist/federated/search.d.ts +8 -0
  39. package/dist/harness/run-create.js +2 -2
  40. package/dist/harness/run-detail.d.ts +17 -0
  41. package/dist/harness/run.d.ts +17 -0
  42. package/dist/harness/run.js +3 -0
  43. package/dist/help/resolution.js +1 -1
  44. package/dist/http/problem-detail.d.ts +11 -2
  45. package/dist/http/problem-detail.js +2 -3
  46. package/dist/int/range.d.ts +2 -0
  47. package/dist/int/range.js +2 -0
  48. package/dist/investor/activity-filter.d.ts +2 -0
  49. package/dist/investor/activity-filter.js +2 -0
  50. package/dist/link/search.d.ts +8 -0
  51. package/dist/natural/search-result.d.ts +7 -0
  52. package/dist/natural/search-result.js +3 -0
  53. package/dist/openapi-component-manifest.js +38 -0
  54. package/dist/person/enrichment-prompt.d.ts +19 -0
  55. package/dist/person/enrichment-prompt.js +16 -0
  56. package/dist/person/filter.d.ts +4 -0
  57. package/dist/person/filter.js +4 -0
  58. package/dist/person/list-array-filter.d.ts +2 -0
  59. package/dist/person/list-array-filter.js +2 -0
  60. package/dist/prose/problem.d.ts +6 -0
  61. package/dist/prose/problem.js +3 -0
  62. package/dist/prose/violation.d.ts +6 -0
  63. package/dist/research/access-type.d.ts +28 -0
  64. package/dist/research/access-type.js +21 -0
  65. package/dist/research/allowance-type.d.ts +31 -0
  66. package/dist/research/allowance-type.js +23 -0
  67. package/dist/research/allowance-usage.d.ts +20 -0
  68. package/dist/research/allowance.d.ts +15 -0
  69. package/dist/research/allowance.js +3 -0
  70. package/dist/research/finding.d.ts +2 -0
  71. package/dist/research/finding.js +2 -0
  72. package/dist/search/discovery-filing.d.ts +27 -0
  73. package/dist/search/discovery-filing.js +25 -0
  74. package/dist/search/interpretation.d.ts +140 -187
  75. package/dist/shared/directory-list.d.ts +31 -0
  76. package/dist/shared/directory-list.js +30 -0
  77. package/dist/shared/directory-mutation.d.ts +463 -0
  78. package/dist/shared/directory-mutation.js +27 -0
  79. package/dist/shared/directory-type.d.ts +20 -0
  80. package/dist/shared/directory-type.js +16 -0
  81. package/dist/shared/directory.d.ts +473 -0
  82. package/dist/shared/directory.js +29 -0
  83. package/dist/shared/search.d.ts +8 -0
  84. package/dist/url/duplicate-conflict.d.ts +1 -1
  85. package/dist/url/duplicate-conflict.js +2 -2
  86. package/dist/url/match-mode.d.ts +2 -0
  87. package/dist/url/match-mode.js +2 -0
  88. package/package.json +1 -1
@@ -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
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema EntityPersonOwner
6
6
  * @standardProblemResponse
7
+ * @usedBySchema AddressLinkSchema
7
8
  * @usedBySchema BlogPostSchema
8
9
  * @usedBySchema EnrichmentSchema
9
10
  * @usedBySchema EntityFundraiseInvestorJoinSchema
@@ -5,6 +5,7 @@ import { z } from "zod/v4";
5
5
  *
6
6
  * @openapiSchema EntityPersonOwner
7
7
  * @standardProblemResponse
8
+ * @usedBySchema AddressLinkSchema
8
9
  * @usedBySchema BlogPostSchema
9
10
  * @usedBySchema EnrichmentSchema
10
11
  * @usedBySchema EntityFundraiseInvestorJoinSchema
@@ -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
@@ -24,6 +24,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
24
24
  text: string;
25
25
  title?: string | null | undefined;
26
26
  } | null | undefined;
27
+ filing?: {
28
+ enrichmentRunId?: string | null | undefined;
29
+ entityId: string;
30
+ }[] | null | undefined;
27
31
  interpretation: {
28
32
  confidence: "HIGH" | "LOW" | "MEDIUM";
29
33
  execution: {
@@ -1736,6 +1740,10 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
1736
1740
  text: string;
1737
1741
  title?: string | null | undefined;
1738
1742
  } | null | undefined;
1743
+ filing?: {
1744
+ enrichmentRunId?: string | null | undefined;
1745
+ entityId: string;
1746
+ }[] | null | undefined;
1739
1747
  interpretation: {
1740
1748
  confidence: "HIGH" | "LOW" | "MEDIUM";
1741
1749
  execution: {
@@ -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
  /**
@@ -148,6 +148,23 @@ declare const HarnessRunDetailSchemaDefinition: z.ZodObject<{
148
148
  }>;
149
149
  model: z.ZodString;
150
150
  nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
151
+ researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
152
+ COMPANY: "COMPANY";
153
+ ENTITY_BRAND: "ENTITY_BRAND";
154
+ ENTITY_VIEW: "ENTITY_VIEW";
155
+ PERSON: "PERSON";
156
+ PERSON_VIEW: "PERSON_VIEW";
157
+ WEB_SEARCH: "WEB_SEARCH";
158
+ }>, z.ZodString]> & {
159
+ enum: {
160
+ COMPANY: "COMPANY";
161
+ ENTITY_BRAND: "ENTITY_BRAND";
162
+ ENTITY_VIEW: "ENTITY_VIEW";
163
+ PERSON: "PERSON";
164
+ PERSON_VIEW: "PERSON_VIEW";
165
+ WEB_SEARCH: "WEB_SEARCH";
166
+ };
167
+ }>>;
151
168
  resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
152
169
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
153
170
  status: z.ZodEnum<{
@@ -52,6 +52,23 @@ export declare const HarnessRunSchema: z.ZodObject<{
52
52
  }>;
53
53
  model: z.ZodString;
54
54
  nextAttemptAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
55
+ researchAllowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
56
+ COMPANY: "COMPANY";
57
+ ENTITY_BRAND: "ENTITY_BRAND";
58
+ ENTITY_VIEW: "ENTITY_VIEW";
59
+ PERSON: "PERSON";
60
+ PERSON_VIEW: "PERSON_VIEW";
61
+ WEB_SEARCH: "WEB_SEARCH";
62
+ }>, z.ZodString]> & {
63
+ enum: {
64
+ COMPANY: "COMPANY";
65
+ ENTITY_BRAND: "ENTITY_BRAND";
66
+ ENTITY_VIEW: "ENTITY_VIEW";
67
+ PERSON: "PERSON";
68
+ PERSON_VIEW: "PERSON_VIEW";
69
+ WEB_SEARCH: "WEB_SEARCH";
70
+ };
71
+ }>>;
55
72
  resumeSafeUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
56
73
  startedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
57
74
  status: z.ZodEnum<{
@@ -7,6 +7,7 @@ import { HarnessRunEnvironmentSchema } from "./run-environment.js";
7
7
  import { HarnessRunLaneSchema } from "./run-lane.js";
8
8
  import { HarnessRunStatusSchema } from "./run-status.js";
9
9
  import { HarnessRunTypeSchema } from "./run-type.js";
10
+ import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
10
11
  /**
11
12
  * One research run on a company, Product, Service, or person
12
13
  *
@@ -62,6 +63,8 @@ export const HarnessRunSchema = z.object({
62
63
  model: z.string(),
63
64
  /** Earliest re-claim time when waiting on retry backoff */
64
65
  nextAttemptAt: z.iso.datetime({ offset: true }).nullish(),
66
+ /** Research allowance this run reserved when it was filed: COMPANY or PERSON; null for a run filed without one */
67
+ researchAllowanceType: ResearchAllowanceTypeSchema.nullish(),
65
68
  /** Instant past which a warm resume is no longer guaranteed; the harness writes it with session_resume from the model's cache window. Warm-resumable now iff failed/stopped and this is in the future. Null when there is no resume window. */
66
69
  resumeSafeUntil: z.iso.datetime({ offset: true }).nullish(),
67
70
  /** Run start timestamp */
@@ -16,7 +16,7 @@ import { HelpResolutionOutcomeSchema } from "./resolution-outcome.js";
16
16
  export const HelpResolutionSchema = z.object({
17
17
  /** Candidate operations best first; the options to choose between when the outcome is CLARIFY. */
18
18
  candidate: z.array(HelpCitationSchema),
19
- /** The advised operation; present only for OPERATION_ADVICE. */
19
+ /** The advised operation for OPERATION_ADVICE, or the write whose missing inputs a CLARIFY asks for. */
20
20
  operationId: z.string().nullish(),
21
21
  /** Which of the mutually exclusive resolve outcomes was reached. */
22
22
  outcome: HelpResolutionOutcomeSchema,
@@ -1,13 +1,22 @@
1
1
  import { z } from "zod/v4";
2
2
  declare const ProblemDetailSchemaDefinition: z.ZodObject<{
3
- allowanceType: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3
+ allowanceType: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
4
4
  COMPANY: "COMPANY";
5
5
  ENTITY_BRAND: "ENTITY_BRAND";
6
6
  ENTITY_VIEW: "ENTITY_VIEW";
7
7
  PERSON: "PERSON";
8
8
  PERSON_VIEW: "PERSON_VIEW";
9
9
  WEB_SEARCH: "WEB_SEARCH";
10
- }>>>;
10
+ }>, z.ZodString]> & {
11
+ enum: {
12
+ COMPANY: "COMPANY";
13
+ ENTITY_BRAND: "ENTITY_BRAND";
14
+ ENTITY_VIEW: "ENTITY_VIEW";
15
+ PERSON: "PERSON";
16
+ PERSON_VIEW: "PERSON_VIEW";
17
+ WEB_SEARCH: "WEB_SEARCH";
18
+ };
19
+ }>>;
11
20
  circuitBreaker: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
21
  code: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodEnum<{
13
22
  GEOCODE_PROVIDER_ERROR: "GEOCODE_PROVIDER_ERROR";
@@ -6,11 +6,10 @@ import { ProblemResolutionSchema } from "../problem/resolution.js";
6
6
  import { ProseViolationSchema } from "../prose/violation.js";
7
7
  import { CurrentSlugOwnerSchema } from "../redirect/current-slug-owner.js";
8
8
  import { RedirectSlugPathSchema } from "../redirect/redirect-slug-path.js";
9
+ import { ResearchAllowanceTypeSchema } from "../research/allowance-type.js";
9
10
  const ProblemDetailSchemaDefinition = z.object({
10
11
  /** Which monthly allowance a BILLING_ALLOWANCE refusal exhausted. */
11
- allowanceType: z
12
- .enum(["COMPANY", "PERSON", "ENTITY_VIEW", "ENTITY_BRAND", "PERSON_VIEW", "WEB_SEARCH"])
13
- .nullish(),
12
+ allowanceType: ResearchAllowanceTypeSchema.nullish(),
14
13
  circuitBreaker: z.string().nullish(),
15
14
  /** Machine-readable secondary code on ProblemDetail.code. Agents should branch on this value when the HTTP status alone does not identify the recovery path. Code groups include auth/session, rate limiting, job infrastructure, RBAC, external providers, image processing, R2 storage, search, and inference. Many codes describe server-side conditions a caller cannot fix: surface the error and stop rather than retry. */
16
15
  code: z
@@ -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
@@ -7,9 +7,11 @@ import { IntRangeSchema } from "../int/range.js";
7
7
  *
8
8
  * @openapiSchema InvestorActivityFilter
9
9
  * @endpoint GET /v1/search/link
10
+ * @endpoint GET /v1/directory/shared/slug/{slug}
10
11
  * @endpoint GET /v1/search/link/jobs/{jobId}
11
12
  * @endpoint GET /v1/search/shared/{id}
12
13
  * @endpoint GET /v1/search/shared/slug/{slug}
14
+ * @endpoint POST /v1/directory/shared
13
15
  * @endpoint POST /v1/entities/filters/refine
14
16
  * @endpoint POST /v1/entities/filters/search
15
17
  * @endpoint POST /v1/entities/search
@@ -26,6 +26,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
26
26
  text: string;
27
27
  title?: string | null | undefined;
28
28
  } | null | undefined;
29
+ filing?: {
30
+ enrichmentRunId?: string | null | undefined;
31
+ entityId: string;
32
+ }[] | null | undefined;
29
33
  interpretation: {
30
34
  confidence: "HIGH" | "LOW" | "MEDIUM";
31
35
  execution: {
@@ -4341,6 +4345,10 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
4341
4345
  text: string;
4342
4346
  title?: string | null | undefined;
4343
4347
  } | null | undefined;
4348
+ filing?: {
4349
+ enrichmentRunId?: string | null | undefined;
4350
+ entityId: string;
4351
+ }[] | null | undefined;
4344
4352
  interpretation: {
4345
4353
  confidence: "HIGH" | "LOW" | "MEDIUM";
4346
4354
  execution: {
@@ -39,6 +39,13 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
39
39
  text: z.ZodString;
40
40
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  }, z.core.$strip>>>;
42
+ filing: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodType<{
43
+ enrichmentRunId?: string | null | undefined;
44
+ entityId: string;
45
+ }, import("../search/discovery-filing.ts").SearchDiscoveryFilingSchemaInput, z.core.$ZodTypeInternals<{
46
+ enrichmentRunId?: string | null | undefined;
47
+ entityId: string;
48
+ }, import("../search/discovery-filing.ts").SearchDiscoveryFilingSchemaInput>>>>>;
42
49
  interpretation: z.ZodType<{
43
50
  confidence: "HIGH" | "LOW" | "MEDIUM";
44
51
  execution: {
@@ -4,6 +4,7 @@ import { EntityListSchema } from "../entity/list.js";
4
4
  import { EntitySimilarityResultSchema } from "../entity/similarity-result.js";
5
5
  import { PageResultEntityListSchema } from "../pagination/schemas.js";
6
6
  import { SearchAnswerSchema } from "../search/answer.js";
7
+ import { SearchDiscoveryFilingSchema } from "../search/discovery-filing.js";
7
8
  import { SearchInterpretationSchema } from "../search/interpretation.js";
8
9
  import { SearchInvestmentSchema } from "../search/investment.js";
9
10
  import { SearchJudgmentSchema } from "../search/judgment.js";
@@ -11,6 +12,8 @@ import { SearchPassageSchema } from "../search/passage.js";
11
12
  const NaturalSearchResultSchemaDefinition = z.object({
12
13
  /** Written answer grounded in the subject, peer, and result records and the passages; null unless the request asks for the `synthesis` layer. */
13
14
  answer: SearchAnswerSchema.nullish(),
15
+ /** Discovered companies this caller filed and their research runs. */
16
+ filing: z.array(SearchDiscoveryFilingSchema).nullish(),
14
17
  /** Structured interpretation used to run the entity list query. */
15
18
  interpretation: SearchInterpretationSchema,
16
19
  /** Recorded investment participation supporting investor discovery. Each row keeps its entity or personal investor, portfolio company, transaction attribution, and query-matched offering evidence. Empty for other question intents. */
@@ -11,6 +11,7 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
11
11
  },
12
12
  AddressCity: { modulePath: "address/city", schemaName: "AddressCitySchema" },
13
13
  AddressCountry: { modulePath: "address/country", schemaName: "AddressCountrySchema" },
14
+ AddressLink: { modulePath: "address/link", schemaName: "AddressLinkSchema" },
14
15
  AddressState: { modulePath: "address/state", schemaName: "AddressStateSchema" },
15
16
  AgentHelp: { modulePath: "agent/help", schemaName: "AgentHelpSchema" },
16
17
  AgentHelpQuestion: { modulePath: "agent/help-question", schemaName: "AgentHelpQuestionSchema" },
@@ -224,6 +225,14 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
224
225
  modulePath: "redirect/current-slug-owner",
225
226
  schemaName: "CurrentSlugOwnerSchema",
226
227
  },
228
+ CursorSliceAddressLink: {
229
+ modulePath: "cursor/slice-address-link",
230
+ schemaName: "CursorSliceAddressLinkSchema",
231
+ },
232
+ CursorSliceSharedDirectoryList: {
233
+ modulePath: "cursor/slice-shared-directory-list",
234
+ schemaName: "CursorSliceSharedDirectoryListSchema",
235
+ },
227
236
  CursorSliceSharedSearchList: {
228
237
  modulePath: "cursor/slice-shared-search-list",
229
238
  schemaName: "CursorSliceSharedSearchListSchema",
@@ -773,6 +782,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
773
782
  schemaName: "PersonDetailIncludeSchema",
774
783
  },
775
784
  PersonEnrichment: { modulePath: "person/enrichment", schemaName: "PersonEnrichmentSchema" },
785
+ PersonEnrichmentPrompt: {
786
+ modulePath: "person/enrichment-prompt",
787
+ schemaName: "PersonEnrichmentPromptSchema",
788
+ },
776
789
  PersonFilter: { modulePath: "person/filter", schemaName: "PersonFilterSchema" },
777
790
  PersonGraph: { modulePath: "person/graph", schemaName: "PersonGraphSchema" },
778
791
  PersonGraphCareerContext: {
@@ -849,7 +862,15 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
849
862
  modulePath: "relationship/direction",
850
863
  schemaName: "RelationshipDirectionSchema",
851
864
  },
865
+ ResearchAccessType: {
866
+ modulePath: "research/access-type",
867
+ schemaName: "ResearchAccessTypeSchema",
868
+ },
852
869
  ResearchAllowance: { modulePath: "research/allowance", schemaName: "ResearchAllowanceSchema" },
870
+ ResearchAllowanceType: {
871
+ modulePath: "research/allowance-type",
872
+ schemaName: "ResearchAllowanceTypeSchema",
873
+ },
853
874
  ResearchAllowanceUsage: {
854
875
  modulePath: "research/allowance-usage",
855
876
  schemaName: "ResearchAllowanceUsageSchema",
@@ -902,6 +923,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
902
923
  schemaName: "SearchAnswerParagraphSchema",
903
924
  },
904
925
  SearchCacheMode: { modulePath: "search/cache-mode", schemaName: "SearchCacheModeSchema" },
926
+ SearchDiscoveryFiling: {
927
+ modulePath: "search/discovery-filing",
928
+ schemaName: "SearchDiscoveryFilingSchema",
929
+ },
905
930
  SearchDuplicateCandidateScore: {
906
931
  modulePath: "search/duplicate-candidate-score",
907
932
  schemaName: "SearchDuplicateCandidateScoreSchema",
@@ -965,6 +990,19 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
965
990
  modulePath: "sec/listing-prospectus",
966
991
  schemaName: "SecListingProspectusSchema",
967
992
  },
993
+ SharedDirectory: { modulePath: "shared/directory", schemaName: "SharedDirectorySchema" },
994
+ SharedDirectoryList: {
995
+ modulePath: "shared/directory-list",
996
+ schemaName: "SharedDirectoryListSchema",
997
+ },
998
+ SharedDirectoryMutation: {
999
+ modulePath: "shared/directory-mutation",
1000
+ schemaName: "SharedDirectoryMutationSchema",
1001
+ },
1002
+ SharedDirectoryType: {
1003
+ modulePath: "shared/directory-type",
1004
+ schemaName: "SharedDirectoryTypeSchema",
1005
+ },
968
1006
  SharedSearch: { modulePath: "shared/search", schemaName: "SharedSearchSchema" },
969
1007
  SharedSearchList: { modulePath: "shared/search-list", schemaName: "SharedSearchListSchema" },
970
1008
  SharedSearchMutation: {
@@ -0,0 +1,19 @@
1
+ import { z } from "zod/v4";
2
+ declare const PersonEnrichmentPromptSchemaDefinition: z.ZodObject<{
3
+ userPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
+ }, z.core.$strip>;
5
+ type PersonEnrichmentPromptDefinition = z.infer<typeof PersonEnrichmentPromptSchemaDefinition>;
6
+ export interface PersonEnrichmentPromptSchemaInput extends z.input<typeof PersonEnrichmentPromptSchemaDefinition> {
7
+ }
8
+ /**
9
+ * Optional steering prompt for one person enrichment run
10
+ *
11
+ * @openapiSchema PersonEnrichmentPrompt
12
+ * @endpoint POST /v1/people/{personId}/enrichments
13
+ * @contractShape person.enrichment-prompt
14
+ * @contractRole canonical
15
+ */
16
+ export declare const PersonEnrichmentPromptSchema: z.ZodType<PersonEnrichmentPromptDefinition, PersonEnrichmentPromptSchemaInput>;
17
+ export type PersonEnrichmentPrompt = z.infer<typeof PersonEnrichmentPromptSchema>;
18
+ export {};
19
+ //# sourceMappingURL=enrichment-prompt.d.ts.map
@@ -0,0 +1,16 @@
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
+ const PersonEnrichmentPromptSchemaDefinition = z.object({
4
+ /** 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
+ userPrompt: z.string().max(2000).nullish(),
6
+ });
7
+ /**
8
+ * Optional steering prompt for one person enrichment run
9
+ *
10
+ * @openapiSchema PersonEnrichmentPrompt
11
+ * @endpoint POST /v1/people/{personId}/enrichments
12
+ * @contractShape person.enrichment-prompt
13
+ * @contractRole canonical
14
+ */
15
+ export const PersonEnrichmentPromptSchema = PersonEnrichmentPromptSchemaDefinition;
16
+ //# sourceMappingURL=enrichment-prompt.js.map
@@ -4,15 +4,19 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema PersonFilter
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/people/search
11
13
  * @endpoint POST /v1/search
12
14
  * @endpoint POST /v1/search/natural/people
13
15
  * @endpoint POST /v1/search/shared
14
16
  * @usedBySchema PersonNaturalSearchSchema
15
17
  * @usedBySchema PersonSearchInterpretationSchema
18
+ * @usedBySchema SharedDirectoryMutationSchema
19
+ * @usedBySchema SharedDirectorySchema
16
20
  * @contractShape person.filter
17
21
  * @contractRole canonical
18
22
  */
@@ -8,15 +8,19 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
8
8
  *
9
9
  * @openapiSchema PersonFilter
10
10
  * @endpoint GET /v1/search/link
11
+ * @endpoint GET /v1/directory/shared/slug/{slug}
11
12
  * @endpoint GET /v1/search/link/jobs/{jobId}
12
13
  * @endpoint GET /v1/search/shared/{id}
13
14
  * @endpoint GET /v1/search/shared/slug/{slug}
15
+ * @endpoint POST /v1/directory/shared
14
16
  * @endpoint POST /v1/people/search
15
17
  * @endpoint POST /v1/search
16
18
  * @endpoint POST /v1/search/natural/people
17
19
  * @endpoint POST /v1/search/shared
18
20
  * @usedBySchema PersonNaturalSearchSchema
19
21
  * @usedBySchema PersonSearchInterpretationSchema
22
+ * @usedBySchema SharedDirectoryMutationSchema
23
+ * @usedBySchema SharedDirectorySchema
20
24
  * @contractShape person.filter
21
25
  * @contractRole canonical
22
26
  */