@aventurevc/api-schemas 0.8.125 → 0.8.136

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 (239) hide show
  1. package/dist/address/address.d.ts +2 -2
  2. package/dist/address/association.d.ts +3 -1
  3. package/dist/agent/help-question.d.ts +3 -1
  4. package/dist/agent/help.d.ts +11 -9
  5. package/dist/api/key.d.ts +3 -1
  6. package/dist/auth/operation-authorization.d.ts +7 -5
  7. package/dist/auth/operation-filter.d.ts +5 -3
  8. package/dist/auth/operation.d.ts +3 -1
  9. package/dist/auth/permission-grant.d.ts +3 -1
  10. package/dist/auth/provider-catalog.d.ts +3 -1
  11. package/dist/billing/additional-usage-meter.d.ts +3 -1
  12. package/dist/billing/additional-usage.d.ts +5 -3
  13. package/dist/billing/catalog-additional-usage.d.ts +3 -1
  14. package/dist/billing/catalog-allowance.d.ts +3 -1
  15. package/dist/billing/catalog-credit-pack.d.ts +3 -1
  16. package/dist/billing/catalog-plan.d.ts +4 -1
  17. package/dist/billing/catalog-plan.js +2 -0
  18. package/dist/billing/catalog-tier.d.ts +5 -3
  19. package/dist/billing/catalog.d.ts +13 -9
  20. package/dist/billing/checkout-mutation.d.ts +3 -1
  21. package/dist/billing/checkout.d.ts +3 -1
  22. package/dist/billing/plan-change-mutation.d.ts +3 -1
  23. package/dist/billing/plan-change-preview.d.ts +3 -1
  24. package/dist/billing/plan-change.d.ts +3 -1
  25. package/dist/billing/portal.d.ts +3 -1
  26. package/dist/billing/subscription-mutation.d.ts +19 -0
  27. package/dist/billing/subscription-mutation.js +16 -0
  28. package/dist/billing/subscription.d.ts +7 -5
  29. package/dist/blog/post.d.ts +3 -1
  30. package/dist/chart/bucket.d.ts +3 -1
  31. package/dist/classification/catalog-bucket.d.ts +19 -30
  32. package/dist/classification/catalog-category.d.ts +31 -3
  33. package/dist/classification/catalog.d.ts +7 -5
  34. package/dist/classification/classification.d.ts +3 -1
  35. package/dist/classification/inactive-tag-details.d.ts +3 -1
  36. package/dist/cli/authorization-mutation.d.ts +3 -1
  37. package/dist/cli/authorization-poll.d.ts +3 -1
  38. package/dist/cli/authorization-start.d.ts +3 -1
  39. package/dist/cli/authorization.d.ts +3 -1
  40. package/dist/cursor/slice-shared-search-list.d.ts +5 -3
  41. package/dist/decimal/range.d.ts +3 -1
  42. package/dist/domain/conflict-details.d.ts +10 -10
  43. package/dist/duplicate/create-review.d.ts +5 -3
  44. package/dist/employee/count.d.ts +2 -2
  45. package/dist/enrichment/batch.d.ts +3 -1
  46. package/dist/enrichment/enrichment.d.ts +5 -3
  47. package/dist/enrichment/prompt.d.ts +3 -1
  48. package/dist/enrichment/refusal-type.d.ts +3 -3
  49. package/dist/enrichment/refusal-type.js +4 -6
  50. package/dist/entity/accelerator-participation.d.ts +7 -5
  51. package/dist/entity/acquisition-evidence.d.ts +3 -1
  52. package/dist/entity/acquisition.d.ts +13 -11
  53. package/dist/entity/brand.d.ts +11 -9
  54. package/dist/entity/classification-suggestion.d.ts +39 -24
  55. package/dist/entity/classification.d.ts +159 -248
  56. package/dist/entity/detail-batch.d.ts +3 -1
  57. package/dist/entity/detail.d.ts +20 -18
  58. package/dist/entity/enrichment.d.ts +12 -9
  59. package/dist/entity/enrichment.js +2 -0
  60. package/dist/entity/entity.d.ts +4 -4
  61. package/dist/entity/filter-choice.d.ts +3 -1
  62. package/dist/entity/filter-entry.d.ts +9 -7
  63. package/dist/entity/filter-headquarters-country.d.ts +5 -3
  64. package/dist/entity/filter-headquarters-option-set.d.ts +2 -2
  65. package/dist/entity/filter-headquarters-state-city.d.ts +3 -1
  66. package/dist/entity/filter-meta.d.ts +2 -2
  67. package/dist/entity/filter-option-set-meta.d.ts +2 -2
  68. package/dist/entity/filter-option-set.d.ts +9 -7
  69. package/dist/entity/filter-refined-filters.d.ts +7 -5
  70. package/dist/entity/filter-search-result.d.ts +3 -1
  71. package/dist/entity/filter-search.d.ts +27 -25
  72. package/dist/entity/filter-ui-meta.d.ts +2 -2
  73. package/dist/entity/filter.d.ts +24 -24
  74. package/dist/entity/fundraise-filter-criteria.d.ts +20 -20
  75. package/dist/entity/fundraise-investor-activity.d.ts +5 -3
  76. package/dist/entity/fundraise-investor-join.d.ts +3 -1
  77. package/dist/entity/fundraise-transaction-entity.d.ts +4 -4
  78. package/dist/entity/fundraise-transaction.d.ts +7 -5
  79. package/dist/entity/fundraise-transaction.js +1 -0
  80. package/dist/entity/fundraise.d.ts +2 -2
  81. package/dist/entity/image.d.ts +3 -1
  82. package/dist/entity/investor-participation.d.ts +23 -19
  83. package/dist/entity/list-filter.d.ts +27 -25
  84. package/dist/entity/list-research.d.ts +7 -5
  85. package/dist/entity/list.d.ts +15 -11
  86. package/dist/entity/name-alias-entity-alias-type.d.ts +3 -1
  87. package/dist/entity/name-alias-person-alias-type.d.ts +3 -1
  88. package/dist/entity/natural-search.d.ts +29 -27
  89. package/dist/entity/person-association.d.ts +12 -12
  90. package/dist/entity/relationship-type-option.d.ts +3 -1
  91. package/dist/entity/relationship.d.ts +7 -5
  92. package/dist/entity/research-detail.d.ts +3 -1
  93. package/dist/entity/research-fact-value.d.ts +3 -1
  94. package/dist/entity/research.d.ts +7 -5
  95. package/dist/entity/resolution.d.ts +23 -19
  96. package/dist/entity/similarity-context.d.ts +3 -1
  97. package/dist/entity/similarity-result.d.ts +9 -5
  98. package/dist/entity/similarity-summary.d.ts +11 -9
  99. package/dist/entity/tag.d.ts +26 -29
  100. package/dist/entity/tag.js +30 -31
  101. package/dist/entity/text-bundle.d.ts +3 -1
  102. package/dist/entity/text.d.ts +3 -1
  103. package/dist/entity/type-alias.d.ts +3 -1
  104. package/dist/entity/type-group-membership.d.ts +3 -1
  105. package/dist/entity/url-link.d.ts +3 -1
  106. package/dist/entity/valuation-time-series-point.d.ts +3 -1
  107. package/dist/federated/natural-search.d.ts +38 -35
  108. package/dist/federated/natural-search.js +10 -11
  109. package/dist/federated/search-provenance.d.ts +11 -9
  110. package/dist/federated/search-rejection.d.ts +3 -1
  111. package/dist/federated/search.d.ts +41 -31
  112. package/dist/fundraise/investment-evidence.d.ts +5 -3
  113. package/dist/github/repo.d.ts +3 -1
  114. package/dist/harness/run-create.d.ts +5 -3
  115. package/dist/harness/run-detail.d.ts +11 -9
  116. package/dist/harness/task-plan-step.d.ts +5 -3
  117. package/dist/harness/task-plan.d.ts +4 -4
  118. package/dist/harness/task-step.d.ts +3 -1
  119. package/dist/harness/task.d.ts +3 -1
  120. package/dist/help/citation.d.ts +3 -1
  121. package/dist/help/resolution.d.ts +6 -6
  122. package/dist/http/json-value.d.ts +1 -1
  123. package/dist/http/problem-detail.d.ts +17 -14
  124. package/dist/http/problem-detail.js +2 -0
  125. package/dist/identification/candidate.d.ts +2 -2
  126. package/dist/identification/identification.d.ts +8 -8
  127. package/dist/int/range.d.ts +3 -1
  128. package/dist/investor/activity-filter.d.ts +10 -10
  129. package/dist/job/enqueue.d.ts +3 -1
  130. package/dist/link/search.d.ts +13 -3
  131. package/dist/logo/accuracy-reference.d.ts +3 -1
  132. package/dist/logo/accuracy.d.ts +2 -2
  133. package/dist/lookup/job-mention.d.ts +17 -13
  134. package/dist/lookup/job-mutation.d.ts +6 -3
  135. package/dist/lookup/job-mutation.js +2 -0
  136. package/dist/lookup/job.d.ts +19 -13
  137. package/dist/lookup/mention.d.ts +3 -1
  138. package/dist/media/upload.d.ts +5 -3
  139. package/dist/mention/lookup.d.ts +8 -3
  140. package/dist/mention/lookup.js +2 -0
  141. package/dist/natural/search-result.d.ts +27 -19
  142. package/dist/natural/search.d.ts +3 -1
  143. package/dist/news/detail.d.ts +9 -7
  144. package/dist/news/entity-mention.d.ts +5 -3
  145. package/dist/news/feedback-acknowledgement.d.ts +3 -1
  146. package/dist/news/feedback.d.ts +3 -1
  147. package/dist/news/news.d.ts +3 -1
  148. package/dist/news/published-event.d.ts +5 -3
  149. package/dist/news/resolved-entity-link.d.ts +3 -1
  150. package/dist/news/resolved-person-link.d.ts +3 -1
  151. package/dist/news/source-url-conflict.d.ts +3 -1
  152. package/dist/news/subscription-arguments.d.ts +3 -1
  153. package/dist/news/subscription-delivery.d.ts +3 -1
  154. package/dist/news/subscription-detail.d.ts +5 -3
  155. package/dist/news/subscription-endpoint.d.ts +3 -1
  156. package/dist/news/subscription-grant.d.ts +3 -1
  157. package/dist/news/subscription-key.d.ts +7 -5
  158. package/dist/news/subscription-test-event.d.ts +3 -1
  159. package/dist/news/subscription.d.ts +7 -5
  160. package/dist/openapi-component-manifest.js +8 -0
  161. package/dist/pagination/schemas.d.ts +225 -140
  162. package/dist/person/detail.d.ts +23 -21
  163. package/dist/person/enrichment.d.ts +7 -5
  164. package/dist/person/filter.d.ts +40 -40
  165. package/dist/person/graph-career-context.d.ts +17 -15
  166. package/dist/person/graph-co-investor.d.ts +9 -7
  167. package/dist/person/graph-member.d.ts +5 -3
  168. package/dist/person/graph-similar-entity.d.ts +9 -7
  169. package/dist/person/graph.d.ts +7 -5
  170. package/dist/person/image.d.ts +3 -1
  171. package/dist/person/invested-company.d.ts +7 -5
  172. package/dist/person/investment.d.ts +7 -5
  173. package/dist/person/investor-participation.d.ts +5 -3
  174. package/dist/person/list-array-filter.d.ts +6 -6
  175. package/dist/person/lookup-batch.d.ts +3 -1
  176. package/dist/person/natural-search-result.d.ts +9 -7
  177. package/dist/person/natural-search.d.ts +45 -43
  178. package/dist/person/person.d.ts +9 -7
  179. package/dist/person/search-interpretation.d.ts +47 -45
  180. package/dist/person/similarity-context.d.ts +3 -1
  181. package/dist/person/similarity-result.d.ts +19 -17
  182. package/dist/prose/violation.d.ts +3 -1
  183. package/dist/publication/facet.d.ts +3 -1
  184. package/dist/publication/publication.d.ts +3 -1
  185. package/dist/reasoning/effort.d.ts +0 -1
  186. package/dist/reasoning/effort.js +0 -1
  187. package/dist/refinement/meta.d.ts +3 -1
  188. package/dist/research/allowance-usage.d.ts +23 -21
  189. package/dist/research/allowance.d.ts +3 -1
  190. package/dist/research/detail-type.d.ts +3 -1
  191. package/dist/research/detail-type.js +1 -1
  192. package/dist/research/finding.d.ts +3 -1
  193. package/dist/research/snippet-type.d.ts +3 -1
  194. package/dist/resolved/handle.d.ts +3 -1
  195. package/dist/search/answer-citation.d.ts +3 -1
  196. package/dist/search/answer-paragraph.d.ts +5 -3
  197. package/dist/search/answer.d.ts +4 -4
  198. package/dist/search/cache-mode.d.ts +0 -1
  199. package/dist/search/cache-mode.js +0 -1
  200. package/dist/search/duplicate-candidate-score.d.ts +3 -1
  201. package/dist/search/hit.d.ts +3 -1
  202. package/dist/search/interpretation.d.ts +9 -7
  203. package/dist/search/investment.d.ts +5 -3
  204. package/dist/search/judgment.d.ts +7 -5
  205. package/dist/search/layer.d.ts +0 -2
  206. package/dist/search/layer.js +0 -2
  207. package/dist/search/mode-execution.d.ts +3 -1
  208. package/dist/search/ordering-entity-filter-sortable.d.ts +5 -3
  209. package/dist/search/ordering-person-sort-field.d.ts +5 -3
  210. package/dist/search/passage.d.ts +3 -1
  211. package/dist/search/search.d.ts +3 -1
  212. package/dist/sec/company.d.ts +10 -1
  213. package/dist/sec/company.js +6 -1
  214. package/dist/sec/listing-prospectus.d.ts +18 -0
  215. package/dist/sec/listing-prospectus.js +22 -0
  216. package/dist/shared/search-list.d.ts +3 -1
  217. package/dist/shared/search-mutation.d.ts +4 -209
  218. package/dist/shared/search-mutation.js +2 -8
  219. package/dist/shared/search.d.ts +15 -5
  220. package/dist/slug/location.d.ts +3 -1
  221. package/dist/sort/order-entity-filter-sortable.d.ts +3 -1
  222. package/dist/sort/order-person-sort-field.d.ts +3 -1
  223. package/dist/source/document-list.d.ts +3 -1
  224. package/dist/stage/frequency.d.ts +3 -1
  225. package/dist/standardized/classification.d.ts +4 -3
  226. package/dist/strict/url-lookup-conflict.d.ts +3 -1
  227. package/dist/system/global-metrics.d.ts +3 -1
  228. package/dist/system/status.d.ts +5 -3
  229. package/dist/system/system-build-detail.d.ts +3 -1
  230. package/dist/system/system-build.d.ts +5 -3
  231. package/dist/text/type-option.d.ts +3 -1
  232. package/dist/unique/id-type-alias.d.ts +3 -1
  233. package/dist/unique/id.d.ts +3 -1
  234. package/dist/uptime/uptime.d.ts +3 -1
  235. package/dist/url/duplicate-conflict.d.ts +5 -3
  236. package/dist/url/duplicate-join.d.ts +3 -1
  237. package/dist/url/type-alias.d.ts +3 -1
  238. package/dist/web/search.d.ts +9 -7
  239. package/package.json +1 -1
