@aventurevc/api-schemas 0.8.435 → 0.8.437

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 (79) hide show
  1. package/dist/agent/task-preset-catalog.d.ts +2 -0
  2. package/dist/agent/task-preset.d.ts +4 -0
  3. package/dist/agent/task-preset.js +2 -0
  4. package/dist/confidence/confidence.d.ts +1 -0
  5. package/dist/confidence/confidence.js +1 -0
  6. package/dist/date/range.d.ts +1 -0
  7. package/dist/date/range.js +1 -0
  8. package/dist/decimal/range.d.ts +1 -0
  9. package/dist/decimal/range.js +1 -0
  10. package/dist/employee/count-match-mode.d.ts +1 -0
  11. package/dist/employee/count-match-mode.js +1 -0
  12. package/dist/employee/count-range.d.ts +1 -0
  13. package/dist/employee/count-range.js +1 -0
  14. package/dist/entity/filter-logo-option.d.ts +1 -0
  15. package/dist/entity/filter-logo-option.js +1 -0
  16. package/dist/entity/filter-sortable.d.ts +1 -0
  17. package/dist/entity/filter-sortable.js +1 -0
  18. package/dist/entity/filter.d.ts +1 -0
  19. package/dist/entity/filter.js +1 -0
  20. package/dist/entity/fundraise-filter-criteria.d.ts +1 -0
  21. package/dist/entity/fundraise-filter-criteria.js +1 -0
  22. package/dist/entity/list-filter.d.ts +1 -0
  23. package/dist/entity/list-filter.js +1 -0
  24. package/dist/entity/list-quality-gate.d.ts +1 -0
  25. package/dist/entity/list-quality-gate.js +1 -0
  26. package/dist/entity/operating-status.d.ts +1 -0
  27. package/dist/entity/operating-status.js +1 -0
  28. package/dist/entity/person-association-filter.d.ts +1 -0
  29. package/dist/entity/person-association-filter.js +1 -0
  30. package/dist/entity/unique-id-filter.d.ts +1 -0
  31. package/dist/entity/unique-id-filter.js +1 -0
  32. package/dist/entity/url-type.d.ts +1 -0
  33. package/dist/entity/url-type.js +1 -0
  34. package/dist/harness/run-create.d.ts +1006 -1
  35. package/dist/harness/run-create.js +7 -3
  36. package/dist/int/range.d.ts +1 -0
  37. package/dist/int/range.js +1 -0
  38. package/dist/investor/activity-filter.d.ts +1 -0
  39. package/dist/investor/activity-filter.js +1 -0
  40. package/dist/investor/name-match-mode.d.ts +1 -0
  41. package/dist/investor/name-match-mode.js +1 -0
  42. package/dist/natural/search.d.ts +2 -0
  43. package/dist/natural/search.js +2 -0
  44. package/dist/openapi-component-manifest.js +4 -0
  45. package/dist/person/association-tenure.d.ts +1 -0
  46. package/dist/person/association-tenure.js +1 -0
  47. package/dist/person/filter.d.ts +1 -0
  48. package/dist/person/filter.js +1 -0
  49. package/dist/person/list-array-filter.d.ts +1 -0
  50. package/dist/person/list-array-filter.js +1 -0
  51. package/dist/publication/publication.js +1 -1
  52. package/dist/reasoning/effort.d.ts +1 -0
  53. package/dist/reasoning/effort.js +1 -0
  54. package/dist/research/run-search-context.d.ts +1016 -0
  55. package/dist/research/run-search-context.js +18 -0
  56. package/dist/search/cache-mode.d.ts +1 -0
  57. package/dist/search/cache-mode.js +1 -0
  58. package/dist/search/freshness.d.ts +1 -0
  59. package/dist/search/freshness.js +1 -0
  60. package/dist/search/intent.d.ts +1 -0
  61. package/dist/search/intent.js +1 -0
  62. package/dist/search/interpretation.d.ts +2 -0
  63. package/dist/search/interpretation.js +2 -0
  64. package/dist/search/mode-execution.d.ts +1 -0
  65. package/dist/search/mode-execution.js +1 -0
  66. package/dist/search/mode.d.ts +1 -0
  67. package/dist/search/mode.js +1 -0
  68. package/dist/search/ordering-entity-filter-sortable.d.ts +1 -0
  69. package/dist/search/ordering-entity-filter-sortable.js +1 -0
  70. package/dist/search/relevance.d.ts +1 -0
  71. package/dist/search/relevance.js +1 -0
  72. package/dist/search/search.js +2 -2
  73. package/dist/sort/order-entity-filter-sortable.d.ts +1 -0
  74. package/dist/sort/order-entity-filter-sortable.js +1 -0
  75. package/dist/standardized/classification-filter.d.ts +1 -0
  76. package/dist/standardized/classification-filter.js +1 -0
  77. package/dist/url/match-mode.d.ts +1 -0
  78. package/dist/url/match-mode.js +1 -0
  79. package/package.json +1 -1