@@ -291,6 +291,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
291
291
  unconvertedRoundCount: number;
292
292
  } | null | undefined;
293
293
  headquartersAddressId?: number | null | undefined;
294
+ headquartersRemoteAsOf?: string | null | undefined;
294
295
  text: {
295
296
  expanded?: string | null | undefined;
296
297
  generatedDescription?: string | null | undefined;
@@ -478,7 +479,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
478
479
  sourceId: string;
479
480
  sourceType: string;
480
481
  } | null | undefined;
481
- }, unknown, z.core.$ZodTypeInternals<{
482
+ }, import("./list.ts").EntityListSchemaInput, z.core.$ZodTypeInternals<{
482
483
  core: {
483
484
  defaultCurrency?: string | null | undefined;
484
485
  foundedYear?: number | null | undefined;
@@ -769,6 +770,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
769
770
  unconvertedRoundCount: number;
770
771
  } | null | undefined;
771
772
  headquartersAddressId?: number | null | undefined;
773
+ headquartersRemoteAsOf?: string | null | undefined;
772
774
  text: {
773
775
  expanded?: string | null | undefined;
774
776
  generatedDescription?: string | null | undefined;
@@ -956,7 +958,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
956
958
  sourceId: string;
957
959
  sourceType: string;
958
960
  } | null | undefined;
959
- }, unknown>>;
961
+ }, import("./list.ts").EntityListSchemaInput>>;
960
962
  similarity: z.ZodType<{
961
963
  compositeScore?: number | null | undefined;
962
964
  cosineScore?: number | null | undefined;
@@ -968,7 +970,7 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
968
970
  origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
969
971
  rank: number;
970
972
  sharedSectionCount?: number | null | undefined;
971
- }, unknown, z.core.$ZodTypeInternals<{
973
+ }, import("./similarity-context.ts").EntitySimilarityContextSchemaInput, z.core.$ZodTypeInternals<{
972
974
  compositeScore?: number | null | undefined;
973
975
  cosineScore?: number | null | undefined;
974
976
  curatedAsOf?: string | null | undefined;
@@ -979,9 +981,11 @@ declare const EntitySimilarityResultSchemaDefinition: z.ZodObject<{
979
981
  origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
980
982
  rank: number;
981
983
  sharedSectionCount?: number | null | undefined;
982
- }, unknown>>;
984
+ }, import("./similarity-context.ts").EntitySimilarityContextSchemaInput>>;
983
985
  }, z.core.$strip>;
984
986
  type EntitySimilarityResultDefinition = z.infer<typeof EntitySimilarityResultSchemaDefinition>;
987
+ export interface EntitySimilarityResultSchemaInput extends z.input<typeof EntitySimilarityResultSchemaDefinition> {
988
+ }
985
989
  /**
986
990
  * Similar entity list row with the provenance that explains why it appears. Rows carry the EntityList projection; load full detail through the entity detail endpoints.
987
991
  *
@@ -999,7 +1003,7 @@ type EntitySimilarityResultDefinition = z.infer<typeof EntitySimilarityResultSch
999
1003
  * @contractShape entity.similarity-result
1000
1004
  * @contractRole canonical
1001
1005
  */
1002
- export declare const EntitySimilarityResultSchema: z.ZodType<EntitySimilarityResultDefinition>;
1006
+ export declare const EntitySimilarityResultSchema: z.ZodType<EntitySimilarityResultDefinition, EntitySimilarityResultSchemaInput>;
1003
1007
  export type EntitySimilarityResult = z.infer<typeof EntitySimilarityResultSchema>;
1004
1008
  export {};
1005
1009
  //# sourceMappingURL=similarity-result.d.ts.map
@@ -8,21 +8,21 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
8
8
  isMonogram: boolean;
9
9
  logo?: string | null | undefined;