@@ -3,6 +3,7 @@ import { z } from "zod/v4";
3
3
  import { EnrichmentModeSchema } from "../enrichment/mode.js";
4
4
  import { HarnessTaskInputBindingSchema } from "./task-input-binding.js";
5
5
  import { ResearchFindingSchema } from "../research/finding.js";
6
+ import { ResearchRunSearchContextSchema } from "../research/run-search-context.js";
6
7
  const HarnessRunCreateSchemaDefinition = z.object({
7
8
  /** 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. */
8
9
  finding: z.array(ResearchFindingSchema).nullish(),
@@ -12,13 +13,16 @@ const HarnessRunCreateSchemaDefinition = z.object({
12
13
  model: z.string().nullish(),
13
14
  /** Name of the subject at url, such as Clarity Health; the run verifies it and uses it to pick the right subject when the site names several */
14
15
  name: z.string().max(200).nullish(),
16
+ searchContext: ResearchRunSearchContextSchema.nullish(),
17
+ /** Evidence pages for a report question; never subject identities. */
18
+ sourceUrl: z.array(z.string()).max(20).optional(),
15
19
  /** Requester values keyed by the selected task's input definitions. ENTITY binds from url and a supplied entityId must match it; a task declaring several ENTITY inputs binds one from url and takes each other as the keyed entityId of an existing record (404 when none exists). TEXT requires explicit text; a missing required or ambiguous supplied value is rejected before enqueue; omitted optional inputs stay unbound. Never infer values from userPrompt. */
16
20
  taskInput: z.array(HarnessTaskInputBindingSchema).optional(),
17
21
  /** Research presets that focus the run, listed by GET /v1/research/runs/presets; omit them for a full run */
18
22
  taskPresetKey: z.array(z.string()).nullish(),
19
- /** Official website or profile URL of the company, Product, Service, or person to research; a URL no current record owns researches a new one */
20
- url: z.string(),
21
- /** Optional steering prompt, such as an observed update and its source URL (newsUrlOriginal or web URL) or which facts to check first */
23
+ /** Official website or profile URL of the company, Product, Service, or person to research; omit only for a selected report task */
24
+ url: z.string().optional(),
25
+ /** The question a report task must answer, or steering instructions for enrichment */
22
26
  userPrompt: z.string().nullish(),
23
27
  });
24
28
  /**
@@ -21,6 +21,7 @@ export interface IntRangeSchemaInput extends z.input<typeof IntRangeSchemaDefini
21
21
  * @endpoint POST /v1/entities/filters/search
22
22
  * @endpoint POST /v1/entities/search
23
23
  * @endpoint POST /v1/people/search
24
+ * @endpoint POST /v1/research/runs
24
25
  * @endpoint POST /v1/search
25
26
  * @endpoint POST /v1/search/natural/entities
26
27
  * @endpoint POST /v1/search/natural/people
package/dist/int/range.js CHANGED
@@ -21,6 +21,7 @@ const IntRangeSchemaDefinition = z.object({
21
21
  * @endpoint POST /v1/entities/filters/search
22
22
  * @endpoint POST /v1/entities/search
23
23
  * @endpoint POST /v1/people/search
24
+ * @endpoint POST /v1/research/runs
24
25
  * @endpoint POST /v1/search
25
26
  * @endpoint POST /v1/search/natural/entities
26
27
  * @endpoint POST /v1/search/natural/people
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
14
14
  * @endpoint POST /v1/entities/filters/search
15
15
  * @endpoint POST /v1/entities/search
16
16
  * @endpoint POST /v1/people/search
17
+ * @endpoint POST /v1/research/runs
17
18
  * @endpoint POST /v1/search
18
19
  * @endpoint POST /v1/search/natural/entities
19
20
  * @endpoint POST /v1/search/natural/people
@@ -17,6 +17,7 @@ import { IntRangeSchema } from "../int/range.js";
17
17
  * @endpoint POST /v1/entities/filters/search
18
18
  * @endpoint POST /v1/entities/search
19
19
  * @endpoint POST /v1/people/search
20
+ * @endpoint POST /v1/research/runs
20
21
  * @endpoint POST /v1/search
21
22
  * @endpoint POST /v1/search/natural/entities
22
23
  * @endpoint POST /v1/search/natural/people
@@ -14,6 +14,7 @@ import { z } from "zod/v4";
14
14
  * @endpoint POST /v1/entities/filters/search
15
15
  * @endpoint POST /v1/entities/search
16
16
  * @endpoint POST /v1/people/search
17
+ * @endpoint POST /v1/research/runs
17
18
  * @endpoint POST /v1/search
18
19
  * @endpoint POST /v1/search/natural/entities
19
20
  * @endpoint POST /v1/search/natural/people
@@ -15,6 +15,7 @@ import { z } from "zod/v4";
15
15
  * @endpoint POST /v1/entities/filters/search
16
16
  * @endpoint POST /v1/entities/search
17
17
  * @endpoint POST /v1/people/search
18
+ * @endpoint POST /v1/research/runs
18
19
  * @endpoint POST /v1/search
19
20
  * @endpoint POST /v1/search/natural/entities
20
21
  * @endpoint POST /v1/search/natural/people
@@ -55,10 +55,12 @@ export interface NaturalSearchSchemaInput extends z.input<typeof NaturalSearchSc
55
55
  *
56
56
  * @openapiSchema NaturalSearch
57
57
  * @endpoint POST /v1/content/search
58
+ * @endpoint POST /v1/research/runs
58
59
  * @endpoint POST /v1/search/natural/entities
59
60
  * @endpoint POST /v1/search/natural/people
60
61
  * @usedBySchema EntityNaturalSearchSchema
61
62
  * @usedBySchema PersonNaturalSearchSchema
63
+ * @usedBySchema ResearchRunSearchContextSchema
62
64
  * @contractShape natural.search
63
65
  * @contractRole canonical
64
66
  */
@@ -25,10 +25,12 @@ const NaturalSearchSchemaDefinition = z.object({
25
25
  *
26
26
  * @openapiSchema NaturalSearch
27
27
  * @endpoint POST /v1/content/search
28
+ * @endpoint POST /v1/research/runs
28
29
  * @endpoint POST /v1/search/natural/entities
29
30
  * @endpoint POST /v1/search/natural/people
30
31
  * @usedBySchema EntityNaturalSearchSchema
31
32
  * @usedBySchema PersonNaturalSearchSchema
33
+ * @usedBySchema ResearchRunSearchContextSchema
32
34
  * @contractShape natural.search
33
35
  * @contractRole canonical
34
36
  */
@@ -1174,6 +1174,10 @@ export const OPENAPI_COMPONENT_MANIFEST = Object.freeze({
1174
1174
  modulePath: "research/run-report-source",
1175
1175
  schemaName: "ResearchRunReportSourceSchema",
1176
1176
  },
1177
+ ResearchRunSearchContext: {
1178
+ modulePath: "research/run-search-context",
1179
+ schemaName: "ResearchRunSearchContextSchema",
1180
+ },
1177
1181
  ResearchRunView: { modulePath: "research/run-view", schemaName: "ResearchRunViewSchema" },
1178
1182
  ResearchSnippetType: {
1179
1183
  modulePath: "research/snippet-type",
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint POST /v1/directory/exports
12
12
  * @endpoint POST /v1/directory/shared
13
13
  * @endpoint POST /v1/people/search
14
+ * @endpoint POST /v1/research/runs
14
15
  * @endpoint POST /v1/search
15
16
  * @endpoint POST /v1/search/natural/entities
16
17
  * @endpoint POST /v1/search/natural/people
@@ -12,6 +12,7 @@ import { z } from "zod/v4";
12
12
  * @endpoint POST /v1/directory/exports
13
13
  * @endpoint POST /v1/directory/shared
14
14
  * @endpoint POST /v1/people/search
15
+ * @endpoint POST /v1/research/runs
15
16
  * @endpoint POST /v1/search
16
17
  * @endpoint POST /v1/search/natural/entities
17
18
  * @endpoint POST /v1/search/natural/people
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint POST /v1/directory/exports
12
12
  * @endpoint POST /v1/directory/shared
13
13
  * @endpoint POST /v1/people/search
14
+ * @endpoint POST /v1/research/runs
14
15
  * @endpoint POST /v1/search
15
16
  * @endpoint POST /v1/search/natural/entities
16
17
  * @endpoint POST /v1/search/natural/people
@@ -17,6 +17,7 @@ import { PersonListArrayFilterSchema } from "./list-array-filter.js";
17
17
  * @endpoint POST /v1/directory/exports
18
18
  * @endpoint POST /v1/directory/shared
19
19
  * @endpoint POST /v1/people/search
20
+ * @endpoint POST /v1/research/runs
20
21
  * @endpoint POST /v1/search
21
22
  * @endpoint POST /v1/search/natural/entities
22
23
  * @endpoint POST /v1/search/natural/people
@@ -11,6 +11,7 @@ import { z } from "zod/v4";
11
11
  * @endpoint POST /v1/directory/exports
12
12
  * @endpoint POST /v1/directory/shared
13
13
  * @endpoint POST /v1/people/search
14
+ * @endpoint POST /v1/research/runs
14
15
  * @endpoint POST /v1/search
15
16
  * @endpoint POST /v1/search/natural/entities
16
17
  * @endpoint POST /v1/search/natural/people
@@ -15,6 +15,7 @@ import { IntRangeSchema } from "../int/range.js";
15
15
  * @endpoint POST /v1/directory/exports
16
16
  * @endpoint POST /v1/directory/shared
17
17
  * @endpoint POST /v1/people/search
18
+ * @endpoint POST /v1/research/runs
18
19
  * @endpoint POST /v1/search
19
20
  * @endpoint POST /v1/search/natural/entities
20
21
  * @endpoint POST /v1/search/natural/people
@@ -15,7 +15,7 @@ const PublicationSchemaDefinition = z.object({
15
15
  publishedAt: z.iso.datetime({ offset: true }).nullish(),
16
16
  /** How this content relates to the requested owner. */
17
17
  relation: PublicationRelationSchema.nullish(),
18
- /** CDN URL of the newest screenshot of this page. Only webPage cards for the first page of a section the web-crawl contract flags for screenshots carry one; null for other cards and before the first capture. */
18
+ /** CDN URL of a stored screenshot of this content card's exact primary URL. Available for any publication type; absent until a capture is stored. */
19
19
  screenshotUrl: z.string().nullish(),
20
20
  /** Registrable source domain when known. */
21
21
  sourceDomain: z.string().nullish(),
@@ -4,6 +4,7 @@ import { z } from "zod/v4";
4
4
  *
5
5
  * @openapiSchema ReasoningEffort
6
6
  * @endpoint POST /v1/content/search
7
+ * @endpoint POST /v1/research/runs
7
8
  * @endpoint POST /v1/search
8
9
  * @endpoint POST /v1/search/natural/entities
9
10
  * @endpoint POST /v1/search/natural/people
@@ -13,6 +13,7 @@ const ReasoningEffortSchemaKnownMembers = z.enum([
13
13
  *
14
14
  * @openapiSchema ReasoningEffort
15
15
  * @endpoint POST /v1/content/search
16
+ * @endpoint POST /v1/research/runs
16
17
  * @endpoint POST /v1/search
17
18
  * @endpoint POST /v1/search/natural/entities
18
19
  * @endpoint POST /v1/search/natural/people