10
10
  logoSquare?: string | null | undefined;
11
- }, unknown, z.core.$ZodTypeInternals<{
11
+ }, import("./image.ts").EntityImageSchemaInput, z.core.$ZodTypeInternals<{
12
12
  isMonogram: boolean;
13
13
  logo?: string | null | undefined;
14
14
  logoSquare?: string | null | undefined;
15
- }, unknown>>;
15
+ }, import("./image.ts").EntityImageSchemaInput>>;
16
16
  lastModifiedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
17
17
  nameAlias: z.ZodArray<z.ZodType<{
18
18
  displayable?: boolean | null | undefined;
19
19
  name: string;
20
20
  type?: "alternativeDba" | "relatedLegal" | null | undefined;
21
- }, unknown, z.core.$ZodTypeInternals<{
21
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput, z.core.$ZodTypeInternals<{
22
22
  displayable?: boolean | null | undefined;
23
23
  name: string;
24
24
  type?: "alternativeDba" | "relatedLegal" | null | undefined;
25
- }, unknown>>>;
25
+ }, import("./name-alias-entity-alias-type.ts").EntityNameAliasEntityAliasTypeSchemaInput>>>;
26
26
  nameBrand: z.ZodString;
27
27
  nameLegal: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  operatingStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -61,7 +61,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
61
61
  origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
62
62
  rank: number;
63
63
  sharedSectionCount?: number | null | undefined;
64
- }, unknown, z.core.$ZodTypeInternals<{
64
+ }, import("./similarity-context.ts").EntitySimilarityContextSchemaInput, z.core.$ZodTypeInternals<{
65
65
  compositeScore?: number | null | undefined;
66
66
  cosineScore?: number | null | undefined;
67
67
  curatedAsOf?: string | null | undefined;
@@ -72,7 +72,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
72
72
  origin: "computed" | "curated" | "derived" | "precomputed" | "semantic";
73
73
  rank: number;
74
74
  sharedSectionCount?: number | null | undefined;
75
- }, unknown>>;
75
+ }, import("./similarity-context.ts").EntitySimilarityContextSchemaInput>>;
76
76
  urlLink: z.ZodArray<z.ZodType<{
77
77
  crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
78
78
  crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
@@ -90,7 +90,7 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
90
90
  updatedAt?: string | null | undefined;
91
91
  url: string;
92
92
  urlType: string;
93
- }, unknown, z.core.$ZodTypeInternals<{
93
+ }, import("./url-link.ts").EntityUrlLinkSchemaInput, z.core.$ZodTypeInternals<{
94
94
  crawlCdnProvider?: "akamai" | "awsCloudfront" | "azureCdn" | "bunny" | "cdn77" | "cdnetworks" | "cloudflare" | "digitalocean" | "fastly" | "gcore" | "googlecloudCdn" | "incapsula" | "keycdn" | "leaseweb" | "netlify" | "none" | "stackpath" | "sucuri" | "unknown" | "vercel" | null | undefined;
95
95
  crawlRenderMode?: "jsEnhanced" | "jsRequired" | "static" | null | undefined;
96
96
  createdAt?: string | null | undefined;
@@ -107,9 +107,11 @@ declare const EntitySimilaritySummarySchemaDefinition: z.ZodObject<{
107
107
  updatedAt?: string | null | undefined;
108
108
  url: string;
109
109
  urlType: string;
110
- }, unknown>>>;
110
+ }, import("./url-link.ts").EntityUrlLinkSchemaInput>>>;
111
111
  }, z.core.$strip>;
112
112
  type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummarySchemaDefinition>;
113
+ export interface EntitySimilaritySummarySchemaInput extends z.input<typeof EntitySimilaritySummarySchemaDefinition> {
114
+ }
113
115
  /**
114
116
  * Lean similar-entity rail row: core identity, current URL links, and similarity provenance. Use EntitySimilarityResult for full EntityList rows.
115
117
  *
@@ -119,7 +121,7 @@ type EntitySimilaritySummaryDefinition = z.infer<typeof EntitySimilaritySummaryS
119
121
  * @contractShape entity.similarity-summary
120
122
  * @contractRole canonical
121
123
  */
122
- export declare const EntitySimilaritySummarySchema: z.ZodType<EntitySimilaritySummaryDefinition>;
124
+ export declare const EntitySimilaritySummarySchema: z.ZodType<EntitySimilaritySummaryDefinition, EntitySimilaritySummarySchemaInput>;
123
125
  export type EntitySimilaritySummary = z.infer<typeof EntitySimilaritySummarySchema>;
124
126
  export {};
125
127
  //# sourceMappingURL=similarity-summary.d.ts.map
@@ -1,31 +1,4 @@
1
1
  import { z } from "zod/v4";
2
- declare const EntityTagSchemaDefinition: z.ZodIntersection<z.ZodType<{
3
- creatable: boolean;
4
- isCurrent?: boolean | null | undefined;
5
- isPrimary?: boolean | null | undefined;
6
- name: string;
7
- writable: boolean;
8
- }, unknown, z.core.$ZodTypeInternals<{
9
- creatable: boolean;
10
- isCurrent?: boolean | null | undefined;
11
- isPrimary?: boolean | null | undefined;
12
- name: string;
13
- writable: boolean;
14
- }, unknown>>, z.ZodObject<{
15
- bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
17
- creatable: z.ZodBoolean;
18
- createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
19
- id: z.ZodInt;
20
- isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
- isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
- name: z.ZodString;
23
- slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
- type: z.ZodString;
25
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
26
- writable: z.ZodBoolean;
27
- }, z.core.$strip>>;
28
- type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
29
2
  /**
30
3
  * Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
31
4
  *
@@ -59,7 +32,31 @@ type EntityTagDefinition = z.infer<typeof EntityTagSchemaDefinition>;
59
32
  * @contractShape entity.tag
60
33
  * @contractRole canonical
61
34
  */
62
- export declare const EntityTagSchema: z.ZodType<EntityTagDefinition>;
35
+ export declare const EntityTagSchema: z.ZodIntersection<z.ZodType<{
36
+ creatable: boolean;
37
+ isCurrent?: boolean | null | undefined;
38
+ isPrimary?: boolean | null | undefined;
39
+ name: string;
40
+ writable: boolean;
41
+ }, import("../classification/classification.ts").ClassificationSchemaInput, z.core.$ZodTypeInternals<{
42
+ creatable: boolean;
43
+ isCurrent?: boolean | null | undefined;
44
+ isPrimary?: boolean | null | undefined;
45
+ name: string;
46
+ writable: boolean;
47
+ }, import("../classification/classification.ts").ClassificationSchemaInput>>, z.ZodObject<{
48
+ bucket: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ classificationId: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
50
+ creatable: z.ZodBoolean;
51
+ createdAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
52
+ id: z.ZodInt;
53
+ isCurrent: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
54
+ isPrimary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
55
+ name: z.ZodString;
56
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ type: z.ZodString;
58
+ updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
59
+ writable: z.ZodBoolean;
60
+ }, z.core.$strip>>;
63
61
  export type EntityTag = z.infer<typeof EntityTagSchema>;
64
- export {};
65
62
  //# sourceMappingURL=tag.d.ts.map
@@ -1,36 +1,6 @@
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
3
  import { ClassificationSchema } from "../classification/classification.js";
4
- const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object({
5
- /** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
6
- bucket: z.string().nullish(),
7
- /** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
8
- classificationId: z.int().nullish(),
9
- /** Whether this bucket permits creating missing values by type plus name. */
10
- creatable: z.boolean(),
11
- /** Registry tag creation timestamp, not the entity join timestamp. */
12
- createdAt: z.iso.datetime({ offset: true }).nullish(),
13
- /** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
14
- id: z.int(),
15
- /** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
16
- isCurrent: z.boolean().nullish(),
17
- /** Entity join primary flag within its bucket; null on catalog/tag discovery. */
18
- isPrimary: z.boolean().nullish(),
19
- /** Name */
20
- name: z.string().max(255),
21
- /** Slug */
22
- slug: z
23
- .string()
24
- .regex(/^[a-z0-9_-]+$/)
25
- .max(255)
26
- .nullish(),
27
- /** Canonical tag classification type */
28
- type: z.string(),
29
- /** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
30
- updatedAt: z.iso.datetime({ offset: true }).nullish(),
31
- /** Whether this existing tag can be joined through tagId. */
32
- writable: z.boolean(),
33
- }));
34
4
  /**
35
5
  * Canonical classification tag projection. Catalog/search responses describe registry tags; entity-classification responses include classificationId plus join state.
36
6
  *
@@ -64,5 +34,34 @@ const EntityTagSchemaDefinition = z.intersection(ClassificationSchema, z.object(
64
34
  * @contractShape entity.tag
65
35
  * @contractRole canonical
66
36
  */
67
- export const EntityTagSchema = EntityTagSchemaDefinition;
37
+ export const EntityTagSchema = z.intersection(ClassificationSchema, z.object({
38
+ /** Canonical entity-classification bucket key. Use this as EntityClassificationMutation.type when creating by type plus name; `type` remains the registry wire value for tag search and catalog round-trips. */
39
+ bucket: z.string().nullish(),
40
+ /** Entity classification join row id for update/delete; present on entity classification responses and null on discovery responses. */
41
+ classificationId: z.int().nullish(),
42
+ /** Whether this bucket permits creating missing values by type plus name. */
43
+ creatable: z.boolean(),
44
+ /** Registry tag creation timestamp, not the entity join timestamp. */
45
+ createdAt: z.iso.datetime({ offset: true }).nullish(),
46
+ /** Classification tag registry id from res_type_ref; use as EntityClassificationMutation.tagId. */
47
+ id: z.int(),
48
+ /** Current-state flag for this context: registry active flag in discovery, entity join current flag in entity-classification responses. */
49
+ isCurrent: z.boolean().nullish(),
50
+ /** Entity join primary flag within its bucket; null on catalog/tag discovery. */
51
+ isPrimary: z.boolean().nullish(),
52
+ /** Name */
53
+ name: z.string().max(255),
54
+ /** Slug */
55
+ slug: z
56
+ .string()
57
+ .regex(/^[a-z0-9_-]+$/)
58
+ .max(255)
59
+ .nullish(),
60
+ /** Canonical tag classification type */
61
+ type: z.string(),
62
+ /** Registry tag update timestamp; join updates return isCurrent/isPrimary but no join updatedAt. */
63
+ updatedAt: z.iso.datetime({ offset: true }).nullish(),
64
+ /** Whether this existing tag can be joined through tagId. */
65
+ writable: z.boolean(),
66
+ }));
68
67
  //# sourceMappingURL=tag.js.map
@@ -5,6 +5,8 @@ declare const EntityTextBundleSchemaDefinition: z.ZodObject<{
5
5
  short: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
6
  }, z.core.$strip>;
7
7
  type EntityTextBundleDefinition = z.infer<typeof EntityTextBundleSchemaDefinition>;
8
+ export interface EntityTextBundleSchemaInput extends z.input<typeof EntityTextBundleSchemaDefinition> {
9
+ }
8
10
  /**
9
11
  * Grouped entity/person text content
10
12
  *
@@ -39,7 +41,7 @@ type EntityTextBundleDefinition = z.infer<typeof EntityTextBundleSchemaDefinitio
39
41
  * @contractShape entity.text-bundle
40
42
  * @contractRole canonical
41
43
  */
42
- export declare const EntityTextBundleSchema: z.ZodType<EntityTextBundleDefinition>;
44
+ export declare const EntityTextBundleSchema: z.ZodType<EntityTextBundleDefinition, EntityTextBundleSchemaInput>;
43
45
  export type EntityTextBundle = z.infer<typeof EntityTextBundleSchema>;
44
46
  export {};
45
47
  //# sourceMappingURL=text-bundle.d.ts.map
@@ -21,6 +21,8 @@ declare const EntityTextSchemaDefinition: z.ZodObject<{
21
21
  updatedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
22
22
  }, z.core.$strip>;
23
23
  type EntityTextDefinition = z.infer<typeof EntityTextSchemaDefinition>;
24
+ export interface EntityTextSchemaInput extends z.input<typeof EntityTextSchemaDefinition> {
25
+ }
24
26
  /**
25
27
  * Canonical entity/person text read record
26
28
  *
@@ -33,7 +35,7 @@ type EntityTextDefinition = z.infer<typeof EntityTextSchemaDefinition>;
33
35
  * @contractShape entity.text
34
36
  * @contractRole canonical
35
37
  */
36
- export declare const EntityTextSchema: z.ZodType<EntityTextDefinition>;
38
+ export declare const EntityTextSchema: z.ZodType<EntityTextDefinition, EntityTextSchemaInput>;
37
39
  export type EntityText = z.infer<typeof EntityTextSchema>;
38
40
  export {};
39
41
  //# sourceMappingURL=text.d.ts.map
@@ -8,6 +8,8 @@ declare const EntityTypeAliasSchemaDefinition: z.ZodObject<{
8
8
  publicPathPrefix: z.ZodString;
9
9
  }, z.core.$strip>;
10
10
  type EntityTypeAliasDefinition = z.infer<typeof EntityTypeAliasSchemaDefinition>;
11
+ export interface EntityTypeAliasSchemaInput extends z.input<typeof EntityTypeAliasSchemaDefinition> {
12
+ }
11
13
  /**
12
14
  * Canonical EntityType value, accepted aliases, and public routing metadata.
13
15
  *
@@ -16,7 +18,7 @@ type EntityTypeAliasDefinition = z.infer<typeof EntityTypeAliasSchemaDefinition>
16
18
  * @contractShape entity.type-alias
17
19
  * @contractRole canonical
18
20
  */
19
- export declare const EntityTypeAliasSchema: z.ZodType<EntityTypeAliasDefinition>;
21
+ export declare const EntityTypeAliasSchema: z.ZodType<EntityTypeAliasDefinition, EntityTypeAliasSchemaInput>;
20
22
  export type EntityTypeAlias = z.infer<typeof EntityTypeAliasSchema>;
21
23
  export {};
22
24
  //# sourceMappingURL=type-alias.d.ts.map
@@ -17,6 +17,8 @@ declare const EntityTypeGroupMembershipSchemaDefinition: z.ZodObject<{
17
17
  }>>;
18
18
  }, z.core.$strip>;
19
19
  type EntityTypeGroupMembershipDefinition = z.infer<typeof EntityTypeGroupMembershipSchemaDefinition>;
20
+ export interface EntityTypeGroupMembershipSchemaInput extends z.input<typeof EntityTypeGroupMembershipSchemaDefinition> {
21
+ }
20
22
  /**
21
23
  * Canonical concrete entity types included by one entity type group.
22
24
  *
@@ -27,7 +29,7 @@ type EntityTypeGroupMembershipDefinition = z.infer<typeof EntityTypeGroupMembers
27
29
  * @contractShape entity.type-group-membership
28
30
  * @contractRole canonical
29
31
  */
30
- export declare const EntityTypeGroupMembershipSchema: z.ZodType<EntityTypeGroupMembershipDefinition>;
32
+ export declare const EntityTypeGroupMembershipSchema: z.ZodType<EntityTypeGroupMembershipDefinition, EntityTypeGroupMembershipSchemaInput>;
31
33
  export type EntityTypeGroupMembership = z.infer<typeof EntityTypeGroupMembershipSchema>;
32
34
  export {};
33
35
  //# sourceMappingURL=type-group-membership.d.ts.map
@@ -43,6 +43,8 @@ declare const EntityUrlLinkSchemaDefinition: z.ZodObject<{
43
43
  urlType: z.ZodString;
44
44
  }, z.core.$strip>;
45
45
  type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
46
+ export interface EntityUrlLinkSchemaInput extends z.input<typeof EntityUrlLinkSchemaDefinition> {
47
+ }
46
48
  /**
47
49
  * Canonical URL link resource with owner, status, crawl, and source metadata. Lifecycle state (current vs former, primary vs secondary) is encoded by `isCurrent` and `isPrimary` — `urlType` is the canonical platform role only and write values come from GET /v1/url-types. Readers accept new platform roles as deployments evolve. To record a rebrand or domain migration, retain the prior URL with the same `urlType` (typically `website`) and set `isCurrent=false, isPrimary=false`; never encode lifecycle in the platform role.
48
50
  *
@@ -88,7 +90,7 @@ type EntityUrlLinkDefinition = z.infer<typeof EntityUrlLinkSchemaDefinition>;
88
90
  * @contractShape entity.url-link
89
91
  * @contractRole canonical
90
92
  */
91
- export declare const EntityUrlLinkSchema: z.ZodType<EntityUrlLinkDefinition>;
93
+ export declare const EntityUrlLinkSchema: z.ZodType<EntityUrlLinkDefinition, EntityUrlLinkSchemaInput>;
92
94
  export type EntityUrlLink = z.infer<typeof EntityUrlLinkSchema>;
93
95
  export {};
94
96
  //# sourceMappingURL=url-link.d.ts.map
@@ -30,6 +30,8 @@ declare const EntityValuationTimeSeriesPointSchemaDefinition: z.ZodObject<{
30
30
  valuationPreMoney: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
31
  }, z.core.$strip>;
32
32
  type EntityValuationTimeSeriesPointDefinition = z.infer<typeof EntityValuationTimeSeriesPointSchemaDefinition>;
33
+ export interface EntityValuationTimeSeriesPointSchemaInput extends z.input<typeof EntityValuationTimeSeriesPointSchemaDefinition> {
34
+ }
33
35
  /**
34
36
  * A single valuation datapoint. `valuationPostMoney` is the canonical charted value; filled when directly recorded or safely derivable from pre-money + amount raised (same currency only). `derivation` explains whether the value was stored or inferred. Only `researchDetail` points have a `detailId` and can be changed here; `fundraiseRound` points are changed through fundraise-round commands.
35
37
  *
@@ -39,7 +41,7 @@ type EntityValuationTimeSeriesPointDefinition = z.infer<typeof EntityValuationTi
39
41
  * @contractShape entity.valuation-time-series-point
40
42
  * @contractRole canonical
41
43
  */
42
- export declare const EntityValuationTimeSeriesPointSchema: z.ZodType<EntityValuationTimeSeriesPointDefinition>;
44
+ export declare const EntityValuationTimeSeriesPointSchema: z.ZodType<EntityValuationTimeSeriesPointDefinition, EntityValuationTimeSeriesPointSchemaInput>;
43
45
  export type EntityValuationTimeSeriesPoint = z.infer<typeof EntityValuationTimeSeriesPointSchema>;
44
46
  export {};
45
47
  //# sourceMappingURL=valuation-time-series-point.d.ts.map
@@ -1,15 +1,5 @@
1
1
  import { z } from "zod/v4";
2
- /**
3
- * Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
4
- *
5
- * @openapiSchema FederatedNaturalSearch
6
- * @endpoint POST /v1/search
7
- * @endpoint POST /v1/search/shared
8
- * @usedBySchema SharedSearchMutationSchema
9
- * @contractShape federated.natural-search
10
- * @contractRole canonical
11
- */
12
- export declare const FederatedNaturalSearchSchema: z.ZodObject<{
2
+ declare const FederatedNaturalSearchSchemaDefinition: z.ZodObject<{
13
3
  answerModel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
4
  cacheMode: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
15
5
  bypass: "bypass";
@@ -26,10 +16,10 @@ export declare const FederatedNaturalSearchSchema: z.ZodObject<{
26
16
  employeeCountRange: z.ZodOptional<z.ZodArray<z.ZodType<{
27
17
  max?: number | null | undefined;
28
18
  min?: number | null | undefined;
29
- }, unknown, z.core.$ZodTypeInternals<{
19
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
30
20
  max?: number | null | undefined;
31
21
  min?: number | null | undefined;
32
- }, unknown>>>>;
22
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
33
23
  entityId: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
34
24
  entityName: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
25
  featured: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -37,17 +27,17 @@ export declare const FederatedNaturalSearchSchema: z.ZodObject<{
37
27
  amountInvestedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
38
28
  max?: number | null | undefined;
39
29
  min?: number | null | undefined;
40
- }, unknown, z.core.$ZodTypeInternals<{
30
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
41
31
  max?: number | null | undefined;
42
32
  min?: number | null | undefined;
43
- }, unknown>>>>;
33
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
44
34
  amountRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
45
35
  max?: number | null | undefined;
46
36
  min?: number | null | undefined;
47
- }, unknown, z.core.$ZodTypeInternals<{
37
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
48
38
  max?: number | null | undefined;
49
39
  min?: number | null | undefined;
50
- }, unknown>>>>;
40
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
51
41
  dateAnnouncedRange: z.ZodOptional<z.ZodNullable<z.ZodObject<{
52
42
  max: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
53
43
  min: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
@@ -60,63 +50,63 @@ export declare const FederatedNaturalSearchSchema: z.ZodObject<{
60
50
  averageAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
61
51
  max?: number | null | undefined;
62
52
  min?: number | null | undefined;
63
- }, unknown, z.core.$ZodTypeInternals<{
53
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
64
54
  max?: number | null | undefined;
65
55
  min?: number | null | undefined;
66
- }, unknown>>>>;
56
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
67
57
  largestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
68
58
  max?: number | null | undefined;
69
59
  min?: number | null | undefined;
70
- }, unknown, z.core.$ZodTypeInternals<{
60
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
71
61
  max?: number | null | undefined;
72
62
  min?: number | null | undefined;
73
- }, unknown>>>>;
63
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
74
64
  smallestAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
75
65
  max?: number | null | undefined;
76
66
  min?: number | null | undefined;
77
- }, unknown, z.core.$ZodTypeInternals<{
67
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
78
68
  max?: number | null | undefined;
79
69
  min?: number | null | undefined;
80
- }, unknown>>>>;
70
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
81
71
  totalAmountInvestedUsdRange: z.ZodOptional<z.ZodArray<z.ZodType<{
82
72
  max?: number | null | undefined;
83
73
  min?: number | null | undefined;
84
- }, unknown, z.core.$ZodTypeInternals<{
74
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
85
75
  max?: number | null | undefined;
86
76
  min?: number | null | undefined;
87
- }, unknown>>>>;
77
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
88
78
  totalInvestmentRange: z.ZodOptional<z.ZodArray<z.ZodType<{
89
79
  max?: number | null | undefined;
90
80
  min?: number | null | undefined;
91
- }, unknown, z.core.$ZodTypeInternals<{
81
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
92
82
  max?: number | null | undefined;
93
83
  min?: number | null | undefined;
94
- }, unknown>>>>;
84
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
95
85
  }, z.core.$strip>>;
96
86
  investorName: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
87
  lastRoundYearRange: z.ZodOptional<z.ZodArray<z.ZodType<{
98
88
  max?: number | null | undefined;
99
89
  min?: number | null | undefined;
100
- }, unknown, z.core.$ZodTypeInternals<{
90
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
101
91
  max?: number | null | undefined;
102
92
  min?: number | null | undefined;
103
- }, unknown>>>>;
93
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
104
94
  rankByInvestmentActivity: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
105
95
  round: z.ZodOptional<z.ZodArray<z.ZodString>>;
106
96
  totalRaisedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
107
97
  max?: number | null | undefined;
108
98
  min?: number | null | undefined;
109
- }, unknown, z.core.$ZodTypeInternals<{
99
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
110
100
  max?: number | null | undefined;
111
101
  min?: number | null | undefined;
112
- }, unknown>>>>;
102
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
113
103
  valuationRange: z.ZodOptional<z.ZodArray<z.ZodType<{
114
104
  max?: number | null | undefined;
115
105
  min?: number | null | undefined;
116
- }, unknown, z.core.$ZodTypeInternals<{
106
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput, z.core.$ZodTypeInternals<{
117
107
  max?: number | null | undefined;
118
108
  min?: number | null | undefined;
119
- }, unknown>>>>;
109
+ }, import("../decimal/range.ts").DecimalRangeSchemaInput>>>>;
120
110
  }, z.core.$strip>>;
121
111
  hasFundraising: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
122
112
  headquartersCity: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -184,10 +174,10 @@ export declare const FederatedNaturalSearchSchema: z.ZodObject<{
184
174
  yearFoundedRange: z.ZodOptional<z.ZodArray<z.ZodType<{
185
175
  max?: number | null | undefined;
186
176
  min?: number | null | undefined;
187
- }, unknown, z.core.$ZodTypeInternals<{
177
+ }, import("../int/range.ts").IntRangeSchemaInput, z.core.$ZodTypeInternals<{
188
178
  max?: number | null | undefined;
189
179
  min?: number | null | undefined;
190
- }, unknown>>>>;
180
+ }, import("../int/range.ts").IntRangeSchemaInput>>>>;
191
181
  }, z.core.$strict>>;
192
182
  mode: z.ZodOptional<z.ZodDefault<z.ZodUnion<readonly [z.ZodEnum<{
193
183
  auto: "auto";
@@ -210,5 +200,18 @@ export declare const FederatedNaturalSearchSchema: z.ZodObject<{
210
200
  xhigh: "xhigh";
211
201
  }>, z.ZodString]>>>;
212
202
  }, z.core.$strip>;
203
+ type FederatedNaturalSearchDefinition = z.infer<typeof FederatedNaturalSearchSchemaDefinition>;
204
+ export interface FederatedNaturalSearchSchemaInput extends z.input<typeof FederatedNaturalSearchSchemaDefinition> {
205
+ }
206
+ /**
207
+ * Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
208
+ *
209
+ * @openapiSchema FederatedNaturalSearch
210
+ * @endpoint POST /v1/search
211
+ * @contractShape federated.natural-search
212
+ * @contractRole canonical
213
+ */
214
+ export declare const FederatedNaturalSearchSchema: z.ZodType<FederatedNaturalSearchDefinition, FederatedNaturalSearchSchemaInput>;
213
215
  export type FederatedNaturalSearch = z.infer<typeof FederatedNaturalSearchSchema>;
216
+ export {};
214
217
  //# sourceMappingURL=natural-search.d.ts.map
@@ -4,17 +4,7 @@ import { EntityFilterSchema } from "../entity/filter.js";
4
4
  import { ReasoningEffortSchema } from "../reasoning/effort.js";
5
5
  import { SearchCacheModeSchema } from "../search/cache-mode.js";
6
6
  import { SearchModeSchema } from "../search/mode.js";
7
- /**
8
- * Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
9
- *
10
- * @openapiSchema FederatedNaturalSearch
11
- * @endpoint POST /v1/search
12
- * @endpoint POST /v1/search/shared
13
- * @usedBySchema SharedSearchMutationSchema
14
- * @contractShape federated.natural-search
15
- * @contractRole canonical
16
- */
17
- export const FederatedNaturalSearchSchema = z.object({
7
+ const FederatedNaturalSearchSchemaDefinition = z.object({
18
8
  /** Optional chat model for the synthesis answer; null uses the catalog's search answer model. The same allowlist as `model` applies. The answer writes the page heading, title, and description, so this compares answer models without changing the catalog. */
19
9
  answerModel: z.string().nullish(),
20
10
  /** Search-stage cache policy. use reuses cached search work; bypass computes fresh without retaining outputs; refresh computes fresh and replaces normal entries. Record and immutable query-vector caches retain their own policy. Callers without private-data access always run use. */
@@ -34,4 +24,13 @@ export const FederatedNaturalSearchSchema = z.object({
34
24
  /** Optional reasoning effort for every model call this search makes: the query planner and the synthesis answer. Each call sends the nearest level its model supports, the lower one on a tie. Callers without private-data access are capped at `medium`. Null keeps the configured per-call and per-model defaults. */
35
25
  reasoningEffort: ReasoningEffortSchema.nullish(),
36
26
  });
27
+ /**
28
+ * Plain-English search across companies, people, and news, plus optional per-scope entity constraints and page sizes.
29
+ *
30
+ * @openapiSchema FederatedNaturalSearch
31
+ * @endpoint POST /v1/search
32
+ * @contractShape federated.natural-search
33
+ * @contractRole canonical
34
+ */
35
+ export const FederatedNaturalSearchSchema = FederatedNaturalSearchSchemaDefinition;
37
36
  //# sourceMappingURL=natural-search.js.map
@@ -4,33 +4,33 @@ declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
4
4
  entity: z.ZodType<{
5
5
  modeRequested: string;
6
6
  modeUsed: string;
7
- }, unknown, z.core.$ZodTypeInternals<{
7
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
8
8
  modeRequested: string;
9
9
  modeUsed: string;
10
- }, unknown>>;
10
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
11
11
  news: z.ZodType<{
12
12
  modeRequested: string;
13
13
  modeUsed: string;
14
- }, unknown, z.core.$ZodTypeInternals<{
14
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
15
15
  modeRequested: string;
16
16
  modeUsed: string;
17
- }, unknown>>;
17
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
18
18
  person: z.ZodType<{
19
19
  modeRequested: string;
20
20
  modeUsed: string;
21
- }, unknown, z.core.$ZodTypeInternals<{
21
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput, z.core.$ZodTypeInternals<{
22
22
  modeRequested: string;
23
23
  modeUsed: string;
24
- }, unknown>>;
24
+ }, import("../search/mode-execution.ts").SearchModeExecutionSchemaInput>>;
25
25
  rejection: z.ZodArray<z.ZodType<{
26
26
  detail: string;
27
27
  field?: string | null | undefined;
28
28
  scope: "entity" | "news" | "person";
29
- }, unknown, z.core.$ZodTypeInternals<{
29
+ }, import("./search-rejection.ts").FederatedSearchRejectionSchemaInput, z.core.$ZodTypeInternals<{
30
30
  detail: string;
31
31
  field?: string | null | undefined;
32
32
  scope: "entity" | "news" | "person";
33
- }, unknown>>>;
33
+ }, import("./search-rejection.ts").FederatedSearchRejectionSchemaInput>>>;
34
34
  unavailable: z.ZodArray<z.ZodEnum<{
35
35
  entity: "entity";
36
36
  news: "news";
@@ -38,6 +38,8 @@ declare const FederatedSearchProvenanceSchemaDefinition: z.ZodObject<{
38
38
  }>>;
39
39
  }, z.core.$strip>;
40
40
  type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvenanceSchemaDefinition>;
41
+ export interface FederatedSearchProvenanceSchemaInput extends z.input<typeof FederatedSearchProvenanceSchemaDefinition> {
42
+ }
41
43
  /**
42
44
  * Requested and executed search strategy for every federated scope.
43
45
  *
@@ -52,7 +54,7 @@ type FederatedSearchProvenanceDefinition = z.infer<typeof FederatedSearchProvena
52
54
  * @contractShape federated.search-provenance
53
55
  * @contractRole canonical
54
56
  */
55
- export declare const FederatedSearchProvenanceSchema: z.ZodType<FederatedSearchProvenanceDefinition>;
57
+ export declare const FederatedSearchProvenanceSchema: z.ZodType<FederatedSearchProvenanceDefinition, FederatedSearchProvenanceSchemaInput>;
56
58
  export type FederatedSearchProvenance = z.infer<typeof FederatedSearchProvenanceSchema>;
57
59
  export {};
58
60
  //# sourceMappingURL=search-provenance.d.ts.